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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
public UserEventInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UserEventInputConfig build()
public UserEventInputConfig buildPartial()
public UserEventInputConfig.Builder clear()
Overrides
public UserEventInputConfig.Builder clearBigQuerySource()
Required. BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
public UserEventInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
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];
public UserEventInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UserEventInputConfig.Builder clearSource()
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];
public UserEventInputConfig.Builder clone()
Overrides
public BigQuerySource getBigQuerySource()
Required. BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
public BigQuerySource.Builder getBigQuerySourceBuilder()
Required. BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()
Required. BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
public UserEventInputConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
GcsSource |
The gcsSource.
|
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];
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];
public UserEventInputConfig.SourceCase getSourceCase()
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];
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];
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];
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()
Overrides
public final boolean isInitialized()
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];
public UserEventInputConfig.Builder mergeFrom(UserEventInputConfig other)
public UserEventInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UserEventInputConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
public final UserEventInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
public UserEventInputConfig.Builder setBigQuerySource(BigQuerySource value)
Required. BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
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];
public UserEventInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
public UserEventInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UserEventInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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];