Class ImportUserEventsRequest (0.10.0)

public final class ImportUserEventsRequest extends GeneratedMessageV3 implements ImportUserEventsRequestOrBuilder

Request message for the ImportUserEvents request.

Protobuf type google.cloud.discoveryengine.v1beta.ImportUserEventsRequest

Static Fields

BIGQUERY_SOURCE_FIELD_NUMBER

public static final int BIGQUERY_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_CONFIG_FIELD_NUMBER

public static final int ERROR_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

INLINE_SOURCE_FIELD_NUMBER

public static final int INLINE_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportUserEventsRequest getDefaultInstance()
Returns
TypeDescription
ImportUserEventsRequest

getDescriptor()

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

newBuilder()

public static ImportUserEventsRequest.Builder newBuilder()
Returns
TypeDescription
ImportUserEventsRequest.Builder

newBuilder(ImportUserEventsRequest prototype)

public static ImportUserEventsRequest.Builder newBuilder(ImportUserEventsRequest prototype)
Parameter
NameDescription
prototypeImportUserEventsRequest
Returns
TypeDescription
ImportUserEventsRequest.Builder

parseDelimitedFrom(InputStream input)

public static ImportUserEventsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportUserEventsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportUserEventsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportUserEventsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportUserEventsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportUserEventsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportUserEventsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportUserEventsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportUserEventsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportUserEventsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportUserEventsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportUserEventsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportUserEventsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportUserEventsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportUserEventsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportUserEventsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportUserEventsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportUserEventsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportUserEventsRequest> parser()
Returns
TypeDescription
Parser<ImportUserEventsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBigquerySource()

public BigQuerySource getBigquerySource()

Required. BigQuery input source.

.google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BigQuerySource

The bigquerySource.

getBigquerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()

Required. BigQuery input source.

.google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BigQuerySourceOrBuilder

getDefaultInstanceForType()

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

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

Returns
TypeDescription
ImportErrorConfigOrBuilder

getGcsSource()

public GcsSource getGcsSource()

Required. Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Required. Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GcsSourceOrBuilder

getInlineSource()

public ImportUserEventsRequest.InlineSource getInlineSource()

Required. The Inline source for the input content for UserEvents.

.google.cloud.discoveryengine.v1beta.ImportUserEventsRequest.InlineSource inline_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ImportUserEventsRequest.InlineSource

The inlineSource.

getInlineSourceOrBuilder()

public ImportUserEventsRequest.InlineSourceOrBuilder getInlineSourceOrBuilder()

Required. The Inline source for the input content for UserEvents.

.google.cloud.discoveryengine.v1beta.ImportUserEventsRequest.InlineSource inline_source = 2 [(.google.api.field_behavior) = REQUIRED];

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.

getParserForType()

public Parser<ImportUserEventsRequest> getParserForType()
Returns
TypeDescription
Parser<ImportUserEventsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceCase()

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasBigquerySource()

public boolean hasBigquerySource()

Required. BigQuery input source.

.google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4 [(.google.api.field_behavior) = REQUIRED];

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()

Required. Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the gcsSource field is set.

hasInlineSource()

public boolean hasInlineSource()

Required. The Inline source for the input content for UserEvents.

.google.cloud.discoveryengine.v1beta.ImportUserEventsRequest.InlineSource inline_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the inlineSource field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportUserEventsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportUserEventsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException