Interface MetadataFieldOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getKey()
      string key = 1;
      com.google.protobuf.ByteString getKeyBytes()
      string key = 1;
      String getValue()
      optional string value = 2;
      com.google.protobuf.ByteString getValueBytes()
      optional string value = 2;
      boolean hasValue()
      optional string value = 2;
      • 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 Detail

      • getKey

        String getKey()
        string key = 1;
        Returns:
        The key.
      • getKeyBytes

        com.google.protobuf.ByteString getKeyBytes()
        string key = 1;
        Returns:
        The bytes for key.
      • hasValue

        boolean hasValue()
        optional string value = 2;
        Returns:
        Whether the value field is set.
      • getValue

        String getValue()
        optional string value = 2;
        Returns:
        The value.
      • getValueBytes

        com.google.protobuf.ByteString getValueBytes()
        optional string value = 2;
        Returns:
        The bytes for value.