Class ImportSuggestionDenyListEntriesRequest.InlineSource.Builder (0.35.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.v1.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
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.discoveryengine.v1.SuggestionDenyListEntry>
Returns
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSuggestionDenyListEntry
Returns
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueSuggestionDenyListEntry.Builder
Returns
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueSuggestionDenyListEntry
Returns
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueSuggestionDenyListEntry.Builder
Returns
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
SuggestionDenyListEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

build()

public ImportSuggestionDenyListEntriesRequest.InlineSource build()
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource

buildPartial()

public ImportSuggestionDenyListEntriesRequest.InlineSource buildPartial()
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource

clear()

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder clear()
Returns
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

clone()

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder clone()
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

getDefaultInstanceForType()

public ImportSuggestionDenyListEntriesRequest.InlineSource getDefaultInstanceForType()
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Builder>

getEntriesCount()

public int getEntriesCount()

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

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

Returns
TypeDescription
int

getEntriesList()

public List<SuggestionDenyListEntry> getEntriesList()

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

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

Returns
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
SuggestionDenyListEntryOrBuilder

getEntriesOrBuilderList()

public List<? extends SuggestionDenyListEntryOrBuilder> getEntriesOrBuilderList()

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

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

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1.SuggestionDenyListEntryOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportSuggestionDenyListEntriesRequest.InlineSource other)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder mergeFrom(ImportSuggestionDenyListEntriesRequest.InlineSource other)
Parameter
NameDescription
otherImportSuggestionDenyListEntriesRequest.InlineSource
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportSuggestionDenyListEntriesRequest.InlineSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueSuggestionDenyListEntry
Returns
TypeDescription
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.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueSuggestionDenyListEntry.Builder
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportSuggestionDenyListEntriesRequest.InlineSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides