Class ImportUserEventsRequest.Builder (0.27.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.v1beta.ImportUserEventsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportUserEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportUserEventsRequest.Builder
Overrides

build()

public ImportUserEventsRequest build()
Returns
TypeDescription
ImportUserEventsRequest

buildPartial()

public ImportUserEventsRequest buildPartial()
Returns
TypeDescription
ImportUserEventsRequest

clear()

public ImportUserEventsRequest.Builder clear()
Returns
TypeDescription
ImportUserEventsRequest.Builder
Overrides

clearBigquerySource()

public ImportUserEventsRequest.Builder clearBigquerySource()

BigQuery input source.

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

Returns
TypeDescription
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.v1beta.ImportErrorConfig error_config = 5;

Returns
TypeDescription
ImportUserEventsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportUserEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportUserEventsRequest.Builder
Overrides

clearGcsSource()

public ImportUserEventsRequest.Builder clearGcsSource()

Cloud Storage location for the input content.

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

Returns
TypeDescription
ImportUserEventsRequest.Builder

clearInlineSource()

public ImportUserEventsRequest.Builder clearInlineSource()

The Inline source for the input content for UserEvents.

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

Returns
TypeDescription
ImportUserEventsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportUserEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ImportUserEventsRequest.Builder

This builder for chaining.

clearSource()

public ImportUserEventsRequest.Builder clearSource()
Returns
TypeDescription
ImportUserEventsRequest.Builder

clone()

public ImportUserEventsRequest.Builder clone()
Returns
TypeDescription
ImportUserEventsRequest.Builder
Overrides

getBigquerySource()

public BigQuerySource getBigquerySource()

BigQuery input source.

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

Returns
TypeDescription
BigQuerySource

The bigquerySource.

getBigquerySourceBuilder()

public BigQuerySource.Builder getBigquerySourceBuilder()

BigQuery input source.

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

Returns
TypeDescription
BigQuerySource.Builder

getBigquerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()

BigQuery input source.

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

Returns
TypeDescription
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public ImportUserEventsRequest getDefaultInstanceForType()
Returns
TypeDescription
ImportUserEventsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1beta.ImportErrorConfig error_config = 5;

Returns
TypeDescription
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.v1beta.ImportErrorConfig error_config = 5;

Returns
TypeDescription
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.v1beta.ImportErrorConfig error_config = 5;

Returns
TypeDescription
ImportErrorConfigOrBuilder

getGcsSource()

public GcsSource getGcsSource()

Cloud Storage location for the input content.

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

Returns
TypeDescription
GcsSource

The gcsSource.

getGcsSourceBuilder()

public GcsSource.Builder getGcsSourceBuilder()

Cloud Storage location for the input content.

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

Returns
TypeDescription
GcsSource.Builder

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Cloud Storage location for the input content.

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

Returns
TypeDescription
GcsSourceOrBuilder

getInlineSource()

public ImportUserEventsRequest.InlineSource getInlineSource()

The Inline source for the input content for UserEvents.

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

Returns
TypeDescription
ImportUserEventsRequest.InlineSource

The inlineSource.

getInlineSourceBuilder()

public ImportUserEventsRequest.InlineSource.Builder getInlineSourceBuilder()

The Inline source for the input content for UserEvents.

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

Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder

getInlineSourceOrBuilder()

public ImportUserEventsRequest.InlineSourceOrBuilder getInlineSourceOrBuilder()

The Inline source for the input content for UserEvents.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getSourceCase()

public ImportUserEventsRequest.SourceCase getSourceCase()
Returns
TypeDescription
ImportUserEventsRequest.SourceCase

hasBigquerySource()

public boolean hasBigquerySource()

BigQuery input source.

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

Returns
TypeDescription
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.v1beta.ImportErrorConfig error_config = 5;

Returns
TypeDescription
boolean

Whether the errorConfig field is set.

hasGcsSource()

public boolean hasGcsSource()

Cloud Storage location for the input content.

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

Returns
TypeDescription
boolean

Whether the gcsSource field is set.

hasInlineSource()

public boolean hasInlineSource()

The Inline source for the input content for UserEvents.

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

Returns
TypeDescription
boolean

Whether the inlineSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBigquerySource(BigQuerySource value)

public ImportUserEventsRequest.Builder mergeBigquerySource(BigQuerySource value)

BigQuery input source.

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

Parameter
NameDescription
valueBigQuerySource
Returns
TypeDescription
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.v1beta.ImportErrorConfig error_config = 5;

Parameter
NameDescription
valueImportErrorConfig
Returns
TypeDescription
ImportUserEventsRequest.Builder

mergeFrom(ImportUserEventsRequest other)

public ImportUserEventsRequest.Builder mergeFrom(ImportUserEventsRequest other)
Parameter
NameDescription
otherImportUserEventsRequest
Returns
TypeDescription
ImportUserEventsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportUserEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportUserEventsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportUserEventsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportUserEventsRequest.Builder
Overrides

mergeGcsSource(GcsSource value)

public ImportUserEventsRequest.Builder mergeGcsSource(GcsSource value)

Cloud Storage location for the input content.

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

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
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.v1beta.ImportUserEventsRequest.InlineSource inline_source = 2;

Parameter
NameDescription
valueImportUserEventsRequest.InlineSource
Returns
TypeDescription
ImportUserEventsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportUserEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportUserEventsRequest.Builder
Overrides

setBigquerySource(BigQuerySource value)

public ImportUserEventsRequest.Builder setBigquerySource(BigQuerySource value)

BigQuery input source.

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

Parameter
NameDescription
valueBigQuerySource
Returns
TypeDescription
ImportUserEventsRequest.Builder

setBigquerySource(BigQuerySource.Builder builderForValue)

public ImportUserEventsRequest.Builder setBigquerySource(BigQuerySource.Builder builderForValue)

BigQuery input source.

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

Parameter
NameDescription
builderForValueBigQuerySource.Builder
Returns
TypeDescription
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.v1beta.ImportErrorConfig error_config = 5;

Parameter
NameDescription
valueImportErrorConfig
Returns
TypeDescription
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.v1beta.ImportErrorConfig error_config = 5;

Parameter
NameDescription
builderForValueImportErrorConfig.Builder
Returns
TypeDescription
ImportUserEventsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportUserEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportUserEventsRequest.Builder
Overrides

setGcsSource(GcsSource value)

public ImportUserEventsRequest.Builder setGcsSource(GcsSource value)

Cloud Storage location for the input content.

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

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
ImportUserEventsRequest.Builder

setGcsSource(GcsSource.Builder builderForValue)

public ImportUserEventsRequest.Builder setGcsSource(GcsSource.Builder builderForValue)

Cloud Storage location for the input content.

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

Parameter
NameDescription
builderForValueGcsSource.Builder
Returns
TypeDescription
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.v1beta.ImportUserEventsRequest.InlineSource inline_source = 2;

Parameter
NameDescription
valueImportUserEventsRequest.InlineSource
Returns
TypeDescription
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.v1beta.ImportUserEventsRequest.InlineSource inline_source = 2;

Parameter
NameDescription
builderForValueImportUserEventsRequest.InlineSource.Builder
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportUserEventsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportUserEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportUserEventsRequest.Builder
Overrides