Interface ImportSuggestionDenyListEntriesRequestOrBuilder (0.38.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.v1.GcsSource gcs_source = 3;

Returns
Type Description
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.v1.GcsSource gcs_source = 3;

Returns
Type Description
GcsSourceOrBuilder

getInlineSource()

public abstract ImportSuggestionDenyListEntriesRequest.InlineSource getInlineSource()

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

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

Returns
Type Description
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.v1.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for parent.

getSourceCase()

public abstract ImportSuggestionDenyListEntriesRequest.SourceCase getSourceCase()
Returns
Type Description
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.v1.GcsSource gcs_source = 3;

Returns
Type Description
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.v1.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;

Returns
Type Description
boolean

Whether the inlineSource field is set.