Class UserEventInputConfig (2.4.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.4.0keyboard_arrow_down
public final class UserEventInputConfig extends GeneratedMessageV3 implements UserEventInputConfigOrBuilder
The input config source for user events.
Protobuf type google.cloud.retail.v2.UserEventInputConfig
Static Fields
public static final int BIG_QUERY_SOURCE_FIELD_NUMBER
Field Value
public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
public static final int USER_EVENT_INLINE_SOURCE_FIELD_NUMBER
Field Value
Static Methods
public static UserEventInputConfig getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static UserEventInputConfig . Builder newBuilder ()
Returns
public static UserEventInputConfig . Builder newBuilder ( UserEventInputConfig prototype )
Parameter
Returns
public static UserEventInputConfig parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static UserEventInputConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static UserEventInputConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Exceptions
public static UserEventInputConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static UserEventInputConfig parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static UserEventInputConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static UserEventInputConfig parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static UserEventInputConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static UserEventInputConfig parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static UserEventInputConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static UserEventInputConfig parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static UserEventInputConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<UserEventInputConfig> parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
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 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 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 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 Parser<UserEventInputConfig> getParserForType ()
Returns
Overrides
public int getSerializedSize ()
Returns
Overrides
public UserEventInputConfig . SourceCase getSourceCase ()
Returns
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
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 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.
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public UserEventInputConfig . Builder newBuilderForType ()
Returns
protected UserEventInputConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public UserEventInputConfig . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[]]