Interface ValidationMessageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ValidationMessage,ValidationMessage.Builder
public interface ValidationMessageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetadata(String key)Additional metadata related to the result.StringgetCode()A custom code identifying this specific message.com.google.protobuf.ByteStringgetCodeBytes()A custom code identifying this specific message.ValidationMessage.LevelgetLevel()Message severity level (warning or error).intgetLevelValue()Message severity level (warning or error).StringgetMessage()The result of the validation.com.google.protobuf.ByteStringgetMessageBytes()The result of the validation.Map<String,String>getMetadata()Deprecated.intgetMetadataCount()Additional metadata related to the result.Map<String,String>getMetadataMap()Additional metadata related to the result.StringgetMetadataOrDefault(String key, String defaultValue)Additional metadata related to the result.StringgetMetadataOrThrow(String key)Additional metadata related to the result.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMessage
String getMessage()
The result of the validation.
string message = 1;- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()
The result of the validation.
string message = 1;- Returns:
- The bytes for message.
-
getLevelValue
int getLevelValue()
Message severity level (warning or error).
.google.cloud.datastream.v1alpha1.ValidationMessage.Level level = 2;- Returns:
- The enum numeric value on the wire for level.
-
getLevel
ValidationMessage.Level getLevel()
Message severity level (warning or error).
.google.cloud.datastream.v1alpha1.ValidationMessage.Level level = 2;- Returns:
- The level.
-
getMetadataCount
int getMetadataCount()
Additional metadata related to the result.
map<string, string> metadata = 3;
-
containsMetadata
boolean containsMetadata(String key)
Additional metadata related to the result.
map<string, string> metadata = 3;
-
getMetadata
@Deprecated Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.
-
getMetadataMap
Map<String,String> getMetadataMap()
Additional metadata related to the result.
map<string, string> metadata = 3;
-
getMetadataOrDefault
String getMetadataOrDefault(String key, String defaultValue)
Additional metadata related to the result.
map<string, string> metadata = 3;
-
getMetadataOrThrow
String getMetadataOrThrow(String key)
Additional metadata related to the result.
map<string, string> metadata = 3;
-
getCode
String getCode()
A custom code identifying this specific message.
string code = 4;- Returns:
- The code.
-
getCodeBytes
com.google.protobuf.ByteString getCodeBytes()
A custom code identifying this specific message.
string code = 4;- Returns:
- The bytes for code.
-
-