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 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;
      • 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.