Package com.google.cloud.retail.v2
Interface ImportCompletionDataRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportCompletionDataRequest
,ImportCompletionDataRequest.Builder
public interface ImportCompletionDataRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletionDataInputConfig
getInputConfig()
Required.CompletionDataInputConfigOrBuilder
getInputConfigOrBuilder()
Required.String
getNotificationPubsubTopic()
Pub/Sub topic for receiving notification.com.google.protobuf.ByteString
getNotificationPubsubTopicBytes()
Pub/Sub topic for receiving notification.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasInputConfig()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.v2.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.v2.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.v2.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.
-
-