public static final class ValidationResult.Builder extends GeneratedMessageV3.Builder<ValidationResult.Builder> implements ValidationResultOrBuilder
Represents the output of agent validation.
Protobuf type google.cloud.dialogflow.v2.ValidationResult
Methods
addAllValidationErrors(Iterable<? extends ValidationError> values)
public ValidationResult.Builder addAllValidationErrors(Iterable<? extends ValidationError> values)
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2.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.v2.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.v2.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.v2.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.v2.ValidationError validation_errors = 1;
Parameters
Returns
addValidationErrorsBuilder()
public ValidationError.Builder addValidationErrorsBuilder()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Returns
addValidationErrorsBuilder(int index)
public ValidationError.Builder addValidationErrorsBuilder(int index)
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.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.v2.ValidationError validation_errors = 1;
Returns
clone()
public ValidationResult.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ValidationResult getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getValidationErrors(int index)
public ValidationError getValidationErrors(int index)
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Parameter
Returns
getValidationErrorsBuilder(int index)
public ValidationError.Builder getValidationErrorsBuilder(int index)
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Parameter
Returns
getValidationErrorsBuilderList()
public List<ValidationError.Builder> getValidationErrorsBuilderList()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Returns
getValidationErrorsCount()
public int getValidationErrorsCount()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Returns
getValidationErrorsList()
public List<ValidationError> getValidationErrorsList()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Returns
getValidationErrorsOrBuilder(int index)
public ValidationErrorOrBuilder getValidationErrorsOrBuilder(int index)
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Parameter
Returns
getValidationErrorsOrBuilderList()
public List<? extends ValidationErrorOrBuilder> getValidationErrorsOrBuilderList()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.v2.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.v2.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.v2.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.v2.ValidationError validation_errors = 1;
Parameters
Returns