public final class Engine extends com.google.protobuf.GeneratedMessageV3 implements EngineOrBuilder
Metadata that describes the training and serving parameters of an [Engine][google.cloud.discoveryengine.v1alpha.Engine].Protobuf type
google.cloud.discoveryengine.v1alpha.Engine| Modifier and Type | Class and Description |
|---|---|
static class |
Engine.Builder
Metadata that describes the training and serving parameters of an
[Engine][google.cloud.discoveryengine.v1alpha.Engine].
|
static class |
Engine.ChatEngineConfig
Configurations for a Chat Engine.
|
static interface |
Engine.ChatEngineConfigOrBuilder |
static class |
Engine.ChatEngineMetadata
Additional information of a Chat Engine.
|
static interface |
Engine.ChatEngineMetadataOrBuilder |
static class |
Engine.CommonConfig
Common configurations for an Engine.
|
static interface |
Engine.CommonConfigOrBuilder |
static class |
Engine.EngineConfigCase |
static class |
Engine.EngineMetadataCase |
static class |
Engine.MediaRecommendationEngineConfig
Additional config specs for a Media Recommendation engine.
|
static interface |
Engine.MediaRecommendationEngineConfigOrBuilder |
static class |
Engine.RecommendationMetadata
Additional information of a recommendation engine.
|
static interface |
Engine.RecommendationMetadataOrBuilder |
static class |
Engine.SearchEngineConfig
Configurations for a Search Engine.
|
static interface |
Engine.SearchEngineConfigOrBuilder |
static class |
Engine.SimilarDocumentsEngineConfig
Additional config specs for a `similar-items` engine.
|
static interface |
Engine.SimilarDocumentsEngineConfigOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CHAT_ENGINE_CONFIG_FIELD_NUMBER |
static int |
CHAT_ENGINE_METADATA_FIELD_NUMBER |
static int |
COMMON_CONFIG_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DATA_STORE_IDS_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
INDUSTRY_VERTICAL_FIELD_NUMBER |
static int |
MEDIA_RECOMMENDATION_ENGINE_CONFIG_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RECOMMENDATION_METADATA_FIELD_NUMBER |
static int |
SEARCH_ENGINE_CONFIG_FIELD_NUMBER |
static int |
SIMILAR_DOCUMENTS_CONFIG_FIELD_NUMBER |
static int |
SOLUTION_TYPE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Engine.ChatEngineConfig |
getChatEngineConfig()
Configurations for the Chat Engine.
|
Engine.ChatEngineConfigOrBuilder |
getChatEngineConfigOrBuilder()
Configurations for the Chat Engine.
|
Engine.ChatEngineMetadata |
getChatEngineMetadata()
Output only.
|
Engine.ChatEngineMetadataOrBuilder |
getChatEngineMetadataOrBuilder()
Output only.
|
Engine.CommonConfig |
getCommonConfig()
Common config spec that specifies the metadata of the engine.
|
Engine.CommonConfigOrBuilder |
getCommonConfigOrBuilder()
Common config spec that specifies the metadata of the engine.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getDataStoreIds(int index)
The data stores associated with this engine.
|
com.google.protobuf.ByteString |
getDataStoreIdsBytes(int index)
The data stores associated with this engine.
|
int |
getDataStoreIdsCount()
The data stores associated with this engine.
|
com.google.protobuf.ProtocolStringList |
getDataStoreIdsList()
The data stores associated with this engine.
|
static Engine |
getDefaultInstance() |
Engine |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
Engine.EngineConfigCase |
getEngineConfigCase() |
Engine.EngineMetadataCase |
getEngineMetadataCase() |
IndustryVertical |
getIndustryVertical()
The industry vertical that the engine registers.
|
int |
getIndustryVerticalValue()
The industry vertical that the engine registers.
|
Engine.MediaRecommendationEngineConfig |
getMediaRecommendationEngineConfig()
Configurations for the Media Engine.
|
Engine.MediaRecommendationEngineConfigOrBuilder |
getMediaRecommendationEngineConfigOrBuilder()
Configurations for the Media Engine.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
com.google.protobuf.Parser<Engine> |
getParserForType() |
Engine.RecommendationMetadata |
getRecommendationMetadata()
Output only.
|
Engine.RecommendationMetadataOrBuilder |
getRecommendationMetadataOrBuilder()
Output only.
|
Engine.SearchEngineConfig |
getSearchEngineConfig()
Configurations for the Search Engine.
|
Engine.SearchEngineConfigOrBuilder |
getSearchEngineConfigOrBuilder()
Configurations for the Search Engine.
|
int |
getSerializedSize() |
Engine.SimilarDocumentsEngineConfig |
getSimilarDocumentsConfig()
Additional config specs for a `similar-items` engine.
|
Engine.SimilarDocumentsEngineConfigOrBuilder |
getSimilarDocumentsConfigOrBuilder()
Additional config specs for a `similar-items` engine.
|
SolutionType |
getSolutionType()
Required.
|
int |
getSolutionTypeValue()
Required.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasChatEngineConfig()
Configurations for the Chat Engine.
|
boolean |
hasChatEngineMetadata()
Output only.
|
boolean |
hasCommonConfig()
Common config spec that specifies the metadata of the engine.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasMediaRecommendationEngineConfig()
Configurations for the Media Engine.
|
boolean |
hasRecommendationMetadata()
Output only.
|
boolean |
hasSearchEngineConfig()
Configurations for the Search Engine.
|
boolean |
hasSimilarDocumentsConfig()
Additional config specs for a `similar-items` engine.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Engine.Builder |
newBuilder() |
static Engine.Builder |
newBuilder(Engine prototype) |
Engine.Builder |
newBuilderForType() |
protected Engine.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Engine |
parseDelimitedFrom(InputStream input) |
static Engine |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine |
parseFrom(byte[] data) |
static Engine |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine |
parseFrom(ByteBuffer data) |
static Engine |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine |
parseFrom(com.google.protobuf.ByteString data) |
static Engine |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Engine |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine |
parseFrom(InputStream input) |
static Engine |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Engine> |
parser() |
Engine.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SIMILAR_DOCUMENTS_CONFIG_FIELD_NUMBER
public static final int CHAT_ENGINE_CONFIG_FIELD_NUMBER
public static final int SEARCH_ENGINE_CONFIG_FIELD_NUMBER
public static final int MEDIA_RECOMMENDATION_ENGINE_CONFIG_FIELD_NUMBER
public static final int RECOMMENDATION_METADATA_FIELD_NUMBER
public static final int CHAT_ENGINE_METADATA_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int DATA_STORE_IDS_FIELD_NUMBER
public static final int SOLUTION_TYPE_FIELD_NUMBER
public static final int INDUSTRY_VERTICAL_FIELD_NUMBER
public static final int COMMON_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Engine.EngineConfigCase getEngineConfigCase()
getEngineConfigCase in interface EngineOrBuilderpublic Engine.EngineMetadataCase getEngineMetadataCase()
getEngineMetadataCase in interface EngineOrBuilderpublic boolean hasSimilarDocumentsConfig()
Additional config specs for a `similar-items` engine.
.google.cloud.discoveryengine.v1alpha.Engine.SimilarDocumentsEngineConfig similar_documents_config = 9;
hasSimilarDocumentsConfig in interface EngineOrBuilderpublic Engine.SimilarDocumentsEngineConfig getSimilarDocumentsConfig()
Additional config specs for a `similar-items` engine.
.google.cloud.discoveryengine.v1alpha.Engine.SimilarDocumentsEngineConfig similar_documents_config = 9;
getSimilarDocumentsConfig in interface EngineOrBuilderpublic Engine.SimilarDocumentsEngineConfigOrBuilder getSimilarDocumentsConfigOrBuilder()
Additional config specs for a `similar-items` engine.
.google.cloud.discoveryengine.v1alpha.Engine.SimilarDocumentsEngineConfig similar_documents_config = 9;
getSimilarDocumentsConfigOrBuilder in interface EngineOrBuilderpublic boolean hasChatEngineConfig()
Configurations for the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1alpha.Engine.ChatEngineConfig chat_engine_config = 11;
hasChatEngineConfig in interface EngineOrBuilderpublic Engine.ChatEngineConfig getChatEngineConfig()
Configurations for the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1alpha.Engine.ChatEngineConfig chat_engine_config = 11;
getChatEngineConfig in interface EngineOrBuilderpublic Engine.ChatEngineConfigOrBuilder getChatEngineConfigOrBuilder()
Configurations for the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1alpha.Engine.ChatEngineConfig chat_engine_config = 11;
getChatEngineConfigOrBuilder in interface EngineOrBuilderpublic boolean hasSearchEngineConfig()
Configurations for the Search Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.discoveryengine.v1alpha.Engine.SearchEngineConfig search_engine_config = 13;
hasSearchEngineConfig in interface EngineOrBuilderpublic Engine.SearchEngineConfig getSearchEngineConfig()
Configurations for the Search Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.discoveryengine.v1alpha.Engine.SearchEngineConfig search_engine_config = 13;
getSearchEngineConfig in interface EngineOrBuilderpublic Engine.SearchEngineConfigOrBuilder getSearchEngineConfigOrBuilder()
Configurations for the Search Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.discoveryengine.v1alpha.Engine.SearchEngineConfig search_engine_config = 13;
getSearchEngineConfigOrBuilder in interface EngineOrBuilderpublic boolean hasMediaRecommendationEngineConfig()
Configurations for the Media Engine. Only applicable on the data stores with [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION] and [IndustryVertical.MEDIA][google.cloud.discoveryengine.v1alpha.IndustryVertical.MEDIA] vertical.
.google.cloud.discoveryengine.v1alpha.Engine.MediaRecommendationEngineConfig media_recommendation_engine_config = 14;
hasMediaRecommendationEngineConfig in interface EngineOrBuilderpublic Engine.MediaRecommendationEngineConfig getMediaRecommendationEngineConfig()
Configurations for the Media Engine. Only applicable on the data stores with [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION] and [IndustryVertical.MEDIA][google.cloud.discoveryengine.v1alpha.IndustryVertical.MEDIA] vertical.
.google.cloud.discoveryengine.v1alpha.Engine.MediaRecommendationEngineConfig media_recommendation_engine_config = 14;
getMediaRecommendationEngineConfig in interface EngineOrBuilderpublic Engine.MediaRecommendationEngineConfigOrBuilder getMediaRecommendationEngineConfigOrBuilder()
Configurations for the Media Engine. Only applicable on the data stores with [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION] and [IndustryVertical.MEDIA][google.cloud.discoveryengine.v1alpha.IndustryVertical.MEDIA] vertical.
.google.cloud.discoveryengine.v1alpha.Engine.MediaRecommendationEngineConfig media_recommendation_engine_config = 14;
getMediaRecommendationEngineConfigOrBuilder in interface EngineOrBuilderpublic boolean hasRecommendationMetadata()
Output only. Additional information of a recommendation engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
.google.cloud.discoveryengine.v1alpha.Engine.RecommendationMetadata recommendation_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasRecommendationMetadata in interface EngineOrBuilderpublic Engine.RecommendationMetadata getRecommendationMetadata()
Output only. Additional information of a recommendation engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
.google.cloud.discoveryengine.v1alpha.Engine.RecommendationMetadata recommendation_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRecommendationMetadata in interface EngineOrBuilderpublic Engine.RecommendationMetadataOrBuilder getRecommendationMetadataOrBuilder()
Output only. Additional information of a recommendation engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
.google.cloud.discoveryengine.v1alpha.Engine.RecommendationMetadata recommendation_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRecommendationMetadataOrBuilder in interface EngineOrBuilderpublic boolean hasChatEngineMetadata()
Output only. Additional information of the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1alpha.Engine.ChatEngineMetadata chat_engine_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasChatEngineMetadata in interface EngineOrBuilderpublic Engine.ChatEngineMetadata getChatEngineMetadata()
Output only. Additional information of the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1alpha.Engine.ChatEngineMetadata chat_engine_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChatEngineMetadata in interface EngineOrBuilderpublic Engine.ChatEngineMetadataOrBuilder getChatEngineMetadataOrBuilder()
Output only. Additional information of the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1alpha.Engine.ChatEngineMetadata chat_engine_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChatEngineMetadataOrBuilder in interface EngineOrBuilderpublic String getName()
Immutable. The fully qualified resource name of the engine.
This field must be a UTF-8 encoded string with a length limit of 1024
characters.
Format:
`projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
engine should be 1-63 characters, and valid characters are
/[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getName in interface EngineOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Immutable. The fully qualified resource name of the engine.
This field must be a UTF-8 encoded string with a length limit of 1024
characters.
Format:
`projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
engine should be 1-63 characters, and valid characters are
/[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getNameBytes in interface EngineOrBuilderpublic String getDisplayName()
Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface EngineOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface EngineOrBuilderpublic boolean hasCreateTime()
Output only. Timestamp the Recommendation Engine was created at.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface EngineOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp the Recommendation Engine was created at.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface EngineOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp the Recommendation Engine was created at.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface EngineOrBuilderpublic boolean hasUpdateTime()
Output only. Timestamp the Recommendation Engine was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface EngineOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp the Recommendation Engine was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface EngineOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp the Recommendation Engine was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface EngineOrBuilderpublic com.google.protobuf.ProtocolStringList getDataStoreIdsList()
The data stores associated with this engine. For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store. If [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1alpha.Collection] can be associated here. Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1alpha.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.
repeated string data_store_ids = 5;getDataStoreIdsList in interface EngineOrBuilderpublic int getDataStoreIdsCount()
The data stores associated with this engine. For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store. If [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1alpha.Collection] can be associated here. Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1alpha.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.
repeated string data_store_ids = 5;getDataStoreIdsCount in interface EngineOrBuilderpublic String getDataStoreIds(int index)
The data stores associated with this engine. For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store. If [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1alpha.Collection] can be associated here. Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1alpha.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.
repeated string data_store_ids = 5;getDataStoreIds in interface EngineOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getDataStoreIdsBytes(int index)
The data stores associated with this engine. For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store. If [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1alpha.Collection] can be associated here. Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1alpha.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.
repeated string data_store_ids = 5;getDataStoreIdsBytes in interface EngineOrBuilderindex - The index of the value to return.public int getSolutionTypeValue()
Required. The solutions of the engine.
.google.cloud.discoveryengine.v1alpha.SolutionType solution_type = 6 [(.google.api.field_behavior) = REQUIRED];
getSolutionTypeValue in interface EngineOrBuilderpublic SolutionType getSolutionType()
Required. The solutions of the engine.
.google.cloud.discoveryengine.v1alpha.SolutionType solution_type = 6 [(.google.api.field_behavior) = REQUIRED];
getSolutionType in interface EngineOrBuilderpublic int getIndustryVerticalValue()
The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.
.google.cloud.discoveryengine.v1alpha.IndustryVertical industry_vertical = 16;getIndustryVerticalValue in interface EngineOrBuilderpublic IndustryVertical getIndustryVertical()
The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.
.google.cloud.discoveryengine.v1alpha.IndustryVertical industry_vertical = 16;getIndustryVertical in interface EngineOrBuilderpublic boolean hasCommonConfig()
Common config spec that specifies the metadata of the engine.
.google.cloud.discoveryengine.v1alpha.Engine.CommonConfig common_config = 15;hasCommonConfig in interface EngineOrBuilderpublic Engine.CommonConfig getCommonConfig()
Common config spec that specifies the metadata of the engine.
.google.cloud.discoveryengine.v1alpha.Engine.CommonConfig common_config = 15;getCommonConfig in interface EngineOrBuilderpublic Engine.CommonConfigOrBuilder getCommonConfigOrBuilder()
Common config spec that specifies the metadata of the engine.
.google.cloud.discoveryengine.v1alpha.Engine.CommonConfig common_config = 15;getCommonConfigOrBuilder in interface EngineOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Engine parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine parseFrom(InputStream input) throws IOException
IOExceptionpublic static Engine parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Engine parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Engine parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Engine parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Engine parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Engine.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Engine.Builder newBuilder()
public static Engine.Builder newBuilder(Engine prototype)
public Engine.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Engine.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Engine getDefaultInstance()
public static com.google.protobuf.Parser<Engine> parser()
public com.google.protobuf.Parser<Engine> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Engine getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.