Class ImportUserEventsRequest (0.48.0)

public final class ImportUserEventsRequest extends GeneratedMessageV3 implements ImportUserEventsRequestOrBuilder

Request message for the ImportUserEvents request.

Protobuf type google.cloud.discoveryengine.v1.ImportUserEventsRequest

Static Fields

BIGQUERY_SOURCE_FIELD_NUMBER

public static final int BIGQUERY_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

ERROR_CONFIG_FIELD_NUMBER

public static final int ERROR_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

INLINE_SOURCE_FIELD_NUMBER

public static final int INLINE_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportUserEventsRequest getDefaultInstance()
Returns
Type Description
ImportUserEventsRequest

getDescriptor()

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

newBuilder()

public static ImportUserEventsRequest.Builder newBuilder()
Returns
Type Description
ImportUserEventsRequest.Builder

newBuilder(ImportUserEventsRequest prototype)

public static ImportUserEventsRequest.Builder newBuilder(ImportUserEventsRequest prototype)
Parameter
Name Description
prototype ImportUserEventsRequest
Returns
Type Description
ImportUserEventsRequest.Builder

parseDelimitedFrom(InputStream input)

public static ImportUserEventsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportUserEventsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportUserEventsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportUserEventsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportUserEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportUserEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportUserEventsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportUserEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportUserEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportUserEventsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportUserEventsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportUserEventsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportUserEventsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportUserEventsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportUserEventsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportUserEventsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportUserEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportUserEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImportUserEventsRequest> parser()
Returns
Type Description
Parser<ImportUserEventsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBigquerySource()

public BigQuerySource getBigquerySource()

BigQuery input source.

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

Returns
Type Description
BigQuerySource

The bigquerySource.

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

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.

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.

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.

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.

getParserForType()

public Parser<ImportUserEventsRequest> getParserForType()
Returns
Type Description
Parser<ImportUserEventsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportUserEventsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportUserEventsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException