public static final class CreateArtifactRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateArtifactRequest.Builder> implements CreateArtifactRequestOrBuilder
Request message for [MetadataService.CreateArtifact][google.cloud.aiplatform.v1.MetadataService.CreateArtifact].Protobuf type
google.cloud.aiplatform.v1.CreateArtifactRequest| Modifier and Type | Method and Description |
|---|---|
CreateArtifactRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateArtifactRequest |
build() |
CreateArtifactRequest |
buildPartial() |
CreateArtifactRequest.Builder |
clear() |
CreateArtifactRequest.Builder |
clearArtifact()
Required.
|
CreateArtifactRequest.Builder |
clearArtifactId()
The {artifact} portion of the resource name with the format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
If not provided, the Artifact's ID will be a UUID generated by the service.
|
CreateArtifactRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CreateArtifactRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CreateArtifactRequest.Builder |
clearParent()
Required.
|
CreateArtifactRequest.Builder |
clone() |
Artifact |
getArtifact()
Required.
|
Artifact.Builder |
getArtifactBuilder()
Required.
|
String |
getArtifactId()
The {artifact} portion of the resource name with the format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
If not provided, the Artifact's ID will be a UUID generated by the service.
|
com.google.protobuf.ByteString |
getArtifactIdBytes()
The {artifact} portion of the resource name with the format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
If not provided, the Artifact's ID will be a UUID generated by the service.
|
ArtifactOrBuilder |
getArtifactOrBuilder()
Required.
|
CreateArtifactRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
boolean |
hasArtifact()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateArtifactRequest.Builder |
mergeArtifact(Artifact value)
Required.
|
CreateArtifactRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CreateArtifactRequest.Builder |
mergeFrom(CreateArtifactRequest other) |
CreateArtifactRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CreateArtifactRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CreateArtifactRequest.Builder |
setArtifact(Artifact.Builder builderForValue)
Required.
|
CreateArtifactRequest.Builder |
setArtifact(Artifact value)
Required.
|
CreateArtifactRequest.Builder |
setArtifactId(String value)
The {artifact} portion of the resource name with the format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
If not provided, the Artifact's ID will be a UUID generated by the service.
|
CreateArtifactRequest.Builder |
setArtifactIdBytes(com.google.protobuf.ByteString value)
The {artifact} portion of the resource name with the format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
If not provided, the Artifact's ID will be a UUID generated by the service.
|
CreateArtifactRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateArtifactRequest.Builder |
setParent(String value)
Required.
|
CreateArtifactRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
CreateArtifactRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CreateArtifactRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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<CreateArtifactRequest.Builder>public CreateArtifactRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateArtifactRequest.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<CreateArtifactRequest.Builder>public CreateArtifactRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateArtifactRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateArtifactRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateArtifactRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateArtifactRequest.Builder>public CreateArtifactRequest.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<CreateArtifactRequest.Builder>public CreateArtifactRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateArtifactRequest.Builder>public CreateArtifactRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateArtifactRequest.Builder>public CreateArtifactRequest.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<CreateArtifactRequest.Builder>public CreateArtifactRequest.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<CreateArtifactRequest.Builder>public CreateArtifactRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateArtifactRequest.Builder>public CreateArtifactRequest.Builder mergeFrom(CreateArtifactRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateArtifactRequest.Builder>public CreateArtifactRequest.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<CreateArtifactRequest.Builder>IOExceptionpublic String getParent()
Required. The resource name of the MetadataStore where the Artifact should
be created.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface CreateArtifactRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The resource name of the MetadataStore where the Artifact should
be created.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface CreateArtifactRequestOrBuilderpublic CreateArtifactRequest.Builder setParent(String value)
Required. The resource name of the MetadataStore where the Artifact should
be created.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public CreateArtifactRequest.Builder clearParent()
Required. The resource name of the MetadataStore where the Artifact should
be created.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateArtifactRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The resource name of the MetadataStore where the Artifact should
be created.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public boolean hasArtifact()
Required. The Artifact to create.
.google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];
hasArtifact in interface CreateArtifactRequestOrBuilderpublic Artifact getArtifact()
Required. The Artifact to create.
.google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];
getArtifact in interface CreateArtifactRequestOrBuilderpublic CreateArtifactRequest.Builder setArtifact(Artifact value)
Required. The Artifact to create.
.google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateArtifactRequest.Builder setArtifact(Artifact.Builder builderForValue)
Required. The Artifact to create.
.google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateArtifactRequest.Builder mergeArtifact(Artifact value)
Required. The Artifact to create.
.google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateArtifactRequest.Builder clearArtifact()
Required. The Artifact to create.
.google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];
public Artifact.Builder getArtifactBuilder()
Required. The Artifact to create.
.google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];
public ArtifactOrBuilder getArtifactOrBuilder()
Required. The Artifact to create.
.google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];
getArtifactOrBuilder in interface CreateArtifactRequestOrBuilderpublic String getArtifactId()
The {artifact} portion of the resource name with the format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
If not provided, the Artifact's ID will be a UUID generated by the service.
Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`.
Must be unique across all Artifacts in the parent MetadataStore. (Otherwise
the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the
caller can't view the preexisting Artifact.)
string artifact_id = 3;getArtifactId in interface CreateArtifactRequestOrBuilderpublic com.google.protobuf.ByteString getArtifactIdBytes()
The {artifact} portion of the resource name with the format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
If not provided, the Artifact's ID will be a UUID generated by the service.
Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`.
Must be unique across all Artifacts in the parent MetadataStore. (Otherwise
the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the
caller can't view the preexisting Artifact.)
string artifact_id = 3;getArtifactIdBytes in interface CreateArtifactRequestOrBuilderpublic CreateArtifactRequest.Builder setArtifactId(String value)
The {artifact} portion of the resource name with the format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
If not provided, the Artifact's ID will be a UUID generated by the service.
Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`.
Must be unique across all Artifacts in the parent MetadataStore. (Otherwise
the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the
caller can't view the preexisting Artifact.)
string artifact_id = 3;value - The artifactId to set.public CreateArtifactRequest.Builder clearArtifactId()
The {artifact} portion of the resource name with the format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
If not provided, the Artifact's ID will be a UUID generated by the service.
Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`.
Must be unique across all Artifacts in the parent MetadataStore. (Otherwise
the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the
caller can't view the preexisting Artifact.)
string artifact_id = 3;public CreateArtifactRequest.Builder setArtifactIdBytes(com.google.protobuf.ByteString value)
The {artifact} portion of the resource name with the format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
If not provided, the Artifact's ID will be a UUID generated by the service.
Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`.
Must be unique across all Artifacts in the parent MetadataStore. (Otherwise
the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the
caller can't view the preexisting Artifact.)
string artifact_id = 3;value - The bytes for artifactId to set.public final CreateArtifactRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateArtifactRequest.Builder>public final CreateArtifactRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateArtifactRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.