public static final class UpdateArtifactRequest.Builder extends GeneratedMessage.Builder<UpdateArtifactRequest.Builder> implements UpdateArtifactRequestOrBuilderRequest message for MetadataService.UpdateArtifact.
Protobuf type google.cloud.aiplatform.v1.UpdateArtifactRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateArtifactRequest.BuilderImplements
UpdateArtifactRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateArtifactRequest.Builder |
|
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 |
|
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.v1.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.v1.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.v1.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 |
|
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.v1.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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.v1.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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateArtifactRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateArtifactRequest.Builder |
|
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 |
booleanThe 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.v1.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.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Artifact.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateArtifactRequest.Builder |
|
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 |
|