Class PurgeExecutionsRequest.Builder

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

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

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

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

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

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

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

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

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

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

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

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

        public PurgeExecutionsRequest.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<PurgeExecutionsRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. The metadata store to purge Executions from.
         Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface PurgeExecutionsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The metadata store to purge Executions from.
         Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface PurgeExecutionsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public PurgeExecutionsRequest.Builder setParent​(String value)
         Required. The metadata store to purge Executions from.
         Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public PurgeExecutionsRequest.Builder clearParent()
         Required. The metadata store to purge Executions from.
         Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public PurgeExecutionsRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The metadata store to purge Executions from.
         Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getFilter

        public String getFilter()
         Required. A required filter matching the Executions to be purged.
         E.g., `update_time <= 2020-11-19T11:30:00-04:00`.
         
        string filter = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFilter in interface PurgeExecutionsRequestOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         Required. A required filter matching the Executions to be purged.
         E.g., `update_time <= 2020-11-19T11:30:00-04:00`.
         
        string filter = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFilterBytes in interface PurgeExecutionsRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public PurgeExecutionsRequest.Builder setFilter​(String value)
         Required. A required filter matching the Executions to be purged.
         E.g., `update_time <= 2020-11-19T11:30:00-04:00`.
         
        string filter = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public PurgeExecutionsRequest.Builder clearFilter()
         Required. A required filter matching the Executions to be purged.
         E.g., `update_time <= 2020-11-19T11:30:00-04:00`.
         
        string filter = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setFilterBytes

        public PurgeExecutionsRequest.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         Required. A required filter matching the Executions to be purged.
         E.g., `update_time <= 2020-11-19T11:30:00-04:00`.
         
        string filter = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • getForce

        public boolean getForce()
         Optional. Flag to indicate to actually perform the purge.
         If `force` is set to false, the method will return a sample of
         Execution names that would be deleted.
         
        bool force = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getForce in interface PurgeExecutionsRequestOrBuilder
        Returns:
        The force.
      • setForce

        public PurgeExecutionsRequest.Builder setForce​(boolean value)
         Optional. Flag to indicate to actually perform the purge.
         If `force` is set to false, the method will return a sample of
         Execution names that would be deleted.
         
        bool force = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The force to set.
        Returns:
        This builder for chaining.
      • clearForce

        public PurgeExecutionsRequest.Builder clearForce()
         Optional. Flag to indicate to actually perform the purge.
         If `force` is set to false, the method will return a sample of
         Execution names that would be deleted.
         
        bool force = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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