Class ValidationResult (4.7.3)

public final class ValidationResult extends GeneratedMessageV3 implements ValidationResultOrBuilder

Represents the output of agent validation.

Protobuf type google.cloud.dialogflow.v2.ValidationResult

Static Fields

VALIDATION_ERRORS_FIELD_NUMBER

public static final int VALIDATION_ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ValidationResult getDefaultInstance()
Returns
TypeDescription
ValidationResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ValidationResult.Builder newBuilder()
Returns
TypeDescription
ValidationResult.Builder

newBuilder(ValidationResult prototype)

public static ValidationResult.Builder newBuilder(ValidationResult prototype)
Parameter
NameDescription
prototypeValidationResult
Returns
TypeDescription
ValidationResult.Builder

parseDelimitedFrom(InputStream input)

public static ValidationResult parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ValidationResult
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidationResult
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ValidationResult parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ValidationResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ValidationResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidationResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ValidationResult parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ValidationResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ValidationResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidationResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ValidationResult parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ValidationResult
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidationResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ValidationResult parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ValidationResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidationResult
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ValidationResult parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ValidationResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ValidationResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidationResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ValidationResult> parser()
Returns
TypeDescription
Parser<ValidationResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ValidationResult getDefaultInstanceForType()
Returns
TypeDescription
ValidationResult

getParserForType()

public Parser<ValidationResult> getParserForType()
Returns
TypeDescription
Parser<ValidationResult>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValidationErrors(int index)

public ValidationError getValidationErrors(int index)

Contains all validation errors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ValidationError

getValidationErrorsCount()

public int getValidationErrorsCount()

Contains all validation errors.

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

Returns
TypeDescription
int

getValidationErrorsList()

public List<ValidationError> getValidationErrorsList()

Contains all validation errors.

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

Returns
TypeDescription
List<ValidationError>

getValidationErrorsOrBuilder(int index)

public ValidationErrorOrBuilder getValidationErrorsOrBuilder(int index)

Contains all validation errors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ValidationErrorOrBuilder

getValidationErrorsOrBuilderList()

public List<? extends ValidationErrorOrBuilder> getValidationErrorsOrBuilderList()

Contains all validation errors.

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.ValidationErrorOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ValidationResult.Builder newBuilderForType()
Returns
TypeDescription
ValidationResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ValidationResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ValidationResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ValidationResult.Builder toBuilder()
Returns
TypeDescription
ValidationResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException