public static final class CreatePersistentResourceRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreatePersistentResourceRequest.Builder> implements CreatePersistentResourceRequestOrBuilder
Request message for [PersistentResourceService.CreatePersistentResource][google.cloud.aiplatform.v1.PersistentResourceService.CreatePersistentResource].Protobuf type
google.cloud.aiplatform.v1.CreatePersistentResourceRequestaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CreatePersistentResourceRequest.Builder>public CreatePersistentResourceRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<CreatePersistentResourceRequest.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.GeneratedMessage.Builder<CreatePersistentResourceRequest.Builder>public CreatePersistentResourceRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreatePersistentResourceRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreatePersistentResourceRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreatePersistentResourceRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreatePersistentResourceRequest.Builder>public CreatePersistentResourceRequest.Builder mergeFrom(CreatePersistentResourceRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<CreatePersistentResourceRequest.Builder>public CreatePersistentResourceRequest.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<CreatePersistentResourceRequest.Builder>IOExceptionpublic String getParent()
Required. The resource name of the Location to create the
PersistentResource in. Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface CreatePersistentResourceRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The resource name of the Location to create the
PersistentResource in. Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface CreatePersistentResourceRequestOrBuilderpublic CreatePersistentResourceRequest.Builder setParent(String value)
Required. The resource name of the Location to create the
PersistentResource in. Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public CreatePersistentResourceRequest.Builder clearParent()
Required. The resource name of the Location to create the
PersistentResource in. Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreatePersistentResourceRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The resource name of the Location to create the
PersistentResource in. Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public boolean hasPersistentResource()
Required. The PersistentResource to create.
.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 2 [(.google.api.field_behavior) = REQUIRED];
hasPersistentResource in interface CreatePersistentResourceRequestOrBuilderpublic PersistentResource getPersistentResource()
Required. The PersistentResource to create.
.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 2 [(.google.api.field_behavior) = REQUIRED];
getPersistentResource in interface CreatePersistentResourceRequestOrBuilderpublic CreatePersistentResourceRequest.Builder setPersistentResource(PersistentResource value)
Required. The PersistentResource to create.
.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 2 [(.google.api.field_behavior) = REQUIRED];
public CreatePersistentResourceRequest.Builder setPersistentResource(PersistentResource.Builder builderForValue)
Required. The PersistentResource to create.
.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 2 [(.google.api.field_behavior) = REQUIRED];
public CreatePersistentResourceRequest.Builder mergePersistentResource(PersistentResource value)
Required. The PersistentResource to create.
.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 2 [(.google.api.field_behavior) = REQUIRED];
public CreatePersistentResourceRequest.Builder clearPersistentResource()
Required. The PersistentResource to create.
.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 2 [(.google.api.field_behavior) = REQUIRED];
public PersistentResource.Builder getPersistentResourceBuilder()
Required. The PersistentResource to create.
.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 2 [(.google.api.field_behavior) = REQUIRED];
public PersistentResourceOrBuilder getPersistentResourceOrBuilder()
Required. The PersistentResource to create.
.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 2 [(.google.api.field_behavior) = REQUIRED];
getPersistentResourceOrBuilder in interface CreatePersistentResourceRequestOrBuilderpublic String getPersistentResourceId()
Required. The ID to use for the PersistentResource, which become the final
component of the PersistentResource's resource name.
The maximum length is 63 characters, and valid characters
are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.
string persistent_resource_id = 3 [(.google.api.field_behavior) = REQUIRED];getPersistentResourceId in interface CreatePersistentResourceRequestOrBuilderpublic com.google.protobuf.ByteString getPersistentResourceIdBytes()
Required. The ID to use for the PersistentResource, which become the final
component of the PersistentResource's resource name.
The maximum length is 63 characters, and valid characters
are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.
string persistent_resource_id = 3 [(.google.api.field_behavior) = REQUIRED];getPersistentResourceIdBytes in interface CreatePersistentResourceRequestOrBuilderpublic CreatePersistentResourceRequest.Builder setPersistentResourceId(String value)
Required. The ID to use for the PersistentResource, which become the final
component of the PersistentResource's resource name.
The maximum length is 63 characters, and valid characters
are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.
string persistent_resource_id = 3 [(.google.api.field_behavior) = REQUIRED];value - The persistentResourceId to set.public CreatePersistentResourceRequest.Builder clearPersistentResourceId()
Required. The ID to use for the PersistentResource, which become the final
component of the PersistentResource's resource name.
The maximum length is 63 characters, and valid characters
are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.
string persistent_resource_id = 3 [(.google.api.field_behavior) = REQUIRED];public CreatePersistentResourceRequest.Builder setPersistentResourceIdBytes(com.google.protobuf.ByteString value)
Required. The ID to use for the PersistentResource, which become the final
component of the PersistentResource's resource name.
The maximum length is 63 characters, and valid characters
are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.
string persistent_resource_id = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for persistentResourceId to set.Copyright © 2026 Google LLC. All rights reserved.