接口 Pbbp2.FrameOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
Pbbp2.Frame, Pbbp2.Frame.Builder
封闭类:
Pbbp2

public static interface Pbbp2.FrameOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    getHeaders(int index)
    repeated .pbbp2.Header headers = 5 [(.gogoproto.nullable) = false];
    int
    repeated .pbbp2.Header headers = 5 [(.gogoproto.nullable) = false];
    repeated .pbbp2.Header headers = 5 [(.gogoproto.nullable) = false];
    repeated .pbbp2.Header headers = 5 [(.gogoproto.nullable) = false];
    repeated .pbbp2.Header headers = 5 [(.gogoproto.nullable) = false];
    long
    required uint64 LogID = 2;
    optional string LogIDNew = 9;
    com.google.protobuf.ByteString
    optional string LogIDNew = 9;
    int
    required int32 method = 4;
    com.google.protobuf.ByteString
    http like body
    http like content-encoding, eg: gzip or none
    com.google.protobuf.ByteString
    http like content-encoding, eg: gzip or none
    http like content-type
    com.google.protobuf.ByteString
    http like content-type
    long
    required uint64 SeqID = 1;
    int
    required int32 service = 3;
    boolean
    required uint64 LogID = 2;
    boolean
    optional string LogIDNew = 9;
    boolean
    required int32 method = 4;
    boolean
    http like body
    boolean
    http like content-encoding, eg: gzip or none
    boolean
    http like content-type
    boolean
    required uint64 SeqID = 1;
    boolean
    required int32 service = 3;

    从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    从接口继承的方法 com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 方法详细资料

    • hasSeqID

      boolean hasSeqID()
      required uint64 SeqID = 1;
      返回:
      Whether the seqID field is set.
    • getSeqID

      long getSeqID()
      required uint64 SeqID = 1;
      返回:
      The seqID.
    • hasLogID

      boolean hasLogID()
      required uint64 LogID = 2;
      返回:
      Whether the logID field is set.
    • getLogID

      long getLogID()
      required uint64 LogID = 2;
      返回:
      The logID.
    • hasService

      boolean hasService()
      required int32 service = 3;
      返回:
      Whether the service field is set.
    • getService

      int getService()
      required int32 service = 3;
      返回:
      The service.
    • hasMethod

      boolean hasMethod()
      required int32 method = 4;
      返回:
      Whether the method field is set.
    • getMethod

      int getMethod()
      required int32 method = 4;
      返回:
      The method.
    • getHeadersList

      List<Pbbp2.Header> getHeadersList()
      repeated .pbbp2.Header headers = 5 [(.gogoproto.nullable) = false];
    • getHeaders

      Pbbp2.Header getHeaders(int index)
      repeated .pbbp2.Header headers = 5 [(.gogoproto.nullable) = false];
    • getHeadersCount

      int getHeadersCount()
      repeated .pbbp2.Header headers = 5 [(.gogoproto.nullable) = false];
    • getHeadersOrBuilderList

      List<? extends Pbbp2.HeaderOrBuilder> getHeadersOrBuilderList()
      repeated .pbbp2.Header headers = 5 [(.gogoproto.nullable) = false];
    • getHeadersOrBuilder

      Pbbp2.HeaderOrBuilder getHeadersOrBuilder(int index)
      repeated .pbbp2.Header headers = 5 [(.gogoproto.nullable) = false];
    • hasPayloadEncoding

      boolean hasPayloadEncoding()
       http like content-encoding, eg: gzip or none
       
      optional string payload_encoding = 6;
      返回:
      Whether the payloadEncoding field is set.
    • getPayloadEncoding

      String getPayloadEncoding()
       http like content-encoding, eg: gzip or none
       
      optional string payload_encoding = 6;
      返回:
      The payloadEncoding.
    • getPayloadEncodingBytes

      com.google.protobuf.ByteString getPayloadEncodingBytes()
       http like content-encoding, eg: gzip or none
       
      optional string payload_encoding = 6;
      返回:
      The bytes for payloadEncoding.
    • hasPayloadType

      boolean hasPayloadType()
       http like content-type
       
      optional string payload_type = 7;
      返回:
      Whether the payloadType field is set.
    • getPayloadType

      String getPayloadType()
       http like content-type
       
      optional string payload_type = 7;
      返回:
      The payloadType.
    • getPayloadTypeBytes

      com.google.protobuf.ByteString getPayloadTypeBytes()
       http like content-type
       
      optional string payload_type = 7;
      返回:
      The bytes for payloadType.
    • hasPayload

      boolean hasPayload()
       http like body
       
      optional bytes payload = 8;
      返回:
      Whether the payload field is set.
    • getPayload

      com.google.protobuf.ByteString getPayload()
       http like body
       
      optional bytes payload = 8;
      返回:
      The payload.
    • hasLogIDNew

      boolean hasLogIDNew()
      optional string LogIDNew = 9;
      返回:
      Whether the logIDNew field is set.
    • getLogIDNew

      String getLogIDNew()
      optional string LogIDNew = 9;
      返回:
      The logIDNew.
    • getLogIDNewBytes

      com.google.protobuf.ByteString getLogIDNewBytes()
      optional string LogIDNew = 9;
      返回:
      The bytes for logIDNew.