Package com.google.cloud.memcache.v1
Class Instance
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class Instance extends com.google.protobuf.GeneratedMessageV3 implements InstanceOrBuilder
A Memorystore for Memcached instance
Protobuf typegoogle.cloud.memcache.v1.Instance- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstance.BuilderA Memorystore for Memcached instancestatic classInstance.InstanceMessageProtobuf typegoogle.cloud.memcache.v1.Instance.InstanceMessagestatic interfaceInstance.InstanceMessageOrBuilderstatic classInstance.NodeProtobuf typegoogle.cloud.memcache.v1.Instance.Nodestatic classInstance.NodeConfigConfiguration for a Memcached Node.static interfaceInstance.NodeConfigOrBuilderstatic interfaceInstance.NodeOrBuilderstatic classInstance.StateDifferent states of a Memcached instance.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTHORIZED_NETWORK_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDISCOVERY_ENDPOINT_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intINSTANCE_MESSAGES_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intMAINTENANCE_POLICY_FIELD_NUMBERstatic intMAINTENANCE_SCHEDULE_FIELD_NUMBERstatic intMEMCACHE_FULL_VERSION_FIELD_NUMBERstatic intMEMCACHE_NODES_FIELD_NUMBERstatic intMEMCACHE_VERSION_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNODE_CONFIG_FIELD_NUMBERstatic intNODE_COUNT_FIELD_NUMBERstatic intPARAMETERS_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBERstatic intZONES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Resource labels to represent user-provided metadata.booleanequals(Object obj)StringgetAuthorizedNetwork()The full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected.com.google.protobuf.ByteStringgetAuthorizedNetworkBytes()The full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static InstancegetDefaultInstance()InstancegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDiscoveryEndpoint()Output only.com.google.protobuf.ByteStringgetDiscoveryEndpointBytes()Output only.StringgetDisplayName()User provided name for the instance, which is only used for display purposes.com.google.protobuf.ByteStringgetDisplayNameBytes()User provided name for the instance, which is only used for display purposes.Instance.InstanceMessagegetInstanceMessages(int index)List of messages that describe the current state of the Memcached instance.intgetInstanceMessagesCount()List of messages that describe the current state of the Memcached instance.List<Instance.InstanceMessage>getInstanceMessagesList()List of messages that describe the current state of the Memcached instance.Instance.InstanceMessageOrBuildergetInstanceMessagesOrBuilder(int index)List of messages that describe the current state of the Memcached instance.List<? extends Instance.InstanceMessageOrBuilder>getInstanceMessagesOrBuilderList()List of messages that describe the current state of the Memcached instance.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Resource labels to represent user-provided metadata.Map<String,String>getLabelsMap()Resource labels to represent user-provided metadata.StringgetLabelsOrDefault(String key, String defaultValue)Resource labels to represent user-provided metadata.StringgetLabelsOrThrow(String key)Resource labels to represent user-provided metadata.MaintenancePolicygetMaintenancePolicy()The maintenance policy for the instance.MaintenancePolicyOrBuildergetMaintenancePolicyOrBuilder()The maintenance policy for the instance.MaintenanceSchedulegetMaintenanceSchedule()Output only.MaintenanceScheduleOrBuildergetMaintenanceScheduleOrBuilder()Output only.StringgetMemcacheFullVersion()Output only.com.google.protobuf.ByteStringgetMemcacheFullVersionBytes()Output only.Instance.NodegetMemcacheNodes(int index)Output only.intgetMemcacheNodesCount()Output only.List<Instance.Node>getMemcacheNodesList()Output only.Instance.NodeOrBuildergetMemcacheNodesOrBuilder(int index)Output only.List<? extends Instance.NodeOrBuilder>getMemcacheNodesOrBuilderList()Output only.MemcacheVersiongetMemcacheVersion()The major version of Memcached software.intgetMemcacheVersionValue()The major version of Memcached software.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.Instance.NodeConfiggetNodeConfig()Required.Instance.NodeConfigOrBuildergetNodeConfigOrBuilder()Required.intgetNodeCount()Required.MemcacheParametersgetParameters()User defined parameters to apply to the memcached process on each node.MemcacheParametersOrBuildergetParametersOrBuilder()User defined parameters to apply to the memcached process on each node.com.google.protobuf.Parser<Instance>getParserForType()intgetSerializedSize()Instance.StategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.StringgetZones(int index)Zones in which Memcached nodes should be provisioned.com.google.protobuf.ByteStringgetZonesBytes(int index)Zones in which Memcached nodes should be provisioned.intgetZonesCount()Zones in which Memcached nodes should be provisioned.com.google.protobuf.ProtocolStringListgetZonesList()Zones in which Memcached nodes should be provisioned.booleanhasCreateTime()Output only.inthashCode()booleanhasMaintenancePolicy()The maintenance policy for the instance.booleanhasMaintenanceSchedule()Output only.booleanhasNodeConfig()Required.booleanhasParameters()User defined parameters to apply to the memcached process on each node.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Instance.BuildernewBuilder()static Instance.BuildernewBuilder(Instance prototype)Instance.BuildernewBuilderForType()protected Instance.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()Instance.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTHORIZED_NETWORK_FIELD_NUMBER
public static final int AUTHORIZED_NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZONES_FIELD_NUMBER
public static final int ZONES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_COUNT_FIELD_NUMBER
public static final int NODE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_CONFIG_FIELD_NUMBER
public static final int NODE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEMCACHE_VERSION_FIELD_NUMBER
public static final int MEMCACHE_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEMCACHE_NODES_FIELD_NUMBER
public static final int MEMCACHE_NODES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEMCACHE_FULL_VERSION_FIELD_NUMBER
public static final int MEMCACHE_FULL_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTANCE_MESSAGES_FIELD_NUMBER
public static final int INSTANCE_MESSAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISCOVERY_ENDPOINT_FIELD_NUMBER
public static final int DISCOVERY_ENDPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAINTENANCE_POLICY_FIELD_NUMBER
public static final int MAINTENANCE_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAINTENANCE_SCHEDULE_FIELD_NUMBER
public static final int MAINTENANCE_SCHEDULE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String 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
public String getDisplayName()
User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.
string display_name = 2;- 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
public boolean containsLabels(String key)
Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
map<string, string> labels = 3;- Specified by:
containsLabelsin interfaceInstanceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceInstanceOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
map<string, string> labels = 3;- Specified by:
getLabelsMapin interfaceInstanceOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
map<string, string> labels = 3;- Specified by:
getLabelsOrDefaultin interfaceInstanceOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
map<string, string> labels = 3;- Specified by:
getLabelsOrThrowin interfaceInstanceOrBuilder
-
getAuthorizedNetwork
public String 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
public String getZones(int index)
Zones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
repeated string zones = 5;- 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
public Instance.NodeConfig 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
public Instance.NodeConfigOrBuilder 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
public 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
public MemcacheParameters 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
public MemcacheParametersOrBuilder 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
public List<Instance.Node> 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
public List<? extends Instance.NodeOrBuilder> 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
public Instance.Node getMemcacheNodes(int index)
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
public Instance.NodeOrBuilder getMemcacheNodesOrBuilder(int index)
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
public Instance.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
public 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];- 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
public List<Instance.InstanceMessage> 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
public List<? extends Instance.InstanceMessageOrBuilder> 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
public Instance.InstanceMessage getInstanceMessages(int index)
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
public Instance.InstanceMessageOrBuilder getInstanceMessagesOrBuilder(int index)
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
public String 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
public MaintenancePolicy getMaintenancePolicy()
The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
.google.cloud.memcache.v1.MaintenancePolicy maintenance_policy = 21;- Specified by:
getMaintenancePolicyin interfaceInstanceOrBuilder- Returns:
- The maintenancePolicy.
-
getMaintenancePolicyOrBuilder
public MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
.google.cloud.memcache.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
public MaintenanceSchedule 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
public MaintenanceScheduleOrBuilder 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.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static Instance parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Instance parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Instance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Instance.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Instance.Builder newBuilder()
-
newBuilder
public static Instance.Builder newBuilder(Instance prototype)
-
toBuilder
public Instance.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Instance getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Instance> parser()
-
getParserForType
public com.google.protobuf.Parser<Instance> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-