Interface ImportSuggestionDenyListEntriesRequestOrBuilder (0.37.0)

public interface ImportSuggestionDenyListEntriesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGcsSource()

public abstract 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.v1alpha.GcsSource gcs_source = 3;

Returns
TypeDescription
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public abstract 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.v1alpha.GcsSource gcs_source = 3;

Returns
TypeDescription
GcsSourceOrBuilder

getInlineSource()

public abstract ImportSuggestionDenyListEntriesRequest.InlineSource getInlineSource()

The Inline source for the input content for suggestion deny list entries.

.google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;

Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource

The inlineSource.

getInlineSourceOrBuilder()

public abstract ImportSuggestionDenyListEntriesRequest.InlineSourceOrBuilder getInlineSourceOrBuilder()

The Inline source for the input content for suggestion deny list entries.

.google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;

Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSourceOrBuilder

getParent()

public abstract 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) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract 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) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getSourceCase()

public abstract ImportSuggestionDenyListEntriesRequest.SourceCase getSourceCase()
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.SourceCase

hasGcsSource()

public abstract 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.v1alpha.GcsSource gcs_source = 3;

Returns
TypeDescription
boolean

Whether the gcsSource field is set.

hasInlineSource()

public abstract boolean hasInlineSource()

The Inline source for the input content for suggestion deny list entries.

.google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;

Returns
TypeDescription
boolean

Whether the inlineSource field is set.