org.apache.hadoop.ipc.protobuf

## Interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder

- All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
  All Known Implementing Classes:
    RpcHeaderProtos.RpcRequestHeaderProto, RpcHeaderProtos.RpcRequestHeaderProto.Builder
  Enclosing class:
    RpcHeaderProtos

      public static interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
      extends com.google.protobuf.MessageOrBuilder

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `RpcHeaderProtos.RPCCallerContextProto` | `getCallerContext()` `optional .hadoop.common.RPCCallerContextProto callerContext = 7;`
    `RpcHeaderProtos.RPCCallerContextProtoOrBuilder` | `getCallerContextOrBuilder()` `optional .hadoop.common.RPCCallerContextProto callerContext = 7;`
    `int` | `getCallId()` `required sint32 callId = 3;`
    `com.google.protobuf.ByteString` | `getClientId()` `required bytes clientId = 4;`
    `int` | `getRetryCount()` `optional sint32 retryCount = 5 [default = -1];`
    `RpcHeaderProtos.RpcKindProto` | `getRpcKind()` `optional .hadoop.common.RpcKindProto rpcKind = 1;`
    `RpcHeaderProtos.RpcRequestHeaderProto.OperationProto` | `getRpcOp()` `optional .hadoop.common.RpcRequestHeaderProto.OperationProto rpcOp = 2;`
    `long` | `getStateId()` `optional int64 stateId = 8;`
    `RpcHeaderProtos.RPCTraceInfoProto` | `getTraceInfo()` `optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;`
    `RpcHeaderProtos.RPCTraceInfoProtoOrBuilder` | `getTraceInfoOrBuilder()` `optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;`
    `boolean` | `hasCallerContext()` `optional .hadoop.common.RPCCallerContextProto callerContext = 7;`
    `boolean` | `hasCallId()` `required sint32 callId = 3;`
    `boolean` | `hasClientId()` `required bytes clientId = 4;`
    `boolean` | `hasRetryCount()` `optional sint32 retryCount = 5 [default = -1];`
    `boolean` | `hasRpcKind()` `optional .hadoop.common.RpcKindProto rpcKind = 1;`
    `boolean` | `hasRpcOp()` `optional .hadoop.common.RpcRequestHeaderProto.OperationProto rpcOp = 2;`
    `boolean` | `hasStateId()` `optional int64 stateId = 8;`
    `boolean` | `hasTraceInfo()` `optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;`

    - ### Methods inherited from interface com.google.protobuf.MessageOrBuilder

      `findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField`

    - ### Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

      `isInitialized`

- - ### Method Detail

    - #### hasRpcKind

          boolean hasRpcKind()

      `optional .hadoop.common.RpcKindProto rpcKind = 1;`

    - #### getRpcKind

          RpcHeaderProtos.RpcKindProto getRpcKind()

      `optional .hadoop.common.RpcKindProto rpcKind = 1;`

    - #### hasRpcOp

          boolean hasRpcOp()

      `optional .hadoop.common.RpcRequestHeaderProto.OperationProto rpcOp = 2;`

    - #### getRpcOp

          RpcHeaderProtos.RpcRequestHeaderProto.OperationProto getRpcOp()

      `optional .hadoop.common.RpcRequestHeaderProto.OperationProto rpcOp = 2;`

    - #### hasCallId

          boolean hasCallId()

      `required sint32 callId = 3;`

           a sequence number that is sent back in response

    - #### getCallId

          int getCallId()

      `required sint32 callId = 3;`

           a sequence number that is sent back in response

    - #### hasClientId

          boolean hasClientId()

      `required bytes clientId = 4;`

           Globally unique client ID

    - #### getClientId

          com.google.protobuf.ByteString getClientId()

      `required bytes clientId = 4;`

           Globally unique client ID

    - #### hasRetryCount

          boolean hasRetryCount()

      `optional sint32 retryCount = 5 [default = -1];`

           clientId + callId uniquely identifies a request
           retry count, 1 means this is the first retry

    - #### getRetryCount

          int getRetryCount()

      `optional sint32 retryCount = 5 [default = -1];`

           clientId + callId uniquely identifies a request
           retry count, 1 means this is the first retry

    - #### hasTraceInfo

          boolean hasTraceInfo()

      `optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;`

           tracing info

    - #### getTraceInfo

          RpcHeaderProtos.RPCTraceInfoProto getTraceInfo()

      `optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;`

           tracing info

    - #### getTraceInfoOrBuilder

          RpcHeaderProtos.RPCTraceInfoProtoOrBuilder getTraceInfoOrBuilder()

      `optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;`

           tracing info

    - #### hasCallerContext

          boolean hasCallerContext()

      `optional .hadoop.common.RPCCallerContextProto callerContext = 7;`

           call context

    - #### getCallerContext

          RpcHeaderProtos.RPCCallerContextProto getCallerContext()

      `optional .hadoop.common.RPCCallerContextProto callerContext = 7;`

           call context

    - #### getCallerContextOrBuilder

          RpcHeaderProtos.RPCCallerContextProtoOrBuilder getCallerContextOrBuilder()

      `optional .hadoop.common.RPCCallerContextProto callerContext = 7;`

           call context

    - #### hasStateId

          boolean hasStateId()

      `optional int64 stateId = 8;`

           The last seen Global State ID

    - #### getStateId

          long getStateId()

      `optional int64 stateId = 8;`

           The last seen Global State ID

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.