public static final class Instance.Builder extends GeneratedMessage.Builder<Instance.Builder> implements InstanceOrBuilderA Managed Lustre instance.
Protobuf type google.cloud.lustre.v1.Instance
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Instance.BuilderImplements
InstanceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearAccessRulesOptions()
public Instance.Builder clearAccessRulesOptions()Optional. The access rules options for the instance.
.google.cloud.lustre.v1.AccessRulesOptions access_rules_options = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearAvailableVersion()
public Instance.Builder clearAvailableVersion() Output only. The available version that this instance can be upgraded to.
Format: Lustre_YYYYMMDD.NN_pXX
optional string available_version = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearCapacityGib()
public Instance.Builder clearCapacityGib() Required. The storage capacity of the instance in gibibytes (GiB). Allowed
values depend on the perUnitStorageThroughput. See Performance
tiers
for specific minimums, maximums, and step sizes for each performance tier.
int64 capacity_gib = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearCreateTime()
public Instance.Builder clearCreateTime()Output only. Timestamp when the instance was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearDescription()
public Instance.Builder clearDescription()Optional. A user-readable description of the instance.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearDynamicTierOptions()
public Instance.Builder clearDynamicTierOptions()Optional. Immutable. Specifies whether the instance is on the Dynamic tier. See Performance tiers for more information.
.google.cloud.lustre.v1.DynamicTierOptions dynamic_tier_options = 24 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearEffectiveVersion()
public Instance.Builder clearEffectiveVersion() Output only. The effective version of the instance.
Format: Lustre_YYYYMMDD.NN_pXX
optional string effective_version = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearFilesystem()
public Instance.Builder clearFilesystem()Required. Immutable. The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
string filesystem = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearGkeSupportEnabled() (deprecated)
public Instance.Builder clearGkeSupportEnabled()Deprecated. google.cloud.lustre.v1.Instance.gke_support_enabled is deprecated. See google/cloud/lustre/v1/instance.proto;l=133
Optional. Deprecated: No longer required for GKE instance creation. Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
bool gke_support_enabled = 12 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearKmsKey()
public Instance.Builder clearKmsKey()Optional. Immutable. The Cloud KMS key name to use for data encryption. If not set, the instance will use Google-managed encryption keys. If set, the instance will use customer-managed encryption keys. The key must be in the same region as the instance. The key format is: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}
string kms_key = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearLabels()
public Instance.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearMaintenancePolicy()
public Instance.Builder clearMaintenancePolicy()Optional. The maintenance policy for the instance to determine when to allow or exclude the instance from maintenance updates.
.google.cloud.lustre.v1.MaintenancePolicy maintenance_policy = 20 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearMountPoint()
public Instance.Builder clearMountPoint() Output only. Mount point of the instance in the format
IP_ADDRESS@tcp:/FILESYSTEM.
string mount_point = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearName()
public Instance.Builder clearName()Identifier. The name of the instance.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearNetwork()
public Instance.Builder clearNetwork() Required. Immutable. The full name of the VPC network to which the instance
is connected. Must be in the format
projects/{project_id}/global/networks/{network_name}.
string network = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearPerUnitStorageThroughput()
public Instance.Builder clearPerUnitStorageThroughput()Optional. The throughput of the instance in MBps per TiB. Valid values are 0, 125, 250, 500, 1000. See Performance tiers for more information.
If the instance is using the Dynamic tier, this field must not be set or must be set to zero.
int64 per_unit_storage_throughput = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearPlacementPolicy()
public Instance.Builder clearPlacementPolicy()Optional. The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
string placement_policy = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearState()
public Instance.Builder clearState()Output only. The state of the instance.
.google.cloud.lustre.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearStateReason()
public Instance.Builder clearStateReason()Output only. The reason why the instance is in a certain state (e.g. SUSPENDED).
string state_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearTargetVersion()
public Instance.Builder clearTargetVersion() Optional. The target version of the instance. Setting this field triggers a
self-service update to the specified version.
Format: Lustre_YYYYMMDD.NN_pXX or latest
optional string target_version = 34 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearUid()
public Instance.Builder clearUid()Output only. Unique ID of the resource. This is unrelated to the access rules which allow specifying the root squash uid.
string uid = 19 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearUpcomingMaintenanceSchedule()
public Instance.Builder clearUpcomingMaintenanceSchedule()Output only. Date and time of upcoming maintenance for the instance, if a maintenance policy is set.
.google.cloud.lustre.v1.MaintenanceSchedule upcoming_maintenance_schedule = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearUpdateTime()
public Instance.Builder clearUpdateTime()Output only. Timestamp when the instance was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
containsLabels(String key)
public boolean containsLabels(String key)Optional. Labels as key value pairs.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAccessRulesOptions()
public AccessRulesOptions getAccessRulesOptions()Optional. The access rules options for the instance.
.google.cloud.lustre.v1.AccessRulesOptions access_rules_options = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AccessRulesOptions |
The accessRulesOptions. |
getAccessRulesOptionsBuilder()
public AccessRulesOptions.Builder getAccessRulesOptionsBuilder()Optional. The access rules options for the instance.
.google.cloud.lustre.v1.AccessRulesOptions access_rules_options = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AccessRulesOptions.Builder |
|
getAccessRulesOptionsOrBuilder()
public AccessRulesOptionsOrBuilder getAccessRulesOptionsOrBuilder()Optional. The access rules options for the instance.
.google.cloud.lustre.v1.AccessRulesOptions access_rules_options = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AccessRulesOptionsOrBuilder |
|
getAvailableVersion()
public String getAvailableVersion() Output only. The available version that this instance can be upgraded to.
Format: Lustre_YYYYMMDD.NN_pXX
optional string available_version = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The availableVersion. |
getAvailableVersionBytes()
public ByteString getAvailableVersionBytes() Output only. The available version that this instance can be upgraded to.
Format: Lustre_YYYYMMDD.NN_pXX
optional string available_version = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for availableVersion. |
getCapacityGib()
public long getCapacityGib() Required. The storage capacity of the instance in gibibytes (GiB). Allowed
values depend on the perUnitStorageThroughput. See Performance
tiers
for specific minimums, maximums, and step sizes for each performance tier.
int64 capacity_gib = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The capacityGib. |
getCreateTime()
public Timestamp getCreateTime()Output only. Timestamp when the instance was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Timestamp when the instance was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp when the instance was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public Instance getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Instance |
|
getDescription()
public String getDescription()Optional. A user-readable description of the instance.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. A user-readable description of the instance.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDynamicTierOptions()
public DynamicTierOptions getDynamicTierOptions()Optional. Immutable. Specifies whether the instance is on the Dynamic tier. See Performance tiers for more information.
.google.cloud.lustre.v1.DynamicTierOptions dynamic_tier_options = 24 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicTierOptions |
The dynamicTierOptions. |
getDynamicTierOptionsBuilder()
public DynamicTierOptions.Builder getDynamicTierOptionsBuilder()Optional. Immutable. Specifies whether the instance is on the Dynamic tier. See Performance tiers for more information.
.google.cloud.lustre.v1.DynamicTierOptions dynamic_tier_options = 24 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicTierOptions.Builder |
|
getDynamicTierOptionsOrBuilder()
public DynamicTierOptionsOrBuilder getDynamicTierOptionsOrBuilder()Optional. Immutable. Specifies whether the instance is on the Dynamic tier. See Performance tiers for more information.
.google.cloud.lustre.v1.DynamicTierOptions dynamic_tier_options = 24 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicTierOptionsOrBuilder |
|
getEffectiveVersion()
public String getEffectiveVersion() Output only. The effective version of the instance.
Format: Lustre_YYYYMMDD.NN_pXX
optional string effective_version = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The effectiveVersion. |
getEffectiveVersionBytes()
public ByteString getEffectiveVersionBytes() Output only. The effective version of the instance.
Format: Lustre_YYYYMMDD.NN_pXX
optional string effective_version = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for effectiveVersion. |
getFilesystem()
public String getFilesystem()Required. Immutable. The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
string filesystem = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The filesystem. |
getFilesystemBytes()
public ByteString getFilesystemBytes()Required. Immutable. The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
string filesystem = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filesystem. |
getGkeSupportEnabled() (deprecated)
public boolean getGkeSupportEnabled()Deprecated. google.cloud.lustre.v1.Instance.gke_support_enabled is deprecated. See google/cloud/lustre/v1/instance.proto;l=133
Optional. Deprecated: No longer required for GKE instance creation. Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
bool gke_support_enabled = 12 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The gkeSupportEnabled. |
getKmsKey()
public String getKmsKey()Optional. Immutable. The Cloud KMS key name to use for data encryption. If not set, the instance will use Google-managed encryption keys. If set, the instance will use customer-managed encryption keys. The key must be in the same region as the instance. The key format is: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}
string kms_key = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The kmsKey. |
getKmsKeyBytes()
public ByteString getKmsKeyBytes()Optional. Immutable. The Cloud KMS key name to use for data encryption. If not set, the instance will use Google-managed encryption keys. If set, the instance will use customer-managed encryption keys. The key must be in the same region as the instance. The key format is: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}
string kms_key = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kmsKey. |
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()Optional. Labels as key value pairs.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()Optional. Labels as key value pairs.
map<string, string> labels = 9 [(.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 as key value pairs.
map<string, string> labels = 9 [(.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 as key value pairs.
map<string, string> labels = 9 [(.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 to determine when to allow or exclude the instance from maintenance updates.
.google.cloud.lustre.v1.MaintenancePolicy maintenance_policy = 20 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MaintenancePolicy |
The maintenancePolicy. |
getMaintenancePolicyBuilder()
public MaintenancePolicy.Builder getMaintenancePolicyBuilder()Optional. The maintenance policy for the instance to determine when to allow or exclude the instance from maintenance updates.
.google.cloud.lustre.v1.MaintenancePolicy maintenance_policy = 20 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MaintenancePolicy.Builder |
|
getMaintenancePolicyOrBuilder()
public MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()Optional. The maintenance policy for the instance to determine when to allow or exclude the instance from maintenance updates.
.google.cloud.lustre.v1.MaintenancePolicy maintenance_policy = 20 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MaintenancePolicyOrBuilder |
|
getMountPoint()
public String getMountPoint() Output only. Mount point of the instance in the format
IP_ADDRESS@tcp:/FILESYSTEM.
string mount_point = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The mountPoint. |
getMountPointBytes()
public ByteString getMountPointBytes() Output only. Mount point of the instance in the format
IP_ADDRESS@tcp:/FILESYSTEM.
string mount_point = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mountPoint. |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String getName()Identifier. The name of the instance.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. The name of the instance.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNetwork()
public String getNetwork() Required. Immutable. The full name of the VPC network to which the instance
is connected. Must be in the format
projects/{project_id}/global/networks/{network_name}.
string network = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The network. |
getNetworkBytes()
public ByteString getNetworkBytes() Required. Immutable. The full name of the VPC network to which the instance
is connected. Must be in the format
projects/{project_id}/global/networks/{network_name}.
string network = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for network. |
getPerUnitStorageThroughput()
public long getPerUnitStorageThroughput()Optional. The throughput of the instance in MBps per TiB. Valid values are 0, 125, 250, 500, 1000. See Performance tiers for more information.
If the instance is using the Dynamic tier, this field must not be set or must be set to zero.
int64 per_unit_storage_throughput = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The perUnitStorageThroughput. |
getPlacementPolicy()
public String getPlacementPolicy()Optional. The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
string placement_policy = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The placementPolicy. |
getPlacementPolicyBytes()
public ByteString getPlacementPolicyBytes()Optional. The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
string placement_policy = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for placementPolicy. |
getState()
public Instance.State getState()Output only. The state of the instance.
.google.cloud.lustre.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.State |
The state. |
getStateReason()
public String getStateReason()Output only. The reason why the instance is in a certain state (e.g. SUSPENDED).
string state_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The stateReason. |
getStateReasonBytes()
public ByteString getStateReasonBytes()Output only. The reason why the instance is in a certain state (e.g. SUSPENDED).
string state_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for stateReason. |
getStateValue()
public int getStateValue()Output only. The state of the instance.
.google.cloud.lustre.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getTargetVersion()
public String getTargetVersion() Optional. The target version of the instance. Setting this field triggers a
self-service update to the specified version.
Format: Lustre_YYYYMMDD.NN_pXX or latest
optional string target_version = 34 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The targetVersion. |
getTargetVersionBytes()
public ByteString getTargetVersionBytes() Optional. The target version of the instance. Setting this field triggers a
self-service update to the specified version.
Format: Lustre_YYYYMMDD.NN_pXX or latest
optional string target_version = 34 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetVersion. |
getUid()
public String getUid()Output only. Unique ID of the resource. This is unrelated to the access rules which allow specifying the root squash uid.
string uid = 19 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The uid. |
getUidBytes()
public ByteString getUidBytes()Output only. Unique ID of the resource. This is unrelated to the access rules which allow specifying the root squash uid.
string uid = 19 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uid. |
getUpcomingMaintenanceSchedule()
public MaintenanceSchedule getUpcomingMaintenanceSchedule()Output only. Date and time of upcoming maintenance for the instance, if a maintenance policy is set.
.google.cloud.lustre.v1.MaintenanceSchedule upcoming_maintenance_schedule = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MaintenanceSchedule |
The upcomingMaintenanceSchedule. |
getUpcomingMaintenanceScheduleBuilder()
public MaintenanceSchedule.Builder getUpcomingMaintenanceScheduleBuilder()Output only. Date and time of upcoming maintenance for the instance, if a maintenance policy is set.
.google.cloud.lustre.v1.MaintenanceSchedule upcoming_maintenance_schedule = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MaintenanceSchedule.Builder |
|
getUpcomingMaintenanceScheduleOrBuilder()
public MaintenanceScheduleOrBuilder getUpcomingMaintenanceScheduleOrBuilder()Output only. Date and time of upcoming maintenance for the instance, if a maintenance policy is set.
.google.cloud.lustre.v1.MaintenanceSchedule upcoming_maintenance_schedule = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MaintenanceScheduleOrBuilder |
|
getUpdateTime()
public Timestamp getUpdateTime()Output only. Timestamp when the instance was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Timestamp when the instance was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp when the instance was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasAccessRulesOptions()
public boolean hasAccessRulesOptions()Optional. The access rules options for the instance.
.google.cloud.lustre.v1.AccessRulesOptions access_rules_options = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the accessRulesOptions field is set. |
hasAvailableVersion()
public boolean hasAvailableVersion() Output only. The available version that this instance can be upgraded to.
Format: Lustre_YYYYMMDD.NN_pXX
optional string available_version = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the availableVersion field is set. |
hasCreateTime()
public boolean hasCreateTime()Output only. Timestamp when the instance was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasDynamicTierOptions()
public boolean hasDynamicTierOptions()Optional. Immutable. Specifies whether the instance is on the Dynamic tier. See Performance tiers for more information.
.google.cloud.lustre.v1.DynamicTierOptions dynamic_tier_options = 24 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dynamicTierOptions field is set. |
hasEffectiveVersion()
public boolean hasEffectiveVersion() Output only. The effective version of the instance.
Format: Lustre_YYYYMMDD.NN_pXX
optional string effective_version = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the effectiveVersion field is set. |
hasMaintenancePolicy()
public boolean hasMaintenancePolicy()Optional. The maintenance policy for the instance to determine when to allow or exclude the instance from maintenance updates.
.google.cloud.lustre.v1.MaintenancePolicy maintenance_policy = 20 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maintenancePolicy field is set. |
hasTargetVersion()
public boolean hasTargetVersion() Optional. The target version of the instance. Setting this field triggers a
self-service update to the specified version.
Format: Lustre_YYYYMMDD.NN_pXX or latest
optional string target_version = 34 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the targetVersion field is set. |
hasUpcomingMaintenanceSchedule()
public boolean hasUpcomingMaintenanceSchedule()Output only. Date and time of upcoming maintenance for the instance, if a maintenance policy is set.
.google.cloud.lustre.v1.MaintenanceSchedule upcoming_maintenance_schedule = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the upcomingMaintenanceSchedule field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Timestamp when the instance was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.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 |
|
mergeAccessRulesOptions(AccessRulesOptions value)
public Instance.Builder mergeAccessRulesOptions(AccessRulesOptions value)Optional. The access rules options for the instance.
.google.cloud.lustre.v1.AccessRulesOptions access_rules_options = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AccessRulesOptions |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeCreateTime(Timestamp value)
public Instance.Builder mergeCreateTime(Timestamp value)Output only. Timestamp when the instance was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeDynamicTierOptions(DynamicTierOptions value)
public Instance.Builder mergeDynamicTierOptions(DynamicTierOptions value)Optional. Immutable. Specifies whether the instance is on the Dynamic tier. See Performance tiers for more information.
.google.cloud.lustre.v1.DynamicTierOptions dynamic_tier_options = 24 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DynamicTierOptions |
| 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 |
|
mergeMaintenancePolicy(MaintenancePolicy value)
public Instance.Builder mergeMaintenancePolicy(MaintenancePolicy value)Optional. The maintenance policy for the instance to determine when to allow or exclude the instance from maintenance updates.
.google.cloud.lustre.v1.MaintenancePolicy maintenance_policy = 20 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
MaintenancePolicy |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeUpcomingMaintenanceSchedule(MaintenanceSchedule value)
public Instance.Builder mergeUpcomingMaintenanceSchedule(MaintenanceSchedule value)Output only. Date and time of upcoming maintenance for the instance, if a maintenance policy is set.
.google.cloud.lustre.v1.MaintenanceSchedule upcoming_maintenance_schedule = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
MaintenanceSchedule |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeUpdateTime(Timestamp value)
public Instance.Builder mergeUpdateTime(Timestamp value)Output only. Timestamp when the instance was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
putAllLabels(Map<String,String> values)
public Instance.Builder putAllLabels(Map<String,String> values)Optional. Labels as key value pairs.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
putLabels(String key, String value)
public Instance.Builder putLabels(String key, String value)Optional. Labels as key value pairs.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
removeLabels(String key)
public Instance.Builder removeLabels(String key)Optional. Labels as key value pairs.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setAccessRulesOptions(AccessRulesOptions value)
public Instance.Builder setAccessRulesOptions(AccessRulesOptions value)Optional. The access rules options for the instance.
.google.cloud.lustre.v1.AccessRulesOptions access_rules_options = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AccessRulesOptions |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setAccessRulesOptions(AccessRulesOptions.Builder builderForValue)
public Instance.Builder setAccessRulesOptions(AccessRulesOptions.Builder builderForValue)Optional. The access rules options for the instance.
.google.cloud.lustre.v1.AccessRulesOptions access_rules_options = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AccessRulesOptions.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setAvailableVersion(String value)
public Instance.Builder setAvailableVersion(String value) Output only. The available version that this instance can be upgraded to.
Format: Lustre_YYYYMMDD.NN_pXX
optional string available_version = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe availableVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setAvailableVersionBytes(ByteString value)
public Instance.Builder setAvailableVersionBytes(ByteString value) Output only. The available version that this instance can be upgraded to.
Format: Lustre_YYYYMMDD.NN_pXX
optional string available_version = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for availableVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setCapacityGib(long value)
public Instance.Builder setCapacityGib(long value) Required. The storage capacity of the instance in gibibytes (GiB). Allowed
values depend on the perUnitStorageThroughput. See Performance
tiers
for specific minimums, maximums, and step sizes for each performance tier.
int64 capacity_gib = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe capacityGib to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public Instance.Builder setCreateTime(Timestamp value)Output only. Timestamp when the instance was created.
.google.protobuf.Timestamp create_time = 6 [(.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. Timestamp when the instance was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setDescription(String value)
public Instance.Builder setDescription(String value)Optional. A user-readable description of the instance.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Instance.Builder setDescriptionBytes(ByteString value)Optional. A user-readable description of the instance.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setDynamicTierOptions(DynamicTierOptions value)
public Instance.Builder setDynamicTierOptions(DynamicTierOptions value)Optional. Immutable. Specifies whether the instance is on the Dynamic tier. See Performance tiers for more information.
.google.cloud.lustre.v1.DynamicTierOptions dynamic_tier_options = 24 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DynamicTierOptions |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setDynamicTierOptions(DynamicTierOptions.Builder builderForValue)
public Instance.Builder setDynamicTierOptions(DynamicTierOptions.Builder builderForValue)Optional. Immutable. Specifies whether the instance is on the Dynamic tier. See Performance tiers for more information.
.google.cloud.lustre.v1.DynamicTierOptions dynamic_tier_options = 24 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DynamicTierOptions.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setEffectiveVersion(String value)
public Instance.Builder setEffectiveVersion(String value) Output only. The effective version of the instance.
Format: Lustre_YYYYMMDD.NN_pXX
optional string effective_version = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe effectiveVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setEffectiveVersionBytes(ByteString value)
public Instance.Builder setEffectiveVersionBytes(ByteString value) Output only. The effective version of the instance.
Format: Lustre_YYYYMMDD.NN_pXX
optional string effective_version = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for effectiveVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setFilesystem(String value)
public Instance.Builder setFilesystem(String value)Required. Immutable. The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
string filesystem = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filesystem to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setFilesystemBytes(ByteString value)
public Instance.Builder setFilesystemBytes(ByteString value)Required. Immutable. The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
string filesystem = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filesystem to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setGkeSupportEnabled(boolean value) (deprecated)
public Instance.Builder setGkeSupportEnabled(boolean value)Deprecated. google.cloud.lustre.v1.Instance.gke_support_enabled is deprecated. See google/cloud/lustre/v1/instance.proto;l=133
Optional. Deprecated: No longer required for GKE instance creation. Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
bool gke_support_enabled = 12 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe gkeSupportEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setKmsKey(String value)
public Instance.Builder setKmsKey(String value)Optional. Immutable. The Cloud KMS key name to use for data encryption. If not set, the instance will use Google-managed encryption keys. If set, the instance will use customer-managed encryption keys. The key must be in the same region as the instance. The key format is: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}
string kms_key = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kmsKey to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setKmsKeyBytes(ByteString value)
public Instance.Builder setKmsKeyBytes(ByteString value)Optional. Immutable. The Cloud KMS key name to use for data encryption. If not set, the instance will use Google-managed encryption keys. If set, the instance will use customer-managed encryption keys. The key must be in the same region as the instance. The key format is: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}
string kms_key = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kmsKey to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setMaintenancePolicy(MaintenancePolicy value)
public Instance.Builder setMaintenancePolicy(MaintenancePolicy value)Optional. The maintenance policy for the instance to determine when to allow or exclude the instance from maintenance updates.
.google.cloud.lustre.v1.MaintenancePolicy maintenance_policy = 20 [(.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 to determine when to allow or exclude the instance from maintenance updates.
.google.cloud.lustre.v1.MaintenancePolicy maintenance_policy = 20 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MaintenancePolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setMountPoint(String value)
public Instance.Builder setMountPoint(String value) Output only. Mount point of the instance in the format
IP_ADDRESS@tcp:/FILESYSTEM.
string mount_point = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe mountPoint to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setMountPointBytes(ByteString value)
public Instance.Builder setMountPointBytes(ByteString value) Output only. Mount point of the instance in the format
IP_ADDRESS@tcp:/FILESYSTEM.
string mount_point = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for mountPoint to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setName(String value)
public Instance.Builder setName(String value)Identifier. The name of the instance.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Instance.Builder setNameBytes(ByteString value)Identifier. The name of the instance.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setNetwork(String value)
public Instance.Builder setNetwork(String value) Required. Immutable. The full name of the VPC network to which the instance
is connected. Must be in the format
projects/{project_id}/global/networks/{network_name}.
string network = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe network to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setNetworkBytes(ByteString value)
public Instance.Builder setNetworkBytes(ByteString value) Required. Immutable. The full name of the VPC network to which the instance
is connected. Must be in the format
projects/{project_id}/global/networks/{network_name}.
string network = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for network to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setPerUnitStorageThroughput(long value)
public Instance.Builder setPerUnitStorageThroughput(long value)Optional. The throughput of the instance in MBps per TiB. Valid values are 0, 125, 250, 500, 1000. See Performance tiers for more information.
If the instance is using the Dynamic tier, this field must not be set or must be set to zero.
int64 per_unit_storage_throughput = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe perUnitStorageThroughput to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setPlacementPolicy(String value)
public Instance.Builder setPlacementPolicy(String value)Optional. The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
string placement_policy = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe placementPolicy to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setPlacementPolicyBytes(ByteString value)
public Instance.Builder setPlacementPolicyBytes(ByteString value)Optional. The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
string placement_policy = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for placementPolicy to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setState(Instance.State value)
public Instance.Builder setState(Instance.State value)Output only. The state of the instance.
.google.cloud.lustre.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Instance.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setStateReason(String value)
public Instance.Builder setStateReason(String value)Output only. The reason why the instance is in a certain state (e.g. SUSPENDED).
string state_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe stateReason to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setStateReasonBytes(ByteString value)
public Instance.Builder setStateReasonBytes(ByteString value)Output only. The reason why the instance is in a certain state (e.g. SUSPENDED).
string state_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for stateReason to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setStateValue(int value)
public Instance.Builder setStateValue(int value)Output only. The state of the instance.
.google.cloud.lustre.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setTargetVersion(String value)
public Instance.Builder setTargetVersion(String value) Optional. The target version of the instance. Setting this field triggers a
self-service update to the specified version.
Format: Lustre_YYYYMMDD.NN_pXX or latest
optional string target_version = 34 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setTargetVersionBytes(ByteString value)
public Instance.Builder setTargetVersionBytes(ByteString value) Optional. The target version of the instance. Setting this field triggers a
self-service update to the specified version.
Format: Lustre_YYYYMMDD.NN_pXX or latest
optional string target_version = 34 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setUid(String value)
public Instance.Builder setUid(String value)Output only. Unique ID of the resource. This is unrelated to the access rules which allow specifying the root squash uid.
string uid = 19 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uid to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setUidBytes(ByteString value)
public Instance.Builder setUidBytes(ByteString value)Output only. Unique ID of the resource. This is unrelated to the access rules which allow specifying the root squash uid.
string uid = 19 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uid to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setUpcomingMaintenanceSchedule(MaintenanceSchedule value)
public Instance.Builder setUpcomingMaintenanceSchedule(MaintenanceSchedule value)Output only. Date and time of upcoming maintenance for the instance, if a maintenance policy is set.
.google.cloud.lustre.v1.MaintenanceSchedule upcoming_maintenance_schedule = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
MaintenanceSchedule |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setUpcomingMaintenanceSchedule(MaintenanceSchedule.Builder builderForValue)
public Instance.Builder setUpcomingMaintenanceSchedule(MaintenanceSchedule.Builder builderForValue)Output only. Date and time of upcoming maintenance for the instance, if a maintenance policy is set.
.google.cloud.lustre.v1.MaintenanceSchedule upcoming_maintenance_schedule = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MaintenanceSchedule.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setUpdateTime(Timestamp value)
public Instance.Builder setUpdateTime(Timestamp value)Output only. Timestamp when the instance was last updated.
.google.protobuf.Timestamp update_time = 7 [(.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. Timestamp when the instance was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|