Class RedisClusterInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RedisClusterInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.RedisClusterInfo.Builder
- All Implemented Interfaces:
RedisClusterInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RedisClusterInfo
public static final class RedisClusterInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RedisClusterInfo.Builder>
implements RedisClusterInfoOrBuilder
For display only. Metadata associated with a Redis Cluster.Protobuf type
google.cloud.networkmanagement.v1beta1.RedisClusterInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Discovery endpoint IP address of a Redis Cluster.Name of a Redis Cluster.Name of the region in which the Redis Cluster is defined.URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".Secondary endpoint IP address of a Redis Cluster.clearUri()URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDiscovery endpoint IP address of a Redis Cluster.com.google.protobuf.ByteStringDiscovery endpoint IP address of a Redis Cluster.Name of a Redis Cluster.com.google.protobuf.ByteStringName of a Redis Cluster.Name of the region in which the Redis Cluster is defined.com.google.protobuf.ByteStringName of the region in which the Redis Cluster is defined.URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".com.google.protobuf.ByteStringURI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".Secondary endpoint IP address of a Redis Cluster.com.google.protobuf.ByteStringSecondary endpoint IP address of a Redis Cluster.getUri()URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"com.google.protobuf.ByteStringURI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RedisClusterInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Discovery endpoint IP address of a Redis Cluster.setDiscoveryEndpointIpAddressBytes(com.google.protobuf.ByteString value) Discovery endpoint IP address of a Redis Cluster.setDisplayName(String value) Name of a Redis Cluster.setDisplayNameBytes(com.google.protobuf.ByteString value) Name of a Redis Cluster.setLocation(String value) Name of the region in which the Redis Cluster is defined.setLocationBytes(com.google.protobuf.ByteString value) Name of the region in which the Redis Cluster is defined.setNetworkUri(String value) URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".setNetworkUriBytes(com.google.protobuf.ByteString value) URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".Secondary endpoint IP address of a Redis Cluster.setSecondaryEndpointIpAddressBytes(com.google.protobuf.ByteString value) Secondary endpoint IP address of a Redis Cluster.URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"setUriBytes(com.google.protobuf.ByteString value) URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RedisClusterInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RedisClusterInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RedisClusterInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RedisClusterInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RedisClusterInfo.Builder>
-
mergeFrom
public RedisClusterInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RedisClusterInfo.Builder>- Throws:
IOException
-
getDisplayName
Name of a Redis Cluster.
string display_name = 1;- Specified by:
getDisplayNamein interfaceRedisClusterInfoOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Name of a Redis Cluster.
string display_name = 1;- Specified by:
getDisplayNameBytesin interfaceRedisClusterInfoOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Name of a Redis Cluster.
string display_name = 1;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Name of a Redis Cluster.
string display_name = 1;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Name of a Redis Cluster.
string display_name = 1;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getUri
URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"string uri = 2;- Specified by:
getUriin interfaceRedisClusterInfoOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"string uri = 2;- Specified by:
getUriBytesin interfaceRedisClusterInfoOrBuilder- Returns:
- The bytes for uri.
-
setUri
URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"string uri = 2;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"string uri = 2;- Returns:
- This builder for chaining.
-
setUriBytes
URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"string uri = 2;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getNetworkUri
URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".string network_uri = 3;- Specified by:
getNetworkUriin interfaceRedisClusterInfoOrBuilder- Returns:
- The networkUri.
-
getNetworkUriBytes
public com.google.protobuf.ByteString getNetworkUriBytes()URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".string network_uri = 3;- Specified by:
getNetworkUriBytesin interfaceRedisClusterInfoOrBuilder- Returns:
- The bytes for networkUri.
-
setNetworkUri
URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".string network_uri = 3;- Parameters:
value- The networkUri to set.- Returns:
- This builder for chaining.
-
clearNetworkUri
URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".string network_uri = 3;- Returns:
- This builder for chaining.
-
setNetworkUriBytes
URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".string network_uri = 3;- Parameters:
value- The bytes for networkUri to set.- Returns:
- This builder for chaining.
-
getDiscoveryEndpointIpAddress
Discovery endpoint IP address of a Redis Cluster.
string discovery_endpoint_ip_address = 4 [(.google.api.field_info) = { ... }- Specified by:
getDiscoveryEndpointIpAddressin interfaceRedisClusterInfoOrBuilder- Returns:
- The discoveryEndpointIpAddress.
-
getDiscoveryEndpointIpAddressBytes
public com.google.protobuf.ByteString getDiscoveryEndpointIpAddressBytes()Discovery endpoint IP address of a Redis Cluster.
string discovery_endpoint_ip_address = 4 [(.google.api.field_info) = { ... }- Specified by:
getDiscoveryEndpointIpAddressBytesin interfaceRedisClusterInfoOrBuilder- Returns:
- The bytes for discoveryEndpointIpAddress.
-
setDiscoveryEndpointIpAddress
Discovery endpoint IP address of a Redis Cluster.
string discovery_endpoint_ip_address = 4 [(.google.api.field_info) = { ... }- Parameters:
value- The discoveryEndpointIpAddress to set.- Returns:
- This builder for chaining.
-
clearDiscoveryEndpointIpAddress
Discovery endpoint IP address of a Redis Cluster.
string discovery_endpoint_ip_address = 4 [(.google.api.field_info) = { ... }- Returns:
- This builder for chaining.
-
setDiscoveryEndpointIpAddressBytes
public RedisClusterInfo.Builder setDiscoveryEndpointIpAddressBytes(com.google.protobuf.ByteString value) Discovery endpoint IP address of a Redis Cluster.
string discovery_endpoint_ip_address = 4 [(.google.api.field_info) = { ... }- Parameters:
value- The bytes for discoveryEndpointIpAddress to set.- Returns:
- This builder for chaining.
-
getSecondaryEndpointIpAddress
Secondary endpoint IP address of a Redis Cluster.
string secondary_endpoint_ip_address = 5 [(.google.api.field_info) = { ... }- Specified by:
getSecondaryEndpointIpAddressin interfaceRedisClusterInfoOrBuilder- Returns:
- The secondaryEndpointIpAddress.
-
getSecondaryEndpointIpAddressBytes
public com.google.protobuf.ByteString getSecondaryEndpointIpAddressBytes()Secondary endpoint IP address of a Redis Cluster.
string secondary_endpoint_ip_address = 5 [(.google.api.field_info) = { ... }- Specified by:
getSecondaryEndpointIpAddressBytesin interfaceRedisClusterInfoOrBuilder- Returns:
- The bytes for secondaryEndpointIpAddress.
-
setSecondaryEndpointIpAddress
Secondary endpoint IP address of a Redis Cluster.
string secondary_endpoint_ip_address = 5 [(.google.api.field_info) = { ... }- Parameters:
value- The secondaryEndpointIpAddress to set.- Returns:
- This builder for chaining.
-
clearSecondaryEndpointIpAddress
Secondary endpoint IP address of a Redis Cluster.
string secondary_endpoint_ip_address = 5 [(.google.api.field_info) = { ... }- Returns:
- This builder for chaining.
-
setSecondaryEndpointIpAddressBytes
public RedisClusterInfo.Builder setSecondaryEndpointIpAddressBytes(com.google.protobuf.ByteString value) Secondary endpoint IP address of a Redis Cluster.
string secondary_endpoint_ip_address = 5 [(.google.api.field_info) = { ... }- Parameters:
value- The bytes for secondaryEndpointIpAddress to set.- Returns:
- This builder for chaining.
-
getLocation
Name of the region in which the Redis Cluster is defined. For example, "us-central1".
string location = 6;- Specified by:
getLocationin interfaceRedisClusterInfoOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()Name of the region in which the Redis Cluster is defined. For example, "us-central1".
string location = 6;- Specified by:
getLocationBytesin interfaceRedisClusterInfoOrBuilder- Returns:
- The bytes for location.
-
setLocation
Name of the region in which the Redis Cluster is defined. For example, "us-central1".
string location = 6;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
Name of the region in which the Redis Cluster is defined. For example, "us-central1".
string location = 6;- Returns:
- This builder for chaining.
-
setLocationBytes
Name of the region in which the Redis Cluster is defined. For example, "us-central1".
string location = 6;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-