public static final class Instance.Builder extends GeneratedMessageV3.Builder<Instance.Builder> implements InstanceOrBuilderA Managed Lustre instance.
Protobuf type google.cloud.lustre.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
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 |
|
clearCapacityGib()
public Instance.Builder clearCapacityGib() Required. The storage capacity of the instance in gibibytes (GiB). Allowed
values are from 18000 to 954000, in increments of 9000.
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. |
clearField(Descriptors.FieldDescriptor field)
public Instance.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
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()
public Instance.Builder clearGkeSupportEnabled()Optional. Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
bool gke_support_enabled = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearLabels()
public Instance.Builder clearLabels()| 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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearPerUnitStorageThroughput()
public Instance.Builder clearPerUnitStorageThroughput()Required. The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
int64 per_unit_storage_throughput = 11 [(.google.api.field_behavior) = REQUIRED];
| 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. |
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 |
|
clone()
public Instance.Builder clone()| 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 |
|
getCapacityGib()
public long getCapacityGib() Required. The storage capacity of the instance in gibibytes (GiB). Allowed
values are from 18000 to 954000, in increments of 9000.
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 |
|
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()
public boolean getGkeSupportEnabled()Optional. Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
bool gke_support_enabled = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The gkeSupportEnabled. |
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 |
|
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()Required. The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
int64 per_unit_storage_throughput = 11 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The perUnitStorageThroughput. |
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. |
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. |
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 |
|
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. |
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public Instance.Builder mergeCreateTime(Timestamp value)Output only. 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 |
|
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 |
|
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. 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 |
|
setCapacityGib(long value)
public Instance.Builder setCapacityGib(long value) Required. The storage capacity of the instance in gibibytes (GiB). Allowed
values are from 18000 to 954000, in increments of 9000.
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. |
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 |
|
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)
public Instance.Builder setGkeSupportEnabled(boolean value)Optional. Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
bool gke_support_enabled = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe gkeSupportEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
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)Required. The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
int64 per_unit_storage_throughput = 11 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe perUnitStorageThroughput to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
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 |
|
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. |
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. |
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. 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 |
|