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



Copyright © 2014 Apache Software Foundation. All Rights Reserved.