Class LeaderControllerGrpcResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<LeaderControllerGrpcResponse.Builder>
com.linkedin.venice.protocols.controller.LeaderControllerGrpcResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,LeaderControllerGrpcResponseOrBuilder
,Cloneable
- Enclosing class:
- LeaderControllerGrpcResponse
public static final class LeaderControllerGrpcResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<LeaderControllerGrpcResponse.Builder>
implements LeaderControllerGrpcResponseOrBuilder
Protobuf type
com.linkedin.venice.protocols.controller.LeaderControllerGrpcResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The cluster nameclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) gRPC URL for leader controllerSSL-enabled leader controller URLLeader controller URLclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Secure gRPC URL for leader controllerclone()
The cluster namecom.google.protobuf.ByteString
The cluster namestatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
gRPC URL for leader controllercom.google.protobuf.ByteString
gRPC URL for leader controllerSSL-enabled leader controller URLcom.google.protobuf.ByteString
SSL-enabled leader controller URLLeader controller URLcom.google.protobuf.ByteString
Leader controller URLSecure gRPC URL for leader controllercom.google.protobuf.ByteString
Secure gRPC URL for leader controllerprotected 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) The cluster namesetClusterNameBytes
(com.google.protobuf.ByteString value) The cluster namesetGrpcUrl
(String value) gRPC URL for leader controllersetGrpcUrlBytes
(com.google.protobuf.ByteString value) gRPC URL for leader controllersetHttpsUrl
(String value) SSL-enabled leader controller URLsetHttpsUrlBytes
(com.google.protobuf.ByteString value) SSL-enabled leader controller URLsetHttpUrl
(String value) Leader controller URLsetHttpUrlBytes
(com.google.protobuf.ByteString value) Leader controller URLsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSecureGrpcUrl
(String value) Secure gRPC URL for leader controllersetSecureGrpcUrlBytes
(com.google.protobuf.ByteString value) Secure gRPC URL for leader controllersetUnknownFields
(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, 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<LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
-
setField
public LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
-
clearField
public LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
-
clearOneof
public LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
-
setRepeatedField
public LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
-
addRepeatedField
public LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LeaderControllerGrpcResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<LeaderControllerGrpcResponse.Builder>
-
mergeFrom
public LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
- Throws:
IOException
-
getClusterName
The cluster name
string clusterName = 1;
- Specified by:
getClusterName
in interfaceLeaderControllerGrpcResponseOrBuilder
- Returns:
- The clusterName.
-
getClusterNameBytes
public com.google.protobuf.ByteString getClusterNameBytes()The cluster name
string clusterName = 1;
- Specified by:
getClusterNameBytes
in interfaceLeaderControllerGrpcResponseOrBuilder
- Returns:
- The bytes for clusterName.
-
setClusterName
The cluster name
string clusterName = 1;
- Parameters:
value
- The clusterName to set.- Returns:
- This builder for chaining.
-
clearClusterName
The cluster name
string clusterName = 1;
- Returns:
- This builder for chaining.
-
setClusterNameBytes
public LeaderControllerGrpcResponse.Builder setClusterNameBytes(com.google.protobuf.ByteString value) The cluster name
string clusterName = 1;
- Parameters:
value
- The bytes for clusterName to set.- Returns:
- This builder for chaining.
-
getHttpUrl
Leader controller URL
string httpUrl = 2;
- Specified by:
getHttpUrl
in interfaceLeaderControllerGrpcResponseOrBuilder
- Returns:
- The httpUrl.
-
getHttpUrlBytes
public com.google.protobuf.ByteString getHttpUrlBytes()Leader controller URL
string httpUrl = 2;
- Specified by:
getHttpUrlBytes
in interfaceLeaderControllerGrpcResponseOrBuilder
- Returns:
- The bytes for httpUrl.
-
setHttpUrl
Leader controller URL
string httpUrl = 2;
- Parameters:
value
- The httpUrl to set.- Returns:
- This builder for chaining.
-
clearHttpUrl
Leader controller URL
string httpUrl = 2;
- Returns:
- This builder for chaining.
-
setHttpUrlBytes
Leader controller URL
string httpUrl = 2;
- Parameters:
value
- The bytes for httpUrl to set.- Returns:
- This builder for chaining.
-
getHttpsUrl
SSL-enabled leader controller URL
string httpsUrl = 3;
- Specified by:
getHttpsUrl
in interfaceLeaderControllerGrpcResponseOrBuilder
- Returns:
- The httpsUrl.
-
getHttpsUrlBytes
public com.google.protobuf.ByteString getHttpsUrlBytes()SSL-enabled leader controller URL
string httpsUrl = 3;
- Specified by:
getHttpsUrlBytes
in interfaceLeaderControllerGrpcResponseOrBuilder
- Returns:
- The bytes for httpsUrl.
-
setHttpsUrl
SSL-enabled leader controller URL
string httpsUrl = 3;
- Parameters:
value
- The httpsUrl to set.- Returns:
- This builder for chaining.
-
clearHttpsUrl
SSL-enabled leader controller URL
string httpsUrl = 3;
- Returns:
- This builder for chaining.
-
setHttpsUrlBytes
SSL-enabled leader controller URL
string httpsUrl = 3;
- Parameters:
value
- The bytes for httpsUrl to set.- Returns:
- This builder for chaining.
-
getGrpcUrl
gRPC URL for leader controller
string grpcUrl = 4;
- Specified by:
getGrpcUrl
in interfaceLeaderControllerGrpcResponseOrBuilder
- Returns:
- The grpcUrl.
-
getGrpcUrlBytes
public com.google.protobuf.ByteString getGrpcUrlBytes()gRPC URL for leader controller
string grpcUrl = 4;
- Specified by:
getGrpcUrlBytes
in interfaceLeaderControllerGrpcResponseOrBuilder
- Returns:
- The bytes for grpcUrl.
-
setGrpcUrl
gRPC URL for leader controller
string grpcUrl = 4;
- Parameters:
value
- The grpcUrl to set.- Returns:
- This builder for chaining.
-
clearGrpcUrl
gRPC URL for leader controller
string grpcUrl = 4;
- Returns:
- This builder for chaining.
-
setGrpcUrlBytes
gRPC URL for leader controller
string grpcUrl = 4;
- Parameters:
value
- The bytes for grpcUrl to set.- Returns:
- This builder for chaining.
-
getSecureGrpcUrl
Secure gRPC URL for leader controller
string secureGrpcUrl = 5;
- Specified by:
getSecureGrpcUrl
in interfaceLeaderControllerGrpcResponseOrBuilder
- Returns:
- The secureGrpcUrl.
-
getSecureGrpcUrlBytes
public com.google.protobuf.ByteString getSecureGrpcUrlBytes()Secure gRPC URL for leader controller
string secureGrpcUrl = 5;
- Specified by:
getSecureGrpcUrlBytes
in interfaceLeaderControllerGrpcResponseOrBuilder
- Returns:
- The bytes for secureGrpcUrl.
-
setSecureGrpcUrl
Secure gRPC URL for leader controller
string secureGrpcUrl = 5;
- Parameters:
value
- The secureGrpcUrl to set.- Returns:
- This builder for chaining.
-
clearSecureGrpcUrl
Secure gRPC URL for leader controller
string secureGrpcUrl = 5;
- Returns:
- This builder for chaining.
-
setSecureGrpcUrlBytes
public LeaderControllerGrpcResponse.Builder setSecureGrpcUrlBytes(com.google.protobuf.ByteString value) Secure gRPC URL for leader controller
string secureGrpcUrl = 5;
- Parameters:
value
- The bytes for secureGrpcUrl to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final LeaderControllerGrpcResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LeaderControllerGrpcResponse.Builder>
-
mergeUnknownFields
public final LeaderControllerGrpcResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LeaderControllerGrpcResponse.Builder>
-