Class Instance
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.memcache.v1beta2.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.v1beta2.Instance
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Instance.Builder
A Memorystore for Memcached instancestatic class
Instance.InstanceMessage
Protobuf typegoogle.cloud.memcache.v1beta2.Instance.InstanceMessage
static interface
Instance.InstanceMessageOrBuilder
static class
Instance.Node
Protobuf typegoogle.cloud.memcache.v1beta2.Instance.Node
static class
Instance.NodeConfig
Configuration for a Memcached Node.static interface
Instance.NodeConfigOrBuilder
static interface
Instance.NodeOrBuilder
static class
Instance.State
Different 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 int
AUTHORIZED_NETWORK_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DISCOVERY_ENDPOINT_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
INSTANCE_MESSAGES_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
MAINTENANCE_POLICY_FIELD_NUMBER
static int
MAINTENANCE_SCHEDULE_FIELD_NUMBER
static int
MEMCACHE_FULL_VERSION_FIELD_NUMBER
static int
MEMCACHE_NODES_FIELD_NUMBER
static int
MEMCACHE_VERSION_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
NODE_CONFIG_FIELD_NUMBER
static int
NODE_COUNT_FIELD_NUMBER
static int
PARAMETERS_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
UPDATE_AVAILABLE_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
static int
ZONES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Resource labels to represent user-provided metadata.boolean
equals(Object obj)
String
getAuthorizedNetwork()
The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.com.google.protobuf.ByteString
getAuthorizedNetworkBytes()
The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Instance
getDefaultInstance()
Instance
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDiscoveryEndpoint()
Output only.com.google.protobuf.ByteString
getDiscoveryEndpointBytes()
Output only.String
getDisplayName()
User provided name for the instance, which is only used for display purposes.com.google.protobuf.ByteString
getDisplayNameBytes()
User provided name for the instance, which is only used for display purposes.Instance.InstanceMessage
getInstanceMessages(int index)
List of messages that describe the current state of the Memcached instance.int
getInstanceMessagesCount()
List of messages that describe the current state of the Memcached instance.List<Instance.InstanceMessage>
getInstanceMessagesList()
List of messages that describe the current state of the Memcached instance.Instance.InstanceMessageOrBuilder
getInstanceMessagesOrBuilder(int index)
List of messages that describe the current state of the Memcached instance.List<? extends Instance.InstanceMessageOrBuilder>
getInstanceMessagesOrBuilderList()
List of messages that describe the current state of the Memcached instance.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Resource labels to represent user-provided metadata.Map<String,String>
getLabelsMap()
Resource labels to represent user-provided metadata.String
getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user-provided metadata.String
getLabelsOrThrow(String key)
Resource labels to represent user-provided metadata.MaintenancePolicy
getMaintenancePolicy()
The maintenance policy for the instance.MaintenancePolicyOrBuilder
getMaintenancePolicyOrBuilder()
The maintenance policy for the instance.MaintenanceSchedule
getMaintenanceSchedule()
Output only.MaintenanceScheduleOrBuilder
getMaintenanceScheduleOrBuilder()
Output only.String
getMemcacheFullVersion()
Output only.com.google.protobuf.ByteString
getMemcacheFullVersionBytes()
Output only.Instance.Node
getMemcacheNodes(int index)
Output only.int
getMemcacheNodesCount()
Output only.List<Instance.Node>
getMemcacheNodesList()
Output only.Instance.NodeOrBuilder
getMemcacheNodesOrBuilder(int index)
Output only.List<? extends Instance.NodeOrBuilder>
getMemcacheNodesOrBuilderList()
Output only.MemcacheVersion
getMemcacheVersion()
The major version of Memcached software.int
getMemcacheVersionValue()
The major version of Memcached software.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.Instance.NodeConfig
getNodeConfig()
Required.Instance.NodeConfigOrBuilder
getNodeConfigOrBuilder()
Required.int
getNodeCount()
Required.MemcacheParameters
getParameters()
User defined parameters to apply to the memcached process on each node.MemcacheParametersOrBuilder
getParametersOrBuilder()
User defined parameters to apply to the memcached process on each node.com.google.protobuf.Parser<Instance>
getParserForType()
int
getSerializedSize()
Instance.State
getState()
Output only.int
getStateValue()
Output only.boolean
getUpdateAvailable()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.String
getZones(int index)
Zones in which Memcached nodes should be provisioned.com.google.protobuf.ByteString
getZonesBytes(int index)
Zones in which Memcached nodes should be provisioned.int
getZonesCount()
Zones in which Memcached nodes should be provisioned.com.google.protobuf.ProtocolStringList
getZonesList()
Zones in which Memcached nodes should be provisioned.boolean
hasCreateTime()
Output only.int
hashCode()
boolean
hasMaintenancePolicy()
The maintenance policy for the instance.boolean
hasMaintenanceSchedule()
Output only.boolean
hasNodeConfig()
Required.boolean
hasParameters()
User defined parameters to apply to the memcached process on each node.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Instance.Builder
newBuilder()
static Instance.Builder
newBuilder(Instance prototype)
Instance.Builder
newBuilderForType()
protected Instance.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Instance
parseDelimitedFrom(InputStream input)
static Instance
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(byte[] data)
static Instance
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(com.google.protobuf.ByteString data)
static Instance
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(com.google.protobuf.CodedInputStream input)
static Instance
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(InputStream input)
static Instance
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(ByteBuffer data)
static Instance
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Instance>
parser()
Instance.Builder
toBuilder()
void
writeTo(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
-
UPDATE_AVAILABLE_FIELD_NUMBER
public static final int UPDATE_AVAILABLE_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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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.v1beta2.Instance.zones] field for more details.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getName
in 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:
getNameBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for displayName.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:InstanceOrBuilder
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:
getLabelsCount
in 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:
containsLabels
in interfaceInstanceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in interfaceInstanceOrBuilder
-
getAuthorizedNetwork
public String getAuthorizedNetwork()
The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
string authorized_network = 4;
- Specified by:
getAuthorizedNetwork
in 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:
getAuthorizedNetworkBytes
in 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:
getZonesList
in 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:
getZonesCount
in 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:
getZones
in 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:
getZonesBytes
in 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:
getNodeCount
in interfaceInstanceOrBuilder
- Returns:
- The nodeCount.
-
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:
hasNodeConfig
in interfaceInstanceOrBuilder
- Returns:
- Whether the nodeConfig field is set.
-
getNodeConfig
public Instance.NodeConfig getNodeConfig()
Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getNodeConfig
in interfaceInstanceOrBuilder
- Returns:
- The nodeConfig.
-
getNodeConfigOrBuilder
public Instance.NodeConfigOrBuilder getNodeConfigOrBuilder()
Required. Configuration for Memcached nodes.
.google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getNodeConfigOrBuilder
in 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:
getMemcacheVersionValue
in 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.v1beta2.MemcacheVersion memcache_version = 9;
- Specified by:
getMemcacheVersion
in interfaceInstanceOrBuilder
- Returns:
- The memcacheVersion.
-
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:
hasParameters
in 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.v1beta2.MemcacheParameters parameters = 11;
- Specified by:
getParameters
in interfaceInstanceOrBuilder
- Returns:
- The parameters.
-
getParametersOrBuilder
public MemcacheParametersOrBuilder getParametersOrBuilder()
User defined parameters to apply to the memcached process on each node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;
- Specified by:
getParametersOrBuilder
in interfaceInstanceOrBuilder
-
getMemcacheNodesList
public List<Instance.Node> getMemcacheNodesList()
Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMemcacheNodesList
in interfaceInstanceOrBuilder
-
getMemcacheNodesOrBuilderList
public List<? extends Instance.NodeOrBuilder> getMemcacheNodesOrBuilderList()
Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMemcacheNodesOrBuilderList
in 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:
getMemcacheNodesCount
in interfaceInstanceOrBuilder
-
getMemcacheNodes
public Instance.Node getMemcacheNodes(int index)
Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMemcacheNodes
in interfaceInstanceOrBuilder
-
getMemcacheNodesOrBuilder
public Instance.NodeOrBuilder getMemcacheNodesOrBuilder(int index)
Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMemcacheNodesOrBuilder
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
getStateValue
in 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.v1beta2.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in 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:
getMemcacheFullVersion
in 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:
getMemcacheFullVersionBytes
in 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.v1beta2.Instance.InstanceMessage instance_messages = 19;
- Specified by:
getInstanceMessagesList
in interfaceInstanceOrBuilder
-
getInstanceMessagesOrBuilderList
public List<? extends Instance.InstanceMessageOrBuilder> getInstanceMessagesOrBuilderList()
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
- Specified by:
getInstanceMessagesOrBuilderList
in 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:
getInstanceMessagesCount
in interfaceInstanceOrBuilder
-
getInstanceMessages
public Instance.InstanceMessage getInstanceMessages(int index)
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
- Specified by:
getInstanceMessages
in interfaceInstanceOrBuilder
-
getInstanceMessagesOrBuilder
public Instance.InstanceMessageOrBuilder getInstanceMessagesOrBuilder(int index)
List of messages that describe the current state of the Memcached instance.
repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
- Specified by:
getInstanceMessagesOrBuilder
in interfaceInstanceOrBuilder
-
getDiscoveryEndpoint
public String getDiscoveryEndpoint()
Output only. Endpoint for the Discovery API.
string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDiscoveryEndpoint
in 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:
getDiscoveryEndpointBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for discoveryEndpoint.
-
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:
getUpdateAvailable
in interfaceInstanceOrBuilder
- Returns:
- The updateAvailable.
-
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:
hasMaintenancePolicy
in 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.v1beta2.MaintenancePolicy maintenance_policy = 22;
- Specified by:
getMaintenancePolicy
in 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.v1beta2.MaintenancePolicy maintenance_policy = 22;
- Specified by:
getMaintenancePolicyOrBuilder
in 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:
hasMaintenanceSchedule
in interfaceInstanceOrBuilder
- Returns:
- Whether the maintenanceSchedule field is set.
-
getMaintenanceSchedule
public MaintenanceSchedule getMaintenanceSchedule()
Output only. Published maintenance schedule.
.google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMaintenanceSchedule
in interfaceInstanceOrBuilder
- Returns:
- The maintenanceSchedule.
-
getMaintenanceScheduleOrBuilder
public MaintenanceScheduleOrBuilder getMaintenanceScheduleOrBuilder()
Output only. Published maintenance schedule.
.google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMaintenanceScheduleOrBuilder
in interfaceInstanceOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-