- 0.57.0 (latest)
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class DiscoveryEndpoint.Builder extends GeneratedMessage.Builder<DiscoveryEndpoint.Builder> implements DiscoveryEndpointOrBuilderEndpoints on each network, for Redis clients to connect to the cluster.
Protobuf type google.cloud.redis.cluster.v1.DiscoveryEndpoint
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DiscoveryEndpoint.BuilderImplements
DiscoveryEndpointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DiscoveryEndpoint build()| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint |
|
buildPartial()
public DiscoveryEndpoint buildPartial()| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint |
|
clear()
public DiscoveryEndpoint.Builder clear()| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint.Builder |
|
clearAddress()
public DiscoveryEndpoint.Builder clearAddress()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 |
DiscoveryEndpoint.Builder |
This builder for chaining. |
clearPort()
public DiscoveryEndpoint.Builder clearPort()Output only. The port number of the exposed Redis endpoint.
int32 port = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint.Builder |
This builder for chaining. |
clearPscConfig()
public DiscoveryEndpoint.Builder clearPscConfig()Output only. Customer configuration for where the endpoint is created and accessed from.
.google.cloud.redis.cluster.v1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint.Builder |
|
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()| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPort()
public int 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.v1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PscConfig |
The pscConfig. |
getPscConfigBuilder()
public PscConfig.Builder getPscConfigBuilder()Output only. Customer configuration for where the endpoint is created and accessed from.
.google.cloud.redis.cluster.v1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PscConfig.Builder |
|
getPscConfigOrBuilder()
public PscConfigOrBuilder getPscConfigOrBuilder()Output only. Customer configuration for where the endpoint is created and accessed from.
.google.cloud.redis.cluster.v1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PscConfigOrBuilder |
|
hasPscConfig()
public boolean hasPscConfig()Output only. Customer configuration for where the endpoint is created and accessed from.
.google.cloud.redis.cluster.v1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pscConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DiscoveryEndpoint other)
public DiscoveryEndpoint.Builder mergeFrom(DiscoveryEndpoint other)| Parameter | |
|---|---|
| Name | Description |
other |
DiscoveryEndpoint |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiscoveryEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DiscoveryEndpoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint.Builder |
|
mergePscConfig(PscConfig value)
public DiscoveryEndpoint.Builder mergePscConfig(PscConfig value)Output only. Customer configuration for where the endpoint is created and accessed from.
.google.cloud.redis.cluster.v1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
PscConfig |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint.Builder |
|
setAddress(String value)
public DiscoveryEndpoint.Builder setAddress(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe address to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint.Builder |
This builder for chaining. |
setAddressBytes(ByteString value)
public DiscoveryEndpoint.Builder setAddressBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for address to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint.Builder |
This builder for chaining. |
setPort(int value)
public DiscoveryEndpoint.Builder setPort(int value)Output only. The port number of the exposed Redis endpoint.
int32 port = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe port to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint.Builder |
This builder for chaining. |
setPscConfig(PscConfig value)
public DiscoveryEndpoint.Builder setPscConfig(PscConfig value)Output only. Customer configuration for where the endpoint is created and accessed from.
.google.cloud.redis.cluster.v1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
PscConfig |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint.Builder |
|
setPscConfig(PscConfig.Builder builderForValue)
public DiscoveryEndpoint.Builder setPscConfig(PscConfig.Builder builderForValue)Output only. Customer configuration for where the endpoint is created and accessed from.
.google.cloud.redis.cluster.v1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PscConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEndpoint.Builder |
|