Package org.apache.drill.exec.proto
Class GeneralRPCProtos.CompleteRpcMessage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
org.apache.drill.exec.proto.GeneralRPCProtos.CompleteRpcMessage.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GeneralRPCProtos.CompleteRpcMessageOrBuilder
- Enclosing class:
- GeneralRPCProtos.CompleteRpcMessage
public static final class GeneralRPCProtos.CompleteRpcMessage.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
implements GeneralRPCProtos.CompleteRpcMessageOrBuilder
Protobuf type
exec.rpc.CompleteRpcMessage
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) requiredclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) requiredoptionalclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
requiredrequiredrequiredcom.google.protobuf.ByteString
requiredcom.google.protobuf.ByteString
optionalboolean
requiredboolean
requiredboolean
optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) requiredmergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) requiredsetHeader
(GeneralRPCProtos.RpcHeader.Builder builderForValue) requiredsetProtobufBody
(com.google.protobuf.ByteString value) requiredsetRawBody
(com.google.protobuf.ByteString value) optionalsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
-
setField
public GeneralRPCProtos.CompleteRpcMessage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
-
clearField
public GeneralRPCProtos.CompleteRpcMessage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
-
clearOneof
public GeneralRPCProtos.CompleteRpcMessage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
-
setRepeatedField
public GeneralRPCProtos.CompleteRpcMessage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
-
addRepeatedField
public GeneralRPCProtos.CompleteRpcMessage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
-
mergeFrom
public GeneralRPCProtos.CompleteRpcMessage.Builder mergeFrom(GeneralRPCProtos.CompleteRpcMessage other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
-
mergeFrom
public GeneralRPCProtos.CompleteRpcMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
- Throws:
IOException
-
hasHeader
public boolean hasHeader()required
optional .exec.rpc.RpcHeader header = 1;
- Specified by:
hasHeader
in interfaceGeneralRPCProtos.CompleteRpcMessageOrBuilder
- Returns:
- Whether the header field is set.
-
getHeader
required
optional .exec.rpc.RpcHeader header = 1;
- Specified by:
getHeader
in interfaceGeneralRPCProtos.CompleteRpcMessageOrBuilder
- Returns:
- The header.
-
setHeader
required
optional .exec.rpc.RpcHeader header = 1;
-
setHeader
public GeneralRPCProtos.CompleteRpcMessage.Builder setHeader(GeneralRPCProtos.RpcHeader.Builder builderForValue) required
optional .exec.rpc.RpcHeader header = 1;
-
mergeHeader
required
optional .exec.rpc.RpcHeader header = 1;
-
clearHeader
required
optional .exec.rpc.RpcHeader header = 1;
-
getHeaderBuilder
required
optional .exec.rpc.RpcHeader header = 1;
-
getHeaderOrBuilder
required
optional .exec.rpc.RpcHeader header = 1;
- Specified by:
getHeaderOrBuilder
in interfaceGeneralRPCProtos.CompleteRpcMessageOrBuilder
-
hasProtobufBody
public boolean hasProtobufBody()required
optional bytes protobuf_body = 2;
- Specified by:
hasProtobufBody
in interfaceGeneralRPCProtos.CompleteRpcMessageOrBuilder
- Returns:
- Whether the protobufBody field is set.
-
getProtobufBody
public com.google.protobuf.ByteString getProtobufBody()required
optional bytes protobuf_body = 2;
- Specified by:
getProtobufBody
in interfaceGeneralRPCProtos.CompleteRpcMessageOrBuilder
- Returns:
- The protobufBody.
-
setProtobufBody
public GeneralRPCProtos.CompleteRpcMessage.Builder setProtobufBody(com.google.protobuf.ByteString value) required
optional bytes protobuf_body = 2;
- Parameters:
value
- The protobufBody to set.- Returns:
- This builder for chaining.
-
clearProtobufBody
required
optional bytes protobuf_body = 2;
- Returns:
- This builder for chaining.
-
hasRawBody
public boolean hasRawBody()optional
optional bytes raw_body = 3;
- Specified by:
hasRawBody
in interfaceGeneralRPCProtos.CompleteRpcMessageOrBuilder
- Returns:
- Whether the rawBody field is set.
-
getRawBody
public com.google.protobuf.ByteString getRawBody()optional
optional bytes raw_body = 3;
- Specified by:
getRawBody
in interfaceGeneralRPCProtos.CompleteRpcMessageOrBuilder
- Returns:
- The rawBody.
-
setRawBody
optional
optional bytes raw_body = 3;
- Parameters:
value
- The rawBody to set.- Returns:
- This builder for chaining.
-
clearRawBody
optional
optional bytes raw_body = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GeneralRPCProtos.CompleteRpcMessage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
-
mergeUnknownFields
public final GeneralRPCProtos.CompleteRpcMessage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GeneralRPCProtos.CompleteRpcMessage.Builder>
-