public static final class RpcHeaderProtos.RPCCallerContextProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<RpcHeaderProtos.RPCCallerContextProto.Builder> implements RpcHeaderProtos.RPCCallerContextProtoOrBuilder
hadoop.common.RPCCallerContextProto
Used to pass through the call context entry after an RPC is made.
Modifier and Type | Method and Description |
---|---|
RpcHeaderProtos.RPCCallerContextProto |
build() |
RpcHeaderProtos.RPCCallerContextProto |
buildPartial() |
RpcHeaderProtos.RPCCallerContextProto.Builder |
clear() |
RpcHeaderProtos.RPCCallerContextProto.Builder |
clearContext()
required string context = 1; |
RpcHeaderProtos.RPCCallerContextProto.Builder |
clearSignature()
optional bytes signature = 2; |
RpcHeaderProtos.RPCCallerContextProto.Builder |
clone() |
String |
getContext()
required string context = 1; |
com.google.protobuf.ByteString |
getContextBytes()
required string context = 1; |
RpcHeaderProtos.RPCCallerContextProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getSignature()
optional bytes signature = 2; |
boolean |
hasContext()
required string context = 1; |
boolean |
hasSignature()
optional bytes signature = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RpcHeaderProtos.RPCCallerContextProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RpcHeaderProtos.RPCCallerContextProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
RpcHeaderProtos.RPCCallerContextProto.Builder |
mergeFrom(RpcHeaderProtos.RPCCallerContextProto other) |
RpcHeaderProtos.RPCCallerContextProto.Builder |
setContext(String value)
required string context = 1; |
RpcHeaderProtos.RPCCallerContextProto.Builder |
setContextBytes(com.google.protobuf.ByteString value)
required string context = 1; |
RpcHeaderProtos.RPCCallerContextProto.Builder |
setSignature(com.google.protobuf.ByteString value)
optional bytes signature = 2; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<RpcHeaderProtos.RPCCallerContextProto.Builder>
public RpcHeaderProtos.RPCCallerContextProto.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<RpcHeaderProtos.RPCCallerContextProto.Builder>
public RpcHeaderProtos.RPCCallerContextProto.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<RpcHeaderProtos.RPCCallerContextProto.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<RpcHeaderProtos.RPCCallerContextProto.Builder>
public RpcHeaderProtos.RPCCallerContextProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RpcHeaderProtos.RPCCallerContextProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RpcHeaderProtos.RPCCallerContextProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RpcHeaderProtos.RPCCallerContextProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RpcHeaderProtos.RPCCallerContextProto.Builder>
public RpcHeaderProtos.RPCCallerContextProto.Builder mergeFrom(RpcHeaderProtos.RPCCallerContextProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RpcHeaderProtos.RPCCallerContextProto.Builder>
public RpcHeaderProtos.RPCCallerContextProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RpcHeaderProtos.RPCCallerContextProto.Builder>
IOException
public boolean hasContext()
required string context = 1;
hasContext
in interface RpcHeaderProtos.RPCCallerContextProtoOrBuilder
public String getContext()
required string context = 1;
getContext
in interface RpcHeaderProtos.RPCCallerContextProtoOrBuilder
public com.google.protobuf.ByteString getContextBytes()
required string context = 1;
getContextBytes
in interface RpcHeaderProtos.RPCCallerContextProtoOrBuilder
public RpcHeaderProtos.RPCCallerContextProto.Builder setContext(String value)
required string context = 1;
public RpcHeaderProtos.RPCCallerContextProto.Builder clearContext()
required string context = 1;
public RpcHeaderProtos.RPCCallerContextProto.Builder setContextBytes(com.google.protobuf.ByteString value)
required string context = 1;
public boolean hasSignature()
optional bytes signature = 2;
hasSignature
in interface RpcHeaderProtos.RPCCallerContextProtoOrBuilder
public com.google.protobuf.ByteString getSignature()
optional bytes signature = 2;
getSignature
in interface RpcHeaderProtos.RPCCallerContextProtoOrBuilder
public RpcHeaderProtos.RPCCallerContextProto.Builder setSignature(com.google.protobuf.ByteString value)
optional bytes signature = 2;
public RpcHeaderProtos.RPCCallerContextProto.Builder clearSignature()
optional bytes signature = 2;
Copyright © 2019 Apache Software Foundation. All Rights Reserved.