public interface InstanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
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 |
getDiscoveryEndpoint()
Output only.
|
com.google.protobuf.ByteString |
getDiscoveryEndpointBytes()
Output only.
|
String |
getDisplayName()
Optional.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Optional.
|
Instance.InstanceMessage |
getInstanceMessages(int index)
List of messages that describe current statuses of memcached instance.
|
int |
getInstanceMessagesCount()
List of messages that describe current statuses of memcached instance.
|
List<Instance.InstanceMessage> |
getInstanceMessagesList()
List of messages that describe current statuses of memcached instance.
|
Instance.InstanceMessageOrBuilder |
getInstanceMessagesOrBuilder(int index)
List of messages that describe current statuses of memcached instance.
|
List<? extends Instance.InstanceMessageOrBuilder> |
getInstanceMessagesOrBuilderList()
List of messages that describe current statuses of memcached instance.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
Map<String,String> |
getLabelsMap()
Optional.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getLabelsOrThrow(String key)
Optional.
|
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()
Optional.
|
int |
getMemcacheVersionValue()
Optional.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
Instance.NodeConfig |
getNodeConfig()
Required.
|
Instance.NodeConfigOrBuilder |
getNodeConfigOrBuilder()
Required.
|
int |
getNodeCount()
Required.
|
MemcacheParameters |
getParameters()
Optional: User defined parameters to apply to the memcached process
on each node.
|
MemcacheParametersOrBuilder |
getParametersOrBuilder()
Optional: User defined parameters to apply to the memcached process
on each node.
|
Instance.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
String |
getZones(int index)
Optional.
|
com.google.protobuf.ByteString |
getZonesBytes(int index)
Optional.
|
int |
getZonesCount()
Optional.
|
List<String> |
getZonesList()
Optional.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasNodeConfig()
Required.
|
boolean |
hasParameters()
Optional: 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 regional level so
location_id here refers to a GCP region; however, users may choose which
zones Memcached nodes within an instances should be provisioned in.
Refer to [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 regional level so
location_id here refers to a GCP region; however, users may choose which
zones Memcached nodes within an instances should be provisioned in.
Refer to [zones] field for more details.
string name = 1 [(.google.api.field_behavior) = REQUIRED];String getDisplayName()
Optional. User provided name for the instance only used for display purposes. Cannot be more than 80 characters.
string display_name = 2;com.google.protobuf.ByteString getDisplayNameBytes()
Optional. User provided name for the instance only used for display purposes. Cannot be more than 80 characters.
string display_name = 2;int getLabelsCount()
Optional. 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)
Optional. 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()
Optional. 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)
Optional. 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)
Optional. 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()
Optional. 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()
Optional. 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()
Optional. Zones where Memcached nodes should be provisioned in. 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()
Optional. Zones where Memcached nodes should be provisioned in. 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)
Optional. Zones where Memcached nodes should be provisioned in. 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)
Optional. Zones where Memcached nodes should be provisioned in. 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()
Optional. 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()
Optional. 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()
Optional: User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;MemcacheParameters getParameters()
Optional: User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;MemcacheParametersOrBuilder getParametersOrBuilder()
Optional: 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] 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] 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] 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] 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] 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 current statuses of memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
Instance.InstanceMessage getInstanceMessages(int index)
List of messages that describe current statuses of memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
int getInstanceMessagesCount()
List of messages that describe current statuses of memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
List<? extends Instance.InstanceMessageOrBuilder> getInstanceMessagesOrBuilderList()
List of messages that describe current statuses of memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
Instance.InstanceMessageOrBuilder getInstanceMessagesOrBuilder(int index)
List of messages that describe current statuses of memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
String getDiscoveryEndpoint()
Output only. Endpoint for Discovery API
string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getDiscoveryEndpointBytes()
Output only. Endpoint for Discovery API
string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];Copyright © 2020 Google LLC. All rights reserved.