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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpdateArtifactRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateArtifactRequest build()
public UpdateArtifactRequest buildPartial()
public UpdateArtifactRequest.Builder clear()
Overrides
public UpdateArtifactRequest.Builder clearAllowMissing()
If set to true, and the
Artifact is not found, a new
Artifact is created.
bool allow_missing = 3;
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];
public UpdateArtifactRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdateArtifactRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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 UpdateArtifactRequest.Builder clone()
Overrides
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.
|
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.
|
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];
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];
public UpdateArtifactRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
public FieldMask.Builder getUpdateMaskBuilder()
Optional. A FieldMask indicating which fields should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. A FieldMask indicating which fields should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
public UpdateArtifactRequest.Builder mergeFrom(UpdateArtifactRequest other)
public UpdateArtifactRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateArtifactRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final UpdateArtifactRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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.
|
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];
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];
public UpdateArtifactRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateArtifactRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdateArtifactRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|