Class RedisInstanceInfo.Builder (1.56.0)

public static final class RedisInstanceInfo.Builder extends GeneratedMessageV3.Builder<RedisInstanceInfo.Builder> implements RedisInstanceInfoOrBuilder

For display only. Metadata associated with a Cloud Redis Instance.

Protobuf type google.cloud.networkmanagement.v1.RedisInstanceInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RedisInstanceInfo build()
Returns
Type Description
RedisInstanceInfo

buildPartial()

public RedisInstanceInfo buildPartial()
Returns
Type Description
RedisInstanceInfo

clear()

public RedisInstanceInfo.Builder clear()
Returns
Type Description
RedisInstanceInfo.Builder
Overrides

clearDisplayName()

public RedisInstanceInfo.Builder clearDisplayName()

Name of a Cloud Redis Instance.

string display_name = 1;

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearNetworkUri()

public RedisInstanceInfo.Builder clearNetworkUri()

URI of a Cloud Redis Instance network.

string network_uri = 3;

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrimaryEndpointIp()

public RedisInstanceInfo.Builder clearPrimaryEndpointIp()

Primary endpoint IP address of a Cloud Redis Instance.

string primary_endpoint_ip = 4;

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

clearReadEndpointIp()

public RedisInstanceInfo.Builder clearReadEndpointIp()

Read endpoint IP address of a Cloud Redis Instance (if applicable).

string read_endpoint_ip = 5;

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

clearRegion()

public RedisInstanceInfo.Builder clearRegion()

Region in which the Cloud Redis Instance is defined.

string region = 6;

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

clearUri()

public RedisInstanceInfo.Builder clearUri()

URI of a Cloud Redis Instance.

string uri = 2;

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RedisInstanceInfo getDefaultInstanceForType()
Returns
Type Description
RedisInstanceInfo

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Name of a Cloud Redis Instance.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Cloud Redis Instance.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getNetworkUri()

public String getNetworkUri()

URI of a Cloud Redis Instance network.

string network_uri = 3;

Returns
Type Description
String

The networkUri.

getNetworkUriBytes()

public ByteString getNetworkUriBytes()

URI of a Cloud Redis Instance network.

string network_uri = 3;

Returns
Type Description
ByteString

The bytes for networkUri.

getPrimaryEndpointIp()

public String getPrimaryEndpointIp()

Primary endpoint IP address of a Cloud Redis Instance.

string primary_endpoint_ip = 4;

Returns
Type Description
String

The primaryEndpointIp.

getPrimaryEndpointIpBytes()

public ByteString getPrimaryEndpointIpBytes()

Primary endpoint IP address of a Cloud Redis Instance.

string primary_endpoint_ip = 4;

Returns
Type Description
ByteString

The bytes for primaryEndpointIp.

getReadEndpointIp()

public String getReadEndpointIp()

Read endpoint IP address of a Cloud Redis Instance (if applicable).

string read_endpoint_ip = 5;

Returns
Type Description
String

The readEndpointIp.

getReadEndpointIpBytes()

public ByteString getReadEndpointIpBytes()

Read endpoint IP address of a Cloud Redis Instance (if applicable).

string read_endpoint_ip = 5;

Returns
Type Description
ByteString

The bytes for readEndpointIp.

getRegion()

public String getRegion()

Region in which the Cloud Redis Instance is defined.

string region = 6;

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Region in which the Cloud Redis Instance is defined.

string region = 6;

Returns
Type Description
ByteString

The bytes for region.

getUri()

public String getUri()

URI of a Cloud Redis Instance.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a Cloud Redis Instance.

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(RedisInstanceInfo other)

public RedisInstanceInfo.Builder mergeFrom(RedisInstanceInfo other)
Parameter
Name Description
other RedisInstanceInfo
Returns
Type Description
RedisInstanceInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RedisInstanceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RedisInstanceInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public RedisInstanceInfo.Builder setDisplayName(String value)

Name of a Cloud Redis Instance.

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public RedisInstanceInfo.Builder setDisplayNameBytes(ByteString value)

Name of a Cloud Redis Instance.

string display_name = 1;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkUri(String value)

public RedisInstanceInfo.Builder setNetworkUri(String value)

URI of a Cloud Redis Instance network.

string network_uri = 3;

Parameter
Name Description
value String

The networkUri to set.

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

setNetworkUriBytes(ByteString value)

public RedisInstanceInfo.Builder setNetworkUriBytes(ByteString value)

URI of a Cloud Redis Instance network.

string network_uri = 3;

Parameter
Name Description
value ByteString

The bytes for networkUri to set.

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

setPrimaryEndpointIp(String value)

public RedisInstanceInfo.Builder setPrimaryEndpointIp(String value)

Primary endpoint IP address of a Cloud Redis Instance.

string primary_endpoint_ip = 4;

Parameter
Name Description
value String

The primaryEndpointIp to set.

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

setPrimaryEndpointIpBytes(ByteString value)

public RedisInstanceInfo.Builder setPrimaryEndpointIpBytes(ByteString value)

Primary endpoint IP address of a Cloud Redis Instance.

string primary_endpoint_ip = 4;

Parameter
Name Description
value ByteString

The bytes for primaryEndpointIp to set.

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

setReadEndpointIp(String value)

public RedisInstanceInfo.Builder setReadEndpointIp(String value)

Read endpoint IP address of a Cloud Redis Instance (if applicable).

string read_endpoint_ip = 5;

Parameter
Name Description
value String

The readEndpointIp to set.

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

setReadEndpointIpBytes(ByteString value)

public RedisInstanceInfo.Builder setReadEndpointIpBytes(ByteString value)

Read endpoint IP address of a Cloud Redis Instance (if applicable).

string read_endpoint_ip = 5;

Parameter
Name Description
value ByteString

The bytes for readEndpointIp to set.

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

setRegion(String value)

public RedisInstanceInfo.Builder setRegion(String value)

Region in which the Cloud Redis Instance is defined.

string region = 6;

Parameter
Name Description
value String

The region to set.

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public RedisInstanceInfo.Builder setRegionBytes(ByteString value)

Region in which the Cloud Redis Instance is defined.

string region = 6;

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public RedisInstanceInfo.Builder setUri(String value)

URI of a Cloud Redis Instance.

string uri = 2;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.

setUriBytes(ByteString value)

public RedisInstanceInfo.Builder setUriBytes(ByteString value)

URI of a Cloud Redis Instance.

string uri = 2;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
RedisInstanceInfo.Builder

This builder for chaining.