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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ValidationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addValidationErrors(ValidationError value)
public ValidationResult.Builder addValidationErrors(ValidationError value)
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
addValidationErrors(ValidationError.Builder builderForValue)
public ValidationResult.Builder addValidationErrors(ValidationError.Builder builderForValue)
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
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;
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;
addValidationErrorsBuilder()
public ValidationError.Builder addValidationErrorsBuilder()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
addValidationErrorsBuilder(int index)
public ValidationError.Builder addValidationErrorsBuilder(int index)
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ValidationResult build()
buildPartial()
public ValidationResult buildPartial()
clear()
public ValidationResult.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ValidationResult.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ValidationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValidationErrors()
public ValidationResult.Builder clearValidationErrors()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
clone()
public ValidationResult.Builder clone()
Overrides
getDefaultInstanceForType()
public ValidationResult getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getValidationErrors(int index)
public ValidationError getValidationErrors(int index)
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Parameter |
Name |
Description |
index |
int
|
getValidationErrorsBuilder(int index)
public ValidationError.Builder getValidationErrorsBuilder(int index)
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Parameter |
Name |
Description |
index |
int
|
getValidationErrorsBuilderList()
public List<ValidationError.Builder> getValidationErrorsBuilderList()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
getValidationErrorsCount()
public int getValidationErrorsCount()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Returns |
Type |
Description |
int |
|
getValidationErrorsList()
public List<ValidationError> getValidationErrorsList()
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
getValidationErrorsOrBuilder(int index)
public ValidationErrorOrBuilder getValidationErrorsOrBuilder(int index)
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ValidationResult other)
public ValidationResult.Builder mergeFrom(ValidationResult other)
public ValidationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ValidationResult.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ValidationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeValidationErrors(int index)
public ValidationResult.Builder removeValidationErrors(int index)
Contains all validation errors.
repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ValidationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ValidationResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ValidationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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;