Class ImportUserEventsRequest.Builder (0.50.0)

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

Request message for the ImportUserEvents request.

Protobuf type google.cloud.discoveryengine.v1.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

clearBigquerySource()

public ImportUserEventsRequest.Builder clearBigquerySource()

BigQuery input source.

.google.cloud.discoveryengine.v1.BigQuerySource bigquery_source = 4;

Returns
Type Description
ImportUserEventsRequest.Builder

clearErrorConfig()

public ImportUserEventsRequest.Builder clearErrorConfig()

The desired location of errors incurred during the Import. Cannot be set for inline user event imports.

.google.cloud.discoveryengine.v1.ImportErrorConfig error_config = 5;

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

clearGcsSource()

public ImportUserEventsRequest.Builder clearGcsSource()

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1.GcsSource gcs_source = 3;

Returns
Type Description
ImportUserEventsRequest.Builder

clearInlineSource()

public ImportUserEventsRequest.Builder clearInlineSource()

The Inline source for the input content for UserEvents.

.google.cloud.discoveryengine.v1.ImportUserEventsRequest.InlineSource inline_source = 2;

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. Parent DataStore resource name, of the form projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}

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

Returns
Type Description
ImportUserEventsRequest.Builder

This builder for chaining.

clearSource()

public ImportUserEventsRequest.Builder clearSource()
Returns
Type Description
ImportUserEventsRequest.Builder

clone()

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

getBigquerySource()

public BigQuerySource getBigquerySource()

BigQuery input source.

.google.cloud.discoveryengine.v1.BigQuerySource bigquery_source = 4;

Returns
Type Description
BigQuerySource

The bigquerySource.

getBigquerySourceBuilder()

public BigQuerySource.Builder getBigquerySourceBuilder()

BigQuery input source.

.google.cloud.discoveryengine.v1.BigQuerySource bigquery_source = 4;

Returns
Type Description
BigQuerySource.Builder

getBigquerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()

BigQuery input source.

.google.cloud.discoveryengine.v1.BigQuerySource bigquery_source = 4;

Returns
Type Description
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public ImportUserEventsRequest getDefaultInstanceForType()
Returns
Type Description
ImportUserEventsRequest

getDescriptorForType()

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

getErrorConfig()

public ImportErrorConfig getErrorConfig()

The desired location of errors incurred during the Import. Cannot be set for inline user event imports.

.google.cloud.discoveryengine.v1.ImportErrorConfig error_config = 5;

Returns
Type Description
ImportErrorConfig

The errorConfig.

getErrorConfigBuilder()

public ImportErrorConfig.Builder getErrorConfigBuilder()

The desired location of errors incurred during the Import. Cannot be set for inline user event imports.

.google.cloud.discoveryengine.v1.ImportErrorConfig error_config = 5;

Returns
Type Description
ImportErrorConfig.Builder

getErrorConfigOrBuilder()

public ImportErrorConfigOrBuilder getErrorConfigOrBuilder()

The desired location of errors incurred during the Import. Cannot be set for inline user event imports.

.google.cloud.discoveryengine.v1.ImportErrorConfig error_config = 5;

Returns
Type Description
ImportErrorConfigOrBuilder

getGcsSource()

public GcsSource getGcsSource()

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1.GcsSource gcs_source = 3;

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceBuilder()

public GcsSource.Builder getGcsSourceBuilder()

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1.GcsSource gcs_source = 3;

Returns
Type Description
GcsSource.Builder

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1.GcsSource gcs_source = 3;

Returns
Type Description
GcsSourceOrBuilder

getInlineSource()

public ImportUserEventsRequest.InlineSource getInlineSource()

The Inline source for the input content for UserEvents.

.google.cloud.discoveryengine.v1.ImportUserEventsRequest.InlineSource inline_source = 2;

Returns
Type Description
ImportUserEventsRequest.InlineSource

The inlineSource.

getInlineSourceBuilder()

public ImportUserEventsRequest.InlineSource.Builder getInlineSourceBuilder()

The Inline source for the input content for UserEvents.

.google.cloud.discoveryengine.v1.ImportUserEventsRequest.InlineSource inline_source = 2;

Returns
Type Description
ImportUserEventsRequest.InlineSource.Builder

getInlineSourceOrBuilder()

public ImportUserEventsRequest.InlineSourceOrBuilder getInlineSourceOrBuilder()

The Inline source for the input content for UserEvents.

.google.cloud.discoveryengine.v1.ImportUserEventsRequest.InlineSource inline_source = 2;

Returns
Type Description
ImportUserEventsRequest.InlineSourceOrBuilder

getParent()

public String getParent()

Required. Parent DataStore resource name, of the form projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Parent DataStore resource name, of the form projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}

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

Returns
Type Description
ByteString

The bytes for parent.

getSourceCase()

public ImportUserEventsRequest.SourceCase getSourceCase()
Returns
Type Description
ImportUserEventsRequest.SourceCase

hasBigquerySource()

public boolean hasBigquerySource()

BigQuery input source.

.google.cloud.discoveryengine.v1.BigQuerySource bigquery_source = 4;

Returns
Type Description
boolean

Whether the bigquerySource field is set.

hasErrorConfig()

public boolean hasErrorConfig()

The desired location of errors incurred during the Import. Cannot be set for inline user event imports.

.google.cloud.discoveryengine.v1.ImportErrorConfig error_config = 5;

Returns
Type Description
boolean

Whether the errorConfig field is set.

hasGcsSource()

public boolean hasGcsSource()

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1.GcsSource gcs_source = 3;

Returns
Type Description
boolean

Whether the gcsSource field is set.

hasInlineSource()

public boolean hasInlineSource()

The Inline source for the input content for UserEvents.

.google.cloud.discoveryengine.v1.ImportUserEventsRequest.InlineSource inline_source = 2;

Returns
Type Description
boolean

Whether the inlineSource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigquerySource(BigQuerySource value)

public ImportUserEventsRequest.Builder mergeBigquerySource(BigQuerySource value)

BigQuery input source.

.google.cloud.discoveryengine.v1.BigQuerySource bigquery_source = 4;

Parameter
Name Description
value BigQuerySource
Returns
Type Description
ImportUserEventsRequest.Builder

mergeErrorConfig(ImportErrorConfig value)

public ImportUserEventsRequest.Builder mergeErrorConfig(ImportErrorConfig value)

The desired location of errors incurred during the Import. Cannot be set for inline user event imports.

.google.cloud.discoveryengine.v1.ImportErrorConfig error_config = 5;

Parameter
Name Description
value ImportErrorConfig
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

mergeGcsSource(GcsSource value)

public ImportUserEventsRequest.Builder mergeGcsSource(GcsSource value)

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1.GcsSource gcs_source = 3;

Parameter
Name Description
value GcsSource
Returns
Type Description
ImportUserEventsRequest.Builder

mergeInlineSource(ImportUserEventsRequest.InlineSource value)

public ImportUserEventsRequest.Builder mergeInlineSource(ImportUserEventsRequest.InlineSource value)

The Inline source for the input content for UserEvents.

.google.cloud.discoveryengine.v1.ImportUserEventsRequest.InlineSource inline_source = 2;

Parameter
Name Description
value ImportUserEventsRequest.InlineSource
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

setBigquerySource(BigQuerySource value)

public ImportUserEventsRequest.Builder setBigquerySource(BigQuerySource value)

BigQuery input source.

.google.cloud.discoveryengine.v1.BigQuerySource bigquery_source = 4;

Parameter
Name Description
value BigQuerySource
Returns
Type Description
ImportUserEventsRequest.Builder

setBigquerySource(BigQuerySource.Builder builderForValue)

public ImportUserEventsRequest.Builder setBigquerySource(BigQuerySource.Builder builderForValue)

BigQuery input source.

.google.cloud.discoveryengine.v1.BigQuerySource bigquery_source = 4;

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

setErrorConfig(ImportErrorConfig value)

public ImportUserEventsRequest.Builder setErrorConfig(ImportErrorConfig value)

The desired location of errors incurred during the Import. Cannot be set for inline user event imports.

.google.cloud.discoveryengine.v1.ImportErrorConfig error_config = 5;

Parameter
Name Description
value ImportErrorConfig
Returns
Type Description
ImportUserEventsRequest.Builder

setErrorConfig(ImportErrorConfig.Builder builderForValue)

public ImportUserEventsRequest.Builder setErrorConfig(ImportErrorConfig.Builder builderForValue)

The desired location of errors incurred during the Import. Cannot be set for inline user event imports.

.google.cloud.discoveryengine.v1.ImportErrorConfig error_config = 5;

Parameter
Name Description
builderForValue ImportErrorConfig.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

setGcsSource(GcsSource value)

public ImportUserEventsRequest.Builder setGcsSource(GcsSource value)

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1.GcsSource gcs_source = 3;

Parameter
Name Description
value GcsSource
Returns
Type Description
ImportUserEventsRequest.Builder

setGcsSource(GcsSource.Builder builderForValue)

public ImportUserEventsRequest.Builder setGcsSource(GcsSource.Builder builderForValue)

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1.GcsSource gcs_source = 3;

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

setInlineSource(ImportUserEventsRequest.InlineSource value)

public ImportUserEventsRequest.Builder setInlineSource(ImportUserEventsRequest.InlineSource value)

The Inline source for the input content for UserEvents.

.google.cloud.discoveryengine.v1.ImportUserEventsRequest.InlineSource inline_source = 2;

Parameter
Name Description
value ImportUserEventsRequest.InlineSource
Returns
Type Description
ImportUserEventsRequest.Builder

setInlineSource(ImportUserEventsRequest.InlineSource.Builder builderForValue)

public ImportUserEventsRequest.Builder setInlineSource(ImportUserEventsRequest.InlineSource.Builder builderForValue)

The Inline source for the input content for UserEvents.

.google.cloud.discoveryengine.v1.ImportUserEventsRequest.InlineSource inline_source = 2;

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

setParent(String value)

public ImportUserEventsRequest.Builder setParent(String value)

Required. Parent DataStore resource name, of the form projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_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. Parent DataStore resource name, of the form projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_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

setUnknownFields(UnknownFieldSet unknownFields)

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