public static final class Control.PromoteAction.Builder extends com.google.protobuf.GeneratedMessage.Builder<Control.PromoteAction.Builder> implements Control.PromoteActionOrBuilder
Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store.Protobuf type
google.cloud.discoveryengine.v1.Control.PromoteActionaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Control.PromoteAction.Builder>public Control.PromoteAction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Control.PromoteAction.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Control.PromoteAction.Builder>public Control.PromoteAction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Control.PromoteAction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Control.PromoteAction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Control.PromoteAction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Control.PromoteAction.Builder>public Control.PromoteAction.Builder mergeFrom(Control.PromoteAction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Control.PromoteAction.Builder>public Control.PromoteAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Control.PromoteAction.Builder>IOExceptionpublic String getDataStore()
Required. Data store with which this promotion is attached to.
string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getDataStore in interface Control.PromoteActionOrBuilderpublic com.google.protobuf.ByteString getDataStoreBytes()
Required. Data store with which this promotion is attached to.
string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getDataStoreBytes in interface Control.PromoteActionOrBuilderpublic Control.PromoteAction.Builder setDataStore(String value)
Required. Data store with which this promotion is attached to.
string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The dataStore to set.public Control.PromoteAction.Builder clearDataStore()
Required. Data store with which this promotion is attached to.
string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public Control.PromoteAction.Builder setDataStoreBytes(com.google.protobuf.ByteString value)
Required. Data store with which this promotion is attached to.
string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for dataStore to set.public boolean hasSearchLinkPromotion()
Required. Promotion attached to this action.
.google.cloud.discoveryengine.v1.SearchLinkPromotion search_link_promotion = 2 [(.google.api.field_behavior) = REQUIRED];
hasSearchLinkPromotion in interface Control.PromoteActionOrBuilderpublic SearchLinkPromotion getSearchLinkPromotion()
Required. Promotion attached to this action.
.google.cloud.discoveryengine.v1.SearchLinkPromotion search_link_promotion = 2 [(.google.api.field_behavior) = REQUIRED];
getSearchLinkPromotion in interface Control.PromoteActionOrBuilderpublic Control.PromoteAction.Builder setSearchLinkPromotion(SearchLinkPromotion value)
Required. Promotion attached to this action.
.google.cloud.discoveryengine.v1.SearchLinkPromotion search_link_promotion = 2 [(.google.api.field_behavior) = REQUIRED];
public Control.PromoteAction.Builder setSearchLinkPromotion(SearchLinkPromotion.Builder builderForValue)
Required. Promotion attached to this action.
.google.cloud.discoveryengine.v1.SearchLinkPromotion search_link_promotion = 2 [(.google.api.field_behavior) = REQUIRED];
public Control.PromoteAction.Builder mergeSearchLinkPromotion(SearchLinkPromotion value)
Required. Promotion attached to this action.
.google.cloud.discoveryengine.v1.SearchLinkPromotion search_link_promotion = 2 [(.google.api.field_behavior) = REQUIRED];
public Control.PromoteAction.Builder clearSearchLinkPromotion()
Required. Promotion attached to this action.
.google.cloud.discoveryengine.v1.SearchLinkPromotion search_link_promotion = 2 [(.google.api.field_behavior) = REQUIRED];
public SearchLinkPromotion.Builder getSearchLinkPromotionBuilder()
Required. Promotion attached to this action.
.google.cloud.discoveryengine.v1.SearchLinkPromotion search_link_promotion = 2 [(.google.api.field_behavior) = REQUIRED];
public SearchLinkPromotionOrBuilder getSearchLinkPromotionOrBuilder()
Required. Promotion attached to this action.
.google.cloud.discoveryengine.v1.SearchLinkPromotion search_link_promotion = 2 [(.google.api.field_behavior) = REQUIRED];
getSearchLinkPromotionOrBuilder in interface Control.PromoteActionOrBuilderCopyright © 2026 Google LLC. All rights reserved.