Package org.apache.drill.exec.proto
Class CoordinationProtos.Roles.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<CoordinationProtos.Roles.Builder>
org.apache.drill.exec.proto.CoordinationProtos.Roles.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,CoordinationProtos.RolesOrBuilder
- Enclosing class:
- CoordinationProtos.Roles
public static final class CoordinationProtos.Roles.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CoordinationProtos.Roles.Builder>
implements CoordinationProtos.RolesOrBuilder
Protobuf type
exec.Roles
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional bool distributed_cache = 5 [default = true];
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional bool java_executor = 4 [default = true];
optional bool logical_plan = 2 [default = true];
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional bool physical_plan = 3 [default = true];
optional bool sql_query = 1 [default = true];
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
optional bool distributed_cache = 5 [default = true];
boolean
optional bool java_executor = 4 [default = true];
boolean
optional bool logical_plan = 2 [default = true];
boolean
optional bool physical_plan = 3 [default = true];
boolean
optional bool sql_query = 1 [default = true];
boolean
optional bool distributed_cache = 5 [default = true];
boolean
optional bool java_executor = 4 [default = true];
boolean
optional bool logical_plan = 2 [default = true];
boolean
optional bool physical_plan = 3 [default = true];
boolean
optional bool sql_query = 1 [default = true];
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setDistributedCache
(boolean value) optional bool distributed_cache = 5 [default = true];
setJavaExecutor
(boolean value) optional bool java_executor = 4 [default = true];
setLogicalPlan
(boolean value) optional bool logical_plan = 2 [default = true];
setPhysicalPlan
(boolean value) optional bool physical_plan = 3 [default = true];
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSqlQuery
(boolean value) optional bool sql_query = 1 [default = true];
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<CoordinationProtos.Roles.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<CoordinationProtos.Roles.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<CoordinationProtos.Roles.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<CoordinationProtos.Roles.Builder>
-
setField
public CoordinationProtos.Roles.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<CoordinationProtos.Roles.Builder>
-
clearField
public CoordinationProtos.Roles.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<CoordinationProtos.Roles.Builder>
-
clearOneof
public CoordinationProtos.Roles.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<CoordinationProtos.Roles.Builder>
-
setRepeatedField
public CoordinationProtos.Roles.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<CoordinationProtos.Roles.Builder>
-
addRepeatedField
public CoordinationProtos.Roles.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<CoordinationProtos.Roles.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CoordinationProtos.Roles.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinationProtos.Roles.Builder>
-
mergeFrom
public CoordinationProtos.Roles.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<CoordinationProtos.Roles.Builder>
- Throws:
IOException
-
hasSqlQuery
public boolean hasSqlQuery()optional bool sql_query = 1 [default = true];
- Specified by:
hasSqlQuery
in interfaceCoordinationProtos.RolesOrBuilder
- Returns:
- Whether the sqlQuery field is set.
-
getSqlQuery
public boolean getSqlQuery()optional bool sql_query = 1 [default = true];
- Specified by:
getSqlQuery
in interfaceCoordinationProtos.RolesOrBuilder
- Returns:
- The sqlQuery.
-
setSqlQuery
optional bool sql_query = 1 [default = true];
- Parameters:
value
- The sqlQuery to set.- Returns:
- This builder for chaining.
-
clearSqlQuery
optional bool sql_query = 1 [default = true];
- Returns:
- This builder for chaining.
-
hasLogicalPlan
public boolean hasLogicalPlan()optional bool logical_plan = 2 [default = true];
- Specified by:
hasLogicalPlan
in interfaceCoordinationProtos.RolesOrBuilder
- Returns:
- Whether the logicalPlan field is set.
-
getLogicalPlan
public boolean getLogicalPlan()optional bool logical_plan = 2 [default = true];
- Specified by:
getLogicalPlan
in interfaceCoordinationProtos.RolesOrBuilder
- Returns:
- The logicalPlan.
-
setLogicalPlan
optional bool logical_plan = 2 [default = true];
- Parameters:
value
- The logicalPlan to set.- Returns:
- This builder for chaining.
-
clearLogicalPlan
optional bool logical_plan = 2 [default = true];
- Returns:
- This builder for chaining.
-
hasPhysicalPlan
public boolean hasPhysicalPlan()optional bool physical_plan = 3 [default = true];
- Specified by:
hasPhysicalPlan
in interfaceCoordinationProtos.RolesOrBuilder
- Returns:
- Whether the physicalPlan field is set.
-
getPhysicalPlan
public boolean getPhysicalPlan()optional bool physical_plan = 3 [default = true];
- Specified by:
getPhysicalPlan
in interfaceCoordinationProtos.RolesOrBuilder
- Returns:
- The physicalPlan.
-
setPhysicalPlan
optional bool physical_plan = 3 [default = true];
- Parameters:
value
- The physicalPlan to set.- Returns:
- This builder for chaining.
-
clearPhysicalPlan
optional bool physical_plan = 3 [default = true];
- Returns:
- This builder for chaining.
-
hasJavaExecutor
public boolean hasJavaExecutor()optional bool java_executor = 4 [default = true];
- Specified by:
hasJavaExecutor
in interfaceCoordinationProtos.RolesOrBuilder
- Returns:
- Whether the javaExecutor field is set.
-
getJavaExecutor
public boolean getJavaExecutor()optional bool java_executor = 4 [default = true];
- Specified by:
getJavaExecutor
in interfaceCoordinationProtos.RolesOrBuilder
- Returns:
- The javaExecutor.
-
setJavaExecutor
optional bool java_executor = 4 [default = true];
- Parameters:
value
- The javaExecutor to set.- Returns:
- This builder for chaining.
-
clearJavaExecutor
optional bool java_executor = 4 [default = true];
- Returns:
- This builder for chaining.
-
hasDistributedCache
public boolean hasDistributedCache()optional bool distributed_cache = 5 [default = true];
- Specified by:
hasDistributedCache
in interfaceCoordinationProtos.RolesOrBuilder
- Returns:
- Whether the distributedCache field is set.
-
getDistributedCache
public boolean getDistributedCache()optional bool distributed_cache = 5 [default = true];
- Specified by:
getDistributedCache
in interfaceCoordinationProtos.RolesOrBuilder
- Returns:
- The distributedCache.
-
setDistributedCache
optional bool distributed_cache = 5 [default = true];
- Parameters:
value
- The distributedCache to set.- Returns:
- This builder for chaining.
-
clearDistributedCache
optional bool distributed_cache = 5 [default = true];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final CoordinationProtos.Roles.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinationProtos.Roles.Builder>
-
mergeUnknownFields
public final CoordinationProtos.Roles.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinationProtos.Roles.Builder>
-