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.v2.UserEventInputConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public UserEventInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UserEventInputConfig build()
Returns
public UserEventInputConfig buildPartial()
Returns
public UserEventInputConfig.Builder clear()
Returns
Overrides
public UserEventInputConfig.Builder clearBigQuerySource()
Required. BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public UserEventInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public UserEventInputConfig.Builder clearGcsSource()
Required. Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public UserEventInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public UserEventInputConfig.Builder clearSource()
Returns
public UserEventInputConfig.Builder clearUserEventInlineSource()
Required. The Inline source for the input content for UserEvents.
.google.cloud.retail.v2.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public UserEventInputConfig.Builder clone()
Returns
Overrides
public BigQuerySource getBigQuerySource()
Required. BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public BigQuerySource.Builder getBigQuerySourceBuilder()
Required. BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()
Required. BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public UserEventInputConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public GcsSource getGcsSource()
Required. Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public GcsSource.Builder getGcsSourceBuilder()
Required. Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public GcsSourceOrBuilder getGcsSourceOrBuilder()
Required. Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public UserEventInputConfig.SourceCase getSourceCase()
Returns
public UserEventInlineSource getUserEventInlineSource()
Required. The Inline source for the input content for UserEvents.
.google.cloud.retail.v2.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public UserEventInlineSource.Builder getUserEventInlineSourceBuilder()
Required. The Inline source for the input content for UserEvents.
.google.cloud.retail.v2.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public UserEventInlineSourceOrBuilder getUserEventInlineSourceOrBuilder()
Required. The Inline source for the input content for UserEvents.
.google.cloud.retail.v2.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public boolean hasBigQuerySource()
Required. BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the bigQuerySource field is set.
|
public boolean hasGcsSource()
Required. Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the gcsSource field is set.
|
public boolean hasUserEventInlineSource()
Required. The Inline source for the input content for UserEvents.
.google.cloud.retail.v2.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the userEventInlineSource field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UserEventInputConfig.Builder mergeBigQuerySource(BigQuerySource value)
Required. BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UserEventInputConfig.Builder mergeFrom(UserEventInputConfig other)
Parameter
Returns
public UserEventInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public UserEventInputConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public UserEventInputConfig.Builder mergeGcsSource(GcsSource value)
Required. Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public final UserEventInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UserEventInputConfig.Builder mergeUserEventInlineSource(UserEventInlineSource value)
Required. The Inline source for the input content for UserEvents.
.google.cloud.retail.v2.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UserEventInputConfig.Builder setBigQuerySource(BigQuerySource value)
Required. BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UserEventInputConfig.Builder setBigQuerySource(BigQuerySource.Builder builderForValue)
Required. BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UserEventInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UserEventInputConfig.Builder setGcsSource(GcsSource value)
Required. Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UserEventInputConfig.Builder setGcsSource(GcsSource.Builder builderForValue)
Required. Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UserEventInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final UserEventInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UserEventInputConfig.Builder setUserEventInlineSource(UserEventInlineSource value)
Required. The Inline source for the input content for UserEvents.
.google.cloud.retail.v2.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UserEventInputConfig.Builder setUserEventInlineSource(UserEventInlineSource.Builder builderForValue)
Required. The Inline source for the input content for UserEvents.
.google.cloud.retail.v2.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns