Class ServingConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.discoveryengine.v1beta.ServingConfig
- All Implemented Interfaces:
ServingConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ServingConfig
extends com.google.protobuf.GeneratedMessage
implements ServingConfigOrBuilder
Configures metadata that is used to generate serving time results (e.g. search results or recommendation predictions). The ServingConfig is passed in the search and predict request and generates results.Protobuf type
google.cloud.discoveryengine.v1beta.ServingConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfigures metadata that is used to generate serving time results (e.g.static final classSpecifies the configurations needed for Generic Discovery.Currently we support: * `content_search_spec`: configuration for generic content search.static interfacestatic final classSpecifies the configurations needed for Media Discovery.static interfacestatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBoostControlIds(int index) Boost controls to use in serving path.com.google.protobuf.ByteStringgetBoostControlIdsBytes(int index) Boost controls to use in serving path.intBoost controls to use in serving path.com.google.protobuf.ProtocolStringListBoost controls to use in serving path.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static ServingConfigstatic final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.getDissociateControlIds(int index) Condition do not associate specifications.com.google.protobuf.ByteStringgetDissociateControlIdsBytes(int index) Condition do not associate specifications.intCondition do not associate specifications.com.google.protobuf.ProtocolStringListCondition do not associate specifications.How much diversity to use in recommendation model results e.g.com.google.protobuf.ByteStringHow much diversity to use in recommendation model results e.g.Bring your own embedding config.Bring your own embedding config.getFilterControlIds(int index) Filter controls to use in serving path.com.google.protobuf.ByteStringgetFilterControlIdsBytes(int index) Filter controls to use in serving path.intFilter controls to use in serving path.com.google.protobuf.ProtocolStringListFilter controls to use in serving path.The GenericConfig of the serving configuration.The GenericConfig of the serving configuration.getIgnoreControlIds(int index) Condition ignore specifications.com.google.protobuf.ByteStringgetIgnoreControlIdsBytes(int index) Condition ignore specifications.intCondition ignore specifications.com.google.protobuf.ProtocolStringListCondition ignore specifications.The MediaConfig of the serving configuration.The MediaConfig of the serving configuration.The id of the model to use at serving time.com.google.protobuf.ByteStringThe id of the model to use at serving time.getName()Immutable.com.google.protobuf.ByteStringImmutable.getOnewaySynonymsControlIds(int index) Condition oneway synonyms specifications.com.google.protobuf.ByteStringgetOnewaySynonymsControlIdsBytes(int index) Condition oneway synonyms specifications.intCondition oneway synonyms specifications.com.google.protobuf.ProtocolStringListCondition oneway synonyms specifications.com.google.protobuf.Parser<ServingConfig>The specification for personalization spec.The specification for personalization spec.The ranking expression controls the customized ranking on retrieval documents.com.google.protobuf.ByteStringThe ranking expression controls the customized ranking on retrieval documents.getRedirectControlIds(int index) IDs of the redirect controls.com.google.protobuf.ByteStringgetRedirectControlIdsBytes(int index) IDs of the redirect controls.intIDs of the redirect controls.com.google.protobuf.ProtocolStringListIDs of the redirect controls.getReplacementControlIds(int index) Condition replacement specifications.com.google.protobuf.ByteStringgetReplacementControlIdsBytes(int index) Condition replacement specifications.intCondition replacement specifications.com.google.protobuf.ProtocolStringListCondition replacement specifications.intRequired.intRequired.getSynonymsControlIds(int index) Condition synonyms specifications.com.google.protobuf.ByteStringgetSynonymsControlIdsBytes(int index) Condition synonyms specifications.intCondition synonyms specifications.com.google.protobuf.ProtocolStringListCondition synonyms specifications.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanBring your own embedding config.booleanThe GenericConfig of the serving configuration.inthashCode()booleanThe MediaConfig of the serving configuration.booleanThe specification for personalization spec.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ServingConfig.Builderstatic ServingConfig.BuildernewBuilder(ServingConfig prototype) protected ServingConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ServingConfigparseDelimitedFrom(InputStream input) static ServingConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServingConfigparseFrom(byte[] data) static ServingConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServingConfigparseFrom(com.google.protobuf.ByteString data) static ServingConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServingConfigparseFrom(com.google.protobuf.CodedInputStream input) static ServingConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServingConfigparseFrom(InputStream input) static ServingConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServingConfigparseFrom(ByteBuffer data) static ServingConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ServingConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MEDIA_CONFIG_FIELD_NUMBER
public static final int MEDIA_CONFIG_FIELD_NUMBER- See Also:
-
GENERIC_CONFIG_FIELD_NUMBER
public static final int GENERIC_CONFIG_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
SOLUTION_TYPE_FIELD_NUMBER
public static final int SOLUTION_TYPE_FIELD_NUMBER- See Also:
-
MODEL_ID_FIELD_NUMBER
public static final int MODEL_ID_FIELD_NUMBER- See Also:
-
DIVERSITY_LEVEL_FIELD_NUMBER
public static final int DIVERSITY_LEVEL_FIELD_NUMBER- See Also:
-
EMBEDDING_CONFIG_FIELD_NUMBER
public static final int EMBEDDING_CONFIG_FIELD_NUMBER- See Also:
-
RANKING_EXPRESSION_FIELD_NUMBER
public static final int RANKING_EXPRESSION_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
FILTER_CONTROL_IDS_FIELD_NUMBER
public static final int FILTER_CONTROL_IDS_FIELD_NUMBER- See Also:
-
BOOST_CONTROL_IDS_FIELD_NUMBER
public static final int BOOST_CONTROL_IDS_FIELD_NUMBER- See Also:
-
REDIRECT_CONTROL_IDS_FIELD_NUMBER
public static final int REDIRECT_CONTROL_IDS_FIELD_NUMBER- See Also:
-
SYNONYMS_CONTROL_IDS_FIELD_NUMBER
public static final int SYNONYMS_CONTROL_IDS_FIELD_NUMBER- See Also:
-
ONEWAY_SYNONYMS_CONTROL_IDS_FIELD_NUMBER
public static final int ONEWAY_SYNONYMS_CONTROL_IDS_FIELD_NUMBER- See Also:
-
DISSOCIATE_CONTROL_IDS_FIELD_NUMBER
public static final int DISSOCIATE_CONTROL_IDS_FIELD_NUMBER- See Also:
-
REPLACEMENT_CONTROL_IDS_FIELD_NUMBER
public static final int REPLACEMENT_CONTROL_IDS_FIELD_NUMBER- See Also:
-
IGNORE_CONTROL_IDS_FIELD_NUMBER
public static final int IGNORE_CONTROL_IDS_FIELD_NUMBER- See Also:
-
PERSONALIZATION_SPEC_FIELD_NUMBER
public static final int PERSONALIZATION_SPEC_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getVerticalConfigCase
- Specified by:
getVerticalConfigCasein interfaceServingConfigOrBuilder
-
hasMediaConfig
public boolean hasMediaConfig()The MediaConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7;- Specified by:
hasMediaConfigin interfaceServingConfigOrBuilder- Returns:
- Whether the mediaConfig field is set.
-
getMediaConfig
The MediaConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7;- Specified by:
getMediaConfigin interfaceServingConfigOrBuilder- Returns:
- The mediaConfig.
-
getMediaConfigOrBuilder
The MediaConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7;- Specified by:
getMediaConfigOrBuilderin interfaceServingConfigOrBuilder
-
hasGenericConfig
public boolean hasGenericConfig()The GenericConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10;- Specified by:
hasGenericConfigin interfaceServingConfigOrBuilder- Returns:
- Whether the genericConfig field is set.
-
getGenericConfig
The GenericConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10;- Specified by:
getGenericConfigin interfaceServingConfigOrBuilder- Returns:
- The genericConfig.
-
getGenericConfigOrBuilder
The GenericConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10;- Specified by:
getGenericConfigOrBuilderin interfaceServingConfigOrBuilder
-
getName
Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfaceServingConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceServingConfigOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
Required. The human readable serving config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceServingConfigOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. The human readable serving config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceServingConfigOrBuilder- Returns:
- The bytes for displayName.
-
getSolutionTypeValue
public int getSolutionTypeValue()Required. Immutable. Specifies the solution type that a serving config can be associated with.
.google.cloud.discoveryengine.v1beta.SolutionType solution_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getSolutionTypeValuein interfaceServingConfigOrBuilder- Returns:
- The enum numeric value on the wire for solutionType.
-
getSolutionType
Required. Immutable. Specifies the solution type that a serving config can be associated with.
.google.cloud.discoveryengine.v1beta.SolutionType solution_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getSolutionTypein interfaceServingConfigOrBuilder- Returns:
- The solutionType.
-
getModelId
The id of the model to use at serving time. Currently only RecommendationModels are supported. Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string model_id = 4;- Specified by:
getModelIdin interfaceServingConfigOrBuilder- Returns:
- The modelId.
-
getModelIdBytes
public com.google.protobuf.ByteString getModelIdBytes()The id of the model to use at serving time. Currently only RecommendationModels are supported. Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string model_id = 4;- Specified by:
getModelIdBytesin interfaceServingConfigOrBuilder- Returns:
- The bytes for modelId.
-
getDiversityLevel
How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string diversity_level = 5;- Specified by:
getDiversityLevelin interfaceServingConfigOrBuilder- Returns:
- The diversityLevel.
-
getDiversityLevelBytes
public com.google.protobuf.ByteString getDiversityLevelBytes()How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string diversity_level = 5;- Specified by:
getDiversityLevelBytesin interfaceServingConfigOrBuilder- Returns:
- The bytes for diversityLevel.
-
hasEmbeddingConfig
public boolean hasEmbeddingConfig()Bring your own embedding config. The config is used for search semantic retrieval. The retrieval is based on the dot product of [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector] and the document embeddings that are provided by this EmbeddingConfig. If [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector] is provided, it overrides this [ServingConfig.embedding_config][google.cloud.discoveryengine.v1beta.ServingConfig.embedding_config].
.google.cloud.discoveryengine.v1beta.EmbeddingConfig embedding_config = 20;- Specified by:
hasEmbeddingConfigin interfaceServingConfigOrBuilder- Returns:
- Whether the embeddingConfig field is set.
-
getEmbeddingConfig
Bring your own embedding config. The config is used for search semantic retrieval. The retrieval is based on the dot product of [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector] and the document embeddings that are provided by this EmbeddingConfig. If [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector] is provided, it overrides this [ServingConfig.embedding_config][google.cloud.discoveryengine.v1beta.ServingConfig.embedding_config].
.google.cloud.discoveryengine.v1beta.EmbeddingConfig embedding_config = 20;- Specified by:
getEmbeddingConfigin interfaceServingConfigOrBuilder- Returns:
- The embeddingConfig.
-
getEmbeddingConfigOrBuilder
Bring your own embedding config. The config is used for search semantic retrieval. The retrieval is based on the dot product of [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector] and the document embeddings that are provided by this EmbeddingConfig. If [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector] is provided, it overrides this [ServingConfig.embedding_config][google.cloud.discoveryengine.v1beta.ServingConfig.embedding_config].
.google.cloud.discoveryengine.v1beta.EmbeddingConfig embedding_config = 20;- Specified by:
getEmbeddingConfigOrBuilderin interfaceServingConfigOrBuilder
-
getRankingExpression
The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if [SearchRequest.ranking_expression][google.cloud.discoveryengine.v1beta.SearchRequest.ranking_expression] is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.string ranking_expression = 21;- Specified by:
getRankingExpressionin interfaceServingConfigOrBuilder- Returns:
- The rankingExpression.
-
getRankingExpressionBytes
public com.google.protobuf.ByteString getRankingExpressionBytes()The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if [SearchRequest.ranking_expression][google.cloud.discoveryengine.v1beta.SearchRequest.ranking_expression] is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.string ranking_expression = 21;- Specified by:
getRankingExpressionBytesin interfaceServingConfigOrBuilder- Returns:
- The bytes for rankingExpression.
-
hasCreateTime
public boolean hasCreateTime()Output only. ServingConfig created timestamp.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceServingConfigOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. ServingConfig created timestamp.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceServingConfigOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. ServingConfig created timestamp.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceServingConfigOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. ServingConfig updated timestamp.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceServingConfigOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. ServingConfig updated timestamp.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceServingConfigOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. ServingConfig updated timestamp.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceServingConfigOrBuilder
-
getFilterControlIdsList
public com.google.protobuf.ProtocolStringList getFilterControlIdsList()Filter controls to use in serving path. All triggered filter controls will be applied. Filter controls must be in the same data store as the serving config. Maximum of 20 filter controls.
repeated string filter_control_ids = 11;- Specified by:
getFilterControlIdsListin interfaceServingConfigOrBuilder- Returns:
- A list containing the filterControlIds.
-
getFilterControlIdsCount
public int getFilterControlIdsCount()Filter controls to use in serving path. All triggered filter controls will be applied. Filter controls must be in the same data store as the serving config. Maximum of 20 filter controls.
repeated string filter_control_ids = 11;- Specified by:
getFilterControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of filterControlIds.
-
getFilterControlIds
Filter controls to use in serving path. All triggered filter controls will be applied. Filter controls must be in the same data store as the serving config. Maximum of 20 filter controls.
repeated string filter_control_ids = 11;- Specified by:
getFilterControlIdsin interfaceServingConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The filterControlIds at the given index.
-
getFilterControlIdsBytes
public com.google.protobuf.ByteString getFilterControlIdsBytes(int index) Filter controls to use in serving path. All triggered filter controls will be applied. Filter controls must be in the same data store as the serving config. Maximum of 20 filter controls.
repeated string filter_control_ids = 11;- Specified by:
getFilterControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the filterControlIds at the given index.
-
getBoostControlIdsList
public com.google.protobuf.ProtocolStringList getBoostControlIdsList()Boost controls to use in serving path. All triggered boost controls will be applied. Boost controls must be in the same data store as the serving config. Maximum of 20 boost controls.
repeated string boost_control_ids = 12;- Specified by:
getBoostControlIdsListin interfaceServingConfigOrBuilder- Returns:
- A list containing the boostControlIds.
-
getBoostControlIdsCount
public int getBoostControlIdsCount()Boost controls to use in serving path. All triggered boost controls will be applied. Boost controls must be in the same data store as the serving config. Maximum of 20 boost controls.
repeated string boost_control_ids = 12;- Specified by:
getBoostControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of boostControlIds.
-
getBoostControlIds
Boost controls to use in serving path. All triggered boost controls will be applied. Boost controls must be in the same data store as the serving config. Maximum of 20 boost controls.
repeated string boost_control_ids = 12;- Specified by:
getBoostControlIdsin interfaceServingConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The boostControlIds at the given index.
-
getBoostControlIdsBytes
public com.google.protobuf.ByteString getBoostControlIdsBytes(int index) Boost controls to use in serving path. All triggered boost controls will be applied. Boost controls must be in the same data store as the serving config. Maximum of 20 boost controls.
repeated string boost_control_ids = 12;- Specified by:
getBoostControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the boostControlIds at the given index.
-
getRedirectControlIdsList
public com.google.protobuf.ProtocolStringList getRedirectControlIdsList()IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string redirect_control_ids = 14;- Specified by:
getRedirectControlIdsListin interfaceServingConfigOrBuilder- Returns:
- A list containing the redirectControlIds.
-
getRedirectControlIdsCount
public int getRedirectControlIdsCount()IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string redirect_control_ids = 14;- Specified by:
getRedirectControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of redirectControlIds.
-
getRedirectControlIds
IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string redirect_control_ids = 14;- Specified by:
getRedirectControlIdsin interfaceServingConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The redirectControlIds at the given index.
-
getRedirectControlIdsBytes
public com.google.protobuf.ByteString getRedirectControlIdsBytes(int index) IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string redirect_control_ids = 14;- Specified by:
getRedirectControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the redirectControlIds at the given index.
-
getSynonymsControlIdsList
public com.google.protobuf.ProtocolStringList getSynonymsControlIdsList()Condition synonyms specifications. If multiple synonyms conditions match, all matching synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string synonyms_control_ids = 15;- Specified by:
getSynonymsControlIdsListin interfaceServingConfigOrBuilder- Returns:
- A list containing the synonymsControlIds.
-
getSynonymsControlIdsCount
public int getSynonymsControlIdsCount()Condition synonyms specifications. If multiple synonyms conditions match, all matching synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string synonyms_control_ids = 15;- Specified by:
getSynonymsControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of synonymsControlIds.
-
getSynonymsControlIds
Condition synonyms specifications. If multiple synonyms conditions match, all matching synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string synonyms_control_ids = 15;- Specified by:
getSynonymsControlIdsin interfaceServingConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The synonymsControlIds at the given index.
-
getSynonymsControlIdsBytes
public com.google.protobuf.ByteString getSynonymsControlIdsBytes(int index) Condition synonyms specifications. If multiple synonyms conditions match, all matching synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string synonyms_control_ids = 15;- Specified by:
getSynonymsControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the synonymsControlIds at the given index.
-
getOnewaySynonymsControlIdsList
public com.google.protobuf.ProtocolStringList getOnewaySynonymsControlIdsList()Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string oneway_synonyms_control_ids = 16;- Specified by:
getOnewaySynonymsControlIdsListin interfaceServingConfigOrBuilder- Returns:
- A list containing the onewaySynonymsControlIds.
-
getOnewaySynonymsControlIdsCount
public int getOnewaySynonymsControlIdsCount()Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string oneway_synonyms_control_ids = 16;- Specified by:
getOnewaySynonymsControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of onewaySynonymsControlIds.
-
getOnewaySynonymsControlIds
Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string oneway_synonyms_control_ids = 16;- Specified by:
getOnewaySynonymsControlIdsin interfaceServingConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The onewaySynonymsControlIds at the given index.
-
getOnewaySynonymsControlIdsBytes
public com.google.protobuf.ByteString getOnewaySynonymsControlIdsBytes(int index) Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string oneway_synonyms_control_ids = 16;- Specified by:
getOnewaySynonymsControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the onewaySynonymsControlIds at the given index.
-
getDissociateControlIdsList
public com.google.protobuf.ProtocolStringList getDissociateControlIdsList()Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. Order does not matter. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string dissociate_control_ids = 17;- Specified by:
getDissociateControlIdsListin interfaceServingConfigOrBuilder- Returns:
- A list containing the dissociateControlIds.
-
getDissociateControlIdsCount
public int getDissociateControlIdsCount()Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. Order does not matter. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string dissociate_control_ids = 17;- Specified by:
getDissociateControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of dissociateControlIds.
-
getDissociateControlIds
Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. Order does not matter. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string dissociate_control_ids = 17;- Specified by:
getDissociateControlIdsin interfaceServingConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The dissociateControlIds at the given index.
-
getDissociateControlIdsBytes
public com.google.protobuf.ByteString getDissociateControlIdsBytes(int index) Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. Order does not matter. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string dissociate_control_ids = 17;- Specified by:
getDissociateControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dissociateControlIds at the given index.
-
getReplacementControlIdsList
public com.google.protobuf.ProtocolStringList getReplacementControlIdsList()Condition replacement specifications. Applied according to the order in the list. A previously replaced term can not be re-replaced. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string replacement_control_ids = 18;- Specified by:
getReplacementControlIdsListin interfaceServingConfigOrBuilder- Returns:
- A list containing the replacementControlIds.
-
getReplacementControlIdsCount
public int getReplacementControlIdsCount()Condition replacement specifications. Applied according to the order in the list. A previously replaced term can not be re-replaced. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string replacement_control_ids = 18;- Specified by:
getReplacementControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of replacementControlIds.
-
getReplacementControlIds
Condition replacement specifications. Applied according to the order in the list. A previously replaced term can not be re-replaced. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string replacement_control_ids = 18;- Specified by:
getReplacementControlIdsin interfaceServingConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The replacementControlIds at the given index.
-
getReplacementControlIdsBytes
public com.google.protobuf.ByteString getReplacementControlIdsBytes(int index) Condition replacement specifications. Applied according to the order in the list. A previously replaced term can not be re-replaced. Maximum number of specifications is 100. Can only be set if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string replacement_control_ids = 18;- Specified by:
getReplacementControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the replacementControlIds at the given index.
-
getIgnoreControlIdsList
public com.google.protobuf.ProtocolStringList getIgnoreControlIdsList()Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. Order does not matter. Maximum number of specifications is 100.
repeated string ignore_control_ids = 19;- Specified by:
getIgnoreControlIdsListin interfaceServingConfigOrBuilder- Returns:
- A list containing the ignoreControlIds.
-
getIgnoreControlIdsCount
public int getIgnoreControlIdsCount()Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. Order does not matter. Maximum number of specifications is 100.
repeated string ignore_control_ids = 19;- Specified by:
getIgnoreControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of ignoreControlIds.
-
getIgnoreControlIds
Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. Order does not matter. Maximum number of specifications is 100.
repeated string ignore_control_ids = 19;- Specified by:
getIgnoreControlIdsin interfaceServingConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ignoreControlIds at the given index.
-
getIgnoreControlIdsBytes
public com.google.protobuf.ByteString getIgnoreControlIdsBytes(int index) Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. Order does not matter. Maximum number of specifications is 100.
repeated string ignore_control_ids = 19;- Specified by:
getIgnoreControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ignoreControlIds at the given index.
-
hasPersonalizationSpec
public boolean hasPersonalizationSpec()The specification for personalization spec. Notice that if both [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec] and [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec] are set, [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec] overrides [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec].
.google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec personalization_spec = 25;- Specified by:
hasPersonalizationSpecin interfaceServingConfigOrBuilder- Returns:
- Whether the personalizationSpec field is set.
-
getPersonalizationSpec
The specification for personalization spec. Notice that if both [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec] and [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec] are set, [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec] overrides [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec].
.google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec personalization_spec = 25;- Specified by:
getPersonalizationSpecin interfaceServingConfigOrBuilder- Returns:
- The personalizationSpec.
-
getPersonalizationSpecOrBuilder
The specification for personalization spec. Notice that if both [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec] and [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec] are set, [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec] overrides [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec].
.google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec personalization_spec = 25;- Specified by:
getPersonalizationSpecOrBuilderin interfaceServingConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ServingConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServingConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServingConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServingConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServingConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ServingConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ServingConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ServingConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ServingConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ServingConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-