Class 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.GeneratedMessageV3.Builder<UpdateArtifactRequest.Builder>
    implements UpdateArtifactRequestOrBuilder
     Request message for
     [MetadataService.UpdateArtifact][google.cloud.aiplatform.v1beta1.MetadataService.UpdateArtifact].
     
    Protobuf type google.cloud.aiplatform.v1beta1.UpdateArtifactRequest
    • Method Detail

      • getDescriptor

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

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

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public UpdateArtifactRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateArtifactRequest.Builder>
      • clearField

        public UpdateArtifactRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateArtifactRequest.Builder>
      • clearOneof

        public UpdateArtifactRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateArtifactRequest.Builder>
      • setRepeatedField

        public UpdateArtifactRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateArtifactRequest.Builder>
      • addRepeatedField

        public UpdateArtifactRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateArtifactRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.v1beta1.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];
        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.v1beta1.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];
        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.v1beta1.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];
      • setArtifact

        public UpdateArtifactRequest.Builder setArtifact​(Artifact.Builder builderForValue)
         Required. The Artifact containing updates.
         The Artifact's
         [Artifact.name][google.cloud.aiplatform.v1beta1.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];
      • mergeArtifact

        public UpdateArtifactRequest.Builder mergeArtifact​(Artifact value)
         Required. The Artifact containing updates.
         The Artifact's
         [Artifact.name][google.cloud.aiplatform.v1beta1.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];
      • clearArtifact

        public UpdateArtifactRequest.Builder clearArtifact()
         Required. The Artifact containing updates.
         The Artifact's
         [Artifact.name][google.cloud.aiplatform.v1beta1.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];
      • getArtifactBuilder

        public Artifact.Builder getArtifactBuilder()
         Required. The Artifact containing updates.
         The Artifact's
         [Artifact.name][google.cloud.aiplatform.v1beta1.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];
      • getArtifactOrBuilder

        public ArtifactOrBuilder getArtifactOrBuilder()
         Required. The Artifact containing updates.
         The Artifact's
         [Artifact.name][google.cloud.aiplatform.v1beta1.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];
        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.v1beta1.Artifact] is not found, a new
         [Artifact][google.cloud.aiplatform.v1beta1.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.v1beta1.Artifact] is not found, a new
         [Artifact][google.cloud.aiplatform.v1beta1.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.v1beta1.Artifact] is not found, a new
         [Artifact][google.cloud.aiplatform.v1beta1.Artifact] is created.
         
        bool allow_missing = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final UpdateArtifactRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateArtifactRequest.Builder>
      • mergeUnknownFields

        public final UpdateArtifactRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateArtifactRequest.Builder>