public interface InstanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Resource labels to represent user provided metadata
|
boolean |
containsRedisConfigs(String key)
Optional.
|
String |
getAlternativeLocationId()
Optional.
|
com.google.protobuf.ByteString |
getAlternativeLocationIdBytes()
Optional.
|
String |
getAuthorizedNetwork()
Optional.
|
com.google.protobuf.ByteString |
getAuthorizedNetworkBytes()
Optional.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getCurrentLocationId()
Output only.
|
com.google.protobuf.ByteString |
getCurrentLocationIdBytes()
Output only.
|
String |
getDisplayName()
An arbitrary and optional user-provided name for the instance.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
An arbitrary and optional user-provided name for the instance.
|
String |
getHost()
Output only.
|
com.google.protobuf.ByteString |
getHostBytes()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Resource labels to represent user provided metadata
|
Map<String,String> |
getLabelsMap()
Resource labels to represent user provided metadata
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Resource labels to represent user provided metadata
|
String |
getLabelsOrThrow(String key)
Resource labels to represent user provided metadata
|
String |
getLocationId()
Optional.
|
com.google.protobuf.ByteString |
getLocationIdBytes()
Optional.
|
int |
getMemorySizeGb()
Required.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
int |
getPort()
Output only.
|
Map<String,String> |
getRedisConfigs()
Deprecated.
|
int |
getRedisConfigsCount()
Optional.
|
Map<String,String> |
getRedisConfigsMap()
Optional.
|
String |
getRedisConfigsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getRedisConfigsOrThrow(String key)
Optional.
|
String |
getRedisVersion()
Optional.
|
com.google.protobuf.ByteString |
getRedisVersionBytes()
Optional.
|
String |
getReservedIpRange()
Optional.
|
com.google.protobuf.ByteString |
getReservedIpRangeBytes()
Optional.
|
Instance.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
String |
getStatusMessage()
Output only.
|
com.google.protobuf.ByteString |
getStatusMessageBytes()
Output only.
|
Instance.Tier |
getTier()
Required.
|
int |
getTierValue()
Required.
|
boolean |
hasCreateTime()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. Unique name of the resource in this scope including project and
location using the form:
`projects/{project_id}/locations/{location_id}/instances/{instance_id}`
Note: Redis instances are managed and addressed at regional level so
location_id here refers to a GCP region; however, users may choose which
specific zone (or collection of zones for cross-zone instances) an instance
should be provisioned in. Refer to [location_id] and
[alternative_location_id] fields for more details.
string name = 1;com.google.protobuf.ByteString getNameBytes()
Required. Unique name of the resource in this scope including project and
location using the form:
`projects/{project_id}/locations/{location_id}/instances/{instance_id}`
Note: Redis instances are managed and addressed at regional level so
location_id here refers to a GCP region; however, users may choose which
specific zone (or collection of zones for cross-zone instances) an instance
should be provisioned in. Refer to [location_id] and
[alternative_location_id] fields for more details.
string name = 1;String getDisplayName()
An arbitrary and optional user-provided name for the instance.
string display_name = 2;com.google.protobuf.ByteString getDisplayNameBytes()
An arbitrary and optional user-provided name for the instance.
string display_name = 2;int getLabelsCount()
Resource labels to represent user provided metadata
map<string, string> labels = 3;boolean containsLabels(String key)
Resource labels to represent user provided metadata
map<string, string> labels = 3;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Resource labels to represent user provided metadata
map<string, string> labels = 3;String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user provided metadata
map<string, string> labels = 3;String getLabelsOrThrow(String key)
Resource labels to represent user provided metadata
map<string, string> labels = 3;String getLocationId()
Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If [alternative_location_id] is also provided, it must be different from [location_id].
string location_id = 4;com.google.protobuf.ByteString getLocationIdBytes()
Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If [alternative_location_id] is also provided, it must be different from [location_id].
string location_id = 4;String getAlternativeLocationId()
Optional. Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. If provided, it must be a different zone from the one provided in [location_id].
string alternative_location_id = 5;com.google.protobuf.ByteString getAlternativeLocationIdBytes()
Optional. Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. If provided, it must be a different zone from the one provided in [location_id].
string alternative_location_id = 5;String getRedisVersion()
Optional. The version of Redis software. If not provided, latest supported version will be used. Updating the version will perform an upgrade/downgrade to the new version. Currently, the supported values are `REDIS_3_2` for Redis 3.2.
string redis_version = 7;com.google.protobuf.ByteString getRedisVersionBytes()
Optional. The version of Redis software. If not provided, latest supported version will be used. Updating the version will perform an upgrade/downgrade to the new version. Currently, the supported values are `REDIS_3_2` for Redis 3.2.
string redis_version = 7;String getReservedIpRange()
Optional. The CIDR range of internal addresses that are reserved for this instance. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique and non-overlapping with existing subnets in an authorized network.
string reserved_ip_range = 9;com.google.protobuf.ByteString getReservedIpRangeBytes()
Optional. The CIDR range of internal addresses that are reserved for this instance. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique and non-overlapping with existing subnets in an authorized network.
string reserved_ip_range = 9;String getHost()
Output only. Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.
string host = 10;com.google.protobuf.ByteString getHostBytes()
Output only. Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.
string host = 10;int getPort()
Output only. The port number of the exposed Redis endpoint.
int32 port = 11;String getCurrentLocationId()
Output only. The current zone where the Redis endpoint is placed. For Basic Tier instances, this will always be the same as the [location_id] provided by the user at creation time. For Standard Tier instances, this can be either [location_id] or [alternative_location_id] and can change after a failover event.
string current_location_id = 12;com.google.protobuf.ByteString getCurrentLocationIdBytes()
Output only. The current zone where the Redis endpoint is placed. For Basic Tier instances, this will always be the same as the [location_id] provided by the user at creation time. For Standard Tier instances, this can be either [location_id] or [alternative_location_id] and can change after a failover event.
string current_location_id = 12;boolean hasCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 13;com.google.protobuf.Timestamp getCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 13;com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 13;int getStateValue()
Output only. The current state of this instance.
.google.cloud.redis.v1.Instance.State state = 14;Instance.State getState()
Output only. The current state of this instance.
.google.cloud.redis.v1.Instance.State state = 14;String getStatusMessage()
Output only. Additional information about the current status of this instance, if available.
string status_message = 15;com.google.protobuf.ByteString getStatusMessageBytes()
Output only. Additional information about the current status of this instance, if available.
string status_message = 15;int getRedisConfigsCount()
Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: * maxmemory-policy * notify-keyspace-events
map<string, string> redis_configs = 16;boolean containsRedisConfigs(String key)
Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: * maxmemory-policy * notify-keyspace-events
map<string, string> redis_configs = 16;@Deprecated Map<String,String> getRedisConfigs()
getRedisConfigsMap() instead.Map<String,String> getRedisConfigsMap()
Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: * maxmemory-policy * notify-keyspace-events
map<string, string> redis_configs = 16;String getRedisConfigsOrDefault(String key, String defaultValue)
Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: * maxmemory-policy * notify-keyspace-events
map<string, string> redis_configs = 16;String getRedisConfigsOrThrow(String key)
Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: * maxmemory-policy * notify-keyspace-events
map<string, string> redis_configs = 16;int getTierValue()
Required. The service tier of the instance.
.google.cloud.redis.v1.Instance.Tier tier = 17;Instance.Tier getTier()
Required. The service tier of the instance.
.google.cloud.redis.v1.Instance.Tier tier = 17;int getMemorySizeGb()
Required. Redis memory size in GiB.
int32 memory_size_gb = 18;String getAuthorizedNetwork()
Optional. The full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. If left unspecified, the `default` network will be used.
string authorized_network = 20;com.google.protobuf.ByteString getAuthorizedNetworkBytes()
Optional. The full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. If left unspecified, the `default` network will be used.
string authorized_network = 20;Copyright © 2019 Google LLC. All rights reserved.