Class PersistentResource.Builder

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

public static final class PersistentResource.Builder extends com.google.protobuf.GeneratedMessage.Builder<PersistentResource.Builder> implements PersistentResourceOrBuilder
 Represents long-lasting resources that are dedicated to users to runs custom
 workloads.
 A PersistentResource can have multiple node pools and each node
 pool can have its own machine spec.
 
Protobuf type google.cloud.aiplatform.v1.PersistentResource
  • 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<PersistentResource.Builder>
    • internalGetMutableMapFieldReflection

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PersistentResource.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<PersistentResource.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<PersistentResource.Builder>
    • getDefaultInstanceForType

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

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

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

      public PersistentResource.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<PersistentResource.Builder>
    • mergeFrom

    • isInitialized

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

      public PersistentResource.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<PersistentResource.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Immutable. Resource name of a PersistentResource.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getName in interface PersistentResourceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Immutable. Resource name of a PersistentResource.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNameBytes in interface PersistentResourceOrBuilder
      Returns:
      The bytes for name.
    • setName

      public PersistentResource.Builder setName(String value)
       Immutable. Resource name of a PersistentResource.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public PersistentResource.Builder clearName()
       Immutable. Resource name of a PersistentResource.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setNameBytes

      public PersistentResource.Builder setNameBytes(com.google.protobuf.ByteString value)
       Immutable. Resource name of a PersistentResource.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Optional. The display name of the PersistentResource.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayName in interface PersistentResourceOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. The display name of the PersistentResource.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayNameBytes in interface PersistentResourceOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public PersistentResource.Builder setDisplayName(String value)
       Optional. The display name of the PersistentResource.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public PersistentResource.Builder clearDisplayName()
       Optional. The display name of the PersistentResource.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public PersistentResource.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Optional. The display name of the PersistentResource.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getResourcePoolsList

      public List<ResourcePool> getResourcePoolsList()
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getResourcePoolsList in interface PersistentResourceOrBuilder
    • getResourcePoolsCount

      public int getResourcePoolsCount()
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getResourcePoolsCount in interface PersistentResourceOrBuilder
    • getResourcePools

      public ResourcePool getResourcePools(int index)
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getResourcePools in interface PersistentResourceOrBuilder
    • setResourcePools

      public PersistentResource.Builder setResourcePools(int index, ResourcePool value)
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
    • setResourcePools

      public PersistentResource.Builder setResourcePools(int index, ResourcePool.Builder builderForValue)
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
    • addResourcePools

      public PersistentResource.Builder addResourcePools(ResourcePool value)
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
    • addResourcePools

      public PersistentResource.Builder addResourcePools(int index, ResourcePool value)
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
    • addResourcePools

      public PersistentResource.Builder addResourcePools(ResourcePool.Builder builderForValue)
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
    • addResourcePools

      public PersistentResource.Builder addResourcePools(int index, ResourcePool.Builder builderForValue)
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
    • addAllResourcePools

      public PersistentResource.Builder addAllResourcePools(Iterable<? extends ResourcePool> values)
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
    • clearResourcePools

      public PersistentResource.Builder clearResourcePools()
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
    • removeResourcePools

      public PersistentResource.Builder removeResourcePools(int index)
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
    • getResourcePoolsBuilder

      public ResourcePool.Builder getResourcePoolsBuilder(int index)
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
    • getResourcePoolsOrBuilder

      public ResourcePoolOrBuilder getResourcePoolsOrBuilder(int index)
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getResourcePoolsOrBuilder in interface PersistentResourceOrBuilder
    • getResourcePoolsOrBuilderList

      public List<? extends ResourcePoolOrBuilder> getResourcePoolsOrBuilderList()
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getResourcePoolsOrBuilderList in interface PersistentResourceOrBuilder
    • addResourcePoolsBuilder

      public ResourcePool.Builder addResourcePoolsBuilder()
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
    • addResourcePoolsBuilder

      public ResourcePool.Builder addResourcePoolsBuilder(int index)
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
    • getResourcePoolsBuilderList

      public List<ResourcePool.Builder> getResourcePoolsBuilderList()
       Required. The spec of the pools of different resources.
       
      repeated .google.cloud.aiplatform.v1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
    • getStateValue

      public int getStateValue()
       Output only. The detailed state of a Study.
       
      .google.cloud.aiplatform.v1.PersistentResource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface PersistentResourceOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public PersistentResource.Builder setStateValue(int value)
       Output only. The detailed state of a Study.
       
      .google.cloud.aiplatform.v1.PersistentResource.State state = 5 [(.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 PersistentResource.State getState()
       Output only. The detailed state of a Study.
       
      .google.cloud.aiplatform.v1.PersistentResource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface PersistentResourceOrBuilder
      Returns:
      The state.
    • setState

       Output only. The detailed state of a Study.
       
      .google.cloud.aiplatform.v1.PersistentResource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public PersistentResource.Builder clearState()
       Output only. The detailed state of a Study.
       
      .google.cloud.aiplatform.v1.PersistentResource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasError

      public boolean hasError()
       Output only. Only populated when persistent resource's state is `STOPPING`
       or `ERROR`.
       
      .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasError in interface PersistentResourceOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public Status getError()
       Output only. Only populated when persistent resource's state is `STOPPING`
       or `ERROR`.
       
      .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getError in interface PersistentResourceOrBuilder
      Returns:
      The error.
    • setError

      public PersistentResource.Builder setError(Status value)
       Output only. Only populated when persistent resource's state is `STOPPING`
       or `ERROR`.
       
      .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setError

      public PersistentResource.Builder setError(Status.Builder builderForValue)
       Output only. Only populated when persistent resource's state is `STOPPING`
       or `ERROR`.
       
      .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeError

      public PersistentResource.Builder mergeError(Status value)
       Output only. Only populated when persistent resource's state is `STOPPING`
       or `ERROR`.
       
      .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearError

      public PersistentResource.Builder clearError()
       Output only. Only populated when persistent resource's state is `STOPPING`
       or `ERROR`.
       
      .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorBuilder

      public Status.Builder getErrorBuilder()
       Output only. Only populated when persistent resource's state is `STOPPING`
       or `ERROR`.
       
      .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorOrBuilder

      public StatusOrBuilder getErrorOrBuilder()
       Output only. Only populated when persistent resource's state is `STOPPING`
       or `ERROR`.
       
      .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorOrBuilder in interface PersistentResourceOrBuilder
    • hasCreateTime

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

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

      public PersistentResource.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the PersistentResource was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public PersistentResource.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when the PersistentResource was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public PersistentResource.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the PersistentResource was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public PersistentResource.Builder clearCreateTime()
       Output only. Time when the PersistentResource was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Time when the PersistentResource was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when the PersistentResource was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface PersistentResourceOrBuilder
    • hasStartTime

      public boolean hasStartTime()
       Output only. Time when the PersistentResource for the first time entered
       the `RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartTime in interface PersistentResourceOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Output only. Time when the PersistentResource for the first time entered
       the `RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface PersistentResourceOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public PersistentResource.Builder setStartTime(com.google.protobuf.Timestamp value)
       Output only. Time when the PersistentResource for the first time entered
       the `RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStartTime

      public PersistentResource.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when the PersistentResource for the first time entered
       the `RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStartTime

      public PersistentResource.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Output only. Time when the PersistentResource for the first time entered
       the `RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStartTime

      public PersistentResource.Builder clearStartTime()
       Output only. Time when the PersistentResource for the first time entered
       the `RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       Output only. Time when the PersistentResource for the first time entered
       the `RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. Time when the PersistentResource for the first time entered
       the `RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTimeOrBuilder in interface PersistentResourceOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Time when the PersistentResource was most recently updated.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface PersistentResourceOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Time when the PersistentResource was most recently updated.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface PersistentResourceOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public PersistentResource.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the PersistentResource was most recently updated.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public PersistentResource.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when the PersistentResource was most recently updated.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public PersistentResource.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the PersistentResource was most recently updated.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public PersistentResource.Builder clearUpdateTime()
       Output only. Time when the PersistentResource was most recently updated.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Time when the PersistentResource was most recently updated.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Time when the PersistentResource was most recently updated.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface PersistentResourceOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: PersistentResourceOrBuilder
       Optional. The labels with user-defined metadata to organize
       PersistentResource.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface PersistentResourceOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. The labels with user-defined metadata to organize
       PersistentResource.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface PersistentResourceOrBuilder
    • getLabels

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

      public Map<String,String> getLabelsMap()
       Optional. The labels with user-defined metadata to organize
       PersistentResource.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface PersistentResourceOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. The labels with user-defined metadata to organize
       PersistentResource.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface PersistentResourceOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. The labels with user-defined metadata to organize
       PersistentResource.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface PersistentResourceOrBuilder
    • clearLabels

      public PersistentResource.Builder clearLabels()
    • removeLabels

      public PersistentResource.Builder removeLabels(String key)
       Optional. The labels with user-defined metadata to organize
       PersistentResource.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

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

      public PersistentResource.Builder putLabels(String key, String value)
       Optional. The labels with user-defined metadata to organize
       PersistentResource.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public PersistentResource.Builder putAllLabels(Map<String,String> values)
       Optional. The labels with user-defined metadata to organize
       PersistentResource.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getNetwork

      public String getNetwork()
       Optional. The full name of the Compute Engine
       [network](/compute/docs/networks-and-firewalls#networks) to peered with
       Vertex AI to host the persistent resources.
       For example, `projects/12345/global/networks/myVPC`.
       [Format](/compute/docs/reference/rest/v1/networks/insert)
       is of the form `projects/{project}/global/networks/{network}`.
       Where {project} is a project number, as in `12345`, and {network} is a
       network name.
      
       To specify this field, you must have already [configured VPC Network
       Peering for Vertex
       AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering).
      
       If this field is left unspecified, the resources aren't peered with any
       network.
       
      string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getNetwork in interface PersistentResourceOrBuilder
      Returns:
      The network.
    • getNetworkBytes

      public com.google.protobuf.ByteString getNetworkBytes()
       Optional. The full name of the Compute Engine
       [network](/compute/docs/networks-and-firewalls#networks) to peered with
       Vertex AI to host the persistent resources.
       For example, `projects/12345/global/networks/myVPC`.
       [Format](/compute/docs/reference/rest/v1/networks/insert)
       is of the form `projects/{project}/global/networks/{network}`.
       Where {project} is a project number, as in `12345`, and {network} is a
       network name.
      
       To specify this field, you must have already [configured VPC Network
       Peering for Vertex
       AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering).
      
       If this field is left unspecified, the resources aren't peered with any
       network.
       
      string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getNetworkBytes in interface PersistentResourceOrBuilder
      Returns:
      The bytes for network.
    • setNetwork

      public PersistentResource.Builder setNetwork(String value)
       Optional. The full name of the Compute Engine
       [network](/compute/docs/networks-and-firewalls#networks) to peered with
       Vertex AI to host the persistent resources.
       For example, `projects/12345/global/networks/myVPC`.
       [Format](/compute/docs/reference/rest/v1/networks/insert)
       is of the form `projects/{project}/global/networks/{network}`.
       Where {project} is a project number, as in `12345`, and {network} is a
       network name.
      
       To specify this field, you must have already [configured VPC Network
       Peering for Vertex
       AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering).
      
       If this field is left unspecified, the resources aren't peered with any
       network.
       
      string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The network to set.
      Returns:
      This builder for chaining.
    • clearNetwork

      public PersistentResource.Builder clearNetwork()
       Optional. The full name of the Compute Engine
       [network](/compute/docs/networks-and-firewalls#networks) to peered with
       Vertex AI to host the persistent resources.
       For example, `projects/12345/global/networks/myVPC`.
       [Format](/compute/docs/reference/rest/v1/networks/insert)
       is of the form `projects/{project}/global/networks/{network}`.
       Where {project} is a project number, as in `12345`, and {network} is a
       network name.
      
       To specify this field, you must have already [configured VPC Network
       Peering for Vertex
       AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering).
      
       If this field is left unspecified, the resources aren't peered with any
       network.
       
      string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNetworkBytes

      public PersistentResource.Builder setNetworkBytes(com.google.protobuf.ByteString value)
       Optional. The full name of the Compute Engine
       [network](/compute/docs/networks-and-firewalls#networks) to peered with
       Vertex AI to host the persistent resources.
       For example, `projects/12345/global/networks/myVPC`.
       [Format](/compute/docs/reference/rest/v1/networks/insert)
       is of the form `projects/{project}/global/networks/{network}`.
       Where {project} is a project number, as in `12345`, and {network} is a
       network name.
      
       To specify this field, you must have already [configured VPC Network
       Peering for Vertex
       AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering).
      
       If this field is left unspecified, the resources aren't peered with any
       network.
       
      string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for network to set.
      Returns:
      This builder for chaining.
    • hasPscInterfaceConfig

      public boolean hasPscInterfaceConfig()
       Optional. Configuration for PSC-I for PersistentResource.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasPscInterfaceConfig in interface PersistentResourceOrBuilder
      Returns:
      Whether the pscInterfaceConfig field is set.
    • getPscInterfaceConfig

      public PscInterfaceConfig getPscInterfaceConfig()
       Optional. Configuration for PSC-I for PersistentResource.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPscInterfaceConfig in interface PersistentResourceOrBuilder
      Returns:
      The pscInterfaceConfig.
    • setPscInterfaceConfig

      public PersistentResource.Builder setPscInterfaceConfig(PscInterfaceConfig value)
       Optional. Configuration for PSC-I for PersistentResource.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
    • setPscInterfaceConfig

      public PersistentResource.Builder setPscInterfaceConfig(PscInterfaceConfig.Builder builderForValue)
       Optional. Configuration for PSC-I for PersistentResource.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
    • mergePscInterfaceConfig

      public PersistentResource.Builder mergePscInterfaceConfig(PscInterfaceConfig value)
       Optional. Configuration for PSC-I for PersistentResource.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
    • clearPscInterfaceConfig

      public PersistentResource.Builder clearPscInterfaceConfig()
       Optional. Configuration for PSC-I for PersistentResource.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
    • getPscInterfaceConfigBuilder

      public PscInterfaceConfig.Builder getPscInterfaceConfigBuilder()
       Optional. Configuration for PSC-I for PersistentResource.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
    • getPscInterfaceConfigOrBuilder

      public PscInterfaceConfigOrBuilder getPscInterfaceConfigOrBuilder()
       Optional. Configuration for PSC-I for PersistentResource.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPscInterfaceConfigOrBuilder in interface PersistentResourceOrBuilder
    • hasEncryptionSpec

      public boolean hasEncryptionSpec()
       Optional. Customer-managed encryption key spec for a PersistentResource.
       If set, this PersistentResource and all sub-resources of this
       PersistentResource will be secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEncryptionSpec in interface PersistentResourceOrBuilder
      Returns:
      Whether the encryptionSpec field is set.
    • getEncryptionSpec

      public EncryptionSpec getEncryptionSpec()
       Optional. Customer-managed encryption key spec for a PersistentResource.
       If set, this PersistentResource and all sub-resources of this
       PersistentResource will be secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEncryptionSpec in interface PersistentResourceOrBuilder
      Returns:
      The encryptionSpec.
    • setEncryptionSpec

      public PersistentResource.Builder setEncryptionSpec(EncryptionSpec value)
       Optional. Customer-managed encryption key spec for a PersistentResource.
       If set, this PersistentResource and all sub-resources of this
       PersistentResource will be secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • setEncryptionSpec

      public PersistentResource.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)
       Optional. Customer-managed encryption key spec for a PersistentResource.
       If set, this PersistentResource and all sub-resources of this
       PersistentResource will be secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • mergeEncryptionSpec

      public PersistentResource.Builder mergeEncryptionSpec(EncryptionSpec value)
       Optional. Customer-managed encryption key spec for a PersistentResource.
       If set, this PersistentResource and all sub-resources of this
       PersistentResource will be secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • clearEncryptionSpec

      public PersistentResource.Builder clearEncryptionSpec()
       Optional. Customer-managed encryption key spec for a PersistentResource.
       If set, this PersistentResource and all sub-resources of this
       PersistentResource will be secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getEncryptionSpecBuilder

      public EncryptionSpec.Builder getEncryptionSpecBuilder()
       Optional. Customer-managed encryption key spec for a PersistentResource.
       If set, this PersistentResource and all sub-resources of this
       PersistentResource will be secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getEncryptionSpecOrBuilder

      public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()
       Optional. Customer-managed encryption key spec for a PersistentResource.
       If set, this PersistentResource and all sub-resources of this
       PersistentResource will be secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEncryptionSpecOrBuilder in interface PersistentResourceOrBuilder
    • hasResourceRuntimeSpec

      public boolean hasResourceRuntimeSpec()
       Optional. Persistent Resource runtime spec.
       For example, used for Ray cluster configuration.
       
      .google.cloud.aiplatform.v1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasResourceRuntimeSpec in interface PersistentResourceOrBuilder
      Returns:
      Whether the resourceRuntimeSpec field is set.
    • getResourceRuntimeSpec

      public ResourceRuntimeSpec getResourceRuntimeSpec()
       Optional. Persistent Resource runtime spec.
       For example, used for Ray cluster configuration.
       
      .google.cloud.aiplatform.v1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResourceRuntimeSpec in interface PersistentResourceOrBuilder
      Returns:
      The resourceRuntimeSpec.
    • setResourceRuntimeSpec

      public PersistentResource.Builder setResourceRuntimeSpec(ResourceRuntimeSpec value)
       Optional. Persistent Resource runtime spec.
       For example, used for Ray cluster configuration.
       
      .google.cloud.aiplatform.v1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
    • setResourceRuntimeSpec

      public PersistentResource.Builder setResourceRuntimeSpec(ResourceRuntimeSpec.Builder builderForValue)
       Optional. Persistent Resource runtime spec.
       For example, used for Ray cluster configuration.
       
      .google.cloud.aiplatform.v1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
    • mergeResourceRuntimeSpec

      public PersistentResource.Builder mergeResourceRuntimeSpec(ResourceRuntimeSpec value)
       Optional. Persistent Resource runtime spec.
       For example, used for Ray cluster configuration.
       
      .google.cloud.aiplatform.v1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
    • clearResourceRuntimeSpec

      public PersistentResource.Builder clearResourceRuntimeSpec()
       Optional. Persistent Resource runtime spec.
       For example, used for Ray cluster configuration.
       
      .google.cloud.aiplatform.v1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getResourceRuntimeSpecBuilder

      public ResourceRuntimeSpec.Builder getResourceRuntimeSpecBuilder()
       Optional. Persistent Resource runtime spec.
       For example, used for Ray cluster configuration.
       
      .google.cloud.aiplatform.v1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getResourceRuntimeSpecOrBuilder

      public ResourceRuntimeSpecOrBuilder getResourceRuntimeSpecOrBuilder()
       Optional. Persistent Resource runtime spec.
       For example, used for Ray cluster configuration.
       
      .google.cloud.aiplatform.v1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResourceRuntimeSpecOrBuilder in interface PersistentResourceOrBuilder
    • hasResourceRuntime

      public boolean hasResourceRuntime()
       Output only. Runtime information of the Persistent Resource.
       
      .google.cloud.aiplatform.v1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasResourceRuntime in interface PersistentResourceOrBuilder
      Returns:
      Whether the resourceRuntime field is set.
    • getResourceRuntime

      public ResourceRuntime getResourceRuntime()
       Output only. Runtime information of the Persistent Resource.
       
      .google.cloud.aiplatform.v1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceRuntime in interface PersistentResourceOrBuilder
      Returns:
      The resourceRuntime.
    • setResourceRuntime

      public PersistentResource.Builder setResourceRuntime(ResourceRuntime value)
       Output only. Runtime information of the Persistent Resource.
       
      .google.cloud.aiplatform.v1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setResourceRuntime

      public PersistentResource.Builder setResourceRuntime(ResourceRuntime.Builder builderForValue)
       Output only. Runtime information of the Persistent Resource.
       
      .google.cloud.aiplatform.v1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeResourceRuntime

      public PersistentResource.Builder mergeResourceRuntime(ResourceRuntime value)
       Output only. Runtime information of the Persistent Resource.
       
      .google.cloud.aiplatform.v1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearResourceRuntime

      public PersistentResource.Builder clearResourceRuntime()
       Output only. Runtime information of the Persistent Resource.
       
      .google.cloud.aiplatform.v1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getResourceRuntimeBuilder

      public ResourceRuntime.Builder getResourceRuntimeBuilder()
       Output only. Runtime information of the Persistent Resource.
       
      .google.cloud.aiplatform.v1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getResourceRuntimeOrBuilder

      public ResourceRuntimeOrBuilder getResourceRuntimeOrBuilder()
       Output only. Runtime information of the Persistent Resource.
       
      .google.cloud.aiplatform.v1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceRuntimeOrBuilder in interface PersistentResourceOrBuilder
    • getReservedIpRangesList

      public com.google.protobuf.ProtocolStringList getReservedIpRangesList()
       Optional. A list of names for the reserved IP ranges under the VPC network
       that can be used for this persistent resource.
      
       If set, we will deploy the persistent resource within the provided IP
       ranges. Otherwise, the persistent resource is deployed to any IP
       ranges under the provided VPC network.
      
       Example: ['vertex-ai-ip-range'].
       
      repeated string reserved_ip_ranges = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReservedIpRangesList in interface PersistentResourceOrBuilder
      Returns:
      A list containing the reservedIpRanges.
    • getReservedIpRangesCount

      public int getReservedIpRangesCount()
       Optional. A list of names for the reserved IP ranges under the VPC network
       that can be used for this persistent resource.
      
       If set, we will deploy the persistent resource within the provided IP
       ranges. Otherwise, the persistent resource is deployed to any IP
       ranges under the provided VPC network.
      
       Example: ['vertex-ai-ip-range'].
       
      repeated string reserved_ip_ranges = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReservedIpRangesCount in interface PersistentResourceOrBuilder
      Returns:
      The count of reservedIpRanges.
    • getReservedIpRanges

      public String getReservedIpRanges(int index)
       Optional. A list of names for the reserved IP ranges under the VPC network
       that can be used for this persistent resource.
      
       If set, we will deploy the persistent resource within the provided IP
       ranges. Otherwise, the persistent resource is deployed to any IP
       ranges under the provided VPC network.
      
       Example: ['vertex-ai-ip-range'].
       
      repeated string reserved_ip_ranges = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReservedIpRanges in interface PersistentResourceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The reservedIpRanges at the given index.
    • getReservedIpRangesBytes

      public com.google.protobuf.ByteString getReservedIpRangesBytes(int index)
       Optional. A list of names for the reserved IP ranges under the VPC network
       that can be used for this persistent resource.
      
       If set, we will deploy the persistent resource within the provided IP
       ranges. Otherwise, the persistent resource is deployed to any IP
       ranges under the provided VPC network.
      
       Example: ['vertex-ai-ip-range'].
       
      repeated string reserved_ip_ranges = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReservedIpRangesBytes in interface PersistentResourceOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the reservedIpRanges at the given index.
    • setReservedIpRanges

      public PersistentResource.Builder setReservedIpRanges(int index, String value)
       Optional. A list of names for the reserved IP ranges under the VPC network
       that can be used for this persistent resource.
      
       If set, we will deploy the persistent resource within the provided IP
       ranges. Otherwise, the persistent resource is deployed to any IP
       ranges under the provided VPC network.
      
       Example: ['vertex-ai-ip-range'].
       
      repeated string reserved_ip_ranges = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The reservedIpRanges to set.
      Returns:
      This builder for chaining.
    • addReservedIpRanges

      public PersistentResource.Builder addReservedIpRanges(String value)
       Optional. A list of names for the reserved IP ranges under the VPC network
       that can be used for this persistent resource.
      
       If set, we will deploy the persistent resource within the provided IP
       ranges. Otherwise, the persistent resource is deployed to any IP
       ranges under the provided VPC network.
      
       Example: ['vertex-ai-ip-range'].
       
      repeated string reserved_ip_ranges = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The reservedIpRanges to add.
      Returns:
      This builder for chaining.
    • addAllReservedIpRanges

      public PersistentResource.Builder addAllReservedIpRanges(Iterable<String> values)
       Optional. A list of names for the reserved IP ranges under the VPC network
       that can be used for this persistent resource.
      
       If set, we will deploy the persistent resource within the provided IP
       ranges. Otherwise, the persistent resource is deployed to any IP
       ranges under the provided VPC network.
      
       Example: ['vertex-ai-ip-range'].
       
      repeated string reserved_ip_ranges = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The reservedIpRanges to add.
      Returns:
      This builder for chaining.
    • clearReservedIpRanges

      public PersistentResource.Builder clearReservedIpRanges()
       Optional. A list of names for the reserved IP ranges under the VPC network
       that can be used for this persistent resource.
      
       If set, we will deploy the persistent resource within the provided IP
       ranges. Otherwise, the persistent resource is deployed to any IP
       ranges under the provided VPC network.
      
       Example: ['vertex-ai-ip-range'].
       
      repeated string reserved_ip_ranges = 15 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addReservedIpRangesBytes

      public PersistentResource.Builder addReservedIpRangesBytes(com.google.protobuf.ByteString value)
       Optional. A list of names for the reserved IP ranges under the VPC network
       that can be used for this persistent resource.
      
       If set, we will deploy the persistent resource within the provided IP
       ranges. Otherwise, the persistent resource is deployed to any IP
       ranges under the provided VPC network.
      
       Example: ['vertex-ai-ip-range'].
       
      repeated string reserved_ip_ranges = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the reservedIpRanges to add.
      Returns:
      This builder for chaining.