Class UpdateArtifactRequest.Builder (3.55.0)

public static final class UpdateArtifactRequest.Builder extends GeneratedMessageV3.Builder<UpdateArtifactRequest.Builder> implements UpdateArtifactRequestOrBuilder

Request message for MetadataService.UpdateArtifact.

Protobuf type google.cloud.aiplatform.v1beta1.UpdateArtifactRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateArtifactRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateArtifactRequest.Builder
Overrides

build()

public UpdateArtifactRequest build()
Returns
Type Description
UpdateArtifactRequest

buildPartial()

public UpdateArtifactRequest buildPartial()
Returns
Type Description
UpdateArtifactRequest

clear()

public UpdateArtifactRequest.Builder clear()
Returns
Type Description
UpdateArtifactRequest.Builder
Overrides

clearAllowMissing()

public UpdateArtifactRequest.Builder clearAllowMissing()

If set to true, and the Artifact is not found, a new Artifact is created.

bool allow_missing = 3;

Returns
Type Description
UpdateArtifactRequest.Builder

This builder for chaining.

clearArtifact()

public UpdateArtifactRequest.Builder clearArtifact()

Required. The Artifact containing updates. The Artifact's Artifact.name field is used to identify the Artifact to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateArtifactRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateArtifactRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateArtifactRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateArtifactRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateArtifactRequest.Builder
Overrides

clearUpdateMask()

public UpdateArtifactRequest.Builder clearUpdateMask()

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateArtifactRequest.Builder

clone()

public UpdateArtifactRequest.Builder clone()
Returns
Type Description
UpdateArtifactRequest.Builder
Overrides

getAllowMissing()

public boolean getAllowMissing()

If set to true, and the Artifact is not found, a new Artifact is created.

bool allow_missing = 3;

Returns
Type Description
boolean

The allowMissing.

getArtifact()

public Artifact getArtifact()

Required. The Artifact containing updates. The Artifact's Artifact.name field is used to identify the Artifact to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Artifact

The artifact.

getArtifactBuilder()

public Artifact.Builder getArtifactBuilder()

Required. The Artifact containing updates. The Artifact's Artifact.name field is used to identify the Artifact to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Artifact.Builder

getArtifactOrBuilder()

public ArtifactOrBuilder getArtifactOrBuilder()

Required. The Artifact containing updates. The Artifact's Artifact.name field is used to identify the Artifact to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ArtifactOrBuilder

getDefaultInstanceForType()

public UpdateArtifactRequest getDefaultInstanceForType()
Returns
Type Description
UpdateArtifactRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasArtifact()

public boolean hasArtifact()

Required. The Artifact containing updates. The Artifact's Artifact.name field is used to identify the Artifact to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the artifact field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeArtifact(Artifact value)

public UpdateArtifactRequest.Builder mergeArtifact(Artifact value)

Required. The Artifact containing updates. The Artifact's Artifact.name field is used to identify the Artifact to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Artifact
Returns
Type Description
UpdateArtifactRequest.Builder

mergeFrom(UpdateArtifactRequest other)

public UpdateArtifactRequest.Builder mergeFrom(UpdateArtifactRequest other)
Parameter
Name Description
other UpdateArtifactRequest
Returns
Type Description
UpdateArtifactRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateArtifactRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateArtifactRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateArtifactRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateArtifactRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateArtifactRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateArtifactRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateArtifactRequest.Builder mergeUpdateMask(FieldMask value)

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateArtifactRequest.Builder

setAllowMissing(boolean value)

public UpdateArtifactRequest.Builder setAllowMissing(boolean value)

If set to true, and the Artifact is not found, a new Artifact is created.

bool allow_missing = 3;

Parameter
Name Description
value boolean

The allowMissing to set.

Returns
Type Description
UpdateArtifactRequest.Builder

This builder for chaining.

setArtifact(Artifact value)

public UpdateArtifactRequest.Builder setArtifact(Artifact value)

Required. The Artifact containing updates. The Artifact's Artifact.name field is used to identify the Artifact to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Artifact
Returns
Type Description
UpdateArtifactRequest.Builder

setArtifact(Artifact.Builder builderForValue)

public UpdateArtifactRequest.Builder setArtifact(Artifact.Builder builderForValue)

Required. The Artifact containing updates. The Artifact's Artifact.name field is used to identify the Artifact to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

.google.cloud.aiplatform.v1beta1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Artifact.Builder
Returns
Type Description
UpdateArtifactRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateArtifactRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateArtifactRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateArtifactRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateArtifactRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateArtifactRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateArtifactRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateArtifactRequest.Builder setUpdateMask(FieldMask value)

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateArtifactRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateArtifactRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateArtifactRequest.Builder