Class ClusterEndpoint (0.30.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ClusterEndpoint getDefaultInstance()
Returns
TypeDescription
ClusterEndpoint

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ClusterEndpoint.Builder newBuilder()
Returns
TypeDescription
ClusterEndpoint.Builder

newBuilder(ClusterEndpoint )

public static ClusterEndpoint.Builder newBuilder(ClusterEndpoint )
Parameter
NameDescription
ClusterEndpoint
Returns
TypeDescription
ClusterEndpoint.Builder

parseDelimitedFrom(InputStream input)

public static ClusterEndpoint parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ClusterEndpoint
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterEndpoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterEndpoint
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ClusterEndpoint parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ClusterEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ClusterEndpoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ClusterEndpoint parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ClusterEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ClusterEndpoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ClusterEndpoint parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ClusterEndpoint
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterEndpoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterEndpoint
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ClusterEndpoint parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ClusterEndpoint
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterEndpoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterEndpoint
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ClusterEndpoint parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ClusterEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ClusterEndpoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ClusterEndpoint> parser()
Returns
TypeDescription
Parser<ClusterEndpoint>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.redis.cluster.v1beta1.ConnectionDetailOrBuilder>

getDefaultInstanceForType()

public ClusterEndpoint getDefaultInstanceForType()
Returns
TypeDescription
ClusterEndpoint

getParserForType()

public Parser<ClusterEndpoint> getParserForType()
Returns
TypeDescription
Parser<ClusterEndpoint>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ClusterEndpoint.Builder newBuilderForType()
Returns
TypeDescription
ClusterEndpoint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ClusterEndpoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ClusterEndpoint.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ClusterEndpoint.Builder toBuilder()
Returns
TypeDescription
ClusterEndpoint.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException