public static final class CreatePersistentResourceRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreatePersistentResourceRequest.Builder> implements CreatePersistentResourceRequestOrBuilder
Request message for [PersistentResourceService.CreatePersistentResource][google.cloud.aiplatform.v1.PersistentResourceService.CreatePersistentResource].Protobuf type
google.cloud.aiplatform.v1.CreatePersistentResourceRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreatePersistentResourceRequest.Builder>public CreatePersistentResourceRequest.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<CreatePersistentResourceRequest.Builder>public CreatePersistentResourceRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreatePersistentResourceRequest.Builder>public CreatePersistentResourceRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreatePersistentResourceRequest.Builder>public CreatePersistentResourceRequest.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<CreatePersistentResourceRequest.Builder>public CreatePersistentResourceRequest.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<CreatePersistentResourceRequest.Builder>public 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.GeneratedMessageV3.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.public final CreatePersistentResourceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreatePersistentResourceRequest.Builder>public final CreatePersistentResourceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreatePersistentResourceRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.