Interface ImportCompletionDataRequestOrBuilder (2.48.0)

public interface ImportCompletionDataRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInputConfig()

public abstract CompletionDataInputConfig getInputConfig()

Required. The desired input location of the data.

.google.cloud.retail.v2.CompletionDataInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CompletionDataInputConfig

The inputConfig.

getInputConfigOrBuilder()

public abstract CompletionDataInputConfigOrBuilder getInputConfigOrBuilder()

Required. The desired input location of the data.

.google.cloud.retail.v2.CompletionDataInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CompletionDataInputConfigOrBuilder

getNotificationPubsubTopic()

public abstract String getNotificationPubsubTopic()

Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation. Format of the Pub/Sub topic is projects/{project}/topics/{topic}.

string notification_pubsub_topic = 3;

Returns
Type Description
String

The notificationPubsubTopic.

getNotificationPubsubTopicBytes()

public abstract ByteString getNotificationPubsubTopicBytes()

Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation. Format of the Pub/Sub topic is projects/{project}/topics/{topic}.

string notification_pubsub_topic = 3;

Returns
Type Description
ByteString

The bytes for notificationPubsubTopic.

getParent()

public abstract String getParent()

Required. The catalog which the suggestions dataset belongs to.

Format: projects/1234/locations/global/catalogs/default_catalog.

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 catalog which the suggestions dataset belongs to.

Format: projects/1234/locations/global/catalogs/default_catalog.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasInputConfig()

public abstract boolean hasInputConfig()

Required. The desired input location of the data.

.google.cloud.retail.v2.CompletionDataInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the inputConfig field is set.