public static final class SuggestionDenyListEntry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SuggestionDenyListEntry.Builder> implements SuggestionDenyListEntryOrBuilder
Suggestion deny list entry identifying the phrase to block from suggestions and the applied operation for the phrase.Protobuf type
google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntrygetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionDenyListEntry.Builder>public SuggestionDenyListEntry.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionDenyListEntry.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.GeneratedMessageV3.Builder<SuggestionDenyListEntry.Builder>public SuggestionDenyListEntry getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SuggestionDenyListEntry build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SuggestionDenyListEntry buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SuggestionDenyListEntry.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionDenyListEntry.Builder>public SuggestionDenyListEntry.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionDenyListEntry.Builder>public SuggestionDenyListEntry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionDenyListEntry.Builder>public SuggestionDenyListEntry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionDenyListEntry.Builder>public SuggestionDenyListEntry.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionDenyListEntry.Builder>public SuggestionDenyListEntry.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionDenyListEntry.Builder>public SuggestionDenyListEntry.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SuggestionDenyListEntry.Builder>public SuggestionDenyListEntry.Builder mergeFrom(SuggestionDenyListEntry other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionDenyListEntry.Builder>public SuggestionDenyListEntry.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<SuggestionDenyListEntry.Builder>IOExceptionpublic String getBlockPhrase()
Required. Phrase to block from suggestions served. Can be maximum 125 characters.
string block_phrase = 1 [(.google.api.field_behavior) = REQUIRED];getBlockPhrase in interface SuggestionDenyListEntryOrBuilderpublic com.google.protobuf.ByteString getBlockPhraseBytes()
Required. Phrase to block from suggestions served. Can be maximum 125 characters.
string block_phrase = 1 [(.google.api.field_behavior) = REQUIRED];getBlockPhraseBytes in interface SuggestionDenyListEntryOrBuilderpublic SuggestionDenyListEntry.Builder setBlockPhrase(String value)
Required. Phrase to block from suggestions served. Can be maximum 125 characters.
string block_phrase = 1 [(.google.api.field_behavior) = REQUIRED];value - The blockPhrase to set.public SuggestionDenyListEntry.Builder clearBlockPhrase()
Required. Phrase to block from suggestions served. Can be maximum 125 characters.
string block_phrase = 1 [(.google.api.field_behavior) = REQUIRED];public SuggestionDenyListEntry.Builder setBlockPhraseBytes(com.google.protobuf.ByteString value)
Required. Phrase to block from suggestions served. Can be maximum 125 characters.
string block_phrase = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for blockPhrase to set.public int getMatchOperatorValue()
Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase.
.google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry.MatchOperator match_operator = 2 [(.google.api.field_behavior) = REQUIRED];
getMatchOperatorValue in interface SuggestionDenyListEntryOrBuilderpublic SuggestionDenyListEntry.Builder setMatchOperatorValue(int value)
Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase.
.google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry.MatchOperator match_operator = 2 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for matchOperator to set.public SuggestionDenyListEntry.MatchOperator getMatchOperator()
Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase.
.google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry.MatchOperator match_operator = 2 [(.google.api.field_behavior) = REQUIRED];
getMatchOperator in interface SuggestionDenyListEntryOrBuilderpublic SuggestionDenyListEntry.Builder setMatchOperator(SuggestionDenyListEntry.MatchOperator value)
Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase.
.google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry.MatchOperator match_operator = 2 [(.google.api.field_behavior) = REQUIRED];
value - The matchOperator to set.public SuggestionDenyListEntry.Builder clearMatchOperator()
Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase.
.google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry.MatchOperator match_operator = 2 [(.google.api.field_behavior) = REQUIRED];
public final SuggestionDenyListEntry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionDenyListEntry.Builder>public final SuggestionDenyListEntry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionDenyListEntry.Builder>Copyright © 2024 Google LLC. All rights reserved.