public static final class ClusterEndpoint.Builder extends GeneratedMessageV3.Builder<ClusterEndpoint.Builder> implements ClusterEndpointOrBuilder
ClusterEndpoint consists of PSC connections that are created
as a group in each VPC network for accessing the cluster. In each group,
there shall be one connection for each service attachment in the cluster.
Protobuf type google.cloud.redis.cluster.v1.ClusterEndpoint
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllConnections(Iterable<? extends ConnectionDetail> values)
public ClusterEndpoint.Builder addAllConnections(Iterable<? extends ConnectionDetail> values)
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.redis.cluster.v1.ConnectionDetail>
|
addConnections(ConnectionDetail value)
public ClusterEndpoint.Builder addConnections(ConnectionDetail value)
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
addConnections(ConnectionDetail.Builder builderForValue)
public ClusterEndpoint.Builder addConnections(ConnectionDetail.Builder builderForValue)
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
addConnections(int index, ConnectionDetail value)
public ClusterEndpoint.Builder addConnections(int index, ConnectionDetail value)
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
addConnections(int index, ConnectionDetail.Builder builderForValue)
public ClusterEndpoint.Builder addConnections(int index, ConnectionDetail.Builder builderForValue)
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
addConnectionsBuilder()
public ConnectionDetail.Builder addConnectionsBuilder()
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
addConnectionsBuilder(int index)
public ConnectionDetail.Builder addConnectionsBuilder(int index)
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ClusterEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ClusterEndpoint build()
buildPartial()
public ClusterEndpoint buildPartial()
clear()
public ClusterEndpoint.Builder clear()
Overrides
clearConnections()
public ClusterEndpoint.Builder clearConnections()
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
clearField(Descriptors.FieldDescriptor field)
public ClusterEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ClusterEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ClusterEndpoint.Builder clone()
Overrides
getConnections(int index)
public ConnectionDetail getConnections(int index)
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
Parameter |
Name |
Description |
index |
int
|
getConnectionsBuilder(int index)
public ConnectionDetail.Builder getConnectionsBuilder(int index)
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
Parameter |
Name |
Description |
index |
int
|
getConnectionsBuilderList()
public List<ConnectionDetail.Builder> getConnectionsBuilderList()
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
getConnectionsCount()
public int getConnectionsCount()
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
Returns |
Type |
Description |
int |
|
getConnectionsList()
public List<ConnectionDetail> getConnectionsList()
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
getConnectionsOrBuilder(int index)
public ConnectionDetailOrBuilder getConnectionsOrBuilder(int index)
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
Parameter |
Name |
Description |
index |
int
|
getConnectionsOrBuilderList()
public List<? extends ConnectionDetailOrBuilder> getConnectionsOrBuilderList()
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.redis.cluster.v1.ConnectionDetailOrBuilder> |
|
getDefaultInstanceForType()
public ClusterEndpoint getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ClusterEndpoint other)
public ClusterEndpoint.Builder mergeFrom(ClusterEndpoint other)
public ClusterEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ClusterEndpoint.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ClusterEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeConnections(int index)
public ClusterEndpoint.Builder removeConnections(int index)
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
Parameter |
Name |
Description |
index |
int
|
setConnections(int index, ConnectionDetail value)
public ClusterEndpoint.Builder setConnections(int index, ConnectionDetail value)
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
setConnections(int index, ConnectionDetail.Builder builderForValue)
public ClusterEndpoint.Builder setConnections(int index, ConnectionDetail.Builder builderForValue)
A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.
repeated .google.cloud.redis.cluster.v1.ConnectionDetail connections = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ClusterEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ClusterEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ClusterEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides