public final class UserEventInputConfig extends GeneratedMessageV3 implements UserEventInputConfigOrBuilder
The input config source for user events.
Protobuf type google.cloud.retail.v2alpha.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.v2alpha.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()
Required. BigQuery input source.
.google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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.
|
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.
|
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.
|
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