public static final class Instance.Builder extends GeneratedMessageV3.Builder<Instance.Builder> implements InstanceOrBuilderA Memorystore instance.
 Protobuf type google.cloud.memorystore.v1beta.Instance
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.BuilderImplements
InstanceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addAllDiscoveryEndpoints(Iterable<? extends DiscoveryEndpoint> values)
public Instance.Builder addAllDiscoveryEndpoints(Iterable<? extends DiscoveryEndpoint> values)Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<? extends com.google.cloud.memorystore.v1beta.DiscoveryEndpoint> | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addAllEndpoints(Iterable<? extends Instance.InstanceEndpoint> values)
public Instance.Builder addAllEndpoints(Iterable<? extends Instance.InstanceEndpoint> values)Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<? extends com.google.cloud.memorystore.v1beta.Instance.InstanceEndpoint> | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addAllPscAutoConnections(Iterable<? extends PscAutoConnection> values)
public Instance.Builder addAllPscAutoConnections(Iterable<? extends PscAutoConnection> values)Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<? extends com.google.cloud.memorystore.v1beta.PscAutoConnection> | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addDiscoveryEndpoints(DiscoveryEndpoint value)
public Instance.Builder addDiscoveryEndpoints(DiscoveryEndpoint value)Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        DiscoveryEndpoint | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addDiscoveryEndpoints(DiscoveryEndpoint.Builder builderForValue)
public Instance.Builder addDiscoveryEndpoints(DiscoveryEndpoint.Builder builderForValue)Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        DiscoveryEndpoint.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addDiscoveryEndpoints(int index, DiscoveryEndpoint value)
public Instance.Builder addDiscoveryEndpoints(int index, DiscoveryEndpoint value)Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        DiscoveryEndpoint | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addDiscoveryEndpoints(int index, DiscoveryEndpoint.Builder builderForValue)
public Instance.Builder addDiscoveryEndpoints(int index, DiscoveryEndpoint.Builder builderForValue)Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        DiscoveryEndpoint.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addDiscoveryEndpointsBuilder()
public DiscoveryEndpoint.Builder addDiscoveryEndpointsBuilder()Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
DiscoveryEndpoint.Builder | 
        |
addDiscoveryEndpointsBuilder(int index)
public DiscoveryEndpoint.Builder addDiscoveryEndpointsBuilder(int index)Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
DiscoveryEndpoint.Builder | 
        |
addEndpoints(Instance.InstanceEndpoint value)
public Instance.Builder addEndpoints(Instance.InstanceEndpoint value)Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Instance.InstanceEndpoint | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addEndpoints(Instance.InstanceEndpoint.Builder builderForValue)
public Instance.Builder addEndpoints(Instance.InstanceEndpoint.Builder builderForValue)Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Instance.InstanceEndpoint.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addEndpoints(int index, Instance.InstanceEndpoint value)
public Instance.Builder addEndpoints(int index, Instance.InstanceEndpoint value)Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        Instance.InstanceEndpoint | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addEndpoints(int index, Instance.InstanceEndpoint.Builder builderForValue)
public Instance.Builder addEndpoints(int index, Instance.InstanceEndpoint.Builder builderForValue)Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        Instance.InstanceEndpoint.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addEndpointsBuilder()
public Instance.InstanceEndpoint.Builder addEndpointsBuilder()Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.InstanceEndpoint.Builder | 
        |
addEndpointsBuilder(int index)
public Instance.InstanceEndpoint.Builder addEndpointsBuilder(int index)Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.InstanceEndpoint.Builder | 
        |
addPscAutoConnections(PscAutoConnection value)
public Instance.Builder addPscAutoConnections(PscAutoConnection value)Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        PscAutoConnection | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addPscAutoConnections(PscAutoConnection.Builder builderForValue)
public Instance.Builder addPscAutoConnections(PscAutoConnection.Builder builderForValue)Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        PscAutoConnection.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addPscAutoConnections(int index, PscAutoConnection value)
public Instance.Builder addPscAutoConnections(int index, PscAutoConnection value)Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        PscAutoConnection | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addPscAutoConnections(int index, PscAutoConnection.Builder builderForValue)
public Instance.Builder addPscAutoConnections(int index, PscAutoConnection.Builder builderForValue)Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        PscAutoConnection.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
addPscAutoConnectionsBuilder()
public PscAutoConnection.Builder addPscAutoConnectionsBuilder()Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
PscAutoConnection.Builder | 
        |
addPscAutoConnectionsBuilder(int index)
public PscAutoConnection.Builder addPscAutoConnectionsBuilder(int index)Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
PscAutoConnection.Builder | 
        |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
build()
public Instance build()| Returns | |
|---|---|
| Type | Description | 
Instance | 
        |
buildPartial()
public Instance buildPartial()| Returns | |
|---|---|
| Type | Description | 
Instance | 
        |
clear()
public Instance.Builder clear()| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
clearAuthorizationMode()
public Instance.Builder clearAuthorizationMode()Optional. Immutable. Authorization mode of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.AuthorizationMode authorization_mode = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
clearCreateTime()
public Instance.Builder clearCreateTime()Output only. Creation timestamp of the instance.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
clearDeletionProtectionEnabled()
public Instance.Builder clearDeletionProtectionEnabled()Optional. If set to true deletion of the instance will fail.
 
 optional bool deletion_protection_enabled = 19 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
clearDiscoveryEndpoints()
public Instance.Builder clearDiscoveryEndpoints()Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
clearEndpoints()
public Instance.Builder clearEndpoints()Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
clearEngineConfigs()
public Instance.Builder clearEngineConfigs()| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
clearEngineVersion()
public Instance.Builder clearEngineVersion()Optional. Immutable. Engine version of the instance.
 
 string engine_version = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public Instance.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
clearLabels()
public Instance.Builder clearLabels()| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
clearMode()
public Instance.Builder clearMode()Optional. The mode config for the instance.
 
 .google.cloud.memorystore.v1beta.Instance.Mode mode = 26 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
clearName()
public Instance.Builder clearName()Identifier. Unique name of the instance. Format: projects/{project}/locations/{location}/instances/{instance}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
clearNodeConfig()
public Instance.Builder clearNodeConfig()Output only. Configuration of individual nodes of the instance.
 
 .google.cloud.memorystore.v1beta.NodeConfig node_config = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
clearNodeType()
public Instance.Builder clearNodeType()Optional. Immutable. Machine type for individual nodes of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.NodeType node_type = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
clearPersistenceConfig()
public Instance.Builder clearPersistenceConfig()Optional. Persistence configuration of the instance.
 
 .google.cloud.memorystore.v1beta.PersistenceConfig persistence_config = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
clearPscAutoConnections()
public Instance.Builder clearPscAutoConnections()Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
clearReplicaCount()
public Instance.Builder clearReplicaCount()Optional. Number of replica nodes per shard. If omitted the default is 0 replicas.
 optional int32 replica_count = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
clearShardCount()
public Instance.Builder clearShardCount()Optional. Number of shards for the instance.
 int32 shard_count = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
clearState()
public Instance.Builder clearState()Output only. Current state of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
clearStateInfo()
public Instance.Builder clearStateInfo()Output only. Additional information about the state of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.StateInfo state_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
clearTransitEncryptionMode()
public Instance.Builder clearTransitEncryptionMode()Optional. Immutable. In-transit encryption mode of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.TransitEncryptionMode transit_encryption_mode = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
clearUid()
public Instance.Builder clearUid()Output only. System assigned, unique identifier for the instance.
 
 string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
clearUpdateTime()
public Instance.Builder clearUpdateTime()Output only. Latest update timestamp of the instance.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
clearZoneDistributionConfig()
public Instance.Builder clearZoneDistributionConfig()Optional. Immutable. Zone distribution configuration of the instance for node allocation.
 
 .google.cloud.memorystore.v1beta.ZoneDistributionConfig zone_distribution_config = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
clone()
public Instance.Builder clone()| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
containsEngineConfigs(String key)
public boolean containsEngineConfigs(String key)Optional. User-provided engine configurations for the instance.
 
 map<string, string> engine_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
key | 
        String | 
      
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
containsLabels(String key)
public boolean containsLabels(String key)Optional. Labels to represent user-provided metadata.
 map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
key | 
        String | 
      
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
getAuthorizationMode()
public Instance.AuthorizationMode getAuthorizationMode()Optional. Immutable. Authorization mode of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.AuthorizationMode authorization_mode = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.AuthorizationMode | 
        The authorizationMode.  | 
      
getAuthorizationModeValue()
public int getAuthorizationModeValue()Optional. Immutable. Authorization mode of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.AuthorizationMode authorization_mode = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for authorizationMode.  | 
      
getCreateTime()
public Timestamp getCreateTime()Output only. Creation timestamp of the instance.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The createTime.  | 
      
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Creation timestamp of the instance.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation timestamp of the instance.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
getDefaultInstanceForType()
public Instance getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
Instance | 
        |
getDeletionProtectionEnabled()
public boolean getDeletionProtectionEnabled()Optional. If set to true deletion of the instance will fail.
 
 optional bool deletion_protection_enabled = 19 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        The deletionProtectionEnabled.  | 
      
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getDiscoveryEndpoints(int index)
public DiscoveryEndpoint getDiscoveryEndpoints(int index)Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
DiscoveryEndpoint | 
        |
getDiscoveryEndpointsBuilder(int index)
public DiscoveryEndpoint.Builder getDiscoveryEndpointsBuilder(int index)Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
DiscoveryEndpoint.Builder | 
        |
getDiscoveryEndpointsBuilderList()
public List<DiscoveryEndpoint.Builder> getDiscoveryEndpointsBuilderList()Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
List<Builder> | 
        |
getDiscoveryEndpointsCount()
public int getDiscoveryEndpointsCount()Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
getDiscoveryEndpointsList()
public List<DiscoveryEndpoint> getDiscoveryEndpointsList()Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
List<DiscoveryEndpoint> | 
        |
getDiscoveryEndpointsOrBuilder(int index)
public DiscoveryEndpointOrBuilder getDiscoveryEndpointsOrBuilder(int index)Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
DiscoveryEndpointOrBuilder | 
        |
getDiscoveryEndpointsOrBuilderList()
public List<? extends DiscoveryEndpointOrBuilder> getDiscoveryEndpointsOrBuilderList()Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
List<? extends com.google.cloud.memorystore.v1beta.DiscoveryEndpointOrBuilder> | 
        |
getEndpoints(int index)
public Instance.InstanceEndpoint getEndpoints(int index)Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.InstanceEndpoint | 
        |
getEndpointsBuilder(int index)
public Instance.InstanceEndpoint.Builder getEndpointsBuilder(int index)Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.InstanceEndpoint.Builder | 
        |
getEndpointsBuilderList()
public List<Instance.InstanceEndpoint.Builder> getEndpointsBuilderList()Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
List<Builder> | 
        |
getEndpointsCount()
public int getEndpointsCount()Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
getEndpointsList()
public List<Instance.InstanceEndpoint> getEndpointsList()Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
List<InstanceEndpoint> | 
        |
getEndpointsOrBuilder(int index)
public Instance.InstanceEndpointOrBuilder getEndpointsOrBuilder(int index)Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.InstanceEndpointOrBuilder | 
        |
getEndpointsOrBuilderList()
public List<? extends Instance.InstanceEndpointOrBuilder> getEndpointsOrBuilderList()Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
List<? extends com.google.cloud.memorystore.v1beta.Instance.InstanceEndpointOrBuilder> | 
        |
getEngineConfigs() (deprecated)
public Map<String,String> getEngineConfigs()Use #getEngineConfigsMap() instead.
| Returns | |
|---|---|
| Type | Description | 
Map<String,String> | 
        |
getEngineConfigsCount()
public int getEngineConfigsCount()Optional. User-provided engine configurations for the instance.
 map<string, string> engine_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
getEngineConfigsMap()
public Map<String,String> getEngineConfigsMap()Optional. User-provided engine configurations for the instance.
 
 map<string, string> engine_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
Map<String,String> | 
        |
getEngineConfigsOrDefault(String key, String defaultValue)
public String getEngineConfigsOrDefault(String key, String defaultValue)Optional. User-provided engine configurations for the instance.
 
 map<string, string> engine_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
key | 
        String | 
      
defaultValue | 
        String | 
      
| Returns | |
|---|---|
| Type | Description | 
String | 
        |
getEngineConfigsOrThrow(String key)
public String getEngineConfigsOrThrow(String key)Optional. User-provided engine configurations for the instance.
 
 map<string, string> engine_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
key | 
        String | 
      
| Returns | |
|---|---|
| Type | Description | 
String | 
        |
getEngineVersion()
public String getEngineVersion()Optional. Immutable. Engine version of the instance.
 
 string engine_version = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
String | 
        The engineVersion.  | 
      
getEngineVersionBytes()
public ByteString getEngineVersionBytes()Optional. Immutable. Engine version of the instance.
 
 string engine_version = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for engineVersion.  | 
      
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description | 
Map<String,String> | 
        |
getLabelsCount()
public int getLabelsCount()Optional. Labels to represent user-provided metadata.
 map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
getLabelsMap()
public Map<String,String> getLabelsMap()Optional. Labels to represent user-provided metadata.
 map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
Map<String,String> | 
        |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Optional. Labels to represent user-provided metadata.
 map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description | 
key | 
        String | 
      
defaultValue | 
        String | 
      
| Returns | |
|---|---|
| Type | Description | 
String | 
        |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Optional. Labels to represent user-provided metadata.
 map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
key | 
        String | 
      
| Returns | |
|---|---|
| Type | Description | 
String | 
        |
getMode()
public Instance.Mode getMode()Optional. The mode config for the instance.
 
 .google.cloud.memorystore.v1beta.Instance.Mode mode = 26 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Mode | 
        The mode.  | 
      
getModeValue()
public int getModeValue()Optional. The mode config for the instance.
 
 .google.cloud.memorystore.v1beta.Instance.Mode mode = 26 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for mode.  | 
      
getMutableEngineConfigs() (deprecated)
public Map<String,String> getMutableEngineConfigs()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description | 
Map<String,String> | 
        |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description | 
Map<String,String> | 
        |
getName()
public String getName()Identifier. Unique name of the instance. Format: projects/{project}/locations/{location}/instances/{instance}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public ByteString getNameBytes()Identifier. Unique name of the instance. Format: projects/{project}/locations/{location}/instances/{instance}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
getNodeConfig()
public NodeConfig getNodeConfig()Output only. Configuration of individual nodes of the instance.
 
 .google.cloud.memorystore.v1beta.NodeConfig node_config = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
NodeConfig | 
        The nodeConfig.  | 
      
getNodeConfigBuilder()
public NodeConfig.Builder getNodeConfigBuilder()Output only. Configuration of individual nodes of the instance.
 
 .google.cloud.memorystore.v1beta.NodeConfig node_config = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
NodeConfig.Builder | 
        |
getNodeConfigOrBuilder()
public NodeConfigOrBuilder getNodeConfigOrBuilder()Output only. Configuration of individual nodes of the instance.
 
 .google.cloud.memorystore.v1beta.NodeConfig node_config = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
NodeConfigOrBuilder | 
        |
getNodeType()
public Instance.NodeType getNodeType()Optional. Immutable. Machine type for individual nodes of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.NodeType node_type = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.NodeType | 
        The nodeType.  | 
      
getNodeTypeValue()
public int getNodeTypeValue()Optional. Immutable. Machine type for individual nodes of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.NodeType node_type = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for nodeType.  | 
      
getPersistenceConfig()
public PersistenceConfig getPersistenceConfig()Optional. Persistence configuration of the instance.
 
 .google.cloud.memorystore.v1beta.PersistenceConfig persistence_config = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
PersistenceConfig | 
        The persistenceConfig.  | 
      
getPersistenceConfigBuilder()
public PersistenceConfig.Builder getPersistenceConfigBuilder()Optional. Persistence configuration of the instance.
 
 .google.cloud.memorystore.v1beta.PersistenceConfig persistence_config = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
PersistenceConfig.Builder | 
        |
getPersistenceConfigOrBuilder()
public PersistenceConfigOrBuilder getPersistenceConfigOrBuilder()Optional. Persistence configuration of the instance.
 
 .google.cloud.memorystore.v1beta.PersistenceConfig persistence_config = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
PersistenceConfigOrBuilder | 
        |
getPscAutoConnections(int index)
public PscAutoConnection getPscAutoConnections(int index)Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
PscAutoConnection | 
        |
getPscAutoConnectionsBuilder(int index)
public PscAutoConnection.Builder getPscAutoConnectionsBuilder(int index)Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
PscAutoConnection.Builder | 
        |
getPscAutoConnectionsBuilderList()
public List<PscAutoConnection.Builder> getPscAutoConnectionsBuilderList()Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
List<Builder> | 
        |
getPscAutoConnectionsCount()
public int getPscAutoConnectionsCount()Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
getPscAutoConnectionsList()
public List<PscAutoConnection> getPscAutoConnectionsList()Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
List<PscAutoConnection> | 
        |
getPscAutoConnectionsOrBuilder(int index)
public PscAutoConnectionOrBuilder getPscAutoConnectionsOrBuilder(int index)Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
PscAutoConnectionOrBuilder | 
        |
getPscAutoConnectionsOrBuilderList()
public List<? extends PscAutoConnectionOrBuilder> getPscAutoConnectionsOrBuilderList()Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
List<? extends com.google.cloud.memorystore.v1beta.PscAutoConnectionOrBuilder> | 
        |
getReplicaCount()
public int getReplicaCount()Optional. Number of replica nodes per shard. If omitted the default is 0 replicas.
 optional int32 replica_count = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
int | 
        The replicaCount.  | 
      
getShardCount()
public int getShardCount()Optional. Number of shards for the instance.
 int32 shard_count = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
int | 
        The shardCount.  | 
      
getState()
public Instance.State getState()Output only. Current state of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.State | 
        The state.  | 
      
getStateInfo()
public Instance.StateInfo getStateInfo()Output only. Additional information about the state of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.StateInfo state_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo | 
        The stateInfo.  | 
      
getStateInfoBuilder()
public Instance.StateInfo.Builder getStateInfoBuilder()Output only. Additional information about the state of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.StateInfo state_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.Builder | 
        |
getStateInfoOrBuilder()
public Instance.StateInfoOrBuilder getStateInfoOrBuilder()Output only. Additional information about the state of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.StateInfo state_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfoOrBuilder | 
        |
getStateValue()
public int getStateValue()Output only. Current state of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for state.  | 
      
getTransitEncryptionMode()
public Instance.TransitEncryptionMode getTransitEncryptionMode()Optional. Immutable. In-transit encryption mode of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.TransitEncryptionMode transit_encryption_mode = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.TransitEncryptionMode | 
        The transitEncryptionMode.  | 
      
getTransitEncryptionModeValue()
public int getTransitEncryptionModeValue()Optional. Immutable. In-transit encryption mode of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.TransitEncryptionMode transit_encryption_mode = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for transitEncryptionMode.  | 
      
getUid()
public String getUid()Output only. System assigned, unique identifier for the instance.
 
 string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
String | 
        The uid.  | 
      
getUidBytes()
public ByteString getUidBytes()Output only. System assigned, unique identifier for the instance.
 
 string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for uid.  | 
      
getUpdateTime()
public Timestamp getUpdateTime()Output only. Latest update timestamp of the instance.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The updateTime.  | 
      
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Latest update timestamp of the instance.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Latest update timestamp of the instance.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
getZoneDistributionConfig()
public ZoneDistributionConfig getZoneDistributionConfig()Optional. Immutable. Zone distribution configuration of the instance for node allocation.
 
 .google.cloud.memorystore.v1beta.ZoneDistributionConfig zone_distribution_config = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
ZoneDistributionConfig | 
        The zoneDistributionConfig.  | 
      
getZoneDistributionConfigBuilder()
public ZoneDistributionConfig.Builder getZoneDistributionConfigBuilder()Optional. Immutable. Zone distribution configuration of the instance for node allocation.
 
 .google.cloud.memorystore.v1beta.ZoneDistributionConfig zone_distribution_config = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
ZoneDistributionConfig.Builder | 
        |
getZoneDistributionConfigOrBuilder()
public ZoneDistributionConfigOrBuilder getZoneDistributionConfigOrBuilder()Optional. Immutable. Zone distribution configuration of the instance for node allocation.
 
 .google.cloud.memorystore.v1beta.ZoneDistributionConfig zone_distribution_config = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
ZoneDistributionConfigOrBuilder | 
        |
hasCreateTime()
public boolean hasCreateTime()Output only. Creation timestamp of the instance.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the createTime field is set.  | 
      
hasDeletionProtectionEnabled()
public boolean hasDeletionProtectionEnabled()Optional. If set to true deletion of the instance will fail.
 
 optional bool deletion_protection_enabled = 19 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the deletionProtectionEnabled field is set.  | 
      
hasNodeConfig()
public boolean hasNodeConfig()Output only. Configuration of individual nodes of the instance.
 
 .google.cloud.memorystore.v1beta.NodeConfig node_config = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the nodeConfig field is set.  | 
      
hasPersistenceConfig()
public boolean hasPersistenceConfig()Optional. Persistence configuration of the instance.
 
 .google.cloud.memorystore.v1beta.PersistenceConfig persistence_config = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the persistenceConfig field is set.  | 
      
hasReplicaCount()
public boolean hasReplicaCount()Optional. Number of replica nodes per shard. If omitted the default is 0 replicas.
 optional int32 replica_count = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the replicaCount field is set.  | 
      
hasStateInfo()
public boolean hasStateInfo()Output only. Additional information about the state of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.StateInfo state_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the stateInfo field is set.  | 
      
hasUpdateTime()
public boolean hasUpdateTime()Output only. Latest update timestamp of the instance.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the updateTime field is set.  | 
      
hasZoneDistributionConfig()
public boolean hasZoneDistributionConfig()Optional. Immutable. Zone distribution configuration of the instance for node allocation.
 
 .google.cloud.memorystore.v1beta.ZoneDistributionConfig zone_distribution_config = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the zoneDistributionConfig field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description | 
number | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
com.google.protobuf.MapFieldReflectionAccessor | 
        |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description | 
number | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
com.google.protobuf.MapFieldReflectionAccessor | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeCreateTime(Timestamp value)
public Instance.Builder mergeCreateTime(Timestamp value)Output only. Creation timestamp of the instance.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
mergeFrom(Instance other)
public Instance.Builder mergeFrom(Instance other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Instance | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public Instance.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
mergeNodeConfig(NodeConfig value)
public Instance.Builder mergeNodeConfig(NodeConfig value)Output only. Configuration of individual nodes of the instance.
 
 .google.cloud.memorystore.v1beta.NodeConfig node_config = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        NodeConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
mergePersistenceConfig(PersistenceConfig value)
public Instance.Builder mergePersistenceConfig(PersistenceConfig value)Optional. Persistence configuration of the instance.
 
 .google.cloud.memorystore.v1beta.PersistenceConfig persistence_config = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        PersistenceConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
mergeStateInfo(Instance.StateInfo value)
public Instance.Builder mergeStateInfo(Instance.StateInfo value)Output only. Additional information about the state of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.StateInfo state_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Instance.StateInfo | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
mergeUpdateTime(Timestamp value)
public Instance.Builder mergeUpdateTime(Timestamp value)Output only. Latest update timestamp of the instance.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
mergeZoneDistributionConfig(ZoneDistributionConfig value)
public Instance.Builder mergeZoneDistributionConfig(ZoneDistributionConfig value)Optional. Immutable. Zone distribution configuration of the instance for node allocation.
 
 .google.cloud.memorystore.v1beta.ZoneDistributionConfig zone_distribution_config = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ZoneDistributionConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
putAllEngineConfigs(Map<String,String> values)
public Instance.Builder putAllEngineConfigs(Map<String,String> values)Optional. User-provided engine configurations for the instance.
 
 map<string, string> engine_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Map<String,String> | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
putAllLabels(Map<String,String> values)
public Instance.Builder putAllLabels(Map<String,String> values)Optional. Labels to represent user-provided metadata.
 map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Map<String,String> | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
putEngineConfigs(String key, String value)
public Instance.Builder putEngineConfigs(String key, String value)Optional. User-provided engine configurations for the instance.
 
 map<string, string> engine_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
key | 
        String | 
      
value | 
        String | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
putLabels(String key, String value)
public Instance.Builder putLabels(String key, String value)Optional. Labels to represent user-provided metadata.
 map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description | 
key | 
        String | 
      
value | 
        String | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
removeDiscoveryEndpoints(int index)
public Instance.Builder removeDiscoveryEndpoints(int index)Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
removeEndpoints(int index)
public Instance.Builder removeEndpoints(int index)Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
removeEngineConfigs(String key)
public Instance.Builder removeEngineConfigs(String key)Optional. User-provided engine configurations for the instance.
 
 map<string, string> engine_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
key | 
        String | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
removeLabels(String key)
public Instance.Builder removeLabels(String key)Optional. Labels to represent user-provided metadata.
 map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
key | 
        String | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
removePscAutoConnections(int index)
public Instance.Builder removePscAutoConnections(int index)Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setAuthorizationMode(Instance.AuthorizationMode value)
public Instance.Builder setAuthorizationMode(Instance.AuthorizationMode value)Optional. Immutable. Authorization mode of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.AuthorizationMode authorization_mode = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Instance.AuthorizationModeThe authorizationMode to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setAuthorizationModeValue(int value)
public Instance.Builder setAuthorizationModeValue(int value)Optional. Immutable. Authorization mode of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.AuthorizationMode authorization_mode = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for authorizationMode to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setCreateTime(Timestamp value)
public Instance.Builder setCreateTime(Timestamp value)Output only. Creation timestamp of the instance.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setCreateTime(Timestamp.Builder builderForValue)
public Instance.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Creation timestamp of the instance.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setDeletionProtectionEnabled(boolean value)
public Instance.Builder setDeletionProtectionEnabled(boolean value)Optional. If set to true deletion of the instance will fail.
 
 optional bool deletion_protection_enabled = 19 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        booleanThe deletionProtectionEnabled to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setDiscoveryEndpoints(int index, DiscoveryEndpoint value)
public Instance.Builder setDiscoveryEndpoints(int index, DiscoveryEndpoint value)Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        DiscoveryEndpoint | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setDiscoveryEndpoints(int index, DiscoveryEndpoint.Builder builderForValue)
public Instance.Builder setDiscoveryEndpoints(int index, DiscoveryEndpoint.Builder builderForValue)Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
 
 repeated .google.cloud.memorystore.v1beta.DiscoveryEndpoint discovery_endpoints = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        DiscoveryEndpoint.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setEndpoints(int index, Instance.InstanceEndpoint value)
public Instance.Builder setEndpoints(int index, Instance.InstanceEndpoint value)Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        Instance.InstanceEndpoint | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setEndpoints(int index, Instance.InstanceEndpoint.Builder builderForValue)
public Instance.Builder setEndpoints(int index, Instance.InstanceEndpoint.Builder builderForValue)Optional. Endpoints for the instance.
 
 repeated .google.cloud.memorystore.v1beta.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        Instance.InstanceEndpoint.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setEngineVersion(String value)
public Instance.Builder setEngineVersion(String value)Optional. Immutable. Engine version of the instance.
 
 string engine_version = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe engineVersion to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setEngineVersionBytes(ByteString value)
public Instance.Builder setEngineVersionBytes(ByteString value)Optional. Immutable. Engine version of the instance.
 
 string engine_version = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for engineVersion to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setMode(Instance.Mode value)
public Instance.Builder setMode(Instance.Mode value)Optional. The mode config for the instance.
 
 .google.cloud.memorystore.v1beta.Instance.Mode mode = 26 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Instance.ModeThe mode to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setModeValue(int value)
public Instance.Builder setModeValue(int value)Optional. The mode config for the instance.
 
 .google.cloud.memorystore.v1beta.Instance.Mode mode = 26 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for mode to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setName(String value)
public Instance.Builder setName(String value)Identifier. Unique name of the instance. Format: projects/{project}/locations/{location}/instances/{instance}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public Instance.Builder setNameBytes(ByteString value)Identifier. Unique name of the instance. Format: projects/{project}/locations/{location}/instances/{instance}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setNodeConfig(NodeConfig value)
public Instance.Builder setNodeConfig(NodeConfig value)Output only. Configuration of individual nodes of the instance.
 
 .google.cloud.memorystore.v1beta.NodeConfig node_config = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        NodeConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setNodeConfig(NodeConfig.Builder builderForValue)
public Instance.Builder setNodeConfig(NodeConfig.Builder builderForValue)Output only. Configuration of individual nodes of the instance.
 
 .google.cloud.memorystore.v1beta.NodeConfig node_config = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        NodeConfig.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setNodeType(Instance.NodeType value)
public Instance.Builder setNodeType(Instance.NodeType value)Optional. Immutable. Machine type for individual nodes of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.NodeType node_type = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Instance.NodeTypeThe nodeType to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setNodeTypeValue(int value)
public Instance.Builder setNodeTypeValue(int value)Optional. Immutable. Machine type for individual nodes of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.NodeType node_type = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for nodeType to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setPersistenceConfig(PersistenceConfig value)
public Instance.Builder setPersistenceConfig(PersistenceConfig value)Optional. Persistence configuration of the instance.
 
 .google.cloud.memorystore.v1beta.PersistenceConfig persistence_config = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        PersistenceConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setPersistenceConfig(PersistenceConfig.Builder builderForValue)
public Instance.Builder setPersistenceConfig(PersistenceConfig.Builder builderForValue)Optional. Persistence configuration of the instance.
 
 .google.cloud.memorystore.v1beta.PersistenceConfig persistence_config = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        PersistenceConfig.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setPscAutoConnections(int index, PscAutoConnection value)
public Instance.Builder setPscAutoConnections(int index, PscAutoConnection value)Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        PscAutoConnection | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setPscAutoConnections(int index, PscAutoConnection.Builder builderForValue)
public Instance.Builder setPscAutoConnections(int index, PscAutoConnection.Builder builderForValue)Required. Immutable. User inputs and resource details of the auto-created PSC connections.
 
 repeated .google.cloud.memorystore.v1beta.PscAutoConnection psc_auto_connections = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        PscAutoConnection.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setReplicaCount(int value)
public Instance.Builder setReplicaCount(int value)Optional. Number of replica nodes per shard. If omitted the default is 0 replicas.
 optional int32 replica_count = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe replicaCount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setShardCount(int value)
public Instance.Builder setShardCount(int value)Optional. Number of shards for the instance.
 int32 shard_count = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe shardCount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setState(Instance.State value)
public Instance.Builder setState(Instance.State value)Output only. Current state of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Instance.StateThe state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setStateInfo(Instance.StateInfo value)
public Instance.Builder setStateInfo(Instance.StateInfo value)Output only. Additional information about the state of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.StateInfo state_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Instance.StateInfo | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setStateInfo(Instance.StateInfo.Builder builderForValue)
public Instance.Builder setStateInfo(Instance.StateInfo.Builder builderForValue)Output only. Additional information about the state of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.StateInfo state_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Instance.StateInfo.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setStateValue(int value)
public Instance.Builder setStateValue(int value)Output only. Current state of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setTransitEncryptionMode(Instance.TransitEncryptionMode value)
public Instance.Builder setTransitEncryptionMode(Instance.TransitEncryptionMode value)Optional. Immutable. In-transit encryption mode of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.TransitEncryptionMode transit_encryption_mode = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Instance.TransitEncryptionModeThe transitEncryptionMode to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setTransitEncryptionModeValue(int value)
public Instance.Builder setTransitEncryptionModeValue(int value)Optional. Immutable. In-transit encryption mode of the instance.
 
 .google.cloud.memorystore.v1beta.Instance.TransitEncryptionMode transit_encryption_mode = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for transitEncryptionMode to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setUid(String value)
public Instance.Builder setUid(String value)Output only. System assigned, unique identifier for the instance.
 
 string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe uid to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setUidBytes(ByteString value)
public Instance.Builder setUidBytes(ByteString value)Output only. System assigned, unique identifier for the instance.
 
 string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for uid to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setUpdateTime(Timestamp value)
public Instance.Builder setUpdateTime(Timestamp value)Output only. Latest update timestamp of the instance.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setUpdateTime(Timestamp.Builder builderForValue)
public Instance.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Latest update timestamp of the instance.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setZoneDistributionConfig(ZoneDistributionConfig value)
public Instance.Builder setZoneDistributionConfig(ZoneDistributionConfig value)Optional. Immutable. Zone distribution configuration of the instance for node allocation.
 
 .google.cloud.memorystore.v1beta.ZoneDistributionConfig zone_distribution_config = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ZoneDistributionConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |
setZoneDistributionConfig(ZoneDistributionConfig.Builder builderForValue)
public Instance.Builder setZoneDistributionConfig(ZoneDistributionConfig.Builder builderForValue)Optional. Immutable. Zone distribution configuration of the instance for node allocation.
 
 .google.cloud.memorystore.v1beta.ZoneDistributionConfig zone_distribution_config = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        ZoneDistributionConfig.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Builder | 
        |