public static final class ClusterEndpoint.Builder extends GeneratedMessage.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.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
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
|
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;
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 GeneratedMessage.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
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;