Class ImportSuggestionDenyListEntriesRequest.InlineSource.Builder (0.38.0)

public static final class ImportSuggestionDenyListEntriesRequest.InlineSource.Builder extends GeneratedMessageV3.Builder<ImportSuggestionDenyListEntriesRequest.InlineSource.Builder> implements ImportSuggestionDenyListEntriesRequest.InlineSourceOrBuilder

The inline source for SuggestionDenyListEntry.

Protobuf type google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllEntries(Iterable<? extends SuggestionDenyListEntry> values)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder addAllEntries(Iterable<? extends SuggestionDenyListEntry> values)

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry>
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

addEntries(SuggestionDenyListEntry value)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder addEntries(SuggestionDenyListEntry value)

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SuggestionDenyListEntry
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

addEntries(SuggestionDenyListEntry.Builder builderForValue)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder addEntries(SuggestionDenyListEntry.Builder builderForValue)

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SuggestionDenyListEntry.Builder
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

addEntries(int index, SuggestionDenyListEntry value)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder addEntries(int index, SuggestionDenyListEntry value)

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value SuggestionDenyListEntry
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

addEntries(int index, SuggestionDenyListEntry.Builder builderForValue)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder addEntries(int index, SuggestionDenyListEntry.Builder builderForValue)

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue SuggestionDenyListEntry.Builder
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

addEntriesBuilder()

public SuggestionDenyListEntry.Builder addEntriesBuilder()

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SuggestionDenyListEntry.Builder

addEntriesBuilder(int index)

public SuggestionDenyListEntry.Builder addEntriesBuilder(int index)

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SuggestionDenyListEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

build()

public ImportSuggestionDenyListEntriesRequest.InlineSource build()
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource

buildPartial()

public ImportSuggestionDenyListEntriesRequest.InlineSource buildPartial()
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource

clear()

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder clear()
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

clearEntries()

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder clearEntries()

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

clone()

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder clone()
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

getDefaultInstanceForType()

public ImportSuggestionDenyListEntriesRequest.InlineSource getDefaultInstanceForType()
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEntries(int index)

public SuggestionDenyListEntry getEntries(int index)

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SuggestionDenyListEntry

getEntriesBuilder(int index)

public SuggestionDenyListEntry.Builder getEntriesBuilder(int index)

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SuggestionDenyListEntry.Builder

getEntriesBuilderList()

public List<SuggestionDenyListEntry.Builder> getEntriesBuilderList()

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getEntriesCount()

public int getEntriesCount()

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getEntriesList()

public List<SuggestionDenyListEntry> getEntriesList()

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<SuggestionDenyListEntry>

getEntriesOrBuilder(int index)

public SuggestionDenyListEntryOrBuilder getEntriesOrBuilder(int index)

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SuggestionDenyListEntryOrBuilder

getEntriesOrBuilderList()

public List<? extends SuggestionDenyListEntryOrBuilder> getEntriesOrBuilderList()

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.SuggestionDenyListEntryOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportSuggestionDenyListEntriesRequest.InlineSource other)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder mergeFrom(ImportSuggestionDenyListEntriesRequest.InlineSource other)
Parameter
Name Description
other ImportSuggestionDenyListEntriesRequest.InlineSource
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportSuggestionDenyListEntriesRequest.InlineSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

removeEntries(int index)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder removeEntries(int index)

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

setEntries(int index, SuggestionDenyListEntry value)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder setEntries(int index, SuggestionDenyListEntry value)

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value SuggestionDenyListEntry
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

setEntries(int index, SuggestionDenyListEntry.Builder builderForValue)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder setEntries(int index, SuggestionDenyListEntry.Builder builderForValue)

Required. A list of all denylist entries to import. Max of 1000 items.

repeated .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue SuggestionDenyListEntry.Builder
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportSuggestionDenyListEntriesRequest.InlineSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides