public static final class ImportUserEventsRequest.Builder extends GeneratedMessageV3.Builder<ImportUserEventsRequest.Builder> implements ImportUserEventsRequestOrBuilder
Request message for the ImportUserEvents request.
Protobuf type google.cloud.retail.v2.ImportUserEventsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportUserEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImportUserEventsRequest build()
buildPartial()
public ImportUserEventsRequest buildPartial()
clear()
public ImportUserEventsRequest.Builder clear()
Overrides
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;
clearField(Descriptors.FieldDescriptor field)
public ImportUserEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportUserEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
clone()
public ImportUserEventsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public ImportUserEventsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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;
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;
public UserEventInputConfig getInputConfig()
Required. The desired input location of the data.
.google.cloud.retail.v2.UserEventInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
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];
public UserEventInputConfigOrBuilder getInputConfigOrBuilder()
Required. The desired input location of the data.
.google.cloud.retail.v2.UserEventInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
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.
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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;
mergeFrom(ImportUserEventsRequest other)
public ImportUserEventsRequest.Builder mergeFrom(ImportUserEventsRequest other)
public ImportUserEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportUserEventsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportUserEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ImportUserEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
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 |
String
The parent to set.
|
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 |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportUserEventsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportUserEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides