- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public static final class ImportCompletionDataRequest.Builder extends GeneratedMessageV3.Builder<ImportCompletionDataRequest.Builder> implements ImportCompletionDataRequestOrBuilder
Request message for ImportCompletionData methods.
Protobuf type google.cloud.retail.v2.ImportCompletionDataRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportCompletionDataRequest.BuilderImplements
ImportCompletionDataRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportCompletionDataRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
build()
public ImportCompletionDataRequest build()
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest |
buildPartial()
public ImportCompletionDataRequest buildPartial()
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest |
clear()
public ImportCompletionDataRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ImportCompletionDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
clearInputConfig()
public ImportCompletionDataRequest.Builder clearInputConfig()
Required. The desired input location of the data.
.google.cloud.retail.v2.CompletionDataInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
clearNotificationPubsubTopic()
public ImportCompletionDataRequest.Builder clearNotificationPubsubTopic()
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 |
ImportCompletionDataRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportCompletionDataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
clearParent()
public ImportCompletionDataRequest.Builder clearParent()
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 |
ImportCompletionDataRequest.Builder |
This builder for chaining. |
clone()
public ImportCompletionDataRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
getDefaultInstanceForType()
public ImportCompletionDataRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInputConfig()
public 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. |
getInputConfigBuilder()
public CompletionDataInputConfig.Builder getInputConfigBuilder()
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.Builder |
getInputConfigOrBuilder()
public 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ImportCompletionDataRequest other)
public ImportCompletionDataRequest.Builder mergeFrom(ImportCompletionDataRequest other)
Parameter | |
---|---|
Name | Description |
other |
ImportCompletionDataRequest |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportCompletionDataRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ImportCompletionDataRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
mergeInputConfig(CompletionDataInputConfig value)
public ImportCompletionDataRequest.Builder mergeInputConfig(CompletionDataInputConfig value)
Required. The desired input location of the data.
.google.cloud.retail.v2.CompletionDataInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
CompletionDataInputConfig |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportCompletionDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ImportCompletionDataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
setInputConfig(CompletionDataInputConfig value)
public ImportCompletionDataRequest.Builder setInputConfig(CompletionDataInputConfig value)
Required. The desired input location of the data.
.google.cloud.retail.v2.CompletionDataInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
CompletionDataInputConfig |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
setInputConfig(CompletionDataInputConfig.Builder builderForValue)
public ImportCompletionDataRequest.Builder setInputConfig(CompletionDataInputConfig.Builder builderForValue)
Required. The desired input location of the data.
.google.cloud.retail.v2.CompletionDataInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
CompletionDataInputConfig.Builder |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
setNotificationPubsubTopic(String value)
public ImportCompletionDataRequest.Builder setNotificationPubsubTopic(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The notificationPubsubTopic to set. |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
This builder for chaining. |
setNotificationPubsubTopicBytes(ByteString value)
public ImportCompletionDataRequest.Builder setNotificationPubsubTopicBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for notificationPubsubTopic to set. |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
This builder for chaining. |
setParent(String value)
public ImportCompletionDataRequest.Builder setParent(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ImportCompletionDataRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportCompletionDataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportCompletionDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportCompletionDataRequest.Builder |