Class Validation (1.7.0)

public final class Validation extends GeneratedMessageV3 implements ValidationOrBuilder

Protobuf type google.cloud.datastream.v1alpha1.Validation

Implements

ValidationOrBuilder

Static Fields

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Validation getDefaultInstance()
Returns
TypeDescription
Validation

getDescriptor()

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

newBuilder()

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

newBuilder(Validation prototype)

public static Validation.Builder newBuilder(Validation prototype)
Parameter
NameDescription
prototypeValidation
Returns
TypeDescription
Validation.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCode()

public String getCode()

A custom code identifying this validation.

string code = 4;

Returns
TypeDescription
String

The code.

getCodeBytes()

public ByteString getCodeBytes()

A custom code identifying this validation.

string code = 4;

Returns
TypeDescription
ByteString

The bytes for code.

getDefaultInstanceForType()

public Validation getDefaultInstanceForType()
Returns
TypeDescription
Validation

getDescription()

public String getDescription()

A short description of the validation.

string description = 1;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A short description of the validation.

string description = 1;

Returns
TypeDescription
ByteString

The bytes for description.

getMessage(int index)

public ValidationMessage getMessage(int index)

Messages reflecting the validation results.

repeated .google.cloud.datastream.v1alpha1.ValidationMessage message = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ValidationMessage

getMessageCount()

public int getMessageCount()

Messages reflecting the validation results.

repeated .google.cloud.datastream.v1alpha1.ValidationMessage message = 3;

Returns
TypeDescription
int

getMessageList()

public List<ValidationMessage> getMessageList()

Messages reflecting the validation results.

repeated .google.cloud.datastream.v1alpha1.ValidationMessage message = 3;

Returns
TypeDescription
List<ValidationMessage>

getMessageOrBuilder(int index)

public ValidationMessageOrBuilder getMessageOrBuilder(int index)

Messages reflecting the validation results.

repeated .google.cloud.datastream.v1alpha1.ValidationMessage message = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ValidationMessageOrBuilder

getMessageOrBuilderList()

public List<? extends ValidationMessageOrBuilder> getMessageOrBuilderList()

Messages reflecting the validation results.

repeated .google.cloud.datastream.v1alpha1.ValidationMessage message = 3;

Returns
TypeDescription
List<? extends com.google.cloud.datastream.v1alpha1.ValidationMessageOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatus()

public Validation.Status getStatus()

Validation execution status.

.google.cloud.datastream.v1alpha1.Validation.Status status = 2;

Returns
TypeDescription
Validation.Status

The status.

getStatusValue()

public int getStatusValue()

Validation execution status.

.google.cloud.datastream.v1alpha1.Validation.Status status = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for status.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 Validation.Builder newBuilderForType()
Returns
TypeDescription
Validation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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