Class RemoveExamplesRequest.Builder

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

public static final class RemoveExamplesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<RemoveExamplesRequest.Builder> implements RemoveExamplesRequestOrBuilder
 Request message for
 [ExampleStoreService.RemoveExamples][google.cloud.aiplatform.v1beta1.ExampleStoreService.RemoveExamples].
 
Protobuf type google.cloud.aiplatform.v1beta1.RemoveExamplesRequest
  • 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<RemoveExamplesRequest.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<RemoveExamplesRequest.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<RemoveExamplesRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public RemoveExamplesRequest.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<RemoveExamplesRequest.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<RemoveExamplesRequest.Builder>
    • mergeFrom

      public RemoveExamplesRequest.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<RemoveExamplesRequest.Builder>
      Throws:
      IOException
    • getMetadataFilterCase

      public RemoveExamplesRequest.MetadataFilterCase getMetadataFilterCase()
      Specified by:
      getMetadataFilterCase in interface RemoveExamplesRequestOrBuilder
    • clearMetadataFilter

      public RemoveExamplesRequest.Builder clearMetadataFilter()
    • hasStoredContentsExampleFilter

      public boolean hasStoredContentsExampleFilter()
       The metadata filters for StoredContentsExamples.
       
      .google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
      Specified by:
      hasStoredContentsExampleFilter in interface RemoveExamplesRequestOrBuilder
      Returns:
      Whether the storedContentsExampleFilter field is set.
    • getStoredContentsExampleFilter

      public StoredContentsExampleFilter getStoredContentsExampleFilter()
       The metadata filters for StoredContentsExamples.
       
      .google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
      Specified by:
      getStoredContentsExampleFilter in interface RemoveExamplesRequestOrBuilder
      Returns:
      The storedContentsExampleFilter.
    • setStoredContentsExampleFilter

      public RemoveExamplesRequest.Builder setStoredContentsExampleFilter(StoredContentsExampleFilter value)
       The metadata filters for StoredContentsExamples.
       
      .google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
    • setStoredContentsExampleFilter

      public RemoveExamplesRequest.Builder setStoredContentsExampleFilter(StoredContentsExampleFilter.Builder builderForValue)
       The metadata filters for StoredContentsExamples.
       
      .google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
    • mergeStoredContentsExampleFilter

      public RemoveExamplesRequest.Builder mergeStoredContentsExampleFilter(StoredContentsExampleFilter value)
       The metadata filters for StoredContentsExamples.
       
      .google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
    • clearStoredContentsExampleFilter

      public RemoveExamplesRequest.Builder clearStoredContentsExampleFilter()
       The metadata filters for StoredContentsExamples.
       
      .google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
    • getStoredContentsExampleFilterBuilder

      public StoredContentsExampleFilter.Builder getStoredContentsExampleFilterBuilder()
       The metadata filters for StoredContentsExamples.
       
      .google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
    • getStoredContentsExampleFilterOrBuilder

      public StoredContentsExampleFilterOrBuilder getStoredContentsExampleFilterOrBuilder()
       The metadata filters for StoredContentsExamples.
       
      .google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
      Specified by:
      getStoredContentsExampleFilterOrBuilder in interface RemoveExamplesRequestOrBuilder
    • getExampleStore

      public String getExampleStore()
       Required. The name of the ExampleStore resource that the examples should be
       removed from. Format:
       `projects/{project}/locations/{location}/exampleStores/{example_store}`
       
      string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getExampleStore in interface RemoveExamplesRequestOrBuilder
      Returns:
      The exampleStore.
    • getExampleStoreBytes

      public com.google.protobuf.ByteString getExampleStoreBytes()
       Required. The name of the ExampleStore resource that the examples should be
       removed from. Format:
       `projects/{project}/locations/{location}/exampleStores/{example_store}`
       
      string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getExampleStoreBytes in interface RemoveExamplesRequestOrBuilder
      Returns:
      The bytes for exampleStore.
    • setExampleStore

      public RemoveExamplesRequest.Builder setExampleStore(String value)
       Required. The name of the ExampleStore resource that the examples should be
       removed from. Format:
       `projects/{project}/locations/{location}/exampleStores/{example_store}`
       
      string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The exampleStore to set.
      Returns:
      This builder for chaining.
    • clearExampleStore

      public RemoveExamplesRequest.Builder clearExampleStore()
       Required. The name of the ExampleStore resource that the examples should be
       removed from. Format:
       `projects/{project}/locations/{location}/exampleStores/{example_store}`
       
      string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setExampleStoreBytes

      public RemoveExamplesRequest.Builder setExampleStoreBytes(com.google.protobuf.ByteString value)
       Required. The name of the ExampleStore resource that the examples should be
       removed from. Format:
       `projects/{project}/locations/{location}/exampleStores/{example_store}`
       
      string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for exampleStore to set.
      Returns:
      This builder for chaining.
    • getExampleIdsList

      public com.google.protobuf.ProtocolStringList getExampleIdsList()
       Optional. Example IDs to remove. If both metadata filters and Example IDs
       are specified, the metadata filters will be applied to the specified
       examples in order to identify which should be removed.
       
      repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExampleIdsList in interface RemoveExamplesRequestOrBuilder
      Returns:
      A list containing the exampleIds.
    • getExampleIdsCount

      public int getExampleIdsCount()
       Optional. Example IDs to remove. If both metadata filters and Example IDs
       are specified, the metadata filters will be applied to the specified
       examples in order to identify which should be removed.
       
      repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExampleIdsCount in interface RemoveExamplesRequestOrBuilder
      Returns:
      The count of exampleIds.
    • getExampleIds

      public String getExampleIds(int index)
       Optional. Example IDs to remove. If both metadata filters and Example IDs
       are specified, the metadata filters will be applied to the specified
       examples in order to identify which should be removed.
       
      repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExampleIds in interface RemoveExamplesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The exampleIds at the given index.
    • getExampleIdsBytes

      public com.google.protobuf.ByteString getExampleIdsBytes(int index)
       Optional. Example IDs to remove. If both metadata filters and Example IDs
       are specified, the metadata filters will be applied to the specified
       examples in order to identify which should be removed.
       
      repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExampleIdsBytes in interface RemoveExamplesRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the exampleIds at the given index.
    • setExampleIds

      public RemoveExamplesRequest.Builder setExampleIds(int index, String value)
       Optional. Example IDs to remove. If both metadata filters and Example IDs
       are specified, the metadata filters will be applied to the specified
       examples in order to identify which should be removed.
       
      repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The exampleIds to set.
      Returns:
      This builder for chaining.
    • addExampleIds

      public RemoveExamplesRequest.Builder addExampleIds(String value)
       Optional. Example IDs to remove. If both metadata filters and Example IDs
       are specified, the metadata filters will be applied to the specified
       examples in order to identify which should be removed.
       
      repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The exampleIds to add.
      Returns:
      This builder for chaining.
    • addAllExampleIds

      public RemoveExamplesRequest.Builder addAllExampleIds(Iterable<String> values)
       Optional. Example IDs to remove. If both metadata filters and Example IDs
       are specified, the metadata filters will be applied to the specified
       examples in order to identify which should be removed.
       
      repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The exampleIds to add.
      Returns:
      This builder for chaining.
    • clearExampleIds

      public RemoveExamplesRequest.Builder clearExampleIds()
       Optional. Example IDs to remove. If both metadata filters and Example IDs
       are specified, the metadata filters will be applied to the specified
       examples in order to identify which should be removed.
       
      repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addExampleIdsBytes

      public RemoveExamplesRequest.Builder addExampleIdsBytes(com.google.protobuf.ByteString value)
       Optional. Example IDs to remove. If both metadata filters and Example IDs
       are specified, the metadata filters will be applied to the specified
       examples in order to identify which should be removed.
       
      repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the exampleIds to add.
      Returns:
      This builder for chaining.