public final class UpdateArtifactRequest extends GeneratedMessageV3 implements UpdateArtifactRequestOrBuilder
Request message for
MetadataService.UpdateArtifact.
Protobuf type google.cloud.aiplatform.v1.UpdateArtifactRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
public static final int ALLOW_MISSING_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ARTIFACT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static UpdateArtifactRequest getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static UpdateArtifactRequest.Builder newBuilder()
public static UpdateArtifactRequest.Builder newBuilder(UpdateArtifactRequest prototype)
public static UpdateArtifactRequest parseDelimitedFrom(InputStream input)
public static UpdateArtifactRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateArtifactRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static UpdateArtifactRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateArtifactRequest parseFrom(ByteString data)
public static UpdateArtifactRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateArtifactRequest parseFrom(CodedInputStream input)
public static UpdateArtifactRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateArtifactRequest parseFrom(InputStream input)
public static UpdateArtifactRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateArtifactRequest parseFrom(ByteBuffer data)
public static UpdateArtifactRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<UpdateArtifactRequest> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Artifact | The artifact.
|
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];
public UpdateArtifactRequest getDefaultInstanceForType()
public Parser<UpdateArtifactRequest> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 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.v1.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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpdateArtifactRequest.Builder newBuilderForType()
protected UpdateArtifactRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public UpdateArtifactRequest.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides