public final class InputConfig extends GeneratedMessageV3 implements InputConfigOrBuilder
The input config source.
Protobuf type google.cloud.recommendationengine.v1beta1.InputConfig
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CATALOG_INLINE_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 InputConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static InputConfig.Builder newBuilder()
public static InputConfig.Builder newBuilder(InputConfig prototype)
public static InputConfig parseDelimitedFrom(InputStream input)
public static InputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InputConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static InputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InputConfig parseFrom(ByteString data)
public static InputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InputConfig parseFrom(CodedInputStream input)
public static InputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InputConfig parseFrom(InputStream input)
public static InputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InputConfig parseFrom(ByteBuffer data)
public static InputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<InputConfig> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public CatalogInlineSource getCatalogInlineSource()
The Inline source for the input content for Catalog items.
.google.cloud.recommendationengine.v1beta1.CatalogInlineSource catalog_inline_source = 1;
public CatalogInlineSourceOrBuilder getCatalogInlineSourceOrBuilder()
The Inline source for the input content for Catalog items.
.google.cloud.recommendationengine.v1beta1.CatalogInlineSource catalog_inline_source = 1;
public InputConfig getDefaultInstanceForType()
public GcsSource getGcsSource()
Google Cloud Storage location for the input content.
.google.cloud.recommendationengine.v1beta1.GcsSource gcs_source = 2;
Returns |
---|
Type | Description |
GcsSource | The gcsSource.
|
public GcsSourceOrBuilder getGcsSourceOrBuilder()
Google Cloud Storage location for the input content.
.google.cloud.recommendationengine.v1beta1.GcsSource gcs_source = 2;
public Parser<InputConfig> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public InputConfig.SourceCase getSourceCase()
public UserEventInlineSource getUserEventInlineSource()
The Inline source for the input content for UserEvents.
.google.cloud.recommendationengine.v1beta1.UserEventInlineSource user_event_inline_source = 3;
public UserEventInlineSourceOrBuilder getUserEventInlineSourceOrBuilder()
The Inline source for the input content for UserEvents.
.google.cloud.recommendationengine.v1beta1.UserEventInlineSource user_event_inline_source = 3;
public boolean hasCatalogInlineSource()
The Inline source for the input content for Catalog items.
.google.cloud.recommendationengine.v1beta1.CatalogInlineSource catalog_inline_source = 1;
Returns |
---|
Type | Description |
boolean | Whether the catalogInlineSource field is set.
|
public boolean hasGcsSource()
Google Cloud Storage location for the input content.
.google.cloud.recommendationengine.v1beta1.GcsSource gcs_source = 2;
Returns |
---|
Type | Description |
boolean | Whether the gcsSource field is set.
|
public boolean hasUserEventInlineSource()
The Inline source for the input content for UserEvents.
.google.cloud.recommendationengine.v1beta1.UserEventInlineSource user_event_inline_source = 3;
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 InputConfig.Builder newBuilderForType()
protected InputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public InputConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides