Class UserEventInputConfig.Builder (2.2.3)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UserEventInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UserEventInputConfig.Builder
Overrides

build()

public UserEventInputConfig build()
Returns
TypeDescription
UserEventInputConfig

buildPartial()

public UserEventInputConfig buildPartial()
Returns
TypeDescription
UserEventInputConfig

clear()

public UserEventInputConfig.Builder clear()
Returns
TypeDescription
UserEventInputConfig.Builder
Overrides

clearBigQuerySource()

public UserEventInputConfig.Builder clearBigQuerySource()

Required. BigQuery input source.

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

Returns
TypeDescription
UserEventInputConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public UserEventInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UserEventInputConfig.Builder
Overrides

clearGcsSource()

public UserEventInputConfig.Builder clearGcsSource()

Required. Google Cloud Storage location for the input content.

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

Returns
TypeDescription
UserEventInputConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UserEventInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UserEventInputConfig.Builder
Overrides

clearSource()

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

clearUserEventInlineSource()

public UserEventInputConfig.Builder clearUserEventInlineSource()

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

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

Returns
TypeDescription
UserEventInputConfig.Builder

clone()

public UserEventInputConfig.Builder clone()
Returns
TypeDescription
UserEventInputConfig.Builder
Overrides

getBigQuerySource()

public BigQuerySource getBigQuerySource()

Required. BigQuery input source.

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

Returns
TypeDescription
BigQuerySource

The bigQuerySource.

getBigQuerySourceBuilder()

public BigQuerySource.Builder getBigQuerySourceBuilder()

Required. BigQuery input source.

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

Returns
TypeDescription
BigQuerySource.Builder

getBigQuerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()

Required. BigQuery input source.

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

Returns
TypeDescription
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public UserEventInputConfig getDefaultInstanceForType()
Returns
TypeDescription
UserEventInputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsSource()

public GcsSource getGcsSource()

Required. Google Cloud Storage location for the input content.

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

Returns
TypeDescription
GcsSource

The gcsSource.

getGcsSourceBuilder()

public GcsSource.Builder getGcsSourceBuilder()

Required. Google Cloud Storage location for the input content.

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

Returns
TypeDescription
GcsSource.Builder

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Required. Google Cloud Storage location for the input content.

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

Returns
TypeDescription
GcsSourceOrBuilder

getSourceCase()

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

getUserEventInlineSource()

public UserEventInlineSource getUserEventInlineSource()

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

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

Returns
TypeDescription
UserEventInlineSource

The userEventInlineSource.

getUserEventInlineSourceBuilder()

public UserEventInlineSource.Builder getUserEventInlineSourceBuilder()

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

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

Returns
TypeDescription
UserEventInlineSource.Builder

getUserEventInlineSourceOrBuilder()

public UserEventInlineSourceOrBuilder getUserEventInlineSourceOrBuilder()

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

.google.cloud.retail.v2beta.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.v2beta.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.v2beta.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.v2beta.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the userEventInlineSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBigQuerySource(BigQuerySource value)

public UserEventInputConfig.Builder mergeBigQuerySource(BigQuerySource value)

Required. BigQuery input source.

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

Parameter
NameDescription
valueBigQuerySource
Returns
TypeDescription
UserEventInputConfig.Builder

mergeFrom(UserEventInputConfig other)

public UserEventInputConfig.Builder mergeFrom(UserEventInputConfig other)
Parameter
NameDescription
otherUserEventInputConfig
Returns
TypeDescription
UserEventInputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UserEventInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UserEventInputConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UserEventInputConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UserEventInputConfig.Builder
Overrides

mergeGcsSource(GcsSource value)

public UserEventInputConfig.Builder mergeGcsSource(GcsSource value)

Required. Google Cloud Storage location for the input content.

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

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
UserEventInputConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UserEventInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v2beta.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueUserEventInlineSource
Returns
TypeDescription
UserEventInputConfig.Builder

setBigQuerySource(BigQuerySource value)

public UserEventInputConfig.Builder setBigQuerySource(BigQuerySource value)

Required. BigQuery input source.

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

Parameter
NameDescription
valueBigQuerySource
Returns
TypeDescription
UserEventInputConfig.Builder

setBigQuerySource(BigQuerySource.Builder builderForValue)

public UserEventInputConfig.Builder setBigQuerySource(BigQuerySource.Builder builderForValue)

Required. BigQuery input source.

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

Parameter
NameDescription
builderForValueBigQuerySource.Builder
Returns
TypeDescription
UserEventInputConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UserEventInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UserEventInputConfig.Builder
Overrides

setGcsSource(GcsSource value)

public UserEventInputConfig.Builder setGcsSource(GcsSource value)

Required. Google Cloud Storage location for the input content.

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

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
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.v2beta.GcsSource gcs_source = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueGcsSource.Builder
Returns
TypeDescription
UserEventInputConfig.Builder

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

public UserEventInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UserEventInputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UserEventInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v2beta.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueUserEventInlineSource
Returns
TypeDescription
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.v2beta.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueUserEventInlineSource.Builder
Returns
TypeDescription
UserEventInputConfig.Builder