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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CoordinationProtos.Roles.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<CoordinationProtos.Roles.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CoordinationProtos.Roles.Builder>
    • getDefaultInstanceForType

      public CoordinationProtos.Roles getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CoordinationProtos.Roles build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CoordinationProtos.Roles buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<CoordinationProtos.Roles.Builder>
    • clearField

      public CoordinationProtos.Roles.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CoordinationProtos.Roles.Builder>
    • clearOneof

      public CoordinationProtos.Roles.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CoordinationProtos.Roles.Builder>
    • mergeFrom

      public CoordinationProtos.Roles.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CoordinationProtos.Roles.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CoordinationProtos.Roles.Builder>
      Throws:
      IOException
    • hasSqlQuery

      public boolean hasSqlQuery()
      optional bool sql_query = 1 [default = true];
      Specified by:
      hasSqlQuery in interface CoordinationProtos.RolesOrBuilder
      Returns:
      Whether the sqlQuery field is set.
    • getSqlQuery

      public boolean getSqlQuery()
      optional bool sql_query = 1 [default = true];
      Specified by:
      getSqlQuery in interface CoordinationProtos.RolesOrBuilder
      Returns:
      The sqlQuery.
    • setSqlQuery

      public CoordinationProtos.Roles.Builder setSqlQuery(boolean value)
      optional bool sql_query = 1 [default = true];
      Parameters:
      value - The sqlQuery to set.
      Returns:
      This builder for chaining.
    • clearSqlQuery

      public CoordinationProtos.Roles.Builder 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 interface CoordinationProtos.RolesOrBuilder
      Returns:
      Whether the logicalPlan field is set.
    • getLogicalPlan

      public boolean getLogicalPlan()
      optional bool logical_plan = 2 [default = true];
      Specified by:
      getLogicalPlan in interface CoordinationProtos.RolesOrBuilder
      Returns:
      The logicalPlan.
    • setLogicalPlan

      public CoordinationProtos.Roles.Builder setLogicalPlan(boolean value)
      optional bool logical_plan = 2 [default = true];
      Parameters:
      value - The logicalPlan to set.
      Returns:
      This builder for chaining.
    • clearLogicalPlan

      public CoordinationProtos.Roles.Builder 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 interface CoordinationProtos.RolesOrBuilder
      Returns:
      Whether the physicalPlan field is set.
    • getPhysicalPlan

      public boolean getPhysicalPlan()
      optional bool physical_plan = 3 [default = true];
      Specified by:
      getPhysicalPlan in interface CoordinationProtos.RolesOrBuilder
      Returns:
      The physicalPlan.
    • setPhysicalPlan

      public CoordinationProtos.Roles.Builder setPhysicalPlan(boolean value)
      optional bool physical_plan = 3 [default = true];
      Parameters:
      value - The physicalPlan to set.
      Returns:
      This builder for chaining.
    • clearPhysicalPlan

      public CoordinationProtos.Roles.Builder 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 interface CoordinationProtos.RolesOrBuilder
      Returns:
      Whether the javaExecutor field is set.
    • getJavaExecutor

      public boolean getJavaExecutor()
      optional bool java_executor = 4 [default = true];
      Specified by:
      getJavaExecutor in interface CoordinationProtos.RolesOrBuilder
      Returns:
      The javaExecutor.
    • setJavaExecutor

      public CoordinationProtos.Roles.Builder setJavaExecutor(boolean value)
      optional bool java_executor = 4 [default = true];
      Parameters:
      value - The javaExecutor to set.
      Returns:
      This builder for chaining.
    • clearJavaExecutor

      public CoordinationProtos.Roles.Builder 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 interface CoordinationProtos.RolesOrBuilder
      Returns:
      Whether the distributedCache field is set.
    • getDistributedCache

      public boolean getDistributedCache()
      optional bool distributed_cache = 5 [default = true];
      Specified by:
      getDistributedCache in interface CoordinationProtos.RolesOrBuilder
      Returns:
      The distributedCache.
    • setDistributedCache

      public CoordinationProtos.Roles.Builder setDistributedCache(boolean value)
      optional bool distributed_cache = 5 [default = true];
      Parameters:
      value - The distributedCache to set.
      Returns:
      This builder for chaining.
    • clearDistributedCache

      public CoordinationProtos.Roles.Builder 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CoordinationProtos.Roles.Builder>
    • mergeUnknownFields

      public final CoordinationProtos.Roles.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CoordinationProtos.Roles.Builder>