Package com.google.cloud.memcache.v1
Class Instance
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.memcache.v1.Instance
- All Implemented Interfaces:
InstanceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Instance
extends com.google.protobuf.GeneratedMessage
implements InstanceOrBuilder
A Memorystore for Memcached instanceProtobuf type
google.cloud.memcache.v1.Instance- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA Memorystore for Memcached instancestatic final classProtobuf typegoogle.cloud.memcache.v1.Instance.InstanceMessagestatic interfacestatic final classProtobuf typegoogle.cloud.memcache.v1.Instance.Nodestatic final classConfiguration for a Memcached Node.static interfacestatic interfacestatic enumDifferent states of a Memcached instance.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Resource labels to represent user-provided metadata.booleanThe full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected.com.google.protobuf.ByteStringThe full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static Instancestatic final com.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.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.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.getMemcacheNodes(int index) 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.getName()Required.com.google.protobuf.ByteStringRequired.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.com.google.protobuf.Parser<Instance>intgetState()Output only.intOutput only.com.google.protobuf.TimestampOutput 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.inthashCode()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) final booleanstatic Instance.Builderstatic Instance.BuildernewBuilder(Instance prototype) protected Instance.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static InstanceparseDelimitedFrom(InputStream input) static InstanceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(byte[] data) static InstanceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(com.google.protobuf.ByteString data) static InstanceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(com.google.protobuf.CodedInputStream input) static InstanceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(InputStream input) static InstanceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(ByteBuffer data) static InstanceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Instance>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
AUTHORIZED_NETWORK_FIELD_NUMBER
public static final int AUTHORIZED_NETWORK_FIELD_NUMBER- See Also:
-
ZONES_FIELD_NUMBER
public static final int ZONES_FIELD_NUMBER- See Also:
-
NODE_COUNT_FIELD_NUMBER
public static final int NODE_COUNT_FIELD_NUMBER- See Also:
-
NODE_CONFIG_FIELD_NUMBER
public static final int NODE_CONFIG_FIELD_NUMBER- See Also:
-
MEMCACHE_VERSION_FIELD_NUMBER
public static final int MEMCACHE_VERSION_FIELD_NUMBER- See Also:
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER- See Also:
-
MEMCACHE_NODES_FIELD_NUMBER
public static final int MEMCACHE_NODES_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
MEMCACHE_FULL_VERSION_FIELD_NUMBER
public static final int MEMCACHE_FULL_VERSION_FIELD_NUMBER- See Also:
-
INSTANCE_MESSAGES_FIELD_NUMBER
public static final int INSTANCE_MESSAGES_FIELD_NUMBER- See Also:
-
DISCOVERY_ENDPOINT_FIELD_NUMBER
public static final int DISCOVERY_ENDPOINT_FIELD_NUMBER- See Also:
-
MAINTENANCE_POLICY_FIELD_NUMBER
public static final int MAINTENANCE_POLICY_FIELD_NUMBER- See Also:
-
MAINTENANCE_SCHEDULE_FIELD_NUMBER
public static final int MAINTENANCE_SCHEDULE_FIELD_NUMBER- See Also:
-
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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.v1.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.v1.Instance.zones] field for more details.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for name.
-
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.
-
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
-
getAuthorizedNetwork
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 = 4;- Specified by:
getAuthorizedNetworkin interfaceInstanceOrBuilder- Returns:
- The authorizedNetwork.
-
getAuthorizedNetworkBytes
public com.google.protobuf.ByteString getAuthorizedNetworkBytes()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 = 4;- Specified by:
getAuthorizedNetworkBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for authorizedNetwork.
-
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.
-
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.
-
hasNodeConfig
public boolean hasNodeConfig()Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1.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.v1.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNodeConfigin interfaceInstanceOrBuilder- Returns:
- The nodeConfig.
-
getNodeConfigOrBuilder
Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1.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.v1.MemcacheVersion memcache_version = 9;- Specified by:
getMemcacheVersionValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for 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.v1.MemcacheVersion memcache_version = 9;- Specified by:
getMemcacheVersionin interfaceInstanceOrBuilder- Returns:
- The memcacheVersion.
-
hasParameters
public boolean hasParameters()User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1.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.v1.MemcacheParameters parameters = 11;- Specified by:
getParametersin interfaceInstanceOrBuilder- Returns:
- The parameters.
-
getParametersOrBuilder
User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1.MemcacheParameters parameters = 11;- Specified by:
getParametersOrBuilderin interfaceInstanceOrBuilder
-
getMemcacheNodesList
Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1.Instance.Node] message for more details.
repeated .google.cloud.memcache.v1.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMemcacheNodesListin interfaceInstanceOrBuilder
-
getMemcacheNodesOrBuilderList
Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1.Instance.Node] message for more details.
repeated .google.cloud.memcache.v1.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMemcacheNodesOrBuilderListin interfaceInstanceOrBuilder
-
getMemcacheNodesCount
public int getMemcacheNodesCount()Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1.Instance.Node] message for more details.
repeated .google.cloud.memcache.v1.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.v1.Instance.Node] message for more details.
repeated .google.cloud.memcache.v1.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMemcacheNodesin interfaceInstanceOrBuilder
-
getMemcacheNodesOrBuilder
Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1.Instance.Node] message for more details.
repeated .google.cloud.memcache.v1.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMemcacheNodesOrBuilderin interfaceInstanceOrBuilder
-
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.
-
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.
-
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.v1.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. The state of this Memcached instance.
.google.cloud.memcache.v1.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceInstanceOrBuilder- Returns:
- The state.
-
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.
-
getInstanceMessagesList
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1.Instance.InstanceMessage instance_messages = 19;- Specified by:
getInstanceMessagesListin interfaceInstanceOrBuilder
-
getInstanceMessagesOrBuilderList
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1.Instance.InstanceMessage instance_messages = 19;- Specified by:
getInstanceMessagesOrBuilderListin interfaceInstanceOrBuilder
-
getInstanceMessagesCount
public int getInstanceMessagesCount()List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1.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.v1.Instance.InstanceMessage instance_messages = 19;- Specified by:
getInstanceMessagesin interfaceInstanceOrBuilder
-
getInstanceMessagesOrBuilder
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1.Instance.InstanceMessage instance_messages = 19;- Specified by:
getInstanceMessagesOrBuilderin interfaceInstanceOrBuilder
-
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.
-
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.v1.MaintenancePolicy maintenance_policy = 21;- 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.v1.MaintenancePolicy maintenance_policy = 21;- Specified by:
getMaintenancePolicyin interfaceInstanceOrBuilder- Returns:
- The maintenancePolicy.
-
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.v1.MaintenancePolicy maintenance_policy = 21;- Specified by:
getMaintenancePolicyOrBuilderin interfaceInstanceOrBuilder
-
hasMaintenanceSchedule
public boolean hasMaintenanceSchedule()Output only. Published maintenance schedule.
.google.cloud.memcache.v1.MaintenanceSchedule maintenance_schedule = 22 [(.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.v1.MaintenanceSchedule maintenance_schedule = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceSchedulein interfaceInstanceOrBuilder- Returns:
- The maintenanceSchedule.
-
getMaintenanceScheduleOrBuilder
Output only. Published maintenance schedule.
.google.cloud.memcache.v1.MaintenanceSchedule maintenance_schedule = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceScheduleOrBuilderin interfaceInstanceOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Instance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Instance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-