Package org.apache.drill.exec.proto
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
example: Tableau 9.3example: 32clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) example: 1example: 9example: Apache Drill Server, Apache Drill C++ clientclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) example: 0example: 1.9.0example: SNAPSHOTclone()
example: Tableau 9.3com.google.protobuf.ByteString
example: Tableau 9.3int
example: 32static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
example: 1int
example: 9getName()
example: Apache Drill Server, Apache Drill C++ clientcom.google.protobuf.ByteString
example: Apache Drill Server, Apache Drill C++ clientint
example: 0example: 1.9.0com.google.protobuf.ByteString
example: 1.9.0example: SNAPSHOTcom.google.protobuf.ByteString
example: SNAPSHOTboolean
example: Tableau 9.3boolean
example: 32boolean
example: 1boolean
example: 9boolean
hasName()
example: Apache Drill Server, Apache Drill C++ clientboolean
example: 0boolean
example: 1.9.0boolean
example: SNAPSHOTprotected 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) setApplication
(String value) example: Tableau 9.3setApplicationBytes
(com.google.protobuf.ByteString value) example: Tableau 9.3setBuildNumber
(int value) example: 32setMajorVersion
(int value) example: 1setMinorVersion
(int value) example: 9example: Apache Drill Server, Apache Drill C++ clientsetNameBytes
(com.google.protobuf.ByteString value) example: Apache Drill Server, Apache Drill C++ clientsetPatchVersion
(int value) example: 0setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setVersion
(String value) example: 1.9.0setVersionBytes
(com.google.protobuf.ByteString value) example: 1.9.0setVersionQualifier
(String value) example: SNAPSHOTsetVersionQualifierBytes
(com.google.protobuf.ByteString value) example: SNAPSHOTMethods 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<UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
-
setField
public UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
-
clearField
public UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
-
clearOneof
public UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
-
setRepeatedField
public UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
-
addRepeatedField
public UserProtos.RpcEndpointInfos.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<UserProtos.RpcEndpointInfos.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserProtos.RpcEndpointInfos.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- Whether the name field is set.
-
getName
example: Apache Drill Server, Apache Drill C++ client
optional string name = 1;
- Specified by:
getName
in interfaceUserProtos.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 interfaceUserProtos.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
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 interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- Whether the version field is set.
-
getVersion
example: 1.9.0
optional string version = 2;
- Specified by:
getVersion
in interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()example: 1.9.0
optional string version = 2;
- Specified by:
getVersionBytes
in interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- The bytes for version.
-
setVersion
example: 1.9.0
optional string version = 2;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
example: 1.9.0
optional string version = 2;
- Returns:
- This builder for chaining.
-
setVersionBytes
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 interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- Whether the majorVersion field is set.
-
getMajorVersion
public int getMajorVersion()example: 1
optional uint32 majorVersion = 3;
- Specified by:
getMajorVersion
in interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- The majorVersion.
-
setMajorVersion
example: 1
optional uint32 majorVersion = 3;
- Parameters:
value
- The majorVersion to set.- Returns:
- This builder for chaining.
-
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 interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- Whether the minorVersion field is set.
-
getMinorVersion
public int getMinorVersion()example: 9
optional uint32 minorVersion = 4;
- Specified by:
getMinorVersion
in interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- The minorVersion.
-
setMinorVersion
example: 9
optional uint32 minorVersion = 4;
- Parameters:
value
- The minorVersion to set.- Returns:
- This builder for chaining.
-
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 interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- Whether the patchVersion field is set.
-
getPatchVersion
public int getPatchVersion()example: 0
optional uint32 patchVersion = 5;
- Specified by:
getPatchVersion
in interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- The patchVersion.
-
setPatchVersion
example: 0
optional uint32 patchVersion = 5;
- Parameters:
value
- The patchVersion to set.- Returns:
- This builder for chaining.
-
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 interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- Whether the application field is set.
-
getApplication
example: Tableau 9.3
optional string application = 6;
- Specified by:
getApplication
in interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- The application.
-
getApplicationBytes
public com.google.protobuf.ByteString getApplicationBytes()example: Tableau 9.3
optional string application = 6;
- Specified by:
getApplicationBytes
in interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- The bytes for application.
-
setApplication
example: Tableau 9.3
optional string application = 6;
- Parameters:
value
- The application to set.- Returns:
- This builder for chaining.
-
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 interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- Whether the buildNumber field is set.
-
getBuildNumber
public int getBuildNumber()example: 32
optional uint32 buildNumber = 7;
- Specified by:
getBuildNumber
in interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- The buildNumber.
-
setBuildNumber
example: 32
optional uint32 buildNumber = 7;
- Parameters:
value
- The buildNumber to set.- Returns:
- This builder for chaining.
-
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 interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- Whether the versionQualifier field is set.
-
getVersionQualifier
example: SNAPSHOT
optional string versionQualifier = 8;
- Specified by:
getVersionQualifier
in interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- The versionQualifier.
-
getVersionQualifierBytes
public com.google.protobuf.ByteString getVersionQualifierBytes()example: SNAPSHOT
optional string versionQualifier = 8;
- Specified by:
getVersionQualifierBytes
in interfaceUserProtos.RpcEndpointInfosOrBuilder
- Returns:
- The bytes for versionQualifier.
-
setVersionQualifier
example: SNAPSHOT
optional string versionQualifier = 8;
- Parameters:
value
- The versionQualifier to set.- Returns:
- This builder for chaining.
-
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.RpcEndpointInfos.Builder>
-
mergeUnknownFields
public final UserProtos.RpcEndpointInfos.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.RpcEndpointInfos.Builder>
-