Send feedback
Class GetValidationResultRequest.Builder (4.7.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.2 keyboard_arrow_down
public static final class GetValidationResultRequest . Builder extends GeneratedMessageV3 . Builder<GetValidationResultRequest . Builder > implements GetValidationResultRequestOrBuilder
The request message for Agents.GetValidationResult .
Protobuf type google.cloud.dialogflow.v2.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>
.
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>
.
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>
.
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>
.
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>
.
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]