Send feedback
Class ValidationResult.Builder (4.7.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.1 keyboard_arrow_down
public static final class ValidationResult . Builder extends GeneratedMessageV3 . Builder<ValidationResult . Builder > implements ValidationResultOrBuilder
Represents the output of agent validation.
Protobuf type google.cloud.dialogflow.v2beta1.ValidationResult
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllValidationErrors(Iterable<? extends ValidationError> values)
public ValidationResult . Builder addAllValidationErrors ( Iterable <? extends ValidationError > values )
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Parameter
Name Description values Iterable <? extends com.google.cloud.dialogflow.v2beta1.ValidationError >
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ValidationResult . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
addValidationErrors(ValidationError value)
public ValidationResult . Builder addValidationErrors ( ValidationError value )
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Parameter
Returns
addValidationErrors(ValidationError.Builder builderForValue)
public ValidationResult . Builder addValidationErrors ( ValidationError . Builder builderForValue )
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Parameter
Returns
addValidationErrors(int index, ValidationError value)
public ValidationResult . Builder addValidationErrors ( int index , ValidationError value )
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Parameters
Returns
addValidationErrors(int index, ValidationError.Builder builderForValue)
public ValidationResult . Builder addValidationErrors ( int index , ValidationError . Builder builderForValue )
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Parameters
Returns
addValidationErrorsBuilder()
public ValidationError . Builder addValidationErrorsBuilder ()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Returns
addValidationErrorsBuilder(int index)
public ValidationError . Builder addValidationErrorsBuilder ( int index )
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Parameter
Returns
build()
public ValidationResult build ()
Returns
buildPartial()
public ValidationResult buildPartial ()
Returns
clear()
public ValidationResult . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ValidationResult . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ValidationResult . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearValidationErrors()
public ValidationResult . Builder clearValidationErrors ()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Returns
clone()
public ValidationResult . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ValidationResult getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getValidationErrors(int index)
public ValidationError getValidationErrors ( int index )
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Parameter
Returns
getValidationErrorsBuilder(int index)
public ValidationError . Builder getValidationErrorsBuilder ( int index )
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Parameter
Returns
getValidationErrorsBuilderList()
public List<ValidationError . Builder > getValidationErrorsBuilderList ()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Returns
getValidationErrorsCount()
public int getValidationErrorsCount ()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Returns
getValidationErrorsList()
public List<ValidationError> getValidationErrorsList ()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Returns
getValidationErrorsOrBuilder(int index)
public ValidationErrorOrBuilder getValidationErrorsOrBuilder ( int index )
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Parameter
Returns
getValidationErrorsOrBuilderList()
public List <? extends ValidationErrorOrBuilder > getValidationErrorsOrBuilderList ()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Returns
Type Description List <? extends com.google.cloud.dialogflow.v2beta1.ValidationErrorOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ValidationResult other)
public ValidationResult . Builder mergeFrom ( ValidationResult other )
Parameter
Returns
public ValidationResult . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ValidationResult . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ValidationResult . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeValidationErrors(int index)
public ValidationResult . Builder removeValidationErrors ( int index )
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ValidationResult . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ValidationResult . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ValidationResult . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setValidationErrors(int index, ValidationError value)
public ValidationResult . Builder setValidationErrors ( int index , ValidationError value )
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Parameters
Returns
setValidationErrors(int index, ValidationError.Builder builderForValue)
public ValidationResult . Builder setValidationErrors ( int index , ValidationError . Builder builderForValue )
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Parameters
Returns
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."],[],[]]