public final class Validation extends com.google.protobuf.GeneratedMessageV3 implements ValidationOrBuilder
A validation to perform on a stream.Protobuf type
google.cloud.datastream.v1.Validation| Modifier and Type | Class and Description |
|---|---|
static class |
Validation.Builder
A validation to perform on a stream.
|
static class |
Validation.State
Validation execution state.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CODE_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCode()
A custom code identifying this validation.
|
com.google.protobuf.ByteString |
getCodeBytes()
A custom code identifying this validation.
|
static Validation |
getDefaultInstance() |
Validation |
getDefaultInstanceForType() |
String |
getDescription()
A short description of the validation.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A short description of the validation.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ValidationMessage |
getMessage(int index)
Messages reflecting the validation results.
|
int |
getMessageCount()
Messages reflecting the validation results.
|
List<ValidationMessage> |
getMessageList()
Messages reflecting the validation results.
|
ValidationMessageOrBuilder |
getMessageOrBuilder(int index)
Messages reflecting the validation results.
|
List<? extends ValidationMessageOrBuilder> |
getMessageOrBuilderList()
Messages reflecting the validation results.
|
com.google.protobuf.Parser<Validation> |
getParserForType() |
int |
getSerializedSize() |
Validation.State |
getState()
Validation execution status.
|
int |
getStateValue()
Validation execution status.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Validation.Builder |
newBuilder() |
static Validation.Builder |
newBuilder(Validation prototype) |
Validation.Builder |
newBuilderForType() |
protected Validation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Validation |
parseDelimitedFrom(InputStream input) |
static Validation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Validation |
parseFrom(byte[] data) |
static Validation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Validation |
parseFrom(ByteBuffer data) |
static Validation |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Validation |
parseFrom(com.google.protobuf.ByteString data) |
static Validation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Validation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Validation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Validation |
parseFrom(InputStream input) |
static Validation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Validation> |
parser() |
Validation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DESCRIPTION_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getDescription()
A short description of the validation.
string description = 1;getDescription in interface ValidationOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
A short description of the validation.
string description = 1;getDescriptionBytes in interface ValidationOrBuilderpublic int getStateValue()
Validation execution status.
.google.cloud.datastream.v1.Validation.State state = 2;getStateValue in interface ValidationOrBuilderpublic Validation.State getState()
Validation execution status.
.google.cloud.datastream.v1.Validation.State state = 2;getState in interface ValidationOrBuilderpublic List<ValidationMessage> getMessageList()
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;getMessageList in interface ValidationOrBuilderpublic List<? extends ValidationMessageOrBuilder> getMessageOrBuilderList()
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;getMessageOrBuilderList in interface ValidationOrBuilderpublic int getMessageCount()
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;getMessageCount in interface ValidationOrBuilderpublic ValidationMessage getMessage(int index)
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;getMessage in interface ValidationOrBuilderpublic ValidationMessageOrBuilder getMessageOrBuilder(int index)
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;getMessageOrBuilder in interface ValidationOrBuilderpublic String getCode()
A custom code identifying this validation.
string code = 4;getCode in interface ValidationOrBuilderpublic com.google.protobuf.ByteString getCodeBytes()
A custom code identifying this validation.
string code = 4;getCodeBytes in interface ValidationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Validation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Validation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Validation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Validation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Validation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Validation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Validation parseFrom(InputStream input) throws IOException
IOExceptionpublic static Validation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Validation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Validation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Validation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Validation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Validation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Validation.Builder newBuilder()
public static Validation.Builder newBuilder(Validation prototype)
public Validation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Validation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Validation getDefaultInstance()
public static com.google.protobuf.Parser<Validation> parser()
public com.google.protobuf.Parser<Validation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Validation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.