Interface HeaderOrBuilder

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

    public interface HeaderOrBuilder
    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 getValues​(int index)
      repeated string values = 2;
      com.google.protobuf.ByteString getValuesBytes​(int index)
      repeated string values = 2;
      int getValuesCount()
      repeated string values = 2;
      List<String> getValuesList()
      repeated string values = 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.
      • getValuesList

        List<String> getValuesList()
        repeated string values = 2;
        Returns:
        A list containing the values.
      • getValuesCount

        int getValuesCount()
        repeated string values = 2;
        Returns:
        The count of values.
      • getValues

        String getValues​(int index)
        repeated string values = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The values at the given index.
      • getValuesBytes

        com.google.protobuf.ByteString getValuesBytes​(int index)
        repeated string values = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the values at the given index.