public static final class ImportUserEventsRequest.Builder extends GeneratedMessage.Builder<ImportUserEventsRequest.Builder> implements ImportUserEventsRequestOrBuilderRequest message for the ImportUserEvents request.
Protobuf type google.cloud.retail.v2.ImportUserEventsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportUserEventsRequest.BuilderImplements
ImportUserEventsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ImportUserEventsRequest build()| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest |
|
buildPartial()
public ImportUserEventsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest |
|
clear()
public ImportUserEventsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
|
clearErrorsConfig()
public ImportUserEventsRequest.Builder clearErrorsConfig()The desired location of errors incurred during the Import. Cannot be set for inline user event imports.
.google.cloud.retail.v2.ImportErrorsConfig errors_config = 3;
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
|
clearInputConfig()
public ImportUserEventsRequest.Builder clearInputConfig()Required. The desired input location of the data.
.google.cloud.retail.v2.UserEventInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
|
clearParent()
public ImportUserEventsRequest.Builder clearParent() Required. projects/1234/locations/global/catalogs/default_catalog
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ImportUserEventsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getErrorsConfig()
public ImportErrorsConfig getErrorsConfig()The desired location of errors incurred during the Import. Cannot be set for inline user event imports.
.google.cloud.retail.v2.ImportErrorsConfig errors_config = 3;
| Returns | |
|---|---|
| Type | Description |
ImportErrorsConfig |
The errorsConfig. |
getErrorsConfigBuilder()
public ImportErrorsConfig.Builder getErrorsConfigBuilder()The desired location of errors incurred during the Import. Cannot be set for inline user event imports.
.google.cloud.retail.v2.ImportErrorsConfig errors_config = 3;
| Returns | |
|---|---|
| Type | Description |
ImportErrorsConfig.Builder |
|
getErrorsConfigOrBuilder()
public ImportErrorsConfigOrBuilder getErrorsConfigOrBuilder()The desired location of errors incurred during the Import. Cannot be set for inline user event imports.
.google.cloud.retail.v2.ImportErrorsConfig errors_config = 3;
| Returns | |
|---|---|
| Type | Description |
ImportErrorsConfigOrBuilder |
|
getInputConfig()
public UserEventInputConfig getInputConfig()Required. The desired input location of the data.
.google.cloud.retail.v2.UserEventInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UserEventInputConfig |
The inputConfig. |
getInputConfigBuilder()
public UserEventInputConfig.Builder getInputConfigBuilder()Required. The desired input location of the data.
.google.cloud.retail.v2.UserEventInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UserEventInputConfig.Builder |
|
getInputConfigOrBuilder()
public UserEventInputConfigOrBuilder getInputConfigOrBuilder()Required. The desired input location of the data.
.google.cloud.retail.v2.UserEventInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UserEventInputConfigOrBuilder |
|
getParent()
public String getParent() Required. 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. 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. |
hasErrorsConfig()
public boolean hasErrorsConfig()The desired location of errors incurred during the Import. Cannot be set for inline user event imports.
.google.cloud.retail.v2.ImportErrorsConfig errors_config = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the errorsConfig field is set. |
hasInputConfig()
public boolean hasInputConfig()Required. The desired input location of the data.
.google.cloud.retail.v2.UserEventInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the inputConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeErrorsConfig(ImportErrorsConfig value)
public ImportUserEventsRequest.Builder mergeErrorsConfig(ImportErrorsConfig value)The desired location of errors incurred during the Import. Cannot be set for inline user event imports.
.google.cloud.retail.v2.ImportErrorsConfig errors_config = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ImportErrorsConfig |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
|
mergeFrom(ImportUserEventsRequest other)
public ImportUserEventsRequest.Builder mergeFrom(ImportUserEventsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportUserEventsRequest |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportUserEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportUserEventsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
|
mergeInputConfig(UserEventInputConfig value)
public ImportUserEventsRequest.Builder mergeInputConfig(UserEventInputConfig value)Required. The desired input location of the data.
.google.cloud.retail.v2.UserEventInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
UserEventInputConfig |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
|
setErrorsConfig(ImportErrorsConfig value)
public ImportUserEventsRequest.Builder setErrorsConfig(ImportErrorsConfig value)The desired location of errors incurred during the Import. Cannot be set for inline user event imports.
.google.cloud.retail.v2.ImportErrorsConfig errors_config = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ImportErrorsConfig |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
|
setErrorsConfig(ImportErrorsConfig.Builder builderForValue)
public ImportUserEventsRequest.Builder setErrorsConfig(ImportErrorsConfig.Builder builderForValue)The desired location of errors incurred during the Import. Cannot be set for inline user event imports.
.google.cloud.retail.v2.ImportErrorsConfig errors_config = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ImportErrorsConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
|
setInputConfig(UserEventInputConfig value)
public ImportUserEventsRequest.Builder setInputConfig(UserEventInputConfig value)Required. The desired input location of the data.
.google.cloud.retail.v2.UserEventInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
UserEventInputConfig |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
|
setInputConfig(UserEventInputConfig.Builder builderForValue)
public ImportUserEventsRequest.Builder setInputConfig(UserEventInputConfig.Builder builderForValue)Required. The desired input location of the data.
.google.cloud.retail.v2.UserEventInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UserEventInputConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
|
setParent(String value)
public ImportUserEventsRequest.Builder setParent(String value) Required. projects/1234/locations/global/catalogs/default_catalog
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ImportUserEventsRequest.Builder setParentBytes(ByteString value) Required. projects/1234/locations/global/catalogs/default_catalog
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsRequest.Builder |
This builder for chaining. |