Class UserEventInputConfig.Builder (2.48.0)

public static final class UserEventInputConfig.Builder extends GeneratedMessageV3.Builder<UserEventInputConfig.Builder> implements UserEventInputConfigOrBuilder

The input config source for user events.

Protobuf type google.cloud.retail.v2alpha.UserEventInputConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UserEventInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UserEventInputConfig.Builder
Overrides

build()

public UserEventInputConfig build()
Returns
Type Description
UserEventInputConfig

buildPartial()

public UserEventInputConfig buildPartial()
Returns
Type Description
UserEventInputConfig

clear()

public UserEventInputConfig.Builder clear()
Returns
Type Description
UserEventInputConfig.Builder
Overrides

clearBigQuerySource()

public UserEventInputConfig.Builder clearBigQuerySource()

Required. BigQuery input source.

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

Returns
Type Description
UserEventInputConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public UserEventInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UserEventInputConfig.Builder
Overrides

clearGcsSource()

public UserEventInputConfig.Builder clearGcsSource()

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
UserEventInputConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UserEventInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UserEventInputConfig.Builder
Overrides

clearSource()

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

clearUserEventInlineSource()

public UserEventInputConfig.Builder clearUserEventInlineSource()

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
UserEventInputConfig.Builder

clone()

public UserEventInputConfig.Builder clone()
Returns
Type Description
UserEventInputConfig.Builder
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.

getBigQuerySourceBuilder()

public BigQuerySource.Builder getBigQuerySourceBuilder()

Required. BigQuery input source.

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

Returns
Type Description
BigQuerySource.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getGcsSourceBuilder()

public GcsSource.Builder getGcsSourceBuilder()

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.Builder

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

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.

getUserEventInlineSourceBuilder()

public UserEventInlineSource.Builder getUserEventInlineSourceBuilder()

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.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigQuerySource(BigQuerySource value)

public UserEventInputConfig.Builder mergeBigQuerySource(BigQuerySource value)

Required. BigQuery input source.

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

Parameter
Name Description
value BigQuerySource
Returns
Type Description
UserEventInputConfig.Builder

mergeFrom(UserEventInputConfig other)

public UserEventInputConfig.Builder mergeFrom(UserEventInputConfig other)
Parameter
Name Description
other UserEventInputConfig
Returns
Type Description
UserEventInputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UserEventInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserEventInputConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UserEventInputConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UserEventInputConfig.Builder
Overrides

mergeGcsSource(GcsSource value)

public UserEventInputConfig.Builder mergeGcsSource(GcsSource value)

Required. Google Cloud Storage location for the input content.

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

Parameter
Name Description
value GcsSource
Returns
Type Description
UserEventInputConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UserEventInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UserEventInputConfig.Builder
Overrides

mergeUserEventInlineSource(UserEventInlineSource value)

public UserEventInputConfig.Builder mergeUserEventInlineSource(UserEventInlineSource value)

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];

Parameter
Name Description
value UserEventInlineSource
Returns
Type Description
UserEventInputConfig.Builder

setBigQuerySource(BigQuerySource value)

public UserEventInputConfig.Builder setBigQuerySource(BigQuerySource value)

Required. BigQuery input source.

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

Parameter
Name Description
value BigQuerySource
Returns
Type Description
UserEventInputConfig.Builder

setBigQuerySource(BigQuerySource.Builder builderForValue)

public UserEventInputConfig.Builder setBigQuerySource(BigQuerySource.Builder builderForValue)

Required. BigQuery input source.

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

Parameter
Name Description
builderForValue BigQuerySource.Builder
Returns
Type Description
UserEventInputConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UserEventInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UserEventInputConfig.Builder
Overrides

setGcsSource(GcsSource value)

public UserEventInputConfig.Builder setGcsSource(GcsSource value)

Required. Google Cloud Storage location for the input content.

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

Parameter
Name Description
value GcsSource
Returns
Type Description
UserEventInputConfig.Builder

setGcsSource(GcsSource.Builder builderForValue)

public UserEventInputConfig.Builder setGcsSource(GcsSource.Builder builderForValue)

Required. Google Cloud Storage location for the input content.

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

Parameter
Name Description
builderForValue GcsSource.Builder
Returns
Type Description
UserEventInputConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UserEventInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UserEventInputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UserEventInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UserEventInputConfig.Builder
Overrides

setUserEventInlineSource(UserEventInlineSource value)

public UserEventInputConfig.Builder setUserEventInlineSource(UserEventInlineSource value)

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];

Parameter
Name Description
value UserEventInlineSource
Returns
Type Description
UserEventInputConfig.Builder

setUserEventInlineSource(UserEventInlineSource.Builder builderForValue)

public UserEventInputConfig.Builder setUserEventInlineSource(UserEventInlineSource.Builder builderForValue)

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];

Parameter
Name Description
builderForValue UserEventInlineSource.Builder
Returns
Type Description
UserEventInputConfig.Builder