public static final class PersistentResource.Builder extends com.google.protobuf.GeneratedMessageV3.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.v1beta1.PersistentResourcegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentResource.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentResource.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentResource.Builder>public PersistentResource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentResource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentResource.Builder>public PersistentResource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PersistentResource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PersistentResource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PersistentResource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentResource.Builder>public PersistentResource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentResource.Builder>public PersistentResource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentResource.Builder>public PersistentResource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentResource.Builder>public PersistentResource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentResource.Builder>public PersistentResource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentResource.Builder>public PersistentResource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PersistentResource.Builder>public PersistentResource.Builder mergeFrom(PersistentResource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentResource.Builder>public PersistentResource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PersistentResource.Builder>IOExceptionpublic String getName()
Immutable. Resource name of a PersistentResource.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getName in interface PersistentResourceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Immutable. Resource name of a PersistentResource.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getNameBytes in interface PersistentResourceOrBuilderpublic PersistentResource.Builder setName(String value)
Immutable. Resource name of a PersistentResource.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The name to set.public PersistentResource.Builder clearName()
Immutable. Resource name of a PersistentResource.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];public PersistentResource.Builder setNameBytes(com.google.protobuf.ByteString value)
Immutable. Resource name of a PersistentResource.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The bytes for name to set.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];getDisplayName in interface PersistentResourceOrBuilderpublic 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];getDisplayNameBytes in interface PersistentResourceOrBuilderpublic 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];value - The displayName to set.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];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];value - The bytes for displayName to set.public List<ResourcePool> getResourcePoolsList()
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
getResourcePoolsList in interface PersistentResourceOrBuilderpublic int getResourcePoolsCount()
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
getResourcePoolsCount in interface PersistentResourceOrBuilderpublic ResourcePool getResourcePools(int index)
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
getResourcePools in interface PersistentResourceOrBuilderpublic PersistentResource.Builder setResourcePools(int index, ResourcePool value)
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
public PersistentResource.Builder setResourcePools(int index, ResourcePool.Builder builderForValue)
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
public PersistentResource.Builder addResourcePools(ResourcePool value)
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
public PersistentResource.Builder addResourcePools(int index, ResourcePool value)
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
public PersistentResource.Builder addResourcePools(ResourcePool.Builder builderForValue)
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
public PersistentResource.Builder addResourcePools(int index, ResourcePool.Builder builderForValue)
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
public PersistentResource.Builder addAllResourcePools(Iterable<? extends ResourcePool> values)
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
public PersistentResource.Builder clearResourcePools()
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
public PersistentResource.Builder removeResourcePools(int index)
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
public ResourcePool.Builder getResourcePoolsBuilder(int index)
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
public ResourcePoolOrBuilder getResourcePoolsOrBuilder(int index)
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
getResourcePoolsOrBuilder in interface PersistentResourceOrBuilderpublic List<? extends ResourcePoolOrBuilder> getResourcePoolsOrBuilderList()
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
getResourcePoolsOrBuilderList in interface PersistentResourceOrBuilderpublic ResourcePool.Builder addResourcePoolsBuilder()
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
public ResourcePool.Builder addResourcePoolsBuilder(int index)
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
public List<ResourcePool.Builder> getResourcePoolsBuilderList()
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
public int getStateValue()
Output only. The detailed state of a Study.
.google.cloud.aiplatform.v1beta1.PersistentResource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface PersistentResourceOrBuilderpublic PersistentResource.Builder setStateValue(int value)
Output only. The detailed state of a Study.
.google.cloud.aiplatform.v1beta1.PersistentResource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public PersistentResource.State getState()
Output only. The detailed state of a Study.
.google.cloud.aiplatform.v1beta1.PersistentResource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface PersistentResourceOrBuilderpublic PersistentResource.Builder setState(PersistentResource.State value)
Output only. The detailed state of a Study.
.google.cloud.aiplatform.v1beta1.PersistentResource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public PersistentResource.Builder clearState()
Output only. The detailed state of a Study.
.google.cloud.aiplatform.v1beta1.PersistentResource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];hasError in interface PersistentResourceOrBuilderpublic com.google.rpc.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];getError in interface PersistentResourceOrBuilderpublic PersistentResource.Builder setError(com.google.rpc.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];public PersistentResource.Builder setError(com.google.rpc.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];public PersistentResource.Builder mergeError(com.google.rpc.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];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];public com.google.rpc.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];public com.google.rpc.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];getErrorOrBuilder in interface PersistentResourceOrBuilderpublic boolean hasCreateTime()
Output only. Time when the PersistentResource was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface PersistentResourceOrBuilderpublic 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];
getCreateTime in interface PersistentResourceOrBuilderpublic 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];
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];
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];
public PersistentResource.Builder clearCreateTime()
Output only. Time when the PersistentResource was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
getCreateTimeOrBuilder in interface PersistentResourceOrBuilderpublic 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];
hasStartTime in interface PersistentResourceOrBuilderpublic 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];
getStartTime in interface PersistentResourceOrBuilderpublic 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];
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];
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];
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];
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];
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];
getStartTimeOrBuilder in interface PersistentResourceOrBuilderpublic boolean hasUpdateTime()
Output only. Time when the PersistentResource was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface PersistentResourceOrBuilderpublic 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];
getUpdateTime in interface PersistentResourceOrBuilderpublic 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];
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];
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];
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];
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];
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];
getUpdateTimeOrBuilder in interface PersistentResourceOrBuilderpublic int getLabelsCount()
PersistentResourceOrBuilderOptional. 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];getLabelsCount in interface PersistentResourceOrBuilderpublic 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];containsLabels in interface PersistentResourceOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface PersistentResourceOrBuilderpublic 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];getLabelsMap in interface PersistentResourceOrBuilderpublic 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];getLabelsOrDefault in interface PersistentResourceOrBuilderpublic 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];getLabelsOrThrow in interface PersistentResourceOrBuilderpublic PersistentResource.Builder clearLabels()
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];@Deprecated public Map<String,String> getMutableLabels()
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];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];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) = { ... }
getNetwork in interface PersistentResourceOrBuilderpublic 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) = { ... }
getNetworkBytes in interface PersistentResourceOrBuilderpublic 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) = { ... }
value - The network to set.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) = { ... }
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) = { ... }
value - The bytes for network to set.public boolean hasPscInterfaceConfig()
Optional. Configuration for PSC-I for PersistentResource.
.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
hasPscInterfaceConfig in interface PersistentResourceOrBuilderpublic PscInterfaceConfig getPscInterfaceConfig()
Optional. Configuration for PSC-I for PersistentResource.
.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
getPscInterfaceConfig in interface PersistentResourceOrBuilderpublic PersistentResource.Builder setPscInterfaceConfig(PscInterfaceConfig value)
Optional. Configuration for PSC-I for PersistentResource.
.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
public PersistentResource.Builder setPscInterfaceConfig(PscInterfaceConfig.Builder builderForValue)
Optional. Configuration for PSC-I for PersistentResource.
.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
public PersistentResource.Builder mergePscInterfaceConfig(PscInterfaceConfig value)
Optional. Configuration for PSC-I for PersistentResource.
.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
public PersistentResource.Builder clearPscInterfaceConfig()
Optional. Configuration for PSC-I for PersistentResource.
.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
public PscInterfaceConfig.Builder getPscInterfaceConfigBuilder()
Optional. Configuration for PSC-I for PersistentResource.
.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
public PscInterfaceConfigOrBuilder getPscInterfaceConfigOrBuilder()
Optional. Configuration for PSC-I for PersistentResource.
.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 17 [(.google.api.field_behavior) = OPTIONAL];
getPscInterfaceConfigOrBuilder in interface PersistentResourceOrBuilderpublic 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.v1beta1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
hasEncryptionSpec in interface PersistentResourceOrBuilderpublic 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.v1beta1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
getEncryptionSpec in interface PersistentResourceOrBuilderpublic 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.v1beta1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
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.v1beta1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
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.v1beta1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
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.v1beta1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
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.v1beta1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
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.v1beta1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
getEncryptionSpecOrBuilder in interface PersistentResourceOrBuilderpublic boolean hasResourceRuntimeSpec()
Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration.
.google.cloud.aiplatform.v1beta1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
hasResourceRuntimeSpec in interface PersistentResourceOrBuilderpublic ResourceRuntimeSpec getResourceRuntimeSpec()
Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration.
.google.cloud.aiplatform.v1beta1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
getResourceRuntimeSpec in interface PersistentResourceOrBuilderpublic PersistentResource.Builder setResourceRuntimeSpec(ResourceRuntimeSpec value)
Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration.
.google.cloud.aiplatform.v1beta1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
public PersistentResource.Builder setResourceRuntimeSpec(ResourceRuntimeSpec.Builder builderForValue)
Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration.
.google.cloud.aiplatform.v1beta1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
public PersistentResource.Builder mergeResourceRuntimeSpec(ResourceRuntimeSpec value)
Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration.
.google.cloud.aiplatform.v1beta1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
public PersistentResource.Builder clearResourceRuntimeSpec()
Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration.
.google.cloud.aiplatform.v1beta1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
public ResourceRuntimeSpec.Builder getResourceRuntimeSpecBuilder()
Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration.
.google.cloud.aiplatform.v1beta1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
public ResourceRuntimeSpecOrBuilder getResourceRuntimeSpecOrBuilder()
Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration.
.google.cloud.aiplatform.v1beta1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
getResourceRuntimeSpecOrBuilder in interface PersistentResourceOrBuilderpublic boolean hasResourceRuntime()
Output only. Runtime information of the Persistent Resource.
.google.cloud.aiplatform.v1beta1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasResourceRuntime in interface PersistentResourceOrBuilderpublic ResourceRuntime getResourceRuntime()
Output only. Runtime information of the Persistent Resource.
.google.cloud.aiplatform.v1beta1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getResourceRuntime in interface PersistentResourceOrBuilderpublic PersistentResource.Builder setResourceRuntime(ResourceRuntime value)
Output only. Runtime information of the Persistent Resource.
.google.cloud.aiplatform.v1beta1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PersistentResource.Builder setResourceRuntime(ResourceRuntime.Builder builderForValue)
Output only. Runtime information of the Persistent Resource.
.google.cloud.aiplatform.v1beta1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PersistentResource.Builder mergeResourceRuntime(ResourceRuntime value)
Output only. Runtime information of the Persistent Resource.
.google.cloud.aiplatform.v1beta1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PersistentResource.Builder clearResourceRuntime()
Output only. Runtime information of the Persistent Resource.
.google.cloud.aiplatform.v1beta1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ResourceRuntime.Builder getResourceRuntimeBuilder()
Output only. Runtime information of the Persistent Resource.
.google.cloud.aiplatform.v1beta1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ResourceRuntimeOrBuilder getResourceRuntimeOrBuilder()
Output only. Runtime information of the Persistent Resource.
.google.cloud.aiplatform.v1beta1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getResourceRuntimeOrBuilder in interface PersistentResourceOrBuilderpublic 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];
getReservedIpRangesList in interface PersistentResourceOrBuilderpublic 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];
getReservedIpRangesCount in interface PersistentResourceOrBuilderpublic 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];
getReservedIpRanges in interface PersistentResourceOrBuilderindex - The index of the element to return.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];
getReservedIpRangesBytes in interface PersistentResourceOrBuilderindex - The index of the value to return.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];
index - The index to set the value at.value - The reservedIpRanges to set.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];
value - The reservedIpRanges to add.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];
values - The reservedIpRanges to add.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];
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];
value - The bytes of the reservedIpRanges to add.public boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];getSatisfiesPzs in interface PersistentResourceOrBuilderpublic PersistentResource.Builder setSatisfiesPzs(boolean value)
Output only. Reserved for future use.
bool satisfies_pzs = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The satisfiesPzs to set.public PersistentResource.Builder clearSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];public boolean getSatisfiesPzi()
Output only. Reserved for future use.
bool satisfies_pzi = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];getSatisfiesPzi in interface PersistentResourceOrBuilderpublic PersistentResource.Builder setSatisfiesPzi(boolean value)
Output only. Reserved for future use.
bool satisfies_pzi = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The satisfiesPzi to set.public PersistentResource.Builder clearSatisfiesPzi()
Output only. Reserved for future use.
bool satisfies_pzi = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];public final PersistentResource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentResource.Builder>public final PersistentResource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentResource.Builder>Copyright © 2025 Google LLC. All rights reserved.