Class DiscoverClusterGrpcResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<DiscoverClusterGrpcResponse.Builder>
com.linkedin.venice.protocols.controller.DiscoverClusterGrpcResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DiscoverClusterGrpcResponseOrBuilder
,Cloneable
- Enclosing class:
- DiscoverClusterGrpcResponse
public static final class DiscoverClusterGrpcResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DiscoverClusterGrpcResponse.Builder>
implements DiscoverClusterGrpcResponseOrBuilder
Protobuf type
com.linkedin.venice.protocols.controller.DiscoverClusterGrpcResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
string clusterName = 1;
string d2Service = 3;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string pubSubBootstrapServers = 6;
string serverD2Service = 4;
string storeName = 2;
optional string zkAddress = 5;
clone()
string clusterName = 1;
com.google.protobuf.ByteString
string clusterName = 1;
string d2Service = 3;
com.google.protobuf.ByteString
string d2Service = 3;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional string pubSubBootstrapServers = 6;
com.google.protobuf.ByteString
optional string pubSubBootstrapServers = 6;
string serverD2Service = 4;
com.google.protobuf.ByteString
string serverD2Service = 4;
string storeName = 2;
com.google.protobuf.ByteString
string storeName = 2;
optional string zkAddress = 5;
com.google.protobuf.ByteString
optional string zkAddress = 5;
boolean
optional string pubSubBootstrapServers = 6;
boolean
optional string zkAddress = 5;
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) setClusterName
(String value) string clusterName = 1;
setClusterNameBytes
(com.google.protobuf.ByteString value) string clusterName = 1;
setD2Service
(String value) string d2Service = 3;
setD2ServiceBytes
(com.google.protobuf.ByteString value) string d2Service = 3;
setPubSubBootstrapServers
(String value) optional string pubSubBootstrapServers = 6;
setPubSubBootstrapServersBytes
(com.google.protobuf.ByteString value) optional string pubSubBootstrapServers = 6;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setServerD2Service
(String value) string serverD2Service = 4;
setServerD2ServiceBytes
(com.google.protobuf.ByteString value) string serverD2Service = 4;
setStoreName
(String value) string storeName = 2;
setStoreNameBytes
(com.google.protobuf.ByteString value) string storeName = 2;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setZkAddress
(String value) optional string zkAddress = 5;
setZkAddressBytes
(com.google.protobuf.ByteString value) optional string zkAddress = 5;
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, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
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<DiscoverClusterGrpcResponse.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<DiscoverClusterGrpcResponse.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<DiscoverClusterGrpcResponse.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<DiscoverClusterGrpcResponse.Builder>
-
setField
public DiscoverClusterGrpcResponse.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<DiscoverClusterGrpcResponse.Builder>
-
clearField
public DiscoverClusterGrpcResponse.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<DiscoverClusterGrpcResponse.Builder>
-
clearOneof
public DiscoverClusterGrpcResponse.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<DiscoverClusterGrpcResponse.Builder>
-
setRepeatedField
public DiscoverClusterGrpcResponse.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<DiscoverClusterGrpcResponse.Builder>
-
addRepeatedField
public DiscoverClusterGrpcResponse.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<DiscoverClusterGrpcResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DiscoverClusterGrpcResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoverClusterGrpcResponse.Builder>
-
mergeFrom
public DiscoverClusterGrpcResponse.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<DiscoverClusterGrpcResponse.Builder>
- Throws:
IOException
-
getClusterName
string clusterName = 1;
- Specified by:
getClusterName
in interfaceDiscoverClusterGrpcResponseOrBuilder
- Returns:
- The clusterName.
-
getClusterNameBytes
public com.google.protobuf.ByteString getClusterNameBytes()string clusterName = 1;
- Specified by:
getClusterNameBytes
in interfaceDiscoverClusterGrpcResponseOrBuilder
- Returns:
- The bytes for clusterName.
-
setClusterName
string clusterName = 1;
- Parameters:
value
- The clusterName to set.- Returns:
- This builder for chaining.
-
clearClusterName
string clusterName = 1;
- Returns:
- This builder for chaining.
-
setClusterNameBytes
public DiscoverClusterGrpcResponse.Builder setClusterNameBytes(com.google.protobuf.ByteString value) string clusterName = 1;
- Parameters:
value
- The bytes for clusterName to set.- Returns:
- This builder for chaining.
-
getStoreName
string storeName = 2;
- Specified by:
getStoreName
in interfaceDiscoverClusterGrpcResponseOrBuilder
- Returns:
- The storeName.
-
getStoreNameBytes
public com.google.protobuf.ByteString getStoreNameBytes()string storeName = 2;
- Specified by:
getStoreNameBytes
in interfaceDiscoverClusterGrpcResponseOrBuilder
- Returns:
- The bytes for storeName.
-
setStoreName
string storeName = 2;
- Parameters:
value
- The storeName to set.- Returns:
- This builder for chaining.
-
clearStoreName
string storeName = 2;
- Returns:
- This builder for chaining.
-
setStoreNameBytes
string storeName = 2;
- Parameters:
value
- The bytes for storeName to set.- Returns:
- This builder for chaining.
-
getD2Service
string d2Service = 3;
- Specified by:
getD2Service
in interfaceDiscoverClusterGrpcResponseOrBuilder
- Returns:
- The d2Service.
-
getD2ServiceBytes
public com.google.protobuf.ByteString getD2ServiceBytes()string d2Service = 3;
- Specified by:
getD2ServiceBytes
in interfaceDiscoverClusterGrpcResponseOrBuilder
- Returns:
- The bytes for d2Service.
-
setD2Service
string d2Service = 3;
- Parameters:
value
- The d2Service to set.- Returns:
- This builder for chaining.
-
clearD2Service
string d2Service = 3;
- Returns:
- This builder for chaining.
-
setD2ServiceBytes
string d2Service = 3;
- Parameters:
value
- The bytes for d2Service to set.- Returns:
- This builder for chaining.
-
getServerD2Service
string serverD2Service = 4;
- Specified by:
getServerD2Service
in interfaceDiscoverClusterGrpcResponseOrBuilder
- Returns:
- The serverD2Service.
-
getServerD2ServiceBytes
public com.google.protobuf.ByteString getServerD2ServiceBytes()string serverD2Service = 4;
- Specified by:
getServerD2ServiceBytes
in interfaceDiscoverClusterGrpcResponseOrBuilder
- Returns:
- The bytes for serverD2Service.
-
setServerD2Service
string serverD2Service = 4;
- Parameters:
value
- The serverD2Service to set.- Returns:
- This builder for chaining.
-
clearServerD2Service
string serverD2Service = 4;
- Returns:
- This builder for chaining.
-
setServerD2ServiceBytes
public DiscoverClusterGrpcResponse.Builder setServerD2ServiceBytes(com.google.protobuf.ByteString value) string serverD2Service = 4;
- Parameters:
value
- The bytes for serverD2Service to set.- Returns:
- This builder for chaining.
-
hasZkAddress
public boolean hasZkAddress()optional string zkAddress = 5;
- Specified by:
hasZkAddress
in interfaceDiscoverClusterGrpcResponseOrBuilder
- Returns:
- Whether the zkAddress field is set.
-
getZkAddress
optional string zkAddress = 5;
- Specified by:
getZkAddress
in interfaceDiscoverClusterGrpcResponseOrBuilder
- Returns:
- The zkAddress.
-
getZkAddressBytes
public com.google.protobuf.ByteString getZkAddressBytes()optional string zkAddress = 5;
- Specified by:
getZkAddressBytes
in interfaceDiscoverClusterGrpcResponseOrBuilder
- Returns:
- The bytes for zkAddress.
-
setZkAddress
optional string zkAddress = 5;
- Parameters:
value
- The zkAddress to set.- Returns:
- This builder for chaining.
-
clearZkAddress
optional string zkAddress = 5;
- Returns:
- This builder for chaining.
-
setZkAddressBytes
optional string zkAddress = 5;
- Parameters:
value
- The bytes for zkAddress to set.- Returns:
- This builder for chaining.
-
hasPubSubBootstrapServers
public boolean hasPubSubBootstrapServers()optional string pubSubBootstrapServers = 6;
- Specified by:
hasPubSubBootstrapServers
in interfaceDiscoverClusterGrpcResponseOrBuilder
- Returns:
- Whether the pubSubBootstrapServers field is set.
-
getPubSubBootstrapServers
optional string pubSubBootstrapServers = 6;
- Specified by:
getPubSubBootstrapServers
in interfaceDiscoverClusterGrpcResponseOrBuilder
- Returns:
- The pubSubBootstrapServers.
-
getPubSubBootstrapServersBytes
public com.google.protobuf.ByteString getPubSubBootstrapServersBytes()optional string pubSubBootstrapServers = 6;
- Specified by:
getPubSubBootstrapServersBytes
in interfaceDiscoverClusterGrpcResponseOrBuilder
- Returns:
- The bytes for pubSubBootstrapServers.
-
setPubSubBootstrapServers
optional string pubSubBootstrapServers = 6;
- Parameters:
value
- The pubSubBootstrapServers to set.- Returns:
- This builder for chaining.
-
clearPubSubBootstrapServers
optional string pubSubBootstrapServers = 6;
- Returns:
- This builder for chaining.
-
setPubSubBootstrapServersBytes
public DiscoverClusterGrpcResponse.Builder setPubSubBootstrapServersBytes(com.google.protobuf.ByteString value) optional string pubSubBootstrapServers = 6;
- Parameters:
value
- The bytes for pubSubBootstrapServers to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DiscoverClusterGrpcResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoverClusterGrpcResponse.Builder>
-
mergeUnknownFields
public final DiscoverClusterGrpcResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoverClusterGrpcResponse.Builder>
-