public static final class Instance.Builder extends GeneratedMessageV3.Builder<Instance.Builder> implements InstanceOrBuilder
A Memorystore instance.
Protobuf type google.cloud.memorystore.v1.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) (deprecated)
public Instance.Builder addAllDiscoveryEndpoints(Iterable<? extends DiscoveryEndpoint> values)
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.memorystore.v1.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.v1.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.memorystore.v1.Instance.InstanceEndpoint> |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addAllPscAttachmentDetails(Iterable<? extends PscAttachmentDetail> values)
public Instance.Builder addAllPscAttachmentDetails(Iterable<? extends PscAttachmentDetail> values)
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.memorystore.v1.PscAttachmentDetail> |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addAllPscAutoConnections(Iterable<? extends PscAutoConnection> values) (deprecated)
public Instance.Builder addAllPscAutoConnections(Iterable<? extends PscAutoConnection> values)
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.memorystore.v1.PscAutoConnection> |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addDiscoveryEndpoints(DiscoveryEndpoint value) (deprecated)
public Instance.Builder addDiscoveryEndpoints(DiscoveryEndpoint value)
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
DiscoveryEndpoint |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addDiscoveryEndpoints(DiscoveryEndpoint.Builder builderForValue) (deprecated)
public Instance.Builder addDiscoveryEndpoints(DiscoveryEndpoint.Builder builderForValue)
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
DiscoveryEndpoint.Builder |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addDiscoveryEndpoints(int index, DiscoveryEndpoint value) (deprecated)
public Instance.Builder addDiscoveryEndpoints(int index, DiscoveryEndpoint value)
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
DiscoveryEndpoint |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addDiscoveryEndpoints(int index, DiscoveryEndpoint.Builder builderForValue) (deprecated)
public Instance.Builder addDiscoveryEndpoints(int index, DiscoveryEndpoint.Builder builderForValue)
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
DiscoveryEndpoint.Builder |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addDiscoveryEndpointsBuilder() (deprecated)
public DiscoveryEndpoint.Builder addDiscoveryEndpointsBuilder()
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DiscoveryEndpoint.Builder |
addDiscoveryEndpointsBuilder(int index) (deprecated)
public DiscoveryEndpoint.Builder addDiscoveryEndpointsBuilder(int index)
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Instance.InstanceEndpoint.Builder |
addPscAttachmentDetails(PscAttachmentDetail value)
public Instance.Builder addPscAttachmentDetails(PscAttachmentDetail value)
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
PscAttachmentDetail |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addPscAttachmentDetails(PscAttachmentDetail.Builder builderForValue)
public Instance.Builder addPscAttachmentDetails(PscAttachmentDetail.Builder builderForValue)
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
PscAttachmentDetail.Builder |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addPscAttachmentDetails(int index, PscAttachmentDetail value)
public Instance.Builder addPscAttachmentDetails(int index, PscAttachmentDetail value)
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
PscAttachmentDetail |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addPscAttachmentDetails(int index, PscAttachmentDetail.Builder builderForValue)
public Instance.Builder addPscAttachmentDetails(int index, PscAttachmentDetail.Builder builderForValue)
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
PscAttachmentDetail.Builder |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addPscAttachmentDetailsBuilder()
public PscAttachmentDetail.Builder addPscAttachmentDetailsBuilder()
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PscAttachmentDetail.Builder |
addPscAttachmentDetailsBuilder(int index)
public PscAttachmentDetail.Builder addPscAttachmentDetailsBuilder(int index)
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PscAttachmentDetail.Builder |
addPscAutoConnections(PscAutoConnection value) (deprecated)
public Instance.Builder addPscAutoConnections(PscAutoConnection value)
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
PscAutoConnection |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addPscAutoConnections(PscAutoConnection.Builder builderForValue) (deprecated)
public Instance.Builder addPscAutoConnections(PscAutoConnection.Builder builderForValue)
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
builderForValue |
PscAutoConnection.Builder |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addPscAutoConnections(int index, PscAutoConnection value) (deprecated)
public Instance.Builder addPscAutoConnections(int index, PscAutoConnection value)
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
PscAutoConnection |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addPscAutoConnections(int index, PscAutoConnection.Builder builderForValue) (deprecated)
public Instance.Builder addPscAutoConnections(int index, PscAutoConnection.Builder builderForValue)
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
PscAutoConnection.Builder |
Returns | |
---|---|
Type | Description |
Instance.Builder |
addPscAutoConnectionsBuilder() (deprecated)
public PscAutoConnection.Builder addPscAutoConnectionsBuilder()
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
PscAutoConnection.Builder |
addPscAutoConnectionsBuilder(int index) (deprecated)
public PscAutoConnection.Builder addPscAutoConnectionsBuilder(int index)
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.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 |
clearAsyncInstanceEndpointsDeletionEnabled()
public Instance.Builder clearAsyncInstanceEndpointsDeletionEnabled()
Optional. If true, instance endpoints that are created and registered by customers can be deleted asynchronously. That is, such an instance endpoint can be de-registered before the forwarding rules in the instance endpoint are deleted.
optional bool async_instance_endpoints_deletion_enabled = 44 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Instance.Builder |
This builder for chaining. |
clearAuthorizationMode()
public Instance.Builder clearAuthorizationMode()
Optional. Immutable. Authorization mode of the instance.
.google.cloud.memorystore.v1.Instance.AuthorizationMode authorization_mode = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Instance.Builder |
This builder for chaining. |
clearAutomatedBackupConfig()
public Instance.Builder clearAutomatedBackupConfig()
Optional. The automated backup config for the instance.
.google.cloud.memorystore.v1.AutomatedBackupConfig automated_backup_config = 48 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Instance.Builder |
clearBackupCollection()
public Instance.Builder clearBackupCollection()
Output only. The backup collection full resource name. Example: projects/{project}/locations/{location}/backupCollections/{collection}
optional string backup_collection = 47 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
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 |
clearCrossInstanceReplicationConfig()
public Instance.Builder clearCrossInstanceReplicationConfig()
Optional. The config for cross instance replication.
.google.cloud.memorystore.v1.CrossInstanceReplicationConfig cross_instance_replication_config = 33 [(.google.api.field_behavior) = OPTIONAL];
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() (deprecated)
public Instance.Builder clearDiscoveryEndpoints()
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.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.v1.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. Engine version of the instance.
string engine_version = 15 [(.google.api.field_behavior) = OPTIONAL];
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 |
clearGcsSource()
public Instance.Builder clearGcsSource()
Optional. Immutable. Backups that stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the instances. Read permission is required to import from the provided Cloud Storage Objects.
.google.cloud.memorystore.v1.Instance.GcsBackupSource gcs_source = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Instance.Builder |
clearImportSources()
public Instance.Builder clearImportSources()
Returns | |
---|---|
Type | Description |
Instance.Builder |
clearLabels()
public Instance.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Instance.Builder |
clearMaintenancePolicy()
public Instance.Builder clearMaintenancePolicy()
Optional. The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
.google.cloud.memorystore.v1.MaintenancePolicy maintenance_policy = 31 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Instance.Builder |
clearMaintenanceSchedule()
public Instance.Builder clearMaintenanceSchedule()
Output only. Published maintenance schedule.
.google.cloud.memorystore.v1.MaintenanceSchedule maintenance_schedule = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Instance.Builder |
clearManagedBackupSource()
public Instance.Builder clearManagedBackupSource()
Optional. Immutable. Backups that generated and managed by memorystore service.
.google.cloud.memorystore.v1.Instance.ManagedBackupSource managed_backup_source = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Instance.Builder |
clearMode()
public Instance.Builder clearMode()
Optional. The mode config for the instance.
.google.cloud.memorystore.v1.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.v1.NodeConfig node_config = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Instance.Builder |
clearNodeType()
public Instance.Builder clearNodeType()
Optional. Machine type for individual nodes of the instance.
.google.cloud.memorystore.v1.Instance.NodeType node_type = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Instance.Builder |
This builder for chaining. |
clearOndemandMaintenance()
public Instance.Builder clearOndemandMaintenance()
Optional. Input only. Ondemand maintenance for the instance.
optional bool ondemand_maintenance = 28 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
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.v1.PersistenceConfig persistence_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Instance.Builder |
clearPscAttachmentDetails()
public Instance.Builder clearPscAttachmentDetails()
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Instance.Builder |
clearPscAutoConnections() (deprecated)
public Instance.Builder clearPscAutoConnections()
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.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.v1.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.v1.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.v1.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.v1.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 |
getAsyncInstanceEndpointsDeletionEnabled()
public boolean getAsyncInstanceEndpointsDeletionEnabled()
Optional. If true, instance endpoints that are created and registered by customers can be deleted asynchronously. That is, such an instance endpoint can be de-registered before the forwarding rules in the instance endpoint are deleted.
optional bool async_instance_endpoints_deletion_enabled = 44 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The asyncInstanceEndpointsDeletionEnabled. |
getAuthorizationMode()
public Instance.AuthorizationMode getAuthorizationMode()
Optional. Immutable. Authorization mode of the instance.
.google.cloud.memorystore.v1.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.v1.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. |
getAutomatedBackupConfig()
public AutomatedBackupConfig getAutomatedBackupConfig()
Optional. The automated backup config for the instance.
.google.cloud.memorystore.v1.AutomatedBackupConfig automated_backup_config = 48 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutomatedBackupConfig |
The automatedBackupConfig. |
getAutomatedBackupConfigBuilder()
public AutomatedBackupConfig.Builder getAutomatedBackupConfigBuilder()
Optional. The automated backup config for the instance.
.google.cloud.memorystore.v1.AutomatedBackupConfig automated_backup_config = 48 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutomatedBackupConfig.Builder |
getAutomatedBackupConfigOrBuilder()
public AutomatedBackupConfigOrBuilder getAutomatedBackupConfigOrBuilder()
Optional. The automated backup config for the instance.
.google.cloud.memorystore.v1.AutomatedBackupConfig automated_backup_config = 48 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutomatedBackupConfigOrBuilder |
getBackupCollection()
public String getBackupCollection()
Output only. The backup collection full resource name. Example: projects/{project}/locations/{location}/backupCollections/{collection}
optional string backup_collection = 47 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The backupCollection. |
getBackupCollectionBytes()
public ByteString getBackupCollectionBytes()
Output only. The backup collection full resource name. Example: projects/{project}/locations/{location}/backupCollections/{collection}
optional string backup_collection = 47 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for backupCollection. |
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 |
getCrossInstanceReplicationConfig()
public CrossInstanceReplicationConfig getCrossInstanceReplicationConfig()
Optional. The config for cross instance replication.
.google.cloud.memorystore.v1.CrossInstanceReplicationConfig cross_instance_replication_config = 33 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CrossInstanceReplicationConfig |
The crossInstanceReplicationConfig. |
getCrossInstanceReplicationConfigBuilder()
public CrossInstanceReplicationConfig.Builder getCrossInstanceReplicationConfigBuilder()
Optional. The config for cross instance replication.
.google.cloud.memorystore.v1.CrossInstanceReplicationConfig cross_instance_replication_config = 33 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CrossInstanceReplicationConfig.Builder |
getCrossInstanceReplicationConfigOrBuilder()
public CrossInstanceReplicationConfigOrBuilder getCrossInstanceReplicationConfigOrBuilder()
Optional. The config for cross instance replication.
.google.cloud.memorystore.v1.CrossInstanceReplicationConfig cross_instance_replication_config = 33 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CrossInstanceReplicationConfigOrBuilder |
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) (deprecated)
public DiscoveryEndpoint getDiscoveryEndpoints(int index)
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
DiscoveryEndpoint |
getDiscoveryEndpointsBuilder(int index) (deprecated)
public DiscoveryEndpoint.Builder getDiscoveryEndpointsBuilder(int index)
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
DiscoveryEndpoint.Builder |
getDiscoveryEndpointsBuilderList() (deprecated)
public List<DiscoveryEndpoint.Builder> getDiscoveryEndpointsBuilderList()
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Builder> |
getDiscoveryEndpointsCount() (deprecated)
public int getDiscoveryEndpointsCount()
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getDiscoveryEndpointsList() (deprecated)
public List<DiscoveryEndpoint> getDiscoveryEndpointsList()
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<DiscoveryEndpoint> |
getDiscoveryEndpointsOrBuilder(int index) (deprecated)
public DiscoveryEndpointOrBuilder getDiscoveryEndpointsOrBuilder(int index)
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
DiscoveryEndpointOrBuilder |
getDiscoveryEndpointsOrBuilderList() (deprecated)
public List<? extends DiscoveryEndpointOrBuilder> getDiscoveryEndpointsOrBuilderList()
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.memorystore.v1.DiscoveryEndpointOrBuilder> |
getEndpoints(int index)
public Instance.InstanceEndpoint getEndpoints(int index)
Optional. Endpoints for the instance.
repeated .google.cloud.memorystore.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.memorystore.v1.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. Engine version of the instance.
string engine_version = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The engineVersion. |
getEngineVersionBytes()
public ByteString getEngineVersionBytes()
Optional. Engine version of the instance.
string engine_version = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for engineVersion. |
getGcsSource()
public Instance.GcsBackupSource getGcsSource()
Optional. Immutable. Backups that stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the instances. Read permission is required to import from the provided Cloud Storage Objects.
.google.cloud.memorystore.v1.Instance.GcsBackupSource gcs_source = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Instance.GcsBackupSource |
The gcsSource. |
getGcsSourceBuilder()
public Instance.GcsBackupSource.Builder getGcsSourceBuilder()
Optional. Immutable. Backups that stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the instances. Read permission is required to import from the provided Cloud Storage Objects.
.google.cloud.memorystore.v1.Instance.GcsBackupSource gcs_source = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Instance.GcsBackupSource.Builder |
getGcsSourceOrBuilder()
public Instance.GcsBackupSourceOrBuilder getGcsSourceOrBuilder()
Optional. Immutable. Backups that stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the instances. Read permission is required to import from the provided Cloud Storage Objects.
.google.cloud.memorystore.v1.Instance.GcsBackupSource gcs_source = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Instance.GcsBackupSourceOrBuilder |
getImportSourcesCase()
public Instance.ImportSourcesCase getImportSourcesCase()
Returns | |
---|---|
Type | Description |
Instance.ImportSourcesCase |
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 |
getMaintenancePolicy()
public MaintenancePolicy getMaintenancePolicy()
Optional. The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
.google.cloud.memorystore.v1.MaintenancePolicy maintenance_policy = 31 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MaintenancePolicy |
The maintenancePolicy. |
getMaintenancePolicyBuilder()
public MaintenancePolicy.Builder getMaintenancePolicyBuilder()
Optional. The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
.google.cloud.memorystore.v1.MaintenancePolicy maintenance_policy = 31 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MaintenancePolicy.Builder |
getMaintenancePolicyOrBuilder()
public MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
Optional. The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
.google.cloud.memorystore.v1.MaintenancePolicy maintenance_policy = 31 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MaintenancePolicyOrBuilder |
getMaintenanceSchedule()
public MaintenanceSchedule getMaintenanceSchedule()
Output only. Published maintenance schedule.
.google.cloud.memorystore.v1.MaintenanceSchedule maintenance_schedule = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MaintenanceSchedule |
The maintenanceSchedule. |
getMaintenanceScheduleBuilder()
public MaintenanceSchedule.Builder getMaintenanceScheduleBuilder()
Output only. Published maintenance schedule.
.google.cloud.memorystore.v1.MaintenanceSchedule maintenance_schedule = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MaintenanceSchedule.Builder |
getMaintenanceScheduleOrBuilder()
public MaintenanceScheduleOrBuilder getMaintenanceScheduleOrBuilder()
Output only. Published maintenance schedule.
.google.cloud.memorystore.v1.MaintenanceSchedule maintenance_schedule = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MaintenanceScheduleOrBuilder |
getManagedBackupSource()
public Instance.ManagedBackupSource getManagedBackupSource()
Optional. Immutable. Backups that generated and managed by memorystore service.
.google.cloud.memorystore.v1.Instance.ManagedBackupSource managed_backup_source = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Instance.ManagedBackupSource |
The managedBackupSource. |
getManagedBackupSourceBuilder()
public Instance.ManagedBackupSource.Builder getManagedBackupSourceBuilder()
Optional. Immutable. Backups that generated and managed by memorystore service.
.google.cloud.memorystore.v1.Instance.ManagedBackupSource managed_backup_source = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Instance.ManagedBackupSource.Builder |
getManagedBackupSourceOrBuilder()
public Instance.ManagedBackupSourceOrBuilder getManagedBackupSourceOrBuilder()
Optional. Immutable. Backups that generated and managed by memorystore service.
.google.cloud.memorystore.v1.Instance.ManagedBackupSource managed_backup_source = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Instance.ManagedBackupSourceOrBuilder |
getMode()
public Instance.Mode getMode()
Optional. The mode config for the instance.
.google.cloud.memorystore.v1.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.v1.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.v1.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.v1.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.v1.NodeConfig node_config = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
NodeConfigOrBuilder |
getNodeType()
public Instance.NodeType getNodeType()
Optional. Machine type for individual nodes of the instance.
.google.cloud.memorystore.v1.Instance.NodeType node_type = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Instance.NodeType |
The nodeType. |
getNodeTypeValue()
public int getNodeTypeValue()
Optional. Machine type for individual nodes of the instance.
.google.cloud.memorystore.v1.Instance.NodeType node_type = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for nodeType. |
getOndemandMaintenance()
public boolean getOndemandMaintenance()
Optional. Input only. Ondemand maintenance for the instance.
optional bool ondemand_maintenance = 28 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The ondemandMaintenance. |
getPersistenceConfig()
public PersistenceConfig getPersistenceConfig()
Optional. Persistence configuration of the instance.
.google.cloud.memorystore.v1.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.v1.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.v1.PersistenceConfig persistence_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PersistenceConfigOrBuilder |
getPscAttachmentDetails(int index)
public PscAttachmentDetail getPscAttachmentDetails(int index)
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PscAttachmentDetail |
getPscAttachmentDetailsBuilder(int index)
public PscAttachmentDetail.Builder getPscAttachmentDetailsBuilder(int index)
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PscAttachmentDetail.Builder |
getPscAttachmentDetailsBuilderList()
public List<PscAttachmentDetail.Builder> getPscAttachmentDetailsBuilderList()
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Builder> |
getPscAttachmentDetailsCount()
public int getPscAttachmentDetailsCount()
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getPscAttachmentDetailsList()
public List<PscAttachmentDetail> getPscAttachmentDetailsList()
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<PscAttachmentDetail> |
getPscAttachmentDetailsOrBuilder(int index)
public PscAttachmentDetailOrBuilder getPscAttachmentDetailsOrBuilder(int index)
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PscAttachmentDetailOrBuilder |
getPscAttachmentDetailsOrBuilderList()
public List<? extends PscAttachmentDetailOrBuilder> getPscAttachmentDetailsOrBuilderList()
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.memorystore.v1.PscAttachmentDetailOrBuilder> |
getPscAutoConnections(int index) (deprecated)
public PscAutoConnection getPscAutoConnections(int index)
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PscAutoConnection |
getPscAutoConnectionsBuilder(int index) (deprecated)
public PscAutoConnection.Builder getPscAutoConnectionsBuilder(int index)
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PscAutoConnection.Builder |
getPscAutoConnectionsBuilderList() (deprecated)
public List<PscAutoConnection.Builder> getPscAutoConnectionsBuilderList()
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
List<Builder> |
getPscAutoConnectionsCount() (deprecated)
public int getPscAutoConnectionsCount()
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
int |
getPscAutoConnectionsList() (deprecated)
public List<PscAutoConnection> getPscAutoConnectionsList()
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
List<PscAutoConnection> |
getPscAutoConnectionsOrBuilder(int index) (deprecated)
public PscAutoConnectionOrBuilder getPscAutoConnectionsOrBuilder(int index)
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PscAutoConnectionOrBuilder |
getPscAutoConnectionsOrBuilderList() (deprecated)
public List<? extends PscAutoConnectionOrBuilder> getPscAutoConnectionsOrBuilderList()
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.memorystore.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.ZoneDistributionConfig zone_distribution_config = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
ZoneDistributionConfigOrBuilder |
hasAsyncInstanceEndpointsDeletionEnabled()
public boolean hasAsyncInstanceEndpointsDeletionEnabled()
Optional. If true, instance endpoints that are created and registered by customers can be deleted asynchronously. That is, such an instance endpoint can be de-registered before the forwarding rules in the instance endpoint are deleted.
optional bool async_instance_endpoints_deletion_enabled = 44 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the asyncInstanceEndpointsDeletionEnabled field is set. |
hasAutomatedBackupConfig()
public boolean hasAutomatedBackupConfig()
Optional. The automated backup config for the instance.
.google.cloud.memorystore.v1.AutomatedBackupConfig automated_backup_config = 48 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the automatedBackupConfig field is set. |
hasBackupCollection()
public boolean hasBackupCollection()
Output only. The backup collection full resource name. Example: projects/{project}/locations/{location}/backupCollections/{collection}
optional string backup_collection = 47 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
boolean |
Whether the backupCollection field is set. |
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. |
hasCrossInstanceReplicationConfig()
public boolean hasCrossInstanceReplicationConfig()
Optional. The config for cross instance replication.
.google.cloud.memorystore.v1.CrossInstanceReplicationConfig cross_instance_replication_config = 33 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the crossInstanceReplicationConfig 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. |
hasGcsSource()
public boolean hasGcsSource()
Optional. Immutable. Backups that stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the instances. Read permission is required to import from the provided Cloud Storage Objects.
.google.cloud.memorystore.v1.Instance.GcsBackupSource gcs_source = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
boolean |
Whether the gcsSource field is set. |
hasMaintenancePolicy()
public boolean hasMaintenancePolicy()
Optional. The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
.google.cloud.memorystore.v1.MaintenancePolicy maintenance_policy = 31 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the maintenancePolicy field is set. |
hasMaintenanceSchedule()
public boolean hasMaintenanceSchedule()
Output only. Published maintenance schedule.
.google.cloud.memorystore.v1.MaintenanceSchedule maintenance_schedule = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the maintenanceSchedule field is set. |
hasManagedBackupSource()
public boolean hasManagedBackupSource()
Optional. Immutable. Backups that generated and managed by memorystore service.
.google.cloud.memorystore.v1.Instance.ManagedBackupSource managed_backup_source = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
boolean |
Whether the managedBackupSource field is set. |
hasNodeConfig()
public boolean hasNodeConfig()
Output only. Configuration of individual nodes of the instance.
.google.cloud.memorystore.v1.NodeConfig node_config = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the nodeConfig field is set. |
hasOndemandMaintenance()
public boolean hasOndemandMaintenance()
Optional. Input only. Ondemand maintenance for the instance.
optional bool ondemand_maintenance = 28 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the ondemandMaintenance field is set. |
hasPersistenceConfig()
public boolean hasPersistenceConfig()
Optional. Persistence configuration of the instance.
.google.cloud.memorystore.v1.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.v1.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.v1.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 |
mergeAutomatedBackupConfig(AutomatedBackupConfig value)
public Instance.Builder mergeAutomatedBackupConfig(AutomatedBackupConfig value)
Optional. The automated backup config for the instance.
.google.cloud.memorystore.v1.AutomatedBackupConfig automated_backup_config = 48 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
AutomatedBackupConfig |
Returns | |
---|---|
Type | Description |
Instance.Builder |
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 |
mergeCrossInstanceReplicationConfig(CrossInstanceReplicationConfig value)
public Instance.Builder mergeCrossInstanceReplicationConfig(CrossInstanceReplicationConfig value)
Optional. The config for cross instance replication.
.google.cloud.memorystore.v1.CrossInstanceReplicationConfig cross_instance_replication_config = 33 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
CrossInstanceReplicationConfig |
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 |
mergeGcsSource(Instance.GcsBackupSource value)
public Instance.Builder mergeGcsSource(Instance.GcsBackupSource value)
Optional. Immutable. Backups that stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the instances. Read permission is required to import from the provided Cloud Storage Objects.
.google.cloud.memorystore.v1.Instance.GcsBackupSource gcs_source = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
Instance.GcsBackupSource |
Returns | |
---|---|
Type | Description |
Instance.Builder |
mergeMaintenancePolicy(MaintenancePolicy value)
public Instance.Builder mergeMaintenancePolicy(MaintenancePolicy value)
Optional. The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
.google.cloud.memorystore.v1.MaintenancePolicy maintenance_policy = 31 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
MaintenancePolicy |
Returns | |
---|---|
Type | Description |
Instance.Builder |
mergeMaintenanceSchedule(MaintenanceSchedule value)
public Instance.Builder mergeMaintenanceSchedule(MaintenanceSchedule value)
Output only. Published maintenance schedule.
.google.cloud.memorystore.v1.MaintenanceSchedule maintenance_schedule = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
MaintenanceSchedule |
Returns | |
---|---|
Type | Description |
Instance.Builder |
mergeManagedBackupSource(Instance.ManagedBackupSource value)
public Instance.Builder mergeManagedBackupSource(Instance.ManagedBackupSource value)
Optional. Immutable. Backups that generated and managed by memorystore service.
.google.cloud.memorystore.v1.Instance.ManagedBackupSource managed_backup_source = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
Instance.ManagedBackupSource |
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.v1.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.v1.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.v1.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.v1.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) (deprecated)
public Instance.Builder removeDiscoveryEndpoints(int index)
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.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.v1.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 |
removePscAttachmentDetails(int index)
public Instance.Builder removePscAttachmentDetails(int index)
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Instance.Builder |
removePscAutoConnections(int index) (deprecated)
public Instance.Builder removePscAutoConnections(int index)
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setAsyncInstanceEndpointsDeletionEnabled(boolean value)
public Instance.Builder setAsyncInstanceEndpointsDeletionEnabled(boolean value)
Optional. If true, instance endpoints that are created and registered by customers can be deleted asynchronously. That is, such an instance endpoint can be de-registered before the forwarding rules in the instance endpoint are deleted.
optional bool async_instance_endpoints_deletion_enabled = 44 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The asyncInstanceEndpointsDeletionEnabled to set. |
Returns | |
---|---|
Type | Description |
Instance.Builder |
This builder for chaining. |
setAuthorizationMode(Instance.AuthorizationMode value)
public Instance.Builder setAuthorizationMode(Instance.AuthorizationMode value)
Optional. Immutable. Authorization mode of the instance.
.google.cloud.memorystore.v1.Instance.AuthorizationMode authorization_mode = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
Instance.AuthorizationMode The 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.v1.Instance.AuthorizationMode authorization_mode = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for authorizationMode to set. |
Returns | |
---|---|
Type | Description |
Instance.Builder |
This builder for chaining. |
setAutomatedBackupConfig(AutomatedBackupConfig value)
public Instance.Builder setAutomatedBackupConfig(AutomatedBackupConfig value)
Optional. The automated backup config for the instance.
.google.cloud.memorystore.v1.AutomatedBackupConfig automated_backup_config = 48 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
AutomatedBackupConfig |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setAutomatedBackupConfig(AutomatedBackupConfig.Builder builderForValue)
public Instance.Builder setAutomatedBackupConfig(AutomatedBackupConfig.Builder builderForValue)
Optional. The automated backup config for the instance.
.google.cloud.memorystore.v1.AutomatedBackupConfig automated_backup_config = 48 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
AutomatedBackupConfig.Builder |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setBackupCollection(String value)
public Instance.Builder setBackupCollection(String value)
Output only. The backup collection full resource name. Example: projects/{project}/locations/{location}/backupCollections/{collection}
optional string backup_collection = 47 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The backupCollection to set. |
Returns | |
---|---|
Type | Description |
Instance.Builder |
This builder for chaining. |
setBackupCollectionBytes(ByteString value)
public Instance.Builder setBackupCollectionBytes(ByteString value)
Output only. The backup collection full resource name. Example: projects/{project}/locations/{location}/backupCollections/{collection}
optional string backup_collection = 47 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for backupCollection 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 |
setCrossInstanceReplicationConfig(CrossInstanceReplicationConfig value)
public Instance.Builder setCrossInstanceReplicationConfig(CrossInstanceReplicationConfig value)
Optional. The config for cross instance replication.
.google.cloud.memorystore.v1.CrossInstanceReplicationConfig cross_instance_replication_config = 33 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
CrossInstanceReplicationConfig |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setCrossInstanceReplicationConfig(CrossInstanceReplicationConfig.Builder builderForValue)
public Instance.Builder setCrossInstanceReplicationConfig(CrossInstanceReplicationConfig.Builder builderForValue)
Optional. The config for cross instance replication.
.google.cloud.memorystore.v1.CrossInstanceReplicationConfig cross_instance_replication_config = 33 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
CrossInstanceReplicationConfig.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 |
boolean The deletionProtectionEnabled to set. |
Returns | |
---|---|
Type | Description |
Instance.Builder |
This builder for chaining. |
setDiscoveryEndpoints(int index, DiscoveryEndpoint value) (deprecated)
public Instance.Builder setDiscoveryEndpoints(int index, DiscoveryEndpoint value)
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
DiscoveryEndpoint |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setDiscoveryEndpoints(int index, DiscoveryEndpoint.Builder builderForValue) (deprecated)
public Instance.Builder setDiscoveryEndpoints(int index, DiscoveryEndpoint.Builder builderForValue)
Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
repeated .google.cloud.memorystore.v1.DiscoveryEndpoint discovery_endpoints = 12 [deprecated = true, (.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.v1.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.v1.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. Engine version of the instance.
string engine_version = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The engineVersion to set. |
Returns | |
---|---|
Type | Description |
Instance.Builder |
This builder for chaining. |
setEngineVersionBytes(ByteString value)
public Instance.Builder setEngineVersionBytes(ByteString value)
Optional. Engine version of the instance.
string engine_version = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The 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 |
setGcsSource(Instance.GcsBackupSource value)
public Instance.Builder setGcsSource(Instance.GcsBackupSource value)
Optional. Immutable. Backups that stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the instances. Read permission is required to import from the provided Cloud Storage Objects.
.google.cloud.memorystore.v1.Instance.GcsBackupSource gcs_source = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
Instance.GcsBackupSource |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setGcsSource(Instance.GcsBackupSource.Builder builderForValue)
public Instance.Builder setGcsSource(Instance.GcsBackupSource.Builder builderForValue)
Optional. Immutable. Backups that stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the instances. Read permission is required to import from the provided Cloud Storage Objects.
.google.cloud.memorystore.v1.Instance.GcsBackupSource gcs_source = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
builderForValue |
Instance.GcsBackupSource.Builder |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setMaintenancePolicy(MaintenancePolicy value)
public Instance.Builder setMaintenancePolicy(MaintenancePolicy value)
Optional. The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
.google.cloud.memorystore.v1.MaintenancePolicy maintenance_policy = 31 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
MaintenancePolicy |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setMaintenancePolicy(MaintenancePolicy.Builder builderForValue)
public Instance.Builder setMaintenancePolicy(MaintenancePolicy.Builder builderForValue)
Optional. The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
.google.cloud.memorystore.v1.MaintenancePolicy maintenance_policy = 31 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
MaintenancePolicy.Builder |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setMaintenanceSchedule(MaintenanceSchedule value)
public Instance.Builder setMaintenanceSchedule(MaintenanceSchedule value)
Output only. Published maintenance schedule.
.google.cloud.memorystore.v1.MaintenanceSchedule maintenance_schedule = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
MaintenanceSchedule |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setMaintenanceSchedule(MaintenanceSchedule.Builder builderForValue)
public Instance.Builder setMaintenanceSchedule(MaintenanceSchedule.Builder builderForValue)
Output only. Published maintenance schedule.
.google.cloud.memorystore.v1.MaintenanceSchedule maintenance_schedule = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
MaintenanceSchedule.Builder |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setManagedBackupSource(Instance.ManagedBackupSource value)
public Instance.Builder setManagedBackupSource(Instance.ManagedBackupSource value)
Optional. Immutable. Backups that generated and managed by memorystore service.
.google.cloud.memorystore.v1.Instance.ManagedBackupSource managed_backup_source = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
Instance.ManagedBackupSource |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setManagedBackupSource(Instance.ManagedBackupSource.Builder builderForValue)
public Instance.Builder setManagedBackupSource(Instance.ManagedBackupSource.Builder builderForValue)
Optional. Immutable. Backups that generated and managed by memorystore service.
.google.cloud.memorystore.v1.Instance.ManagedBackupSource managed_backup_source = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
builderForValue |
Instance.ManagedBackupSource.Builder |
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.v1.Instance.Mode mode = 26 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Instance.Mode The 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.v1.Instance.Mode mode = 26 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The 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 |
String The 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 |
ByteString The 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.v1.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.v1.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. Machine type for individual nodes of the instance.
.google.cloud.memorystore.v1.Instance.NodeType node_type = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Instance.NodeType The nodeType to set. |
Returns | |
---|---|
Type | Description |
Instance.Builder |
This builder for chaining. |
setNodeTypeValue(int value)
public Instance.Builder setNodeTypeValue(int value)
Optional. Machine type for individual nodes of the instance.
.google.cloud.memorystore.v1.Instance.NodeType node_type = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for nodeType to set. |
Returns | |
---|---|
Type | Description |
Instance.Builder |
This builder for chaining. |
setOndemandMaintenance(boolean value)
public Instance.Builder setOndemandMaintenance(boolean value)
Optional. Input only. Ondemand maintenance for the instance.
optional bool ondemand_maintenance = 28 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The ondemandMaintenance 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.v1.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.v1.PersistenceConfig persistence_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
PersistenceConfig.Builder |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setPscAttachmentDetails(int index, PscAttachmentDetail value)
public Instance.Builder setPscAttachmentDetails(int index, PscAttachmentDetail value)
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
PscAttachmentDetail |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setPscAttachmentDetails(int index, PscAttachmentDetail.Builder builderForValue)
public Instance.Builder setPscAttachmentDetails(int index, PscAttachmentDetail.Builder builderForValue)
Output only. Service attachment details to configure PSC connections.
repeated .google.cloud.memorystore.v1.PscAttachmentDetail psc_attachment_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
PscAttachmentDetail.Builder |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setPscAutoConnections(int index, PscAutoConnection value) (deprecated)
public Instance.Builder setPscAutoConnections(int index, PscAutoConnection value)
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
PscAutoConnection |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setPscAutoConnections(int index, PscAutoConnection.Builder builderForValue) (deprecated)
public Instance.Builder setPscAutoConnections(int index, PscAutoConnection.Builder builderForValue)
Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
repeated .google.cloud.memorystore.v1.PscAutoConnection psc_auto_connections = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.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 |
int The 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 |
int The 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.v1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Instance.State The 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.v1.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.v1.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.v1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The 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.v1.Instance.TransitEncryptionMode transit_encryption_mode = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
Instance.TransitEncryptionMode The 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.v1.Instance.TransitEncryptionMode transit_encryption_mode = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
int The 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 |
String The 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 |
ByteString The 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.v1.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.v1.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 |