public static final class RedisClusterInfo.Builder extends GeneratedMessage.Builder<RedisClusterInfo.Builder> implements RedisClusterInfoOrBuilderFor display only. Metadata associated with a Redis Cluster.
Protobuf type google.cloud.networkmanagement.v1beta1.RedisClusterInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RedisClusterInfo.BuilderImplements
RedisClusterInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RedisClusterInfo build()| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo |
|
buildPartial()
public RedisClusterInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo |
|
clear()
public RedisClusterInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
|
clearDiscoveryEndpointIpAddress()
public RedisClusterInfo.Builder clearDiscoveryEndpointIpAddress()Discovery endpoint IP address of a Redis Cluster.
string discovery_endpoint_ip_address = 4 [(.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
clearDisplayName()
public RedisClusterInfo.Builder clearDisplayName()Name of a Redis Cluster.
string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
clearLocation()
public RedisClusterInfo.Builder clearLocation()Name of the region in which the Redis Cluster is defined. For example, "us-central1".
string location = 6;
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
clearNetworkUri()
public RedisClusterInfo.Builder clearNetworkUri()URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".
string network_uri = 3;
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
clearSecondaryEndpointIpAddress()
public RedisClusterInfo.Builder clearSecondaryEndpointIpAddress()Secondary endpoint IP address of a Redis Cluster.
string secondary_endpoint_ip_address = 5 [(.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
clearUri()
public RedisClusterInfo.Builder clearUri()URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RedisClusterInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDiscoveryEndpointIpAddress()
public String getDiscoveryEndpointIpAddress()Discovery endpoint IP address of a Redis Cluster.
string discovery_endpoint_ip_address = 4 [(.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The discoveryEndpointIpAddress. |
getDiscoveryEndpointIpAddressBytes()
public ByteString getDiscoveryEndpointIpAddressBytes()Discovery endpoint IP address of a Redis Cluster.
string discovery_endpoint_ip_address = 4 [(.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for discoveryEndpointIpAddress. |
getDisplayName()
public String getDisplayName()Name of a Redis Cluster.
string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Name of a Redis Cluster.
string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getLocation()
public String getLocation()Name of the region in which the Redis Cluster is defined. For example, "us-central1".
string location = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()Name of the region in which the Redis Cluster is defined. For example, "us-central1".
string location = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getNetworkUri()
public String getNetworkUri()URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".
string network_uri = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The networkUri. |
getNetworkUriBytes()
public ByteString getNetworkUriBytes()URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".
string network_uri = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for networkUri. |
getSecondaryEndpointIpAddress()
public String getSecondaryEndpointIpAddress()Secondary endpoint IP address of a Redis Cluster.
string secondary_endpoint_ip_address = 5 [(.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The secondaryEndpointIpAddress. |
getSecondaryEndpointIpAddressBytes()
public ByteString getSecondaryEndpointIpAddressBytes()Secondary endpoint IP address of a Redis Cluster.
string secondary_endpoint_ip_address = 5 [(.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for secondaryEndpointIpAddress. |
getUri()
public String getUri()URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RedisClusterInfo other)
public RedisClusterInfo.Builder mergeFrom(RedisClusterInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
RedisClusterInfo |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RedisClusterInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RedisClusterInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
|
setDiscoveryEndpointIpAddress(String value)
public RedisClusterInfo.Builder setDiscoveryEndpointIpAddress(String value)Discovery endpoint IP address of a Redis Cluster.
string discovery_endpoint_ip_address = 4 [(.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe discoveryEndpointIpAddress to set. |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
setDiscoveryEndpointIpAddressBytes(ByteString value)
public RedisClusterInfo.Builder setDiscoveryEndpointIpAddressBytes(ByteString value)Discovery endpoint IP address of a Redis Cluster.
string discovery_endpoint_ip_address = 4 [(.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for discoveryEndpointIpAddress to set. |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
setDisplayName(String value)
public RedisClusterInfo.Builder setDisplayName(String value)Name of a Redis Cluster.
string display_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public RedisClusterInfo.Builder setDisplayNameBytes(ByteString value)Name of a Redis Cluster.
string display_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
setLocation(String value)
public RedisClusterInfo.Builder setLocation(String value)Name of the region in which the Redis Cluster is defined. For example, "us-central1".
string location = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public RedisClusterInfo.Builder setLocationBytes(ByteString value)Name of the region in which the Redis Cluster is defined. For example, "us-central1".
string location = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
setNetworkUri(String value)
public RedisClusterInfo.Builder setNetworkUri(String value)URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".
string network_uri = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe networkUri to set. |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
setNetworkUriBytes(ByteString value)
public RedisClusterInfo.Builder setNetworkUriBytes(ByteString value)URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".
string network_uri = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for networkUri to set. |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
setSecondaryEndpointIpAddress(String value)
public RedisClusterInfo.Builder setSecondaryEndpointIpAddress(String value)Secondary endpoint IP address of a Redis Cluster.
string secondary_endpoint_ip_address = 5 [(.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe secondaryEndpointIpAddress to set. |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
setSecondaryEndpointIpAddressBytes(ByteString value)
public RedisClusterInfo.Builder setSecondaryEndpointIpAddressBytes(ByteString value)Secondary endpoint IP address of a Redis Cluster.
string secondary_endpoint_ip_address = 5 [(.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for secondaryEndpointIpAddress to set. |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
setUri(String value)
public RedisClusterInfo.Builder setUri(String value)URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"
string uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public RedisClusterInfo.Builder setUriBytes(ByteString value)URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"
string uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
RedisClusterInfo.Builder |
This builder for chaining. |