public final class ValidationResult extends GeneratedMessageV3 implements ValidationResultOrBuilder
Represents the output of agent validation.
Protobuf type google.cloud.dialogflow.v2beta1.ValidationResult
Static Fields
VALIDATION_ERRORS_FIELD_NUMBER
public static final int VALIDATION_ERRORS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ValidationResult getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ValidationResult.Builder newBuilder()
Returns
newBuilder(ValidationResult prototype)
public static ValidationResult.Builder newBuilder(ValidationResult prototype)
Parameter
Returns
public static ValidationResult parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ValidationResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ValidationResult parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ValidationResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ValidationResult parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ValidationResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ValidationResult parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ValidationResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ValidationResult parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ValidationResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ValidationResult parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ValidationResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ValidationResult> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ValidationResult getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ValidationResult> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getValidationErrors(int index)
public ValidationError getValidationErrors(int index)
Contains all validation errors.
repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;
Parameter
Name |
Description |
index |
int
|
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
Name |
Description |
index |
int
|
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> |
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ValidationResult.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ValidationResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ValidationResult.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions