public final class ValidationMessage extends com.google.protobuf.GeneratedMessageV3 implements ValidationMessageOrBuilder
Represent user-facing validation result message.Protobuf type
google.cloud.datastream.v1.ValidationMessage| Modifier and Type | Class and Description |
|---|---|
static class |
ValidationMessage.Builder
Represent user-facing validation result message.
|
static class |
ValidationMessage.Level
Validation message level.
|
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 |
LEVEL_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetadata(String key)
Additional metadata related to the result.
|
boolean |
equals(Object obj) |
String |
getCode()
A custom code identifying this specific message.
|
com.google.protobuf.ByteString |
getCodeBytes()
A custom code identifying this specific message.
|
static ValidationMessage |
getDefaultInstance() |
ValidationMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ValidationMessage.Level |
getLevel()
Message severity level (warning or error).
|
int |
getLevelValue()
Message severity level (warning or error).
|
String |
getMessage()
The result of the validation.
|
com.google.protobuf.ByteString |
getMessageBytes()
The result of the validation.
|
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
Additional metadata related to the result.
|
Map<String,String> |
getMetadataMap()
Additional metadata related to the result.
|
String |
getMetadataOrDefault(String key,
String defaultValue)
Additional metadata related to the result.
|
String |
getMetadataOrThrow(String key)
Additional metadata related to the result.
|
com.google.protobuf.Parser<ValidationMessage> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ValidationMessage.Builder |
newBuilder() |
static ValidationMessage.Builder |
newBuilder(ValidationMessage prototype) |
ValidationMessage.Builder |
newBuilderForType() |
protected ValidationMessage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ValidationMessage |
parseDelimitedFrom(InputStream input) |
static ValidationMessage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValidationMessage |
parseFrom(byte[] data) |
static ValidationMessage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValidationMessage |
parseFrom(ByteBuffer data) |
static ValidationMessage |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValidationMessage |
parseFrom(com.google.protobuf.ByteString data) |
static ValidationMessage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValidationMessage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ValidationMessage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValidationMessage |
parseFrom(InputStream input) |
static ValidationMessage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ValidationMessage> |
parser() |
ValidationMessage.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, 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 MESSAGE_FIELD_NUMBER
public static final int LEVEL_FIELD_NUMBER
public static final int METADATA_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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getMessage()
The result of the validation.
string message = 1;getMessage in interface ValidationMessageOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
The result of the validation.
string message = 1;getMessageBytes in interface ValidationMessageOrBuilderpublic int getLevelValue()
Message severity level (warning or error).
.google.cloud.datastream.v1.ValidationMessage.Level level = 2;getLevelValue in interface ValidationMessageOrBuilderpublic ValidationMessage.Level getLevel()
Message severity level (warning or error).
.google.cloud.datastream.v1.ValidationMessage.Level level = 2;getLevel in interface ValidationMessageOrBuilderpublic int getMetadataCount()
ValidationMessageOrBuilderAdditional metadata related to the result.
map<string, string> metadata = 3;getMetadataCount in interface ValidationMessageOrBuilderpublic boolean containsMetadata(String key)
Additional metadata related to the result.
map<string, string> metadata = 3;containsMetadata in interface ValidationMessageOrBuilder@Deprecated public Map<String,String> getMetadata()
getMetadataMap() instead.getMetadata in interface ValidationMessageOrBuilderpublic Map<String,String> getMetadataMap()
Additional metadata related to the result.
map<string, string> metadata = 3;getMetadataMap in interface ValidationMessageOrBuilderpublic String getMetadataOrDefault(String key, String defaultValue)
Additional metadata related to the result.
map<string, string> metadata = 3;getMetadataOrDefault in interface ValidationMessageOrBuilderpublic String getMetadataOrThrow(String key)
Additional metadata related to the result.
map<string, string> metadata = 3;getMetadataOrThrow in interface ValidationMessageOrBuilderpublic String getCode()
A custom code identifying this specific message.
string code = 4;getCode in interface ValidationMessageOrBuilderpublic com.google.protobuf.ByteString getCodeBytes()
A custom code identifying this specific message.
string code = 4;getCodeBytes in interface ValidationMessageOrBuilderpublic 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 ValidationMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidationMessage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidationMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidationMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidationMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidationMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidationMessage parseFrom(InputStream input) throws IOException
IOExceptionpublic static ValidationMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ValidationMessage parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ValidationMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ValidationMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ValidationMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ValidationMessage.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ValidationMessage.Builder newBuilder()
public static ValidationMessage.Builder newBuilder(ValidationMessage prototype)
public ValidationMessage.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ValidationMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ValidationMessage getDefaultInstance()
public static com.google.protobuf.Parser<ValidationMessage> parser()
public com.google.protobuf.Parser<ValidationMessage> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ValidationMessage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.