Class RedisClusterInfo.Builder (1.55.0)

public static final class RedisClusterInfo.Builder extends GeneratedMessageV3.Builder<RedisClusterInfo.Builder> implements RedisClusterInfoOrBuilder

For display only. Metadata associated with a Redis Cluster.

Protobuf type google.cloud.networkmanagement.v1beta1.RedisClusterInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RedisClusterInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RedisClusterInfo.Builder
Overrides

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public RedisClusterInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RedisClusterInfo.Builder
Overrides

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 a Redis Cluster network in format "projects/{project_id}/global/networks/{network_id}".

string network_uri = 3;

Returns
Type Description
RedisClusterInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RedisClusterInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RedisClusterInfo.Builder
Overrides

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.

clone()

public RedisClusterInfo.Builder clone()
Returns
Type Description
RedisClusterInfo.Builder
Overrides

getDefaultInstanceForType()

public RedisClusterInfo getDefaultInstanceForType()
Returns
Type Description
RedisClusterInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 a Redis Cluster network 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 a Redis Cluster network 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RedisClusterInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RedisClusterInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RedisClusterInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RedisClusterInfo.Builder
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for displayName to set.

Returns
Type Description
RedisClusterInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RedisClusterInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RedisClusterInfo.Builder
Overrides

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 String

The 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 ByteString

The 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 a Redis Cluster network in format "projects/{project_id}/global/networks/{network_id}".

string network_uri = 3;

Parameter
Name Description
value String

The networkUri to set.

Returns
Type Description
RedisClusterInfo.Builder

This builder for chaining.

setNetworkUriBytes(ByteString value)

public RedisClusterInfo.Builder setNetworkUriBytes(ByteString value)

URI of a Redis Cluster network in format "projects/{project_id}/global/networks/{network_id}".

string network_uri = 3;

Parameter
Name Description
value ByteString

The bytes for networkUri to set.

Returns
Type Description
RedisClusterInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RedisClusterInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RedisClusterInfo.Builder
Overrides

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 String

The 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 ByteString

The bytes for secondaryEndpointIpAddress to set.

Returns
Type Description
RedisClusterInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RedisClusterInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RedisClusterInfo.Builder
Overrides

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 String

The 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 ByteString

The bytes for uri to set.

Returns
Type Description
RedisClusterInfo.Builder

This builder for chaining.