Class ClusterEndpoint (0.29.0)

public final class ClusterEndpoint extends GeneratedMessageV3 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.v1beta1.ClusterEndpoint

Static Fields

CONNECTIONS_FIELD_NUMBER

public static final int CONNECTIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ClusterEndpoint getDefaultInstance()
Returns
Type Description
ClusterEndpoint

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ClusterEndpoint.Builder newBuilder()
Returns
Type Description
ClusterEndpoint.Builder

newBuilder(ClusterEndpoint prototype)

public static ClusterEndpoint.Builder newBuilder(ClusterEndpoint prototype)
Parameter
Name Description
prototype ClusterEndpoint
Returns
Type Description
ClusterEndpoint.Builder

parseDelimitedFrom(InputStream input)

public static ClusterEndpoint parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClusterEndpoint
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterEndpoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterEndpoint
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ClusterEndpoint parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ClusterEndpoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ClusterEndpoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterEndpoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ClusterEndpoint parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ClusterEndpoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ClusterEndpoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterEndpoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ClusterEndpoint parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ClusterEndpoint
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterEndpoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterEndpoint
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ClusterEndpoint parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClusterEndpoint
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterEndpoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterEndpoint
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ClusterEndpoint parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ClusterEndpoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ClusterEndpoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterEndpoint
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ClusterEndpoint> parser()
Returns
Type Description
Parser<ClusterEndpoint>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.v1beta1.ConnectionDetail connections = 1;

Parameter
Name Description
index int
Returns
Type Description
ConnectionDetail

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.v1beta1.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.v1beta1.ConnectionDetail connections = 1;

Returns
Type Description
List<ConnectionDetail>

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.v1beta1.ConnectionDetail connections = 1;

Parameter
Name Description
index int
Returns
Type Description
ConnectionDetailOrBuilder

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.v1beta1.ConnectionDetail connections = 1;

Returns
Type Description
List<? extends com.google.cloud.redis.cluster.v1beta1.ConnectionDetailOrBuilder>

getDefaultInstanceForType()

public ClusterEndpoint getDefaultInstanceForType()
Returns
Type Description
ClusterEndpoint

getParserForType()

public Parser<ClusterEndpoint> getParserForType()
Returns
Type Description
Parser<ClusterEndpoint>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ClusterEndpoint.Builder newBuilderForType()
Returns
Type Description
ClusterEndpoint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ClusterEndpoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ClusterEndpoint.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ClusterEndpoint.Builder toBuilder()
Returns
Type Description
ClusterEndpoint.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException