Class UserEventInputConfig (2.54.0)

public final class UserEventInputConfig extends GeneratedMessageV3 implements UserEventInputConfigOrBuilder

The input config source for user events.

Protobuf type google.cloud.retail.v2alpha.UserEventInputConfig

Static Fields

BIG_QUERY_SOURCE_FIELD_NUMBER

public static final int BIG_QUERY_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

USER_EVENT_INLINE_SOURCE_FIELD_NUMBER

public static final int USER_EVENT_INLINE_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UserEventInputConfig getDefaultInstance()
Returns
Type Description
UserEventInputConfig

getDescriptor()

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

newBuilder()

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

newBuilder(UserEventInputConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBigQuerySource()

public BigQuerySource getBigQuerySource()

Required. BigQuery input source.

.google.cloud.retail.v2alpha.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQuerySource

The bigQuerySource.

getBigQuerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()

Required. BigQuery input source.

.google.cloud.retail.v2alpha.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public UserEventInputConfig getDefaultInstanceForType()
Returns
Type Description
UserEventInputConfig

getGcsSource()

public GcsSource getGcsSource()

Required. Google Cloud Storage location for the input content.

.google.cloud.retail.v2alpha.GcsSource gcs_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Required. Google Cloud Storage location for the input content.

.google.cloud.retail.v2alpha.GcsSource gcs_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GcsSourceOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

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

getUserEventInlineSource()

public UserEventInlineSource getUserEventInlineSource()

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

.google.cloud.retail.v2alpha.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserEventInlineSource

The userEventInlineSource.

getUserEventInlineSourceOrBuilder()

public UserEventInlineSourceOrBuilder getUserEventInlineSourceOrBuilder()

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

.google.cloud.retail.v2alpha.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserEventInlineSourceOrBuilder

hasBigQuerySource()

public boolean hasBigQuerySource()

Required. BigQuery input source.

.google.cloud.retail.v2alpha.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the bigQuerySource field is set.

hasGcsSource()

public boolean hasGcsSource()

Required. Google Cloud Storage location for the input content.

.google.cloud.retail.v2alpha.GcsSource gcs_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the gcsSource field is set.

hasUserEventInlineSource()

public boolean hasUserEventInlineSource()

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

.google.cloud.retail.v2alpha.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the userEventInlineSource 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 UserEventInputConfig.Builder newBuilderForType()
Returns
Type Description
UserEventInputConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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