Class UpdateArtifactRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateArtifactRequest.Builder>
com.google.cloud.aiplatform.v1.UpdateArtifactRequest.Builder
All Implemented Interfaces:
UpdateArtifactRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateArtifactRequest

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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateArtifactRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UpdateArtifactRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdateArtifactRequest.Builder>
    • getDefaultInstanceForType

      public UpdateArtifactRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public UpdateArtifactRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateArtifactRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdateArtifactRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateArtifactRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdateArtifactRequest.Builder>
    • mergeFrom

      public UpdateArtifactRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateArtifactRequest.Builder>
      Throws:
      IOException
    • hasArtifact

      public 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];
      Specified by:
      hasArtifact in interface UpdateArtifactRequestOrBuilder
      Returns:
      Whether the artifact field is set.
    • getArtifact

      public 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];
      Specified by:
      getArtifact in interface UpdateArtifactRequestOrBuilder
      Returns:
      The artifact.
    • setArtifact

      public 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];
    • setArtifact

      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];
    • mergeArtifact

      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];
    • clearArtifact

      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];
    • getArtifactBuilder

      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];
    • getArtifactOrBuilder

      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];
      Specified by:
      getArtifactOrBuilder in interface UpdateArtifactRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. A FieldMask indicating which fields should be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateArtifactRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public 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];
      Specified by:
      getUpdateMask in interface UpdateArtifactRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public 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];
    • setUpdateMask

      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];
    • mergeUpdateMask

      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];
    • 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];
    • getUpdateMaskBuilder

      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];
    • getUpdateMaskOrBuilder

      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];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateArtifactRequestOrBuilder
    • getAllowMissing

      public 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;
      Specified by:
      getAllowMissing in interface UpdateArtifactRequestOrBuilder
      Returns:
      The allowMissing.
    • setAllowMissing

      public 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;
      Parameters:
      value - The allowMissing to set.
      Returns:
      This builder for chaining.
    • clearAllowMissing

      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;
      Returns:
      This builder for chaining.