Class Instance.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
com.google.cloud.parallelstore.v1.Instance.Builder
All Implemented Interfaces:
InstanceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Instance

public static final class Instance.Builder extends com.google.protobuf.GeneratedMessage.Builder<Instance.Builder> implements InstanceOrBuilder
 A Parallelstore instance.
 
Protobuf type google.cloud.parallelstore.v1.Instance
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
    • clear

      public Instance.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
    • getDefaultInstanceForType

      public Instance getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Instance build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Instance buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Instance.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Builder>
    • mergeFrom

      public Instance.Builder mergeFrom(Instance other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
    • mergeFrom

      public Instance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       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];
      Specified by:
      getName in interface InstanceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       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];
      Specified by:
      getNameBytes in interface InstanceOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Instance.Builder setName(String value)
       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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Instance.Builder clearName()
       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:
      This builder for chaining.
    • setNameBytes

      public Instance.Builder setNameBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. The description of the instance. 2048 characters or less.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface InstanceOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. The description of the instance. 2048 characters or less.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface InstanceOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Instance.Builder setDescription(String value)
       Optional. The description of the instance. 2048 characters or less.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Instance.Builder clearDescription()
       Optional. The description of the instance. 2048 characters or less.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Instance.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. The description of the instance. 2048 characters or less.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Output only. The instance state.
       
      .google.cloud.parallelstore.v1.Instance.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Instance.Builder setStateValue(int value)
       Output only. The instance state.
       
      .google.cloud.parallelstore.v1.Instance.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public Instance.State getState()
       Output only. The instance state.
       
      .google.cloud.parallelstore.v1.Instance.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface InstanceOrBuilder
      Returns:
      The state.
    • setState

      public Instance.Builder setState(Instance.State value)
       Output only. The instance state.
       
      .google.cloud.parallelstore.v1.Instance.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Instance.Builder clearState()
       Output only. The instance state.
       
      .google.cloud.parallelstore.v1.Instance.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time when the instance was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface InstanceOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time when the instance was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface InstanceOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Instance.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the instance was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Instance.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the instance was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Instance.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the instance was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Instance.Builder clearCreateTime()
       Output only. The time when the instance was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time when the instance was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time when the instance was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface InstanceOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time when the instance was updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface InstanceOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time when the instance was updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface InstanceOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Instance.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the instance was updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Instance.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the instance was updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Instance.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the instance was updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Instance.Builder clearUpdateTime()
       Output only. The time when the instance was updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time when the instance was updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time when the instance was updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface InstanceOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: InstanceOrBuilder
       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];
      Specified by:
      getLabelsCount in interface InstanceOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       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];
      Specified by:
      containsLabels in interface InstanceOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface InstanceOrBuilder
    • getLabelsMap

      public Map<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];
      Specified by:
      getLabelsMap in interface InstanceOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       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];
      Specified by:
      getLabelsOrDefault in interface InstanceOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       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];
      Specified by:
      getLabelsOrThrow in interface InstanceOrBuilder
    • clearLabels

      public Instance.Builder clearLabels()
    • removeLabels

      public Instance.Builder removeLabels(String key)
       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];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Instance.Builder putLabels(String key, String value)
       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];
    • putAllLabels

      public Instance.Builder putAllLabels(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];
    • getCapacityGib

      public long getCapacityGib()
       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];
      Specified by:
      getCapacityGib in interface InstanceOrBuilder
      Returns:
      The capacityGib.
    • setCapacityGib

      public Instance.Builder setCapacityGib(long value)
       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];
      Parameters:
      value - The capacityGib to set.
      Returns:
      This builder for chaining.
    • clearCapacityGib

      public Instance.Builder clearCapacityGib()
       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:
      This builder for chaining.
    • getDaosVersion

      @Deprecated public String getDaosVersion()
      Deprecated.
      google.cloud.parallelstore.v1.Instance.daos_version is deprecated. See google/cloud/parallelstore/v1/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];
      Specified by:
      getDaosVersion in interface InstanceOrBuilder
      Returns:
      The daosVersion.
    • getDaosVersionBytes

      @Deprecated public com.google.protobuf.ByteString getDaosVersionBytes()
      Deprecated.
      google.cloud.parallelstore.v1.Instance.daos_version is deprecated. See google/cloud/parallelstore/v1/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];
      Specified by:
      getDaosVersionBytes in interface InstanceOrBuilder
      Returns:
      The bytes for daosVersion.
    • setDaosVersion

      @Deprecated public Instance.Builder setDaosVersion(String value)
      Deprecated.
      google.cloud.parallelstore.v1.Instance.daos_version is deprecated. See google/cloud/parallelstore/v1/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];
      Parameters:
      value - The daosVersion to set.
      Returns:
      This builder for chaining.
    • clearDaosVersion

      @Deprecated public Instance.Builder clearDaosVersion()
      Deprecated.
      google.cloud.parallelstore.v1.Instance.daos_version is deprecated. See google/cloud/parallelstore/v1/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:
      This builder for chaining.
    • setDaosVersionBytes

      @Deprecated public Instance.Builder setDaosVersionBytes(com.google.protobuf.ByteString value)
      Deprecated.
      google.cloud.parallelstore.v1.Instance.daos_version is deprecated. See google/cloud/parallelstore/v1/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];
      Parameters:
      value - The bytes for daosVersion to set.
      Returns:
      This builder for chaining.
    • getAccessPointsList

      public com.google.protobuf.ProtocolStringList getAccessPointsList()
       Output only. A list of IPv4 addresses used for client side configuration.
       
      repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAccessPointsList in interface InstanceOrBuilder
      Returns:
      A list containing the accessPoints.
    • getAccessPointsCount

      public int getAccessPointsCount()
       Output only. A list of IPv4 addresses used for client side configuration.
       
      repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAccessPointsCount in interface InstanceOrBuilder
      Returns:
      The count of accessPoints.
    • getAccessPoints

      public String getAccessPoints(int index)
       Output only. A list of IPv4 addresses used for client side configuration.
       
      repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAccessPoints in interface InstanceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The accessPoints at the given index.
    • getAccessPointsBytes

      public com.google.protobuf.ByteString getAccessPointsBytes(int index)
       Output only. A list of IPv4 addresses used for client side configuration.
       
      repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAccessPointsBytes in interface InstanceOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the accessPoints at the given index.
    • setAccessPoints

      public Instance.Builder setAccessPoints(int index, String value)
       Output only. A list of IPv4 addresses used for client side configuration.
       
      repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The accessPoints to set.
      Returns:
      This builder for chaining.
    • addAccessPoints

      public Instance.Builder addAccessPoints(String value)
       Output only. A list of IPv4 addresses used for client side configuration.
       
      repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The accessPoints to add.
      Returns:
      This builder for chaining.
    • addAllAccessPoints

      public Instance.Builder addAllAccessPoints(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];
      Parameters:
      values - The accessPoints to add.
      Returns:
      This builder for chaining.
    • clearAccessPoints

      public Instance.Builder clearAccessPoints()
       Output only. A list of IPv4 addresses used for client side configuration.
       
      repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • addAccessPointsBytes

      public Instance.Builder addAccessPointsBytes(com.google.protobuf.ByteString value)
       Output only. A list of IPv4 addresses used for client side configuration.
       
      repeated string access_points = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the accessPoints to add.
      Returns:
      This builder for chaining.
    • getNetwork

      public String getNetwork()
       Optional. Immutable. The name of the Compute Engine
       [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the
       instance is connected.
       
      string network = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getNetwork in interface InstanceOrBuilder
      Returns:
      The network.
    • getNetworkBytes

      public com.google.protobuf.ByteString getNetworkBytes()
       Optional. Immutable. The name of the Compute Engine
       [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the
       instance is connected.
       
      string network = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getNetworkBytes in interface InstanceOrBuilder
      Returns:
      The bytes for network.
    • setNetwork

      public Instance.Builder setNetwork(String value)
       Optional. Immutable. The name of the Compute Engine
       [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the
       instance is connected.
       
      string network = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The network to set.
      Returns:
      This builder for chaining.
    • clearNetwork

      public Instance.Builder clearNetwork()
       Optional. Immutable. The name of the Compute Engine
       [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the
       instance is connected.
       
      string network = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNetworkBytes

      public Instance.Builder setNetworkBytes(com.google.protobuf.ByteString value)
       Optional. Immutable. The name of the Compute Engine
       [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the
       instance is connected.
       
      string network = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for network to set.
      Returns:
      This builder for chaining.
    • getReservedIpRange

      public String getReservedIpRange()
       Optional. Immutable. The ID of the IP address range being used by the
       instance's VPC network. See [Configure a VPC
       network](https://cloud.google.com/parallelstore/docs/vpc#create_and_configure_the_vpc).
       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) = { ... }
      Specified by:
      getReservedIpRange in interface InstanceOrBuilder
      Returns:
      The reservedIpRange.
    • getReservedIpRangeBytes

      public com.google.protobuf.ByteString getReservedIpRangeBytes()
       Optional. Immutable. The ID of the IP address range being used by the
       instance's VPC network. See [Configure a VPC
       network](https://cloud.google.com/parallelstore/docs/vpc#create_and_configure_the_vpc).
       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) = { ... }
      Specified by:
      getReservedIpRangeBytes in interface InstanceOrBuilder
      Returns:
      The bytes for reservedIpRange.
    • setReservedIpRange

      public Instance.Builder setReservedIpRange(String value)
       Optional. Immutable. The ID of the IP address range being used by the
       instance's VPC network. See [Configure a VPC
       network](https://cloud.google.com/parallelstore/docs/vpc#create_and_configure_the_vpc).
       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) = { ... }
      Parameters:
      value - The reservedIpRange to set.
      Returns:
      This builder for chaining.
    • clearReservedIpRange

      public Instance.Builder clearReservedIpRange()
       Optional. Immutable. The ID of the IP address range being used by the
       instance's VPC network. See [Configure a VPC
       network](https://cloud.google.com/parallelstore/docs/vpc#create_and_configure_the_vpc).
       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:
      This builder for chaining.
    • setReservedIpRangeBytes

      public Instance.Builder setReservedIpRangeBytes(com.google.protobuf.ByteString value)
       Optional. Immutable. The ID of the IP address range being used by the
       instance's VPC network. See [Configure a VPC
       network](https://cloud.google.com/parallelstore/docs/vpc#create_and_configure_the_vpc).
       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) = { ... }
      Parameters:
      value - The bytes for reservedIpRange to set.
      Returns:
      This builder for chaining.
    • getEffectiveReservedIpRange

      public String getEffectiveReservedIpRange()
       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) = { ... }
      Specified by:
      getEffectiveReservedIpRange in interface InstanceOrBuilder
      Returns:
      The effectiveReservedIpRange.
    • getEffectiveReservedIpRangeBytes

      public com.google.protobuf.ByteString getEffectiveReservedIpRangeBytes()
       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) = { ... }
      Specified by:
      getEffectiveReservedIpRangeBytes in interface InstanceOrBuilder
      Returns:
      The bytes for effectiveReservedIpRange.
    • setEffectiveReservedIpRange

      public Instance.Builder setEffectiveReservedIpRange(String value)
       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) = { ... }
      Parameters:
      value - The effectiveReservedIpRange to set.
      Returns:
      This builder for chaining.
    • clearEffectiveReservedIpRange

      public Instance.Builder clearEffectiveReservedIpRange()
       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:
      This builder for chaining.
    • setEffectiveReservedIpRangeBytes

      public Instance.Builder setEffectiveReservedIpRangeBytes(com.google.protobuf.ByteString value)
       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) = { ... }
      Parameters:
      value - The bytes for effectiveReservedIpRange to set.
      Returns:
      This builder for chaining.
    • getFileStripeLevelValue

      public int getFileStripeLevelValue()
       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.v1.FileStripeLevel file_stripe_level = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFileStripeLevelValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for fileStripeLevel.
    • setFileStripeLevelValue

      public Instance.Builder setFileStripeLevelValue(int value)
       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.v1.FileStripeLevel file_stripe_level = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for fileStripeLevel to set.
      Returns:
      This builder for chaining.
    • getFileStripeLevel

      public FileStripeLevel getFileStripeLevel()
       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.v1.FileStripeLevel file_stripe_level = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFileStripeLevel in interface InstanceOrBuilder
      Returns:
      The fileStripeLevel.
    • setFileStripeLevel

      public Instance.Builder setFileStripeLevel(FileStripeLevel value)
       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.v1.FileStripeLevel file_stripe_level = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The fileStripeLevel to set.
      Returns:
      This builder for chaining.
    • clearFileStripeLevel

      public Instance.Builder clearFileStripeLevel()
       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.v1.FileStripeLevel file_stripe_level = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getDirectoryStripeLevelValue

      public int getDirectoryStripeLevelValue()
       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.v1.DirectoryStripeLevel directory_stripe_level = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDirectoryStripeLevelValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for directoryStripeLevel.
    • setDirectoryStripeLevelValue

      public Instance.Builder setDirectoryStripeLevelValue(int value)
       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.v1.DirectoryStripeLevel directory_stripe_level = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for directoryStripeLevel to set.
      Returns:
      This builder for chaining.
    • getDirectoryStripeLevel

      public DirectoryStripeLevel getDirectoryStripeLevel()
       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.v1.DirectoryStripeLevel directory_stripe_level = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDirectoryStripeLevel in interface InstanceOrBuilder
      Returns:
      The directoryStripeLevel.
    • setDirectoryStripeLevel

      public Instance.Builder setDirectoryStripeLevel(DirectoryStripeLevel value)
       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.v1.DirectoryStripeLevel directory_stripe_level = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The directoryStripeLevel to set.
      Returns:
      This builder for chaining.
    • clearDirectoryStripeLevel

      public Instance.Builder clearDirectoryStripeLevel()
       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.v1.DirectoryStripeLevel directory_stripe_level = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getDeploymentTypeValue

      public int getDeploymentTypeValue()
       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.v1.DeploymentType deployment_type = 17 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeploymentTypeValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for deploymentType.
    • setDeploymentTypeValue

      public Instance.Builder setDeploymentTypeValue(int value)
       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.v1.DeploymentType deployment_type = 17 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for deploymentType to set.
      Returns:
      This builder for chaining.
    • getDeploymentType

      public DeploymentType getDeploymentType()
       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.v1.DeploymentType deployment_type = 17 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeploymentType in interface InstanceOrBuilder
      Returns:
      The deploymentType.
    • setDeploymentType

      public Instance.Builder setDeploymentType(DeploymentType value)
       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.v1.DeploymentType deployment_type = 17 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The deploymentType to set.
      Returns:
      This builder for chaining.
    • clearDeploymentType

      public Instance.Builder clearDeploymentType()
       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.v1.DeploymentType deployment_type = 17 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.