public final class UserEventInputConfig extends GeneratedMessageV3 implements UserEventInputConfigOrBuilder
The input config source for user events.
Protobuf type google.cloud.retail.v2.UserEventInputConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
public static final int BIG_QUERY_SOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int GCS_SOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int USER_EVENT_INLINE_SOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static UserEventInputConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static UserEventInputConfig.Builder newBuilder()
public static UserEventInputConfig.Builder newBuilder(UserEventInputConfig prototype)
public static UserEventInputConfig parseDelimitedFrom(InputStream input)
public static UserEventInputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UserEventInputConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static UserEventInputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UserEventInputConfig parseFrom(ByteString data)
public static UserEventInputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserEventInputConfig parseFrom(CodedInputStream input)
public static UserEventInputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UserEventInputConfig parseFrom(InputStream input)
public static UserEventInputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UserEventInputConfig parseFrom(ByteBuffer data)
public static UserEventInputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<UserEventInputConfig> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public BigQuerySource getBigQuerySource()
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 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 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 Parser<UserEventInputConfig> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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 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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UserEventInputConfig.Builder newBuilderForType()
protected UserEventInputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public UserEventInputConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides