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.
|
String |
getAuthorizedNetwork()
The full name of the Google Compute Engine
[network](https://cloud.google.com/vpc/docs/vpc) to which the
instance is connected.
|
com.google.protobuf.ByteString |
getAuthorizedNetworkBytes()
The full name of the Google Compute Engine
[network](https://cloud.google.com/vpc/docs/vpc) to which the
instance is connected.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getDiscoveryEndpoint()
Output only.
|
com.google.protobuf.ByteString |
getDiscoveryEndpointBytes()
Output only.
|
String |
getDisplayName()
User provided name for the instance, which is only used for display
purposes.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
User provided name for the instance, which is only used for display
purposes.
|
Instance.InstanceMessage |
getInstanceMessages(int index)
List of messages that describe the current state of the Memcached instance.
|
int |
getInstanceMessagesCount()
List of messages that describe the current state of the Memcached instance.
|
List<Instance.InstanceMessage> |
getInstanceMessagesList()
List of messages that describe the current state of the Memcached instance.
|
Instance.InstanceMessageOrBuilder |
getInstanceMessagesOrBuilder(int index)
List of messages that describe the current state of the Memcached instance.
|
List<? extends Instance.InstanceMessageOrBuilder> |
getInstanceMessagesOrBuilderList()
List of messages that describe the current state of the Memcached instance.
|
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.
|
MaintenancePolicy |
getMaintenancePolicy()
The maintenance policy for the instance.
|
MaintenancePolicyOrBuilder |
getMaintenancePolicyOrBuilder()
The maintenance policy for the instance.
|
MaintenanceSchedule |
getMaintenanceSchedule()
Output only.
|
MaintenanceScheduleOrBuilder |
getMaintenanceScheduleOrBuilder()
Output only.
|
String |
getMemcacheFullVersion()
Output only.
|
com.google.protobuf.ByteString |
getMemcacheFullVersionBytes()
Output only.
|
Instance.Node |
getMemcacheNodes(int index)
Output only.
|
int |
getMemcacheNodesCount()
Output only.
|
List<Instance.Node> |
getMemcacheNodesList()
Output only.
|
Instance.NodeOrBuilder |
getMemcacheNodesOrBuilder(int index)
Output only.
|
List<? extends Instance.NodeOrBuilder> |
getMemcacheNodesOrBuilderList()
Output only.
|
MemcacheVersion |
getMemcacheVersion()
The major version of Memcached software.
|
int |
getMemcacheVersionValue()
The major version of Memcached software.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
Instance.NodeConfig |
getNodeConfig()
Required.
|
Instance.NodeConfigOrBuilder |
getNodeConfigOrBuilder()
Required.
|
int |
getNodeCount()
Required.
|
MemcacheParameters |
getParameters()
User defined parameters to apply to the memcached process
on each node.
|
MemcacheParametersOrBuilder |
getParametersOrBuilder()
User defined parameters to apply to the memcached process
on each node.
|
Instance.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
boolean |
getUpdateAvailable()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
String |
getZones(int index)
Zones in which Memcached nodes should be provisioned.
|
com.google.protobuf.ByteString |
getZonesBytes(int index)
Zones in which Memcached nodes should be provisioned.
|
int |
getZonesCount()
Zones in which Memcached nodes should be provisioned.
|
List<String> |
getZonesList()
Zones in which Memcached nodes should be provisioned.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasMaintenancePolicy()
The maintenance policy for the instance.
|
boolean |
hasMaintenanceSchedule()
Output only.
|
boolean |
hasNodeConfig()
Required.
|
boolean |
hasParameters()
User defined parameters to apply to the memcached process
on each node.
|
boolean |
hasUpdateTime()
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: Memcached instances are managed and addressed at the regional level
so `location_id` here refers to a Google Cloud region; however, users may
choose which zones Memcached nodes should be provisioned in within an
instance. Refer to [zones][google.cloud.memcache.v1beta2.Instance.zones] field for more details.
string name = 1 [(.google.api.field_behavior) = REQUIRED];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: Memcached instances are managed and addressed at the regional level
so `location_id` here refers to a Google Cloud region; however, users may
choose which zones Memcached nodes should be provisioned in within an
instance. Refer to [zones][google.cloud.memcache.v1beta2.Instance.zones] field for more details.
string name = 1 [(.google.api.field_behavior) = REQUIRED];String getDisplayName()
User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.
string display_name = 2;com.google.protobuf.ByteString getDisplayNameBytes()
User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.
string display_name = 2;int getLabelsCount()
Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
map<string, string> labels = 3;boolean containsLabels(String key)
Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
map<string, string> labels = 3;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
map<string, string> labels = 3;String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
map<string, string> labels = 3;String getLabelsOrThrow(String key)
Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
map<string, string> labels = 3;String getAuthorizedNetwork()
The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
string authorized_network = 4;com.google.protobuf.ByteString getAuthorizedNetworkBytes()
The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
string authorized_network = 4;List<String> getZonesList()
Zones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
repeated string zones = 5;int getZonesCount()
Zones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
repeated string zones = 5;String getZones(int index)
Zones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
repeated string zones = 5;index - The index of the element to return.com.google.protobuf.ByteString getZonesBytes(int index)
Zones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
repeated string zones = 5;index - The index of the value to return.int getNodeCount()
Required. Number of nodes in the Memcached instance.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];boolean hasNodeConfig()
Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
Instance.NodeConfig getNodeConfig()
Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
Instance.NodeConfigOrBuilder getNodeConfigOrBuilder()
Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
int getMemcacheVersionValue()
The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is `MEMCACHE_1_5`. The minor version will be automatically determined by our system based on the latest supported minor version.
.google.cloud.memcache.v1beta2.MemcacheVersion memcache_version = 9;MemcacheVersion getMemcacheVersion()
The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is `MEMCACHE_1_5`. The minor version will be automatically determined by our system based on the latest supported minor version.
.google.cloud.memcache.v1beta2.MemcacheVersion memcache_version = 9;boolean hasParameters()
User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;MemcacheParameters getParameters()
User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;MemcacheParametersOrBuilder getParametersOrBuilder()
User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;List<Instance.Node> getMemcacheNodesList()
Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Instance.Node getMemcacheNodes(int index)
Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getMemcacheNodesCount()
Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
List<? extends Instance.NodeOrBuilder> getMemcacheNodesOrBuilderList()
Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Instance.NodeOrBuilder getMemcacheNodesOrBuilder(int index)
Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasUpdateTime()
Output only. The time the instance was updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getUpdateTime()
Output only. The time the instance was updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time the instance was updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getStateValue()
Output only. The state of this Memcached instance.
.google.cloud.memcache.v1beta2.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Instance.State getState()
Output only. The state of this Memcached instance.
.google.cloud.memcache.v1beta2.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getMemcacheFullVersion()
Output only. The full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be "memcached-1.5.16".
string memcache_full_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getMemcacheFullVersionBytes()
Output only. The full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be "memcached-1.5.16".
string memcache_full_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];List<Instance.InstanceMessage> getInstanceMessagesList()
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
Instance.InstanceMessage getInstanceMessages(int index)
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
int getInstanceMessagesCount()
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
List<? extends Instance.InstanceMessageOrBuilder> getInstanceMessagesOrBuilderList()
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
Instance.InstanceMessageOrBuilder getInstanceMessagesOrBuilder(int index)
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
String getDiscoveryEndpoint()
Output only. Endpoint for the Discovery API.
string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getDiscoveryEndpointBytes()
Output only. Endpoint for the Discovery API.
string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean getUpdateAvailable()
Output only. Returns true if there is an update waiting to be applied
bool update_available = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean hasMaintenancePolicy()
The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
.google.cloud.memcache.v1beta2.MaintenancePolicy maintenance_policy = 22;MaintenancePolicy getMaintenancePolicy()
The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
.google.cloud.memcache.v1beta2.MaintenancePolicy maintenance_policy = 22;MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
.google.cloud.memcache.v1beta2.MaintenancePolicy maintenance_policy = 22;boolean hasMaintenanceSchedule()
Output only. Published maintenance schedule.
.google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
MaintenanceSchedule getMaintenanceSchedule()
Output only. Published maintenance schedule.
.google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
MaintenanceScheduleOrBuilder getMaintenanceScheduleOrBuilder()
Output only. Published maintenance schedule.
.google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Copyright © 2024 Google LLC. All rights reserved.