Class ValidationResult (4.55.0)

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
Type Description
int

Static Methods

getDefaultInstance()

public static ValidationResult getDefaultInstance()
Returns
Type Description
ValidationResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ValidationResult.Builder newBuilder()
Returns
Type Description
ValidationResult.Builder

newBuilder(ValidationResult prototype)

public static ValidationResult.Builder newBuilder(ValidationResult prototype)
Parameter
Name Description
prototype ValidationResult
Returns
Type Description
ValidationResult.Builder

parseDelimitedFrom(InputStream input)

public static ValidationResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValidationResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationResult
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ValidationResult parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ValidationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ValidationResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ValidationResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ValidationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ValidationResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ValidationResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ValidationResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationResult
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ValidationResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValidationResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationResult
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ValidationResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ValidationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ValidationResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationResult
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ValidationResult> parser()
Returns
Type Description
Parser<ValidationResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ValidationResult getDefaultInstanceForType()
Returns
Type Description
ValidationResult

getParserForType()

public Parser<ValidationResult> getParserForType()
Returns
Type Description
Parser<ValidationResult>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
ValidationError

getValidationErrorsCount()

public int getValidationErrorsCount()

Contains all validation errors.

repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;

Returns
Type Description
int

getValidationErrorsList()

public List<ValidationError> getValidationErrorsList()

Contains all validation errors.

repeated .google.cloud.dialogflow.v2beta1.ValidationError validation_errors = 1;

Returns
Type Description
List<ValidationError>

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
Type Description
ValidationErrorOrBuilder

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ValidationResult.Builder newBuilderForType()
Returns
Type Description
ValidationResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ValidationResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ValidationResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ValidationResult.Builder toBuilder()
Returns
Type Description
ValidationResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException