Class Instance.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
com.google.cloud.memcache.v1beta2.Instance.Builder
- All Implemented Interfaces:
InstanceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Instance
public static final class Instance.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
implements InstanceOrBuilder
A Memorystore for Memcached instanceProtobuf type
google.cloud.memcache.v1beta2.Instance-
Method Summary
Modifier and TypeMethodDescriptionaddAllInstanceMessages(Iterable<? extends Instance.InstanceMessage> values) List of messages that describe the current state of the Memcached instance.addAllMemcacheNodes(Iterable<? extends Instance.Node> values) Output only.addAllZones(Iterable<String> values) Zones in which Memcached nodes should be provisioned.addInstanceMessages(int index, Instance.InstanceMessage value) List of messages that describe the current state of the Memcached instance.addInstanceMessages(int index, Instance.InstanceMessage.Builder builderForValue) List of messages that describe the current state of the Memcached instance.List of messages that describe the current state of the Memcached instance.addInstanceMessages(Instance.InstanceMessage.Builder builderForValue) List of messages that describe the current state of the Memcached instance.List of messages that describe the current state of the Memcached instance.addInstanceMessagesBuilder(int index) List of messages that describe the current state of the Memcached instance.addMemcacheNodes(int index, Instance.Node value) Output only.addMemcacheNodes(int index, Instance.Node.Builder builderForValue) Output only.addMemcacheNodes(Instance.Node value) Output only.addMemcacheNodes(Instance.Node.Builder builderForValue) Output only.Output only.addMemcacheNodesBuilder(int index) Output only.Zones in which Memcached nodes should be provisioned.addZonesBytes(com.google.protobuf.ByteString value) Zones in which Memcached nodes should be provisioned.build()clear()The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.Output only.Output only.User provided name for the instance, which is only used for display purposes.List of messages that describe the current state of the Memcached instance.The maintenance policy for the instance.Output only.Output only.Output only.The major version of Memcached software.Required.Required.Required.User defined parameters to apply to the memcached process on each node.Output only.Output only.Output only.Zones in which Memcached nodes should be provisioned.booleancontainsLabels(String key) Resource labels to represent user-provided metadata.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.ByteStringThe full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.User provided name for the instance, which is only used for display purposes.com.google.protobuf.ByteStringUser provided name for the instance, which is only used for display purposes.getInstanceMessages(int index) List of messages that describe the current state of the Memcached instance.getInstanceMessagesBuilder(int index) List of messages that describe the current state of the Memcached instance.List of messages that describe the current state of the Memcached instance.intList of messages that describe the current state of the Memcached instance.List of messages that describe the current state of the Memcached instance.getInstanceMessagesOrBuilder(int index) List of messages that describe the current state of the Memcached instance.List<? extends Instance.InstanceMessageOrBuilder>List of messages that describe the current state of the Memcached instance.Deprecated.intResource labels to represent user-provided metadata.Resource labels to represent user-provided metadata.getLabelsOrDefault(String key, String defaultValue) Resource labels to represent user-provided metadata.getLabelsOrThrow(String key) Resource labels to represent user-provided metadata.The maintenance policy for the instance.The maintenance policy for the instance.The maintenance policy for the instance.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.getMemcacheNodes(int index) Output only.getMemcacheNodesBuilder(int index) Output only.Output only.intOutput only.Output only.getMemcacheNodesOrBuilder(int index) Output only.List<? extends Instance.NodeOrBuilder>Output only.The major version of Memcached software.intThe major version of Memcached software.Deprecated.getName()Required.com.google.protobuf.ByteStringRequired.Required.Required.Required.intRequired.User defined parameters to apply to the memcached process on each node.User defined parameters to apply to the memcached process on each node.User defined parameters to apply to the memcached process on each node.getState()Output only.intOutput only.booleanOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getZones(int index) Zones in which Memcached nodes should be provisioned.com.google.protobuf.ByteStringgetZonesBytes(int index) Zones in which Memcached nodes should be provisioned.intZones in which Memcached nodes should be provisioned.com.google.protobuf.ProtocolStringListZones in which Memcached nodes should be provisioned.booleanOutput only.booleanThe maintenance policy for the instance.booleanOutput only.booleanRequired.booleanUser defined parameters to apply to the memcached process on each node.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The maintenance policy for the instance.Output only.Required.User defined parameters to apply to the memcached process on each node.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Resource labels to represent user-provided metadata.Resource labels to represent user-provided metadata.removeInstanceMessages(int index) List of messages that describe the current state of the Memcached instance.removeLabels(String key) Resource labels to represent user-provided metadata.removeMemcacheNodes(int index) Output only.setAuthorizedNetwork(String value) The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.setAuthorizedNetworkBytes(com.google.protobuf.ByteString value) The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDiscoveryEndpoint(String value) Output only.setDiscoveryEndpointBytes(com.google.protobuf.ByteString value) Output only.setDisplayName(String value) User provided name for the instance, which is only used for display purposes.setDisplayNameBytes(com.google.protobuf.ByteString value) User provided name for the instance, which is only used for display purposes.setInstanceMessages(int index, Instance.InstanceMessage value) List of messages that describe the current state of the Memcached instance.setInstanceMessages(int index, Instance.InstanceMessage.Builder builderForValue) List of messages that describe the current state of the Memcached instance.The maintenance policy for the instance.setMaintenancePolicy(MaintenancePolicy.Builder builderForValue) The maintenance policy for the instance.Output only.setMaintenanceSchedule(MaintenanceSchedule.Builder builderForValue) Output only.setMemcacheFullVersion(String value) Output only.setMemcacheFullVersionBytes(com.google.protobuf.ByteString value) Output only.setMemcacheNodes(int index, Instance.Node value) Output only.setMemcacheNodes(int index, Instance.Node.Builder builderForValue) Output only.The major version of Memcached software.setMemcacheVersionValue(int value) The major version of Memcached software.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setNodeConfig(Instance.NodeConfig value) Required.setNodeConfig(Instance.NodeConfig.Builder builderForValue) Required.setNodeCount(int value) Required.setParameters(MemcacheParameters value) User defined parameters to apply to the memcached process on each node.setParameters(MemcacheParameters.Builder builderForValue) User defined parameters to apply to the memcached process on each node.setState(Instance.State value) Output only.setStateValue(int value) Output only.setUpdateAvailable(boolean value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Zones in which Memcached nodes should be provisioned.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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Instance.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<Instance.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<Instance.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<Instance.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
-
mergeFrom
public Instance.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<Instance.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceInstanceOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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];- Returns:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.
string display_name = 2;- Specified by:
getDisplayNamein interfaceInstanceOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public 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;- Specified by:
getDisplayNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:InstanceOrBuilderResource 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;- Specified by:
getLabelsCountin interfaceInstanceOrBuilder
-
containsLabels
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;- Specified by:
containsLabelsin interfaceInstanceOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceInstanceOrBuilder
-
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;- Specified by:
getLabelsMapin interfaceInstanceOrBuilder
-
getLabelsOrDefault
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;- Specified by:
getLabelsOrDefaultin interfaceInstanceOrBuilder
-
getLabelsOrThrow
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;- Specified by:
getLabelsOrThrowin interfaceInstanceOrBuilder
-
clearLabels
-
removeLabels
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; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
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; -
putAllLabels
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; -
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;- Specified by:
getAuthorizedNetworkin interfaceInstanceOrBuilder- Returns:
- The authorizedNetwork.
-
getAuthorizedNetworkBytes
public 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;- Specified by:
getAuthorizedNetworkBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for authorizedNetwork.
-
setAuthorizedNetwork
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;- Parameters:
value- The authorizedNetwork to set.- Returns:
- This builder for chaining.
-
clearAuthorizedNetwork
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;- Returns:
- This builder for chaining.
-
setAuthorizedNetworkBytes
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;- Parameters:
value- The bytes for authorizedNetwork to set.- Returns:
- This builder for chaining.
-
getZonesList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getZonesListin interfaceInstanceOrBuilder- Returns:
- A list containing the zones.
-
getZonesCount
public 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;- Specified by:
getZonesCountin interfaceInstanceOrBuilder- Returns:
- The count of zones.
-
getZones
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;- Specified by:
getZonesin interfaceInstanceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The zones at the given index.
-
getZonesBytes
public 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;- Specified by:
getZonesBytesin interfaceInstanceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the zones at the given index.
-
setZones
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;- Parameters:
index- The index to set the value at.value- The zones to set.- Returns:
- This builder for chaining.
-
addZones
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;- Parameters:
value- The zones to add.- Returns:
- This builder for chaining.
-
addAllZones
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;- Parameters:
values- The zones to add.- Returns:
- This builder for chaining.
-
clearZones
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;- Returns:
- This builder for chaining.
-
addZonesBytes
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;- Parameters:
value- The bytes of the zones to add.- Returns:
- This builder for chaining.
-
getNodeCount
public int getNodeCount()Required. Number of nodes in the Memcached instance.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNodeCountin interfaceInstanceOrBuilder- Returns:
- The nodeCount.
-
setNodeCount
Required. Number of nodes in the Memcached instance.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The nodeCount to set.- Returns:
- This builder for chaining.
-
clearNodeCount
Required. Number of nodes in the Memcached instance.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
hasNodeConfig
public boolean hasNodeConfig()Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasNodeConfigin interfaceInstanceOrBuilder- Returns:
- Whether the nodeConfig field is set.
-
getNodeConfig
Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNodeConfigin interfaceInstanceOrBuilder- Returns:
- The nodeConfig.
-
setNodeConfig
Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED]; -
setNodeConfig
Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED]; -
mergeNodeConfig
Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED]; -
clearNodeConfig
Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED]; -
getNodeConfigBuilder
Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED]; -
getNodeConfigOrBuilder
Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNodeConfigOrBuilderin interfaceInstanceOrBuilder
-
getMemcacheVersionValue
public 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;- Specified by:
getMemcacheVersionValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for memcacheVersion.
-
setMemcacheVersionValue
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;- Parameters:
value- The enum numeric value on the wire for memcacheVersion to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getMemcacheVersionin interfaceInstanceOrBuilder- Returns:
- The memcacheVersion.
-
setMemcacheVersion
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;- Parameters:
value- The memcacheVersion to set.- Returns:
- This builder for chaining.
-
clearMemcacheVersion
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;- Returns:
- This builder for chaining.
-
hasParameters
public boolean hasParameters()User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;- Specified by:
hasParametersin interfaceInstanceOrBuilder- Returns:
- Whether the parameters field is set.
-
getParameters
User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;- Specified by:
getParametersin interfaceInstanceOrBuilder- Returns:
- The parameters.
-
setParameters
User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11; -
setParameters
User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11; -
mergeParameters
User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11; -
clearParameters
User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11; -
getParametersBuilder
User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11; -
getParametersOrBuilder
User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;- Specified by:
getParametersOrBuilderin interfaceInstanceOrBuilder
-
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];- Specified by:
getMemcacheNodesListin interfaceInstanceOrBuilder
-
getMemcacheNodesCount
public 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];- Specified by:
getMemcacheNodesCountin interfaceInstanceOrBuilder
-
getMemcacheNodes
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];- Specified by:
getMemcacheNodesin interfaceInstanceOrBuilder
-
setMemcacheNodes
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]; -
setMemcacheNodes
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]; -
addMemcacheNodes
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]; -
addMemcacheNodes
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]; -
addMemcacheNodes
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]; -
addMemcacheNodes
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]; -
addAllMemcacheNodes
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]; -
clearMemcacheNodes
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]; -
removeMemcacheNodes
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]; -
getMemcacheNodesBuilder
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]; -
getMemcacheNodesOrBuilder
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];- Specified by:
getMemcacheNodesOrBuilderin interfaceInstanceOrBuilder
-
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];- Specified by:
getMemcacheNodesOrBuilderListin interfaceInstanceOrBuilder
-
addMemcacheNodesBuilder
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]; -
addMemcacheNodesBuilder
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]; -
getMemcacheNodesBuilderList
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]; -
hasCreateTime
public boolean hasCreateTime()Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceInstanceOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceInstanceOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceInstanceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The time the instance was updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceInstanceOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceInstanceOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The time the instance was updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The time the instance was updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The time the instance was updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The time the instance was updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The time the instance was updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceInstanceOrBuilder
-
getStateValue
public int getStateValue()Output only. The state of this Memcached instance.
.google.cloud.memcache.v1beta2.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The state of this Memcached instance.
.google.cloud.memcache.v1beta2.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The state of this Memcached instance.
.google.cloud.memcache.v1beta2.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceInstanceOrBuilder- Returns:
- The state.
-
setState
Output only. The state of this Memcached instance.
.google.cloud.memcache.v1beta2.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The state of this Memcached instance.
.google.cloud.memcache.v1beta2.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
getMemcacheFullVersionin interfaceInstanceOrBuilder- Returns:
- The memcacheFullVersion.
-
getMemcacheFullVersionBytes
public 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];- Specified by:
getMemcacheFullVersionBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for memcacheFullVersion.
-
setMemcacheFullVersion
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];- Parameters:
value- The memcacheFullVersion to set.- Returns:
- This builder for chaining.
-
clearMemcacheFullVersion
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];- Returns:
- This builder for chaining.
-
setMemcacheFullVersionBytes
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];- Parameters:
value- The bytes for memcacheFullVersion to set.- Returns:
- This builder for chaining.
-
getInstanceMessagesList
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;- Specified by:
getInstanceMessagesListin interfaceInstanceOrBuilder
-
getInstanceMessagesCount
public int getInstanceMessagesCount()List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;- Specified by:
getInstanceMessagesCountin interfaceInstanceOrBuilder
-
getInstanceMessages
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;- Specified by:
getInstanceMessagesin interfaceInstanceOrBuilder
-
setInstanceMessages
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19; -
setInstanceMessages
public Instance.Builder setInstanceMessages(int index, Instance.InstanceMessage.Builder builderForValue) List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19; -
addInstanceMessages
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19; -
addInstanceMessages
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19; -
addInstanceMessages
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19; -
addInstanceMessages
public Instance.Builder addInstanceMessages(int index, Instance.InstanceMessage.Builder builderForValue) List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19; -
addAllInstanceMessages
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19; -
clearInstanceMessages
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19; -
removeInstanceMessages
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19; -
getInstanceMessagesBuilder
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19; -
getInstanceMessagesOrBuilder
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;- Specified by:
getInstanceMessagesOrBuilderin interfaceInstanceOrBuilder
-
getInstanceMessagesOrBuilderList
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;- Specified by:
getInstanceMessagesOrBuilderListin interfaceInstanceOrBuilder
-
addInstanceMessagesBuilder
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19; -
addInstanceMessagesBuilder
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19; -
getInstanceMessagesBuilderList
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19; -
getDiscoveryEndpoint
Output only. Endpoint for the Discovery API.
string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDiscoveryEndpointin interfaceInstanceOrBuilder- Returns:
- The discoveryEndpoint.
-
getDiscoveryEndpointBytes
public com.google.protobuf.ByteString getDiscoveryEndpointBytes()Output only. Endpoint for the Discovery API.
string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDiscoveryEndpointBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for discoveryEndpoint.
-
setDiscoveryEndpoint
Output only. Endpoint for the Discovery API.
string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The discoveryEndpoint to set.- Returns:
- This builder for chaining.
-
clearDiscoveryEndpoint
Output only. Endpoint for the Discovery API.
string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDiscoveryEndpointBytes
Output only. Endpoint for the Discovery API.
string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for discoveryEndpoint to set.- Returns:
- This builder for chaining.
-
getUpdateAvailable
public 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];- Specified by:
getUpdateAvailablein interfaceInstanceOrBuilder- Returns:
- The updateAvailable.
-
setUpdateAvailable
Output only. Returns true if there is an update waiting to be applied
bool update_available = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The updateAvailable to set.- Returns:
- This builder for chaining.
-
clearUpdateAvailable
Output only. Returns true if there is an update waiting to be applied
bool update_available = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasMaintenancePolicy
public 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;- Specified by:
hasMaintenancePolicyin interfaceInstanceOrBuilder- Returns:
- Whether the maintenancePolicy field is set.
-
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;- Specified by:
getMaintenancePolicyin interfaceInstanceOrBuilder- Returns:
- The maintenancePolicy.
-
setMaintenancePolicy
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; -
setMaintenancePolicy
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; -
mergeMaintenancePolicy
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; -
clearMaintenancePolicy
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; -
getMaintenancePolicyBuilder
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; -
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;- Specified by:
getMaintenancePolicyOrBuilderin interfaceInstanceOrBuilder
-
hasMaintenanceSchedule
public boolean hasMaintenanceSchedule()Output only. Published maintenance schedule.
.google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMaintenanceSchedulein interfaceInstanceOrBuilder- Returns:
- Whether the maintenanceSchedule field is set.
-
getMaintenanceSchedule
Output only. Published maintenance schedule.
.google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceSchedulein interfaceInstanceOrBuilder- Returns:
- The maintenanceSchedule.
-
setMaintenanceSchedule
Output only. Published maintenance schedule.
.google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setMaintenanceSchedule
Output only. Published maintenance schedule.
.google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeMaintenanceSchedule
Output only. Published maintenance schedule.
.google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearMaintenanceSchedule
Output only. Published maintenance schedule.
.google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMaintenanceScheduleBuilder
Output only. Published maintenance schedule.
.google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMaintenanceScheduleOrBuilder
Output only. Published maintenance schedule.
.google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceScheduleOrBuilderin interfaceInstanceOrBuilder
-