All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
KeyValuePair, KeyValuePair.Builder

public interface KeyValuePairOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The key to use within the namespace.
    com.google.protobuf.ByteString
    The key to use within the namespace.
    The namespace — if this is empty, the filter's namespace will be used.
    com.google.protobuf.ByteString
    The namespace — if this is empty, the filter's namespace will be used.
    com.google.protobuf.Value
    When used for on_present case, if value is non-empty it'll be used instead of the field value.
    com.google.protobuf.ValueOrBuilder
    When used for on_present case, if value is non-empty it'll be used instead of the field value.
    boolean
    When used for on_present case, if value is non-empty it'll be used instead of the field value.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getMetadataNamespace

      String getMetadataNamespace()
       The namespace — if this is empty, the filter's namespace will be used.
       
      string metadata_namespace = 1;
      Returns:
      The metadataNamespace.
    • getMetadataNamespaceBytes

      com.google.protobuf.ByteString getMetadataNamespaceBytes()
       The namespace — if this is empty, the filter's namespace will be used.
       
      string metadata_namespace = 1;
      Returns:
      The bytes for metadataNamespace.
    • getKey

      String getKey()
       The key to use within the namespace.
       
      string key = 2 [(.validate.rules) = { ... }
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       The key to use within the namespace.
       
      string key = 2 [(.validate.rules) = { ... }
      Returns:
      The bytes for key.
    • hasValue

      boolean hasValue()
       When used for on_present case, if value is non-empty it'll be used instead
       of the field value.
      
       When used for on_missing case, a non-empty value must be provided.
       
      .google.protobuf.Value value = 3;
      Returns:
      Whether the value field is set.
    • getValue

      com.google.protobuf.Value getValue()
       When used for on_present case, if value is non-empty it'll be used instead
       of the field value.
      
       When used for on_missing case, a non-empty value must be provided.
       
      .google.protobuf.Value value = 3;
      Returns:
      The value.
    • getValueOrBuilder

      com.google.protobuf.ValueOrBuilder getValueOrBuilder()
       When used for on_present case, if value is non-empty it'll be used instead
       of the field value.
      
       When used for on_missing case, a non-empty value must be provided.
       
      .google.protobuf.Value value = 3;