public static final class UpdateArtifactRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateArtifactRequest.Builder> implements UpdateArtifactRequestOrBuilder
Request message for [MetadataService.UpdateArtifact][google.cloud.aiplatform.v1.MetadataService.UpdateArtifact].Protobuf type
google.cloud.aiplatform.v1.UpdateArtifactRequest| Modifier and Type | Method and Description |
|---|---|
UpdateArtifactRequest |
build() |
UpdateArtifactRequest |
buildPartial() |
UpdateArtifactRequest.Builder |
clear() |
UpdateArtifactRequest.Builder |
clearAllowMissing()
If set to true, and the [Artifact][google.cloud.aiplatform.v1.Artifact] is
not found, a new [Artifact][google.cloud.aiplatform.v1.Artifact] is
created.
|
UpdateArtifactRequest.Builder |
clearArtifact()
Required.
|
UpdateArtifactRequest.Builder |
clearUpdateMask()
Optional.
|
boolean |
getAllowMissing()
If set to true, and the [Artifact][google.cloud.aiplatform.v1.Artifact] is
not found, a new [Artifact][google.cloud.aiplatform.v1.Artifact] is
created.
|
Artifact |
getArtifact()
Required.
|
Artifact.Builder |
getArtifactBuilder()
Required.
|
ArtifactOrBuilder |
getArtifactOrBuilder()
Required.
|
UpdateArtifactRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.FieldMask |
getUpdateMask()
Optional.
|
com.google.protobuf.FieldMask.Builder |
getUpdateMaskBuilder()
Optional.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
Optional.
|
boolean |
hasArtifact()
Required.
|
boolean |
hasUpdateMask()
Optional.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UpdateArtifactRequest.Builder |
mergeArtifact(Artifact value)
Required.
|
UpdateArtifactRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UpdateArtifactRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
UpdateArtifactRequest.Builder |
mergeFrom(UpdateArtifactRequest other) |
UpdateArtifactRequest.Builder |
mergeUpdateMask(com.google.protobuf.FieldMask value)
Optional.
|
UpdateArtifactRequest.Builder |
setAllowMissing(boolean value)
If set to true, and the [Artifact][google.cloud.aiplatform.v1.Artifact] is
not found, a new [Artifact][google.cloud.aiplatform.v1.Artifact] is
created.
|
UpdateArtifactRequest.Builder |
setArtifact(Artifact.Builder builderForValue)
Required.
|
UpdateArtifactRequest.Builder |
setArtifact(Artifact value)
Required.
|
UpdateArtifactRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Optional.
|
UpdateArtifactRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask value)
Optional.
|
addRepeatedField, 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<UpdateArtifactRequest.Builder>public UpdateArtifactRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<UpdateArtifactRequest.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<UpdateArtifactRequest.Builder>public UpdateArtifactRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UpdateArtifactRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UpdateArtifactRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UpdateArtifactRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateArtifactRequest.Builder>public UpdateArtifactRequest.Builder mergeFrom(UpdateArtifactRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdateArtifactRequest.Builder>public UpdateArtifactRequest.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<UpdateArtifactRequest.Builder>IOExceptionpublic boolean hasArtifact()
Required. The Artifact containing updates.
The Artifact's [Artifact.name][google.cloud.aiplatform.v1.Artifact.name]
field is used to identify the Artifact to be updated. Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
.google.cloud.aiplatform.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
hasArtifact in interface UpdateArtifactRequestOrBuilderpublic Artifact getArtifact()
Required. The Artifact containing updates.
The Artifact's [Artifact.name][google.cloud.aiplatform.v1.Artifact.name]
field is used to identify the Artifact to be updated. Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
.google.cloud.aiplatform.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
getArtifact in interface UpdateArtifactRequestOrBuilderpublic UpdateArtifactRequest.Builder setArtifact(Artifact value)
Required. The Artifact containing updates.
The Artifact's [Artifact.name][google.cloud.aiplatform.v1.Artifact.name]
field is used to identify the Artifact to be updated. Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
.google.cloud.aiplatform.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateArtifactRequest.Builder setArtifact(Artifact.Builder builderForValue)
Required. The Artifact containing updates.
The Artifact's [Artifact.name][google.cloud.aiplatform.v1.Artifact.name]
field is used to identify the Artifact to be updated. Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
.google.cloud.aiplatform.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateArtifactRequest.Builder mergeArtifact(Artifact value)
Required. The Artifact containing updates.
The Artifact's [Artifact.name][google.cloud.aiplatform.v1.Artifact.name]
field is used to identify the Artifact to be updated. Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
.google.cloud.aiplatform.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateArtifactRequest.Builder clearArtifact()
Required. The Artifact containing updates.
The Artifact's [Artifact.name][google.cloud.aiplatform.v1.Artifact.name]
field is used to identify the Artifact to be updated. Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
.google.cloud.aiplatform.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
public Artifact.Builder getArtifactBuilder()
Required. The Artifact containing updates.
The Artifact's [Artifact.name][google.cloud.aiplatform.v1.Artifact.name]
field is used to identify the Artifact to be updated. Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
.google.cloud.aiplatform.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
public ArtifactOrBuilder getArtifactOrBuilder()
Required. The Artifact containing updates.
The Artifact's [Artifact.name][google.cloud.aiplatform.v1.Artifact.name]
field is used to identify the Artifact to be updated. Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
.google.cloud.aiplatform.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
getArtifactOrBuilder in interface UpdateArtifactRequestOrBuilderpublic boolean hasUpdateMask()
Optional. A FieldMask indicating which fields should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
hasUpdateMask in interface UpdateArtifactRequestOrBuilderpublic com.google.protobuf.FieldMask getUpdateMask()
Optional. A FieldMask indicating which fields should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMask in interface UpdateArtifactRequestOrBuilderpublic UpdateArtifactRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
Optional. A FieldMask indicating which fields should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
public UpdateArtifactRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Optional. A FieldMask indicating which fields should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
public UpdateArtifactRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
Optional. A FieldMask indicating which fields should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
public UpdateArtifactRequest.Builder clearUpdateMask()
Optional. A FieldMask indicating which fields should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
Optional. A FieldMask indicating which fields should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. A FieldMask indicating which fields should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder in interface UpdateArtifactRequestOrBuilderpublic boolean getAllowMissing()
If set to true, and the [Artifact][google.cloud.aiplatform.v1.Artifact] is not found, a new [Artifact][google.cloud.aiplatform.v1.Artifact] is created.
bool allow_missing = 3;getAllowMissing in interface UpdateArtifactRequestOrBuilderpublic UpdateArtifactRequest.Builder setAllowMissing(boolean value)
If set to true, and the [Artifact][google.cloud.aiplatform.v1.Artifact] is not found, a new [Artifact][google.cloud.aiplatform.v1.Artifact] is created.
bool allow_missing = 3;value - The allowMissing to set.public UpdateArtifactRequest.Builder clearAllowMissing()
If set to true, and the [Artifact][google.cloud.aiplatform.v1.Artifact] is not found, a new [Artifact][google.cloud.aiplatform.v1.Artifact] is created.
bool allow_missing = 3;Copyright © 2026 Google LLC. All rights reserved.