Send feedback
Class Validation (1.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.10.0 keyboard_arrow_down
public final class Validation extends GeneratedMessageV3 implements ValidationOrBuilder
A validation to perform on a stream.
Protobuf type google.cloud.datastream.v1.Validation
Static Fields
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Validation getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static Validation . Builder newBuilder ()
Returns
newBuilder(Validation prototype)
public static Validation . Builder newBuilder ( Validation prototype )
Parameter
Returns
public static Validation parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static Validation parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Validation parseFrom ( byte [] data )
Parameter
Name Description data
byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Validation parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Validation parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Validation parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Validation parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static Validation parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Validation parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static Validation parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Validation parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Validation parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<Validation> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getCode()
A custom code identifying this validation.
string code = 4;
Returns
Type Description String
The code.
getCodeBytes()
public ByteString getCodeBytes ()
A custom code identifying this validation.
string code = 4;
Returns
getDefaultInstanceForType()
public Validation getDefaultInstanceForType ()
Returns
getDescription()
public String getDescription ()
A short description of the validation.
string description = 1;
Returns
Type Description String
The description.
getDescriptionBytes()
public ByteString getDescriptionBytes ()
A short description of the validation.
string description = 1;
Returns
Type Description ByteString
The bytes for description.
getMessage(int index)
public ValidationMessage getMessage ( int index )
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
Parameter
Returns
getMessageCount()
public int getMessageCount ()
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
Returns
getMessageList()
public List<ValidationMessage> getMessageList ()
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
Returns
getMessageOrBuilder(int index)
public ValidationMessageOrBuilder getMessageOrBuilder ( int index )
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
Parameter
Returns
getMessageOrBuilderList()
public List <? extends ValidationMessageOrBuilder > getMessageOrBuilderList ()
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
Returns
Type Description List <? extends com.google.cloud.datastream.v1.ValidationMessageOrBuilder >
getParserForType()
public Parser<Validation> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getState()
public Validation . State getState ()
Validation execution status.
.google.cloud.datastream.v1.Validation.State state = 2;
Returns
getStateValue()
public int getStateValue ()
Validation execution status.
.google.cloud.datastream.v1.Validation.State state = 2;
Returns
Type Description int
The enum numeric value on the wire for state.
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public Validation . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Validation . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public Validation . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]