Class UserProtos.RpcEndpointInfos.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.RpcEndpointInfos.Builder>
org.apache.drill.exec.proto.UserProtos.RpcEndpointInfos.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, UserProtos.RpcEndpointInfosOrBuilder
Enclosing class:
UserProtos.RpcEndpointInfos

public static final class UserProtos.RpcEndpointInfos.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.RpcEndpointInfos.Builder> implements UserProtos.RpcEndpointInfosOrBuilder
Protobuf type exec.user.RpcEndpointInfos
  • 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<UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UserProtos.RpcEndpointInfos 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<UserProtos.RpcEndpointInfos.Builder>
    • setField

      public UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
    • clearField

      public UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
    • clearOneof

      public UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
    • setRepeatedField

      public UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
    • addRepeatedField

      public UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
    • mergeFrom

      public UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
    • mergeFrom

      public UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
      Throws:
      IOException
    • hasName

      public boolean hasName()
       example: Apache Drill Server, Apache Drill C++ client
       
      optional string name = 1;
      Specified by:
      hasName in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       example: Apache Drill Server, Apache Drill C++ client
       
      optional string name = 1;
      Specified by:
      getName in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       example: Apache Drill Server, Apache Drill C++ client
       
      optional string name = 1;
      Specified by:
      getNameBytes in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      The bytes for name.
    • setName

       example: Apache Drill Server, Apache Drill C++ client
       
      optional string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       example: Apache Drill Server, Apache Drill C++ client
       
      optional string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public UserProtos.RpcEndpointInfos.Builder setNameBytes(com.google.protobuf.ByteString value)
       example: Apache Drill Server, Apache Drill C++ client
       
      optional string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasVersion

      public boolean hasVersion()
       example: 1.9.0
       
      optional string version = 2;
      Specified by:
      hasVersion in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public String getVersion()
       example: 1.9.0
       
      optional string version = 2;
      Specified by:
      getVersion in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       example: 1.9.0
       
      optional string version = 2;
      Specified by:
      getVersionBytes in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public UserProtos.RpcEndpointInfos.Builder setVersion(String value)
       example: 1.9.0
       
      optional string version = 2;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public UserProtos.RpcEndpointInfos.Builder clearVersion()
       example: 1.9.0
       
      optional string version = 2;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public UserProtos.RpcEndpointInfos.Builder setVersionBytes(com.google.protobuf.ByteString value)
       example: 1.9.0
       
      optional string version = 2;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • hasMajorVersion

      public boolean hasMajorVersion()
       example: 1
       
      optional uint32 majorVersion = 3;
      Specified by:
      hasMajorVersion in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      Whether the majorVersion field is set.
    • getMajorVersion

      public int getMajorVersion()
       example: 1
       
      optional uint32 majorVersion = 3;
      Specified by:
      getMajorVersion in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      The majorVersion.
    • setMajorVersion

      public UserProtos.RpcEndpointInfos.Builder setMajorVersion(int value)
       example: 1
       
      optional uint32 majorVersion = 3;
      Parameters:
      value - The majorVersion to set.
      Returns:
      This builder for chaining.
    • clearMajorVersion

      public UserProtos.RpcEndpointInfos.Builder clearMajorVersion()
       example: 1
       
      optional uint32 majorVersion = 3;
      Returns:
      This builder for chaining.
    • hasMinorVersion

      public boolean hasMinorVersion()
       example: 9
       
      optional uint32 minorVersion = 4;
      Specified by:
      hasMinorVersion in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      Whether the minorVersion field is set.
    • getMinorVersion

      public int getMinorVersion()
       example: 9
       
      optional uint32 minorVersion = 4;
      Specified by:
      getMinorVersion in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      The minorVersion.
    • setMinorVersion

      public UserProtos.RpcEndpointInfos.Builder setMinorVersion(int value)
       example: 9
       
      optional uint32 minorVersion = 4;
      Parameters:
      value - The minorVersion to set.
      Returns:
      This builder for chaining.
    • clearMinorVersion

      public UserProtos.RpcEndpointInfos.Builder clearMinorVersion()
       example: 9
       
      optional uint32 minorVersion = 4;
      Returns:
      This builder for chaining.
    • hasPatchVersion

      public boolean hasPatchVersion()
       example: 0
       
      optional uint32 patchVersion = 5;
      Specified by:
      hasPatchVersion in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      Whether the patchVersion field is set.
    • getPatchVersion

      public int getPatchVersion()
       example: 0
       
      optional uint32 patchVersion = 5;
      Specified by:
      getPatchVersion in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      The patchVersion.
    • setPatchVersion

      public UserProtos.RpcEndpointInfos.Builder setPatchVersion(int value)
       example: 0
       
      optional uint32 patchVersion = 5;
      Parameters:
      value - The patchVersion to set.
      Returns:
      This builder for chaining.
    • clearPatchVersion

      public UserProtos.RpcEndpointInfos.Builder clearPatchVersion()
       example: 0
       
      optional uint32 patchVersion = 5;
      Returns:
      This builder for chaining.
    • hasApplication

      public boolean hasApplication()
       example: Tableau 9.3
       
      optional string application = 6;
      Specified by:
      hasApplication in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      Whether the application field is set.
    • getApplication

      public String getApplication()
       example: Tableau 9.3
       
      optional string application = 6;
      Specified by:
      getApplication in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      The application.
    • getApplicationBytes

      public com.google.protobuf.ByteString getApplicationBytes()
       example: Tableau 9.3
       
      optional string application = 6;
      Specified by:
      getApplicationBytes in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      The bytes for application.
    • setApplication

      public UserProtos.RpcEndpointInfos.Builder setApplication(String value)
       example: Tableau 9.3
       
      optional string application = 6;
      Parameters:
      value - The application to set.
      Returns:
      This builder for chaining.
    • clearApplication

      public UserProtos.RpcEndpointInfos.Builder clearApplication()
       example: Tableau 9.3
       
      optional string application = 6;
      Returns:
      This builder for chaining.
    • setApplicationBytes

      public UserProtos.RpcEndpointInfos.Builder setApplicationBytes(com.google.protobuf.ByteString value)
       example: Tableau 9.3
       
      optional string application = 6;
      Parameters:
      value - The bytes for application to set.
      Returns:
      This builder for chaining.
    • hasBuildNumber

      public boolean hasBuildNumber()
       example: 32
       
      optional uint32 buildNumber = 7;
      Specified by:
      hasBuildNumber in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      Whether the buildNumber field is set.
    • getBuildNumber

      public int getBuildNumber()
       example: 32
       
      optional uint32 buildNumber = 7;
      Specified by:
      getBuildNumber in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      The buildNumber.
    • setBuildNumber

      public UserProtos.RpcEndpointInfos.Builder setBuildNumber(int value)
       example: 32
       
      optional uint32 buildNumber = 7;
      Parameters:
      value - The buildNumber to set.
      Returns:
      This builder for chaining.
    • clearBuildNumber

      public UserProtos.RpcEndpointInfos.Builder clearBuildNumber()
       example: 32
       
      optional uint32 buildNumber = 7;
      Returns:
      This builder for chaining.
    • hasVersionQualifier

      public boolean hasVersionQualifier()
       example: SNAPSHOT
       
      optional string versionQualifier = 8;
      Specified by:
      hasVersionQualifier in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      Whether the versionQualifier field is set.
    • getVersionQualifier

      public String getVersionQualifier()
       example: SNAPSHOT
       
      optional string versionQualifier = 8;
      Specified by:
      getVersionQualifier in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      The versionQualifier.
    • getVersionQualifierBytes

      public com.google.protobuf.ByteString getVersionQualifierBytes()
       example: SNAPSHOT
       
      optional string versionQualifier = 8;
      Specified by:
      getVersionQualifierBytes in interface UserProtos.RpcEndpointInfosOrBuilder
      Returns:
      The bytes for versionQualifier.
    • setVersionQualifier

      public UserProtos.RpcEndpointInfos.Builder setVersionQualifier(String value)
       example: SNAPSHOT
       
      optional string versionQualifier = 8;
      Parameters:
      value - The versionQualifier to set.
      Returns:
      This builder for chaining.
    • clearVersionQualifier

      public UserProtos.RpcEndpointInfos.Builder clearVersionQualifier()
       example: SNAPSHOT
       
      optional string versionQualifier = 8;
      Returns:
      This builder for chaining.
    • setVersionQualifierBytes

      public UserProtos.RpcEndpointInfos.Builder setVersionQualifierBytes(com.google.protobuf.ByteString value)
       example: SNAPSHOT
       
      optional string versionQualifier = 8;
      Parameters:
      value - The bytes for versionQualifier to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
    • mergeUnknownFields

      public final UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>