Interface Protocol.HeaderOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Protocol.Header, Protocol.Header.Builder
Enclosing class:
Protocol

public static interface Protocol.HeaderOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    string key = 1;
    com.google.protobuf.ByteString
    string key = 1;
    string value = 2;
    com.google.protobuf.ByteString
    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 Details

    • getKey

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

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

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

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