Class ValidationResult (1.12.0)

public final class ValidationResult extends GeneratedMessageV3 implements ValidationResultOrBuilder

Contains the current validation results.

Protobuf type google.cloud.datastream.v1.ValidationResult

Static Fields

VALIDATIONS_FIELD_NUMBER

public static final int VALIDATIONS_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

getValidations(int index)

public Validation getValidations(int index)

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Validation

getValidationsCount()

public int getValidationsCount()

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Returns
TypeDescription
int

getValidationsList()

public List<Validation> getValidationsList()

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Returns
TypeDescription
List<Validation>

getValidationsOrBuilder(int index)

public ValidationOrBuilder getValidationsOrBuilder(int index)

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ValidationOrBuilder

getValidationsOrBuilderList()

public List<? extends ValidationOrBuilder> getValidationsOrBuilderList()

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.datastream.v1.ValidationOrBuilder>

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