Class PurgeExecutionsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PurgeExecutionsRequest.Builder>
com.google.cloud.aiplatform.v1.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.GeneratedMessage.Builder<PurgeExecutionsRequest.Builder> implements PurgeExecutionsRequestOrBuilder
 Request message for
 [MetadataService.PurgeExecutions][google.cloud.aiplatform.v1.MetadataService.PurgeExecutions].
 
Protobuf type google.cloud.aiplatform.v1.PurgeExecutionsRequest
  • 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<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.GeneratedMessage.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.GeneratedMessage.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
    • mergeFrom

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