Package com.google.cloud.retail.v2alpha
Interface ImportCompletionDataRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportCompletionDataRequest,ImportCompletionDataRequest.Builder
@Generated
public interface ImportCompletionDataRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.Pub/Sub topic for receiving notification.com.google.protobuf.ByteStringPub/Sub topic for receiving notification.Required.com.google.protobuf.ByteStringRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasInputConfig
boolean hasInputConfig()Required. The desired input location of the data.
.google.cloud.retail.v2alpha.CompletionDataInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the inputConfig field is set.
-
getInputConfig
CompletionDataInputConfig getInputConfig()Required. The desired input location of the data.
.google.cloud.retail.v2alpha.CompletionDataInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The inputConfig.
-
getInputConfigOrBuilder
CompletionDataInputConfigOrBuilder getInputConfigOrBuilder()Required. The desired input location of the data.
.google.cloud.retail.v2alpha.CompletionDataInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; -
getNotificationPubsubTopic
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][google.longrunning.Operation]. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.string notification_pubsub_topic = 3;- Returns:
- The notificationPubsubTopic.
-
getNotificationPubsubTopicBytes
com.google.protobuf.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][google.longrunning.Operation]. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.string notification_pubsub_topic = 3;- Returns:
- The bytes for notificationPubsubTopic.
-