Class Instance.Builder (0.39.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass Instance.BuilderextendsGeneratedMessageV3.Builder<Instance.Builder>implementsInstanceOrBuilderA Parallelstore instance.
Protobuf type google.cloud.parallelstore.v1beta.Instance
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.BuilderImplements
InstanceOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAccessPoints(String value)
publicInstance.BuilderaddAccessPoints(Stringvalue)Output only. A list of IPv4 addresses used for client side configuration.
repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
String The accessPoints to add. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
addAccessPointsBytes(ByteString value)
publicInstance.BuilderaddAccessPointsBytes(ByteStringvalue)Output only. A list of IPv4 addresses used for client side configuration.
repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes of the accessPoints to add. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
addAllAccessPoints(Iterable<String> values)
publicInstance.BuilderaddAllAccessPoints(Iterable<String>values)Output only. A list of IPv4 addresses used for client side configuration.
repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The accessPoints to add. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicInstance.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
build()
publicInstancebuild()| Returns | |
|---|---|
| Type | Description |
Instance |
|
buildPartial()
publicInstancebuildPartial()| Returns | |
|---|---|
| Type | Description |
Instance |
|
clear()
publicInstance.Builderclear()| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearAccessPoints()
publicInstance.BuilderclearAccessPoints()Output only. A list of IPv4 addresses used for client side configuration.
repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearCapacityGib()
publicInstance.BuilderclearCapacityGib()Required. Immutable. The instance's storage capacity in Gibibytes (GiB). Allowed values are between 12000 and 100000, in multiples of 4000; e.g., 12000, 16000, 20000, ...
int64 capacity_gib = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearCreateTime()
publicInstance.BuilderclearCreateTime()Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearDaosVersion() (deprecated)
publicInstance.BuilderclearDaosVersion()Deprecated. google.cloud.parallelstore.v1beta.Instance.daos_version is deprecated. See google/cloud/parallelstore/v1beta/parallelstore.proto;l=274
Output only. Deprecated: The version of DAOS software running in the instance.
string daos_version = 9 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearDeploymentType()
publicInstance.BuilderclearDeploymentType()Optional. Immutable. The deployment type of the instance. Allowed values are:
SCRATCH: the instance is a scratch instance.PERSISTENT: the instance is a persistent instance.
.google.cloud.parallelstore.v1beta.DeploymentType deployment_type = 17 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearDescription()
publicInstance.BuilderclearDescription()Optional. The description of the instance. 2048 characters or less.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearDirectoryStripeLevel()
publicInstance.BuilderclearDirectoryStripeLevel()Optional. Immutable. Stripe level for directories. Allowed values are:
DIRECTORY_STRIPE_LEVEL_MIN: recommended when directories contain a small number of files.DIRECTORY_STRIPE_LEVEL_BALANCED: balances performance for workloads involving a mix of small and large directories.DIRECTORY_STRIPE_LEVEL_MAX: recommended for directories with a large number of files.
.google.cloud.parallelstore.v1beta.DirectoryStripeLevel directory_stripe_level = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearEffectiveReservedIpRange()
publicInstance.BuilderclearEffectiveReservedIpRange()Output only. Immutable. The ID of the IP address range being used by the instance's VPC network. This field is populated by the service and contains the value currently used by the service.
string effective_reserved_ip_range = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicInstance.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearFileStripeLevel()
publicInstance.BuilderclearFileStripeLevel()Optional. Immutable. Stripe level for files. Allowed values are:
FILE_STRIPE_LEVEL_MIN: offers the best performance for small size files.FILE_STRIPE_LEVEL_BALANCED: balances performance for workloads involving a mix of small and large files.FILE_STRIPE_LEVEL_MAX: higher throughput performance for larger files.
.google.cloud.parallelstore.v1beta.FileStripeLevel file_stripe_level = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearLabels()
publicInstance.BuilderclearLabels()| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearName()
publicInstance.BuilderclearName() Identifier. The resource name of the instance, in the format
projects/{project}/locations/{location}/instances/{instance_id}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearNetwork()
publicInstance.BuilderclearNetwork()Optional. Immutable. The name of the Compute Engine VPC network to which the instance is connected.
string network = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicInstance.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearReservedIpRange()
publicInstance.BuilderclearReservedIpRange()Optional. Immutable. The ID of the IP address range being used by the instance's VPC network. See Configure a VPC network. If no ID is provided, all ranges are considered.
string reserved_ip_range = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearState()
publicInstance.BuilderclearState()Output only. The instance state.
.google.cloud.parallelstore.v1beta.Instance.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearUpdateTime()
publicInstance.BuilderclearUpdateTime()Output only. The time when the instance was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clone()
publicInstance.Builderclone()| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
containsLabels(String key)
publicbooleancontainsLabels(Stringkey)Optional. Cloud Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. See https://cloud.google.com/resource-manager/docs/labels-overview for details.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAccessPoints(int index)
publicStringgetAccessPoints(intindex)Output only. A list of IPv4 addresses used for client side configuration.
repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The accessPoints at the given index. |
getAccessPointsBytes(int index)
publicByteStringgetAccessPointsBytes(intindex)Output only. A list of IPv4 addresses used for client side configuration.
repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the accessPoints at the given index. |
getAccessPointsCount()
publicintgetAccessPointsCount()Output only. A list of IPv4 addresses used for client side configuration.
repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of accessPoints. |
getAccessPointsList()
publicProtocolStringListgetAccessPointsList()Output only. A list of IPv4 addresses used for client side configuration.
repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the accessPoints. |
getCapacityGib()
publiclonggetCapacityGib()Required. Immutable. The instance's storage capacity in Gibibytes (GiB). Allowed values are between 12000 and 100000, in multiples of 4000; e.g., 12000, 16000, 20000, ...
int64 capacity_gib = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The capacityGib. |
getCreateTime()
publicTimestampgetCreateTime()Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
publicTimestamp.BuildergetCreateTimeBuilder()Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
publicTimestampOrBuildergetCreateTimeOrBuilder()Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDaosVersion() (deprecated)
publicStringgetDaosVersion()Deprecated. google.cloud.parallelstore.v1beta.Instance.daos_version is deprecated. See google/cloud/parallelstore/v1beta/parallelstore.proto;l=274
Output only. Deprecated: The version of DAOS software running in the instance.
string daos_version = 9 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The daosVersion. |
getDaosVersionBytes() (deprecated)
publicByteStringgetDaosVersionBytes()Deprecated. google.cloud.parallelstore.v1beta.Instance.daos_version is deprecated. See google/cloud/parallelstore/v1beta/parallelstore.proto;l=274
Output only. Deprecated: The version of DAOS software running in the instance.
string daos_version = 9 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for daosVersion. |
getDefaultInstanceForType()
publicInstancegetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Instance |
|
getDeploymentType()
publicDeploymentTypegetDeploymentType()Optional. Immutable. The deployment type of the instance. Allowed values are:
SCRATCH: the instance is a scratch instance.PERSISTENT: the instance is a persistent instance.
.google.cloud.parallelstore.v1beta.DeploymentType deployment_type = 17 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeploymentType |
The deploymentType. |
getDeploymentTypeValue()
publicintgetDeploymentTypeValue()Optional. Immutable. The deployment type of the instance. Allowed values are:
SCRATCH: the instance is a scratch instance.PERSISTENT: the instance is a persistent instance.
.google.cloud.parallelstore.v1beta.DeploymentType deployment_type = 17 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for deploymentType. |
getDescription()
publicStringgetDescription()Optional. The description of the instance. 2048 characters or less.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
publicByteStringgetDescriptionBytes()Optional. The description of the instance. 2048 characters or less.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDirectoryStripeLevel()
publicDirectoryStripeLevelgetDirectoryStripeLevel()Optional. Immutable. Stripe level for directories. Allowed values are:
DIRECTORY_STRIPE_LEVEL_MIN: recommended when directories contain a small number of files.DIRECTORY_STRIPE_LEVEL_BALANCED: balances performance for workloads involving a mix of small and large directories.DIRECTORY_STRIPE_LEVEL_MAX: recommended for directories with a large number of files.
.google.cloud.parallelstore.v1beta.DirectoryStripeLevel directory_stripe_level = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DirectoryStripeLevel |
The directoryStripeLevel. |
getDirectoryStripeLevelValue()
publicintgetDirectoryStripeLevelValue()Optional. Immutable. Stripe level for directories. Allowed values are:
DIRECTORY_STRIPE_LEVEL_MIN: recommended when directories contain a small number of files.DIRECTORY_STRIPE_LEVEL_BALANCED: balances performance for workloads involving a mix of small and large directories.DIRECTORY_STRIPE_LEVEL_MAX: recommended for directories with a large number of files.
.google.cloud.parallelstore.v1beta.DirectoryStripeLevel directory_stripe_level = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for directoryStripeLevel. |
getEffectiveReservedIpRange()
publicStringgetEffectiveReservedIpRange()Output only. Immutable. The ID of the IP address range being used by the instance's VPC network. This field is populated by the service and contains the value currently used by the service.
string effective_reserved_ip_range = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The effectiveReservedIpRange. |
getEffectiveReservedIpRangeBytes()
publicByteStringgetEffectiveReservedIpRangeBytes()Output only. Immutable. The ID of the IP address range being used by the instance's VPC network. This field is populated by the service and contains the value currently used by the service.
string effective_reserved_ip_range = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for effectiveReservedIpRange. |
getFileStripeLevel()
publicFileStripeLevelgetFileStripeLevel()Optional. Immutable. Stripe level for files. Allowed values are:
FILE_STRIPE_LEVEL_MIN: offers the best performance for small size files.FILE_STRIPE_LEVEL_BALANCED: balances performance for workloads involving a mix of small and large files.FILE_STRIPE_LEVEL_MAX: higher throughput performance for larger files.
.google.cloud.parallelstore.v1beta.FileStripeLevel file_stripe_level = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FileStripeLevel |
The fileStripeLevel. |
getFileStripeLevelValue()
publicintgetFileStripeLevelValue()Optional. Immutable. Stripe level for files. Allowed values are:
FILE_STRIPE_LEVEL_MIN: offers the best performance for small size files.FILE_STRIPE_LEVEL_BALANCED: balances performance for workloads involving a mix of small and large files.FILE_STRIPE_LEVEL_MAX: higher throughput performance for larger files.
.google.cloud.parallelstore.v1beta.FileStripeLevel file_stripe_level = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for fileStripeLevel. |
getLabels() (deprecated)
publicMap<String,String>getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
publicintgetLabelsCount()Optional. Cloud Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. See https://cloud.google.com/resource-manager/docs/labels-overview for details.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
publicMap<String,String>getLabelsMap()Optional. Cloud Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. See https://cloud.google.com/resource-manager/docs/labels-overview for details.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)Optional. Cloud Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. See https://cloud.google.com/resource-manager/docs/labels-overview for details.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
publicStringgetLabelsOrThrow(Stringkey)Optional. Cloud Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. See https://cloud.google.com/resource-manager/docs/labels-overview for details.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableLabels() (deprecated)
publicMap<String,String>getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
publicStringgetName() Identifier. The resource name of the instance, in the format
projects/{project}/locations/{location}/instances/{instance_id}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
publicByteStringgetNameBytes() Identifier. The resource name of the instance, in the format
projects/{project}/locations/{location}/instances/{instance_id}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNetwork()
publicStringgetNetwork()Optional. Immutable. The name of the Compute Engine VPC network to which the instance is connected.
string network = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The network. |
getNetworkBytes()
publicByteStringgetNetworkBytes()Optional. Immutable. The name of the Compute Engine VPC network to which the instance is connected.
string network = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for network. |
getReservedIpRange()
publicStringgetReservedIpRange()Optional. Immutable. The ID of the IP address range being used by the instance's VPC network. See Configure a VPC network. If no ID is provided, all ranges are considered.
string reserved_ip_range = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The reservedIpRange. |
getReservedIpRangeBytes()
publicByteStringgetReservedIpRangeBytes()Optional. Immutable. The ID of the IP address range being used by the instance's VPC network. See Configure a VPC network. If no ID is provided, all ranges are considered.
string reserved_ip_range = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reservedIpRange. |
getState()
publicInstance.StategetState()Output only. The instance state.
.google.cloud.parallelstore.v1beta.Instance.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.State |
The state. |
getStateValue()
publicintgetStateValue()Output only. The instance state.
.google.cloud.parallelstore.v1beta.Instance.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
publicTimestampgetUpdateTime()Output only. The time when the instance was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
publicTimestamp.BuildergetUpdateTimeBuilder()Output only. The time when the instance was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
publicTimestampOrBuildergetUpdateTimeOrBuilder()Output only. The time when the instance was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
publicbooleanhasCreateTime()Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasUpdateTime()
publicbooleanhasUpdateTime()Output only. The time when the instance was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMutableMapFieldReflection(intnumber)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
publicInstance.BuildermergeCreateTime(Timestampvalue)Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeFrom(Instance other)
publicInstance.BuildermergeFrom(Instanceother)| Parameter | |
|---|---|
| Name | Description |
other |
Instance |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicInstance.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicInstance.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalInstance.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeUpdateTime(Timestamp value)
publicInstance.BuildermergeUpdateTime(Timestampvalue)Output only. The time when the instance was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
putAllLabels(Map<String,String> values)
publicInstance.BuilderputAllLabels(Map<String,String>values)Optional. Cloud Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. See https://cloud.google.com/resource-manager/docs/labels-overview for details.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
putLabels(String key, String value)
publicInstance.BuilderputLabels(Stringkey,Stringvalue)Optional. Cloud Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. See https://cloud.google.com/resource-manager/docs/labels-overview for details.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
removeLabels(String key)
publicInstance.BuilderremoveLabels(Stringkey)Optional. Cloud Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. See https://cloud.google.com/resource-manager/docs/labels-overview for details.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setAccessPoints(int index, String value)
publicInstance.BuildersetAccessPoints(intindex,Stringvalue)Output only. A list of IPv4 addresses used for client side configuration.
repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int The index to set the value at. |
value |
String The accessPoints to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setCapacityGib(long value)
publicInstance.BuildersetCapacityGib(longvalue)Required. Immutable. The instance's storage capacity in Gibibytes (GiB). Allowed values are between 12000 and 100000, in multiples of 4000; e.g., 12000, 16000, 20000, ...
int64 capacity_gib = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
long The capacityGib to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
publicInstance.BuildersetCreateTime(Timestampvalue)Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
publicInstance.BuildersetCreateTime(Timestamp.BuilderbuilderForValue)Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setDaosVersion(String value) (deprecated)
publicInstance.BuildersetDaosVersion(Stringvalue)Deprecated. google.cloud.parallelstore.v1beta.Instance.daos_version is deprecated. See google/cloud/parallelstore/v1beta/parallelstore.proto;l=274
Output only. Deprecated: The version of DAOS software running in the instance.
string daos_version = 9 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
String The daosVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setDaosVersionBytes(ByteString value) (deprecated)
publicInstance.BuildersetDaosVersionBytes(ByteStringvalue)Deprecated. google.cloud.parallelstore.v1beta.Instance.daos_version is deprecated. See google/cloud/parallelstore/v1beta/parallelstore.proto;l=274
Output only. Deprecated: The version of DAOS software running in the instance.
string daos_version = 9 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for daosVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setDeploymentType(DeploymentType value)
publicInstance.BuildersetDeploymentType(DeploymentTypevalue)Optional. Immutable. The deployment type of the instance. Allowed values are:
SCRATCH: the instance is a scratch instance.PERSISTENT: the instance is a persistent instance.
.google.cloud.parallelstore.v1beta.DeploymentType deployment_type = 17 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DeploymentType The deploymentType to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setDeploymentTypeValue(int value)
publicInstance.BuildersetDeploymentTypeValue(intvalue)Optional. Immutable. The deployment type of the instance. Allowed values are:
SCRATCH: the instance is a scratch instance.PERSISTENT: the instance is a persistent instance.
.google.cloud.parallelstore.v1beta.DeploymentType deployment_type = 17 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
int The enum numeric value on the wire for deploymentType to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setDescription(String value)
publicInstance.BuildersetDescription(Stringvalue)Optional. The description of the instance. 2048 characters or less.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
String The description to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
publicInstance.BuildersetDescriptionBytes(ByteStringvalue)Optional. The description of the instance. 2048 characters or less.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setDirectoryStripeLevel(DirectoryStripeLevel value)
publicInstance.BuildersetDirectoryStripeLevel(DirectoryStripeLevelvalue)Optional. Immutable. Stripe level for directories. Allowed values are:
DIRECTORY_STRIPE_LEVEL_MIN: recommended when directories contain a small number of files.DIRECTORY_STRIPE_LEVEL_BALANCED: balances performance for workloads involving a mix of small and large directories.DIRECTORY_STRIPE_LEVEL_MAX: recommended for directories with a large number of files.
.google.cloud.parallelstore.v1beta.DirectoryStripeLevel directory_stripe_level = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DirectoryStripeLevel The directoryStripeLevel to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setDirectoryStripeLevelValue(int value)
publicInstance.BuildersetDirectoryStripeLevelValue(intvalue)Optional. Immutable. Stripe level for directories. Allowed values are:
DIRECTORY_STRIPE_LEVEL_MIN: recommended when directories contain a small number of files.DIRECTORY_STRIPE_LEVEL_BALANCED: balances performance for workloads involving a mix of small and large directories.DIRECTORY_STRIPE_LEVEL_MAX: recommended for directories with a large number of files.
.google.cloud.parallelstore.v1beta.DirectoryStripeLevel directory_stripe_level = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
int The enum numeric value on the wire for directoryStripeLevel to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setEffectiveReservedIpRange(String value)
publicInstance.BuildersetEffectiveReservedIpRange(Stringvalue)Output only. Immutable. The ID of the IP address range being used by the instance's VPC network. This field is populated by the service and contains the value currently used by the service.
string effective_reserved_ip_range = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
String The effectiveReservedIpRange to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setEffectiveReservedIpRangeBytes(ByteString value)
publicInstance.BuildersetEffectiveReservedIpRangeBytes(ByteStringvalue)Output only. Immutable. The ID of the IP address range being used by the instance's VPC network. This field is populated by the service and contains the value currently used by the service.
string effective_reserved_ip_range = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for effectiveReservedIpRange to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicInstance.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setFileStripeLevel(FileStripeLevel value)
publicInstance.BuildersetFileStripeLevel(FileStripeLevelvalue)Optional. Immutable. Stripe level for files. Allowed values are:
FILE_STRIPE_LEVEL_MIN: offers the best performance for small size files.FILE_STRIPE_LEVEL_BALANCED: balances performance for workloads involving a mix of small and large files.FILE_STRIPE_LEVEL_MAX: higher throughput performance for larger files.
.google.cloud.parallelstore.v1beta.FileStripeLevel file_stripe_level = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FileStripeLevel The fileStripeLevel to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setFileStripeLevelValue(int value)
publicInstance.BuildersetFileStripeLevelValue(intvalue)Optional. Immutable. Stripe level for files. Allowed values are:
FILE_STRIPE_LEVEL_MIN: offers the best performance for small size files.FILE_STRIPE_LEVEL_BALANCED: balances performance for workloads involving a mix of small and large files.FILE_STRIPE_LEVEL_MAX: higher throughput performance for larger files.
.google.cloud.parallelstore.v1beta.FileStripeLevel file_stripe_level = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
int The enum numeric value on the wire for fileStripeLevel to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setName(String value)
publicInstance.BuildersetName(Stringvalue) Identifier. The resource name of the instance, in the format
projects/{project}/locations/{location}/instances/{instance_id}.
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)
publicInstance.BuildersetNameBytes(ByteStringvalue) Identifier. The resource name of the instance, in the format
projects/{project}/locations/{location}/instances/{instance_id}.
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. |
setNetwork(String value)
publicInstance.BuildersetNetwork(Stringvalue)Optional. Immutable. The name of the Compute Engine VPC network to which the instance is connected.
string network = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
String The network to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setNetworkBytes(ByteString value)
publicInstance.BuildersetNetworkBytes(ByteStringvalue)Optional. Immutable. The name of the Compute Engine VPC network to which the instance is connected.
string network = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for network to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicInstance.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setReservedIpRange(String value)
publicInstance.BuildersetReservedIpRange(Stringvalue)Optional. Immutable. The ID of the IP address range being used by the instance's VPC network. See Configure a VPC network. If no ID is provided, all ranges are considered.
string reserved_ip_range = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
String The reservedIpRange to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setReservedIpRangeBytes(ByteString value)
publicInstance.BuildersetReservedIpRangeBytes(ByteStringvalue)Optional. Immutable. The ID of the IP address range being used by the instance's VPC network. See Configure a VPC network. If no ID is provided, all ranges are considered.
string reserved_ip_range = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for reservedIpRange to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setState(Instance.State value)
publicInstance.BuildersetState(Instance.Statevalue)Output only. The instance state.
.google.cloud.parallelstore.v1beta.Instance.State state = 3 [(.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. |
setStateValue(int value)
publicInstance.BuildersetStateValue(intvalue)Output only. The instance state.
.google.cloud.parallelstore.v1beta.Instance.State state = 3 [(.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. |
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalInstance.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setUpdateTime(Timestamp value)
publicInstance.BuildersetUpdateTime(Timestampvalue)Output only. The time when the instance was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
publicInstance.BuildersetUpdateTime(Timestamp.BuilderbuilderForValue)Output only. The time when the instance was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|