Class UserEventInputConfig (2.14.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
TypeDescription
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

USER_EVENT_INLINE_SOURCE_FIELD_NUMBER

public static final int USER_EVENT_INLINE_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UserEventInputConfig getDefaultInstance()
Returns
TypeDescription
UserEventInputConfig

getDescriptor()

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

newBuilder()

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

newBuilder(UserEventInputConfig prototype)

public static UserEventInputConfig.Builder newBuilder(UserEventInputConfig prototype)
Parameter
NameDescription
prototypeUserEventInputConfig
Returns
TypeDescription
UserEventInputConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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.retail.v2alpha.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];

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

getDefaultInstanceForType()

public UserEventInputConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GcsSourceOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceCase()

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
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
TypeDescription
UserEventInlineSourceOrBuilder

hasBigQuerySource()

public boolean hasBigQuerySource()

Required. BigQuery input source.

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

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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