org.apache.hadoop.ipc.protobuf

## Interface RpcHeaderProtos.RpcResponseHeaderProtoOrBuilder

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

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

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getCallId()` `required uint32 callId = 1;`
    `com.google.protobuf.ByteString` | `getClientId()` `optional bytes clientId = 7;`
    `RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto` | `getErrorDetail()` `optional .hadoop.common.RpcResponseHeaderProto.RpcErrorCodeProto errorDetail = 6;`
    `String` | `getErrorMsg()` `optional string errorMsg = 5;`
    `com.google.protobuf.ByteString` | `getErrorMsgBytes()` `optional string errorMsg = 5;`
    `String` | `getExceptionClassName()` `optional string exceptionClassName = 4;`
    `com.google.protobuf.ByteString` | `getExceptionClassNameBytes()` `optional string exceptionClassName = 4;`
    `int` | `getRetryCount()` `optional sint32 retryCount = 8 [default = -1];`
    `int` | `getServerIpcVersionNum()` `optional uint32 serverIpcVersionNum = 3;`
    `long` | `getStateId()` `optional int64 stateId = 9;`
    `RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto` | `getStatus()` `required .hadoop.common.RpcResponseHeaderProto.RpcStatusProto status = 2;`
    `boolean` | `hasCallId()` `required uint32 callId = 1;`
    `boolean` | `hasClientId()` `optional bytes clientId = 7;`
    `boolean` | `hasErrorDetail()` `optional .hadoop.common.RpcResponseHeaderProto.RpcErrorCodeProto errorDetail = 6;`
    `boolean` | `hasErrorMsg()` `optional string errorMsg = 5;`
    `boolean` | `hasExceptionClassName()` `optional string exceptionClassName = 4;`
    `boolean` | `hasRetryCount()` `optional sint32 retryCount = 8 [default = -1];`
    `boolean` | `hasServerIpcVersionNum()` `optional uint32 serverIpcVersionNum = 3;`
    `boolean` | `hasStateId()` `optional int64 stateId = 9;`
    `boolean` | `hasStatus()` `required .hadoop.common.RpcResponseHeaderProto.RpcStatusProto status = 2;`

    - ### 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

    - #### hasCallId

          boolean hasCallId()

      `required uint32 callId = 1;`

           callId used in Request

    - #### getCallId

          int getCallId()

      `required uint32 callId = 1;`

           callId used in Request

    - #### hasStatus

          boolean hasStatus()

      `required .hadoop.common.RpcResponseHeaderProto.RpcStatusProto status = 2;`

    - #### getStatus

          RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto getStatus()

      `required .hadoop.common.RpcResponseHeaderProto.RpcStatusProto status = 2;`

    - #### hasServerIpcVersionNum

          boolean hasServerIpcVersionNum()

      `optional uint32 serverIpcVersionNum = 3;`

           Sent if success or fail

    - #### getServerIpcVersionNum

          int getServerIpcVersionNum()

      `optional uint32 serverIpcVersionNum = 3;`

           Sent if success or fail

    - #### hasExceptionClassName

          boolean hasExceptionClassName()

      `optional string exceptionClassName = 4;`

           if request fails

    - #### getExceptionClassName

          String getExceptionClassName()

      `optional string exceptionClassName = 4;`

           if request fails

    - #### getExceptionClassNameBytes

          com.google.protobuf.ByteString getExceptionClassNameBytes()

      `optional string exceptionClassName = 4;`

           if request fails

    - #### hasErrorMsg

          boolean hasErrorMsg()

      `optional string errorMsg = 5;`

           if request fails, often contains strack trace

    - #### getErrorMsg

          String getErrorMsg()

      `optional string errorMsg = 5;`

           if request fails, often contains strack trace

    - #### getErrorMsgBytes

          com.google.protobuf.ByteString getErrorMsgBytes()

      `optional string errorMsg = 5;`

           if request fails, often contains strack trace

    - #### hasErrorDetail

          boolean hasErrorDetail()

      `optional .hadoop.common.RpcResponseHeaderProto.RpcErrorCodeProto errorDetail = 6;`

           in case of error

    - #### getErrorDetail

          RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto getErrorDetail()

      `optional .hadoop.common.RpcResponseHeaderProto.RpcErrorCodeProto errorDetail = 6;`

           in case of error

    - #### hasClientId

          boolean hasClientId()

      `optional bytes clientId = 7;`

           Globally unique client ID

    - #### getClientId

          com.google.protobuf.ByteString getClientId()

      `optional bytes clientId = 7;`

           Globally unique client ID

    - #### hasRetryCount

          boolean hasRetryCount()

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

    - #### getRetryCount

          int getRetryCount()

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

    - #### hasStateId

          boolean hasStateId()

      `optional int64 stateId = 9;`

           The last written Global State ID

    - #### getStateId

          long getStateId()

      `optional int64 stateId = 9;`

           The last written Global State ID

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