public static final class MatchIntentRequest.Builder extends GeneratedMessageV3.Builder<MatchIntentRequest.Builder> implements MatchIntentRequestOrBuilder
Request of [MatchIntent][].
Protobuf type google.cloud.dialogflow.cx.v3.MatchIntentRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MatchIntentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MatchIntentRequest build()
Returns
buildPartial()
public MatchIntentRequest buildPartial()
Returns
clear()
public MatchIntentRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public MatchIntentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MatchIntentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public MatchIntentRequest.Builder clearQueryInput()
Required. The input specification.
.google.cloud.dialogflow.cx.v3.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearQueryParams()
public MatchIntentRequest.Builder clearQueryParams()
The parameters of this query.
.google.cloud.dialogflow.cx.v3.QueryParameters query_params = 2;
Returns
clearSession()
public MatchIntentRequest.Builder clearSession()
Required. The name of the session this query is sent to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/sessions/<Session ID>
or projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>
.
If Environment ID
is not specified, we assume default 'draft'
environment.
It's up to the API caller to choose an appropriate Session ID
. It can be
a random number or some type of session identifiers (preferably hashed).
The length of the Session ID
must not exceed 36 characters.
For more information, see the sessions
guide.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public MatchIntentRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public MatchIntentRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public QueryInput getQueryInput()
Required. The input specification.
.google.cloud.dialogflow.cx.v3.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public QueryInput.Builder getQueryInputBuilder()
Required. The input specification.
.google.cloud.dialogflow.cx.v3.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public QueryInputOrBuilder getQueryInputOrBuilder()
Required. The input specification.
.google.cloud.dialogflow.cx.v3.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getQueryParams()
public QueryParameters getQueryParams()
The parameters of this query.
.google.cloud.dialogflow.cx.v3.QueryParameters query_params = 2;
Returns
getQueryParamsBuilder()
public QueryParameters.Builder getQueryParamsBuilder()
The parameters of this query.
.google.cloud.dialogflow.cx.v3.QueryParameters query_params = 2;
Returns
getQueryParamsOrBuilder()
public QueryParametersOrBuilder getQueryParamsOrBuilder()
The parameters of this query.
.google.cloud.dialogflow.cx.v3.QueryParameters query_params = 2;
Returns
getSession()
public String getSession()
Required. The name of the session this query is sent to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/sessions/<Session ID>
or projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>
.
If Environment ID
is not specified, we assume default 'draft'
environment.
It's up to the API caller to choose an appropriate Session ID
. It can be
a random number or some type of session identifiers (preferably hashed).
The length of the Session ID
must not exceed 36 characters.
For more information, see the sessions
guide.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type |
Description |
String |
The session.
|
getSessionBytes()
public ByteString getSessionBytes()
Required. The name of the session this query is sent to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/sessions/<Session ID>
or projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>
.
If Environment ID
is not specified, we assume default 'draft'
environment.
It's up to the API caller to choose an appropriate Session ID
. It can be
a random number or some type of session identifiers (preferably hashed).
The length of the Session ID
must not exceed 36 characters.
For more information, see the sessions
guide.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type |
Description |
ByteString |
The bytes for session.
|
public boolean hasQueryInput()
Required. The input specification.
.google.cloud.dialogflow.cx.v3.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
boolean |
Whether the queryInput field is set.
|
hasQueryParams()
public boolean hasQueryParams()
The parameters of this query.
.google.cloud.dialogflow.cx.v3.QueryParameters query_params = 2;
Returns
Type |
Description |
boolean |
Whether the queryParams field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(MatchIntentRequest other)
public MatchIntentRequest.Builder mergeFrom(MatchIntentRequest other)
Parameter
Returns
public MatchIntentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MatchIntentRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public MatchIntentRequest.Builder mergeQueryInput(QueryInput value)
Required. The input specification.
.google.cloud.dialogflow.cx.v3.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeQueryParams(QueryParameters value)
public MatchIntentRequest.Builder mergeQueryParams(QueryParameters value)
The parameters of this query.
.google.cloud.dialogflow.cx.v3.QueryParameters query_params = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MatchIntentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MatchIntentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public MatchIntentRequest.Builder setQueryInput(QueryInput value)
Required. The input specification.
.google.cloud.dialogflow.cx.v3.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public MatchIntentRequest.Builder setQueryInput(QueryInput.Builder builderForValue)
Required. The input specification.
.google.cloud.dialogflow.cx.v3.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setQueryParams(QueryParameters value)
public MatchIntentRequest.Builder setQueryParams(QueryParameters value)
The parameters of this query.
.google.cloud.dialogflow.cx.v3.QueryParameters query_params = 2;
Parameter
Returns
setQueryParams(QueryParameters.Builder builderForValue)
public MatchIntentRequest.Builder setQueryParams(QueryParameters.Builder builderForValue)
The parameters of this query.
.google.cloud.dialogflow.cx.v3.QueryParameters query_params = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MatchIntentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSession(String value)
public MatchIntentRequest.Builder setSession(String value)
Required. The name of the session this query is sent to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/sessions/<Session ID>
or projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>
.
If Environment ID
is not specified, we assume default 'draft'
environment.
It's up to the API caller to choose an appropriate Session ID
. It can be
a random number or some type of session identifiers (preferably hashed).
The length of the Session ID
must not exceed 36 characters.
For more information, see the sessions
guide.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name |
Description |
value |
String
The session to set.
|
Returns
setSessionBytes(ByteString value)
public MatchIntentRequest.Builder setSessionBytes(ByteString value)
Required. The name of the session this query is sent to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/sessions/<Session ID>
or projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>
.
If Environment ID
is not specified, we assume default 'draft'
environment.
It's up to the API caller to choose an appropriate Session ID
. It can be
a random number or some type of session identifiers (preferably hashed).
The length of the Session ID
must not exceed 36 characters.
For more information, see the sessions
guide.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name |
Description |
value |
ByteString
The bytes for session to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final MatchIntentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides