Package org.apache.drill.exec.proto
Interface GeneralRPCProtos.RpcHeaderOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GeneralRPCProtos.RpcHeader
,GeneralRPCProtos.RpcHeader.Builder
- Enclosing class:
- GeneralRPCProtos
public static interface GeneralRPCProtos.RpcHeaderOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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
-
hasMode
boolean hasMode()optional .exec.rpc.RpcMode mode = 1;
- Returns:
- Whether the mode field is set.
-
getMode
GeneralRPCProtos.RpcMode getMode()optional .exec.rpc.RpcMode mode = 1;
- Returns:
- The mode.
-
hasCoordinationId
boolean hasCoordinationId()reusable coordination identifier. Sender defines. Server returns on return. Irrelevant for purely single direction rpc.
optional int32 coordination_id = 2;
- Returns:
- Whether the coordinationId field is set.
-
getCoordinationId
int getCoordinationId()reusable coordination identifier. Sender defines. Server returns on return. Irrelevant for purely single direction rpc.
optional int32 coordination_id = 2;
- Returns:
- The coordinationId.
-
hasRpcType
boolean hasRpcType()a rpc mode specific rpc type.
optional int32 rpc_type = 3;
- Returns:
- Whether the rpcType field is set.
-
getRpcType
int getRpcType()a rpc mode specific rpc type.
optional int32 rpc_type = 3;
- Returns:
- The rpcType.
-