Class ImportSuggestionDenyListEntriesRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportSuggestionDenyListEntriesRequest.Builder>
com.google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.Builder
All Implemented Interfaces:
ImportSuggestionDenyListEntriesRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ImportSuggestionDenyListEntriesRequest

public static final class ImportSuggestionDenyListEntriesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportSuggestionDenyListEntriesRequest.Builder> implements ImportSuggestionDenyListEntriesRequestOrBuilder
 Request message for
 [CompletionService.ImportSuggestionDenyListEntries][google.cloud.discoveryengine.v1beta.CompletionService.ImportSuggestionDenyListEntries]
 method.
 
Protobuf type google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest
  • 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<ImportSuggestionDenyListEntriesRequest.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<ImportSuggestionDenyListEntriesRequest.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<ImportSuggestionDenyListEntriesRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ImportSuggestionDenyListEntriesRequest.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<ImportSuggestionDenyListEntriesRequest.Builder>
      Throws:
      IOException
    • getSourceCase

      Specified by:
      getSourceCase in interface ImportSuggestionDenyListEntriesRequestOrBuilder
    • clearSource

    • hasInlineSource

      public boolean hasInlineSource()
       The Inline source for the input content for suggestion deny list entries.
       
      .google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;
      Specified by:
      hasInlineSource in interface ImportSuggestionDenyListEntriesRequestOrBuilder
      Returns:
      Whether the inlineSource field is set.
    • getInlineSource

       The Inline source for the input content for suggestion deny list entries.
       
      .google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;
      Specified by:
      getInlineSource in interface ImportSuggestionDenyListEntriesRequestOrBuilder
      Returns:
      The inlineSource.
    • setInlineSource

       The Inline source for the input content for suggestion deny list entries.
       
      .google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;
    • setInlineSource

       The Inline source for the input content for suggestion deny list entries.
       
      .google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;
    • mergeInlineSource

       The Inline source for the input content for suggestion deny list entries.
       
      .google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;
    • clearInlineSource

       The Inline source for the input content for suggestion deny list entries.
       
      .google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;
    • getInlineSourceBuilder

       The Inline source for the input content for suggestion deny list entries.
       
      .google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;
    • getInlineSourceOrBuilder

       The Inline source for the input content for suggestion deny list entries.
       
      .google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;
      Specified by:
      getInlineSourceOrBuilder in interface ImportSuggestionDenyListEntriesRequestOrBuilder
    • hasGcsSource

      public boolean hasGcsSource()
       Cloud Storage location for the input content.
      
       Only 1 file can be specified that contains all entries to import.
       Supported values `gcs_source.schema` for autocomplete suggestion deny
       list entry imports:
      
       * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry]
       per line.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
      Specified by:
      hasGcsSource in interface ImportSuggestionDenyListEntriesRequestOrBuilder
      Returns:
      Whether the gcsSource field is set.
    • getGcsSource

      public GcsSource getGcsSource()
       Cloud Storage location for the input content.
      
       Only 1 file can be specified that contains all entries to import.
       Supported values `gcs_source.schema` for autocomplete suggestion deny
       list entry imports:
      
       * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry]
       per line.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
      Specified by:
      getGcsSource in interface ImportSuggestionDenyListEntriesRequestOrBuilder
      Returns:
      The gcsSource.
    • setGcsSource

       Cloud Storage location for the input content.
      
       Only 1 file can be specified that contains all entries to import.
       Supported values `gcs_source.schema` for autocomplete suggestion deny
       list entry imports:
      
       * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry]
       per line.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
    • setGcsSource

       Cloud Storage location for the input content.
      
       Only 1 file can be specified that contains all entries to import.
       Supported values `gcs_source.schema` for autocomplete suggestion deny
       list entry imports:
      
       * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry]
       per line.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
    • mergeGcsSource

       Cloud Storage location for the input content.
      
       Only 1 file can be specified that contains all entries to import.
       Supported values `gcs_source.schema` for autocomplete suggestion deny
       list entry imports:
      
       * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry]
       per line.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
    • clearGcsSource

       Cloud Storage location for the input content.
      
       Only 1 file can be specified that contains all entries to import.
       Supported values `gcs_source.schema` for autocomplete suggestion deny
       list entry imports:
      
       * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry]
       per line.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
    • getGcsSourceBuilder

      public GcsSource.Builder getGcsSourceBuilder()
       Cloud Storage location for the input content.
      
       Only 1 file can be specified that contains all entries to import.
       Supported values `gcs_source.schema` for autocomplete suggestion deny
       list entry imports:
      
       * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry]
       per line.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
    • getGcsSourceOrBuilder

      public GcsSourceOrBuilder getGcsSourceOrBuilder()
       Cloud Storage location for the input content.
      
       Only 1 file can be specified that contains all entries to import.
       Supported values `gcs_source.schema` for autocomplete suggestion deny
       list entry imports:
      
       * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry]
       per line.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
      Specified by:
      getGcsSourceOrBuilder in interface ImportSuggestionDenyListEntriesRequestOrBuilder
    • getParent

      public String getParent()
       Required. The parent data store resource name for which to import denylist
       entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ImportSuggestionDenyListEntriesRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent data store resource name for which to import denylist
       entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ImportSuggestionDenyListEntriesRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The parent data store resource name for which to import denylist
       entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The parent data store resource name for which to import denylist
       entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ImportSuggestionDenyListEntriesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent data store resource name for which to import denylist
       entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
       
      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.