Class ImportUserEventsRequest.Builder (0.60.0)

public static final class ImportUserEventsRequest.Builder extends GeneratedMessageV3.Builder<ImportUserEventsRequest.Builder> implements ImportUserEventsRequestOrBuilder

Request message for the ImportUserEvents request.

Protobuf type google.cloud.recommendationengine.v1beta1.ImportUserEventsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportUserEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportUserEventsRequest.Builder
Overrides

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
Overrides

clearErrorsConfig()

public ImportUserEventsRequest.Builder clearErrorsConfig()

Optional. The desired location of errors incurred during the Import.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImportUserEventsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportUserEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportUserEventsRequest.Builder
Overrides

clearInputConfig()

public ImportUserEventsRequest.Builder clearInputConfig()

Required. The desired input location of the data.

.google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportUserEventsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportUserEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportUserEventsRequest.Builder
Overrides

clearParent()

public ImportUserEventsRequest.Builder clearParent()

Required. projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ImportUserEventsRequest.Builder

This builder for chaining.

clearRequestId()

public ImportUserEventsRequest.Builder clearRequestId()

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency for expensive long running operations. Server-generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response. Note that this field must not be set if the desired input config is catalog_inline_source.

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImportUserEventsRequest.Builder

This builder for chaining.

clone()

public ImportUserEventsRequest.Builder clone()
Returns
Type Description
ImportUserEventsRequest.Builder
Overrides

getDefaultInstanceForType()

public ImportUserEventsRequest getDefaultInstanceForType()
Returns
Type Description
ImportUserEventsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrorsConfig()

public ImportErrorsConfig getErrorsConfig()

Optional. The desired location of errors incurred during the Import.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImportErrorsConfig

The errorsConfig.

getErrorsConfigBuilder()

public ImportErrorsConfig.Builder getErrorsConfigBuilder()

Optional. The desired location of errors incurred during the Import.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImportErrorsConfig.Builder

getErrorsConfigOrBuilder()

public ImportErrorsConfigOrBuilder getErrorsConfigOrBuilder()

Optional. The desired location of errors incurred during the Import.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImportErrorsConfigOrBuilder

getInputConfig()

public InputConfig getInputConfig()

Required. The desired input location of the data.

.google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InputConfig

The inputConfig.

getInputConfigBuilder()

public InputConfig.Builder getInputConfigBuilder()

Required. The desired input location of the data.

.google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InputConfig.Builder

getInputConfigOrBuilder()

public InputConfigOrBuilder getInputConfigOrBuilder()

Required. The desired input location of the data.

.google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InputConfigOrBuilder

getParent()

public String getParent()

Required. projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store

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/eventStores/default_event_store

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public String getRequestId()

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency for expensive long running operations. Server-generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response. Note that this field must not be set if the desired input config is catalog_inline_source.

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency for expensive long running operations. Server-generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response. Note that this field must not be set if the desired input config is catalog_inline_source.

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for requestId.

hasErrorsConfig()

public boolean hasErrorsConfig()

Optional. The desired location of errors incurred during the Import.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the errorsConfig field is set.

hasInputConfig()

public boolean hasInputConfig()

Required. The desired input location of the data.

.google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the inputConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeErrorsConfig(ImportErrorsConfig value)

public ImportUserEventsRequest.Builder mergeErrorsConfig(ImportErrorsConfig value)

Optional. The desired location of errors incurred during the Import.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportUserEventsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportUserEventsRequest.Builder
Overrides

mergeInputConfig(InputConfig value)

public ImportUserEventsRequest.Builder mergeInputConfig(InputConfig value)

Required. The desired input location of the data.

.google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value InputConfig
Returns
Type Description
ImportUserEventsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportUserEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportUserEventsRequest.Builder
Overrides

setErrorsConfig(ImportErrorsConfig value)

public ImportUserEventsRequest.Builder setErrorsConfig(ImportErrorsConfig value)

Optional. The desired location of errors incurred during the Import.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ImportErrorsConfig
Returns
Type Description
ImportUserEventsRequest.Builder

setErrorsConfig(ImportErrorsConfig.Builder builderForValue)

public ImportUserEventsRequest.Builder setErrorsConfig(ImportErrorsConfig.Builder builderForValue)

Optional. The desired location of errors incurred during the Import.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ImportErrorsConfig.Builder
Returns
Type Description
ImportUserEventsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportUserEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportUserEventsRequest.Builder
Overrides

setInputConfig(InputConfig value)

public ImportUserEventsRequest.Builder setInputConfig(InputConfig value)

Required. The desired input location of the data.

.google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value InputConfig
Returns
Type Description
ImportUserEventsRequest.Builder

setInputConfig(InputConfig.Builder builderForValue)

public ImportUserEventsRequest.Builder setInputConfig(InputConfig.Builder builderForValue)

Required. The desired input location of the data.

.google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue InputConfig.Builder
Returns
Type Description
ImportUserEventsRequest.Builder

setParent(String value)

public ImportUserEventsRequest.Builder setParent(String value)

Required. projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The 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/eventStores/default_event_store

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
ImportUserEventsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportUserEventsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportUserEventsRequest.Builder
Overrides

setRequestId(String value)

public ImportUserEventsRequest.Builder setRequestId(String value)

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency for expensive long running operations. Server-generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response. Note that this field must not be set if the desired input config is catalog_inline_source.

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
ImportUserEventsRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public ImportUserEventsRequest.Builder setRequestIdBytes(ByteString value)

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency for expensive long running operations. Server-generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response. Note that this field must not be set if the desired input config is catalog_inline_source.

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
ImportUserEventsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportUserEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportUserEventsRequest.Builder
Overrides