public static final class GetValidationResultRequest.Builder extends GeneratedMessageV3.Builder<GetValidationResultRequest.Builder> implements GetValidationResultRequestOrBuilder
The request message for Agents.GetValidationResult.
Protobuf type google.cloud.dialogflow.v2beta1.GetValidationResultRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetValidationResultRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetValidationResultRequest build()
Returns
buildPartial()
public GetValidationResultRequest buildPartial()
Returns
clear()
public GetValidationResultRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetValidationResultRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLanguageCode()
public GetValidationResultRequest.Builder clearLanguageCode()
Optional. The language for which you want a validation result. If not
specified, the agent's default language is used. Many
languages
are supported. Note: languages must be enabled in the agent before they can
be used.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetValidationResultRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public GetValidationResultRequest.Builder clearParent()
Required. The project that the agent is associated with.
Format: projects/<Project ID>
or
projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public GetValidationResultRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetValidationResultRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLanguageCode()
public String getLanguageCode()
Optional. The language for which you want a validation result. If not
specified, the agent's default language is used. Many
languages
are supported. Note: languages must be enabled in the agent before they can
be used.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The languageCode.
|
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
Optional. The language for which you want a validation result. If not
specified, the agent's default language is used. Many
languages
are supported. Note: languages must be enabled in the agent before they can
be used.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
ByteString | The bytes for languageCode.
|
getParent()
public String getParent()
Required. The project that the agent is associated with.
Format: projects/<Project ID>
or
projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The project that the agent is associated with.
Format: projects/<Project ID>
or
projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetValidationResultRequest other)
public GetValidationResultRequest.Builder mergeFrom(GetValidationResultRequest other)
Parameter
Returns
public GetValidationResultRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetValidationResultRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetValidationResultRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetValidationResultRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLanguageCode(String value)
public GetValidationResultRequest.Builder setLanguageCode(String value)
Optional. The language for which you want a validation result. If not
specified, the agent's default language is used. Many
languages
are supported. Note: languages must be enabled in the agent before they can
be used.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | String
The languageCode to set.
|
Returns
setLanguageCodeBytes(ByteString value)
public GetValidationResultRequest.Builder setLanguageCodeBytes(ByteString value)
Optional. The language for which you want a validation result. If not
specified, the agent's default language is used. Many
languages
are supported. Note: languages must be enabled in the agent before they can
be used.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | ByteString
The bytes for languageCode to set.
|
Returns
setParent(String value)
public GetValidationResultRequest.Builder setParent(String value)
Required. The project that the agent is associated with.
Format: projects/<Project ID>
or
projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public GetValidationResultRequest.Builder setParentBytes(ByteString value)
Required. The project that the agent is associated with.
Format: projects/<Project ID>
or
projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetValidationResultRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetValidationResultRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides