Class UpdateExecutionRequest.Builder

  • All Implemented Interfaces:
    UpdateExecutionRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    UpdateExecutionRequest

    public static final class UpdateExecutionRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateExecutionRequest.Builder>
    implements UpdateExecutionRequestOrBuilder
     Request message for
     [MetadataService.UpdateExecution][google.cloud.aiplatform.v1.MetadataService.UpdateExecution].
     
    Protobuf type google.cloud.aiplatform.v1.UpdateExecutionRequest
    • 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<UpdateExecutionRequest.Builder>
      • clear

        public UpdateExecutionRequest.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<UpdateExecutionRequest.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<UpdateExecutionRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public UpdateExecutionRequest.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<UpdateExecutionRequest.Builder>
      • clearField

        public UpdateExecutionRequest.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<UpdateExecutionRequest.Builder>
      • clearOneof

        public UpdateExecutionRequest.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<UpdateExecutionRequest.Builder>
      • setRepeatedField

        public UpdateExecutionRequest.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<UpdateExecutionRequest.Builder>
      • addRepeatedField

        public UpdateExecutionRequest.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<UpdateExecutionRequest.Builder>
      • isInitialized

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

        public UpdateExecutionRequest.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<UpdateExecutionRequest.Builder>
        Throws:
        IOException
      • hasExecution

        public boolean hasExecution()
         Required. The Execution containing updates.
         The Execution's [Execution.name][google.cloud.aiplatform.v1.Execution.name]
         field is used to identify the Execution to be updated. Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
         
        .google.cloud.aiplatform.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasExecution in interface UpdateExecutionRequestOrBuilder
        Returns:
        Whether the execution field is set.
      • getExecution

        public Execution getExecution()
         Required. The Execution containing updates.
         The Execution's [Execution.name][google.cloud.aiplatform.v1.Execution.name]
         field is used to identify the Execution to be updated. Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
         
        .google.cloud.aiplatform.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getExecution in interface UpdateExecutionRequestOrBuilder
        Returns:
        The execution.
      • setExecution

        public UpdateExecutionRequest.Builder setExecution​(Execution value)
         Required. The Execution containing updates.
         The Execution's [Execution.name][google.cloud.aiplatform.v1.Execution.name]
         field is used to identify the Execution to be updated. Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
         
        .google.cloud.aiplatform.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];
      • setExecution

        public UpdateExecutionRequest.Builder setExecution​(Execution.Builder builderForValue)
         Required. The Execution containing updates.
         The Execution's [Execution.name][google.cloud.aiplatform.v1.Execution.name]
         field is used to identify the Execution to be updated. Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
         
        .google.cloud.aiplatform.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];
      • mergeExecution

        public UpdateExecutionRequest.Builder mergeExecution​(Execution value)
         Required. The Execution containing updates.
         The Execution's [Execution.name][google.cloud.aiplatform.v1.Execution.name]
         field is used to identify the Execution to be updated. Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
         
        .google.cloud.aiplatform.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearExecution

        public UpdateExecutionRequest.Builder clearExecution()
         Required. The Execution containing updates.
         The Execution's [Execution.name][google.cloud.aiplatform.v1.Execution.name]
         field is used to identify the Execution to be updated. Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
         
        .google.cloud.aiplatform.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];
      • getExecutionBuilder

        public Execution.Builder getExecutionBuilder()
         Required. The Execution containing updates.
         The Execution's [Execution.name][google.cloud.aiplatform.v1.Execution.name]
         field is used to identify the Execution to be updated. Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
         
        .google.cloud.aiplatform.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];
      • getExecutionOrBuilder

        public ExecutionOrBuilder getExecutionOrBuilder()
         Required. The Execution containing updates.
         The Execution's [Execution.name][google.cloud.aiplatform.v1.Execution.name]
         field is used to identify the Execution to be updated. Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
         
        .google.cloud.aiplatform.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getExecutionOrBuilder in interface UpdateExecutionRequestOrBuilder
      • 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 UpdateExecutionRequestOrBuilder
        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 UpdateExecutionRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateExecutionRequest.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 UpdateExecutionRequest.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 UpdateExecutionRequest.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 UpdateExecutionRequest.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 UpdateExecutionRequestOrBuilder
      • getAllowMissing

        public boolean getAllowMissing()
         If set to true, and the [Execution][google.cloud.aiplatform.v1.Execution]
         is not found, a new [Execution][google.cloud.aiplatform.v1.Execution] is
         created.
         
        bool allow_missing = 3;
        Specified by:
        getAllowMissing in interface UpdateExecutionRequestOrBuilder
        Returns:
        The allowMissing.
      • setAllowMissing

        public UpdateExecutionRequest.Builder setAllowMissing​(boolean value)
         If set to true, and the [Execution][google.cloud.aiplatform.v1.Execution]
         is not found, a new [Execution][google.cloud.aiplatform.v1.Execution] is
         created.
         
        bool allow_missing = 3;
        Parameters:
        value - The allowMissing to set.
        Returns:
        This builder for chaining.
      • clearAllowMissing

        public UpdateExecutionRequest.Builder clearAllowMissing()
         If set to true, and the [Execution][google.cloud.aiplatform.v1.Execution]
         is not found, a new [Execution][google.cloud.aiplatform.v1.Execution] is
         created.
         
        bool allow_missing = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final UpdateExecutionRequest.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<UpdateExecutionRequest.Builder>
      • mergeUnknownFields

        public final UpdateExecutionRequest.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<UpdateExecutionRequest.Builder>