Send feedback
Class DiscoveryEndpoint (0.24.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.24.0 keyboard_arrow_down
public final class DiscoveryEndpoint extends GeneratedMessageV3 implements DiscoveryEndpointOrBuilder
Endpoints on each network, for Redis clients to connect to the cluster.
Protobuf type google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
Field Value
Type
Description
int
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
Field Value
Type
Description
int
PSC_CONFIG_FIELD_NUMBER
public static final int PSC_CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static DiscoveryEndpoint getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static DiscoveryEndpoint . Builder newBuilder ()
newBuilder(DiscoveryEndpoint prototype)
public static DiscoveryEndpoint . Builder newBuilder ( DiscoveryEndpoint prototype )
public static DiscoveryEndpoint parseDelimitedFrom ( InputStream input )
public static DiscoveryEndpoint parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static DiscoveryEndpoint parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryEndpoint parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static DiscoveryEndpoint parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryEndpoint parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static DiscoveryEndpoint parseFrom ( CodedInputStream input )
public static DiscoveryEndpoint parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static DiscoveryEndpoint parseFrom ( InputStream input )
public static DiscoveryEndpoint parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static DiscoveryEndpoint parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryEndpoint parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<DiscoveryEndpoint> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAddress()
public String getAddress ()
Output only. Address of the exposed Redis endpoint used by clients to
connect to the service. The address could be either IP or hostname.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The address.
getAddressBytes()
public ByteString getAddressBytes ()
Output only. Address of the exposed Redis endpoint used by clients to
connect to the service. The address could be either IP or hostname.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for address.
getDefaultInstanceForType()
public DiscoveryEndpoint getDefaultInstanceForType ()
getParserForType()
public Parser<DiscoveryEndpoint> getParserForType ()
Overrides
getPort()
Output only. The port number of the exposed Redis endpoint.
int32 port = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The port.
getPscConfig()
public PscConfig getPscConfig ()
Output only. Customer configuration for where the endpoint is created and
accessed from.
.google.cloud.redis.cluster.v1beta1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
PscConfig
The pscConfig.
getPscConfigOrBuilder()
public PscConfigOrBuilder getPscConfigOrBuilder ()
Output only. Customer configuration for where the endpoint is created and
accessed from.
.google.cloud.redis.cluster.v1beta1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasPscConfig()
public boolean hasPscConfig ()
Output only. Customer configuration for where the endpoint is created and
accessed from.
.google.cloud.redis.cluster.v1beta1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the pscConfig field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public DiscoveryEndpoint . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiscoveryEndpoint . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public DiscoveryEndpoint . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]