Class ImportSuggestionDenyListEntriesRequest.InlineSource (0.35.0)

public static final class ImportSuggestionDenyListEntriesRequest.InlineSource extends GeneratedMessageV3 implements ImportSuggestionDenyListEntriesRequest.InlineSourceOrBuilder

The inline source for SuggestionDenyListEntry.

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

Inheritance

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

Static Fields

ENTRIES_FIELD_NUMBER

public static final int ENTRIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportSuggestionDenyListEntriesRequest.InlineSource getDefaultInstance()
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ImportSuggestionDenyListEntriesRequest.InlineSource.Builder newBuilder()
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

newBuilder(ImportSuggestionDenyListEntriesRequest.InlineSource prototype)

public static ImportSuggestionDenyListEntriesRequest.InlineSource.Builder newBuilder(ImportSuggestionDenyListEntriesRequest.InlineSource prototype)
Parameter
NameDescription
prototypeImportSuggestionDenyListEntriesRequest.InlineSource
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

parseDelimitedFrom(InputStream input)

public static ImportSuggestionDenyListEntriesRequest.InlineSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportSuggestionDenyListEntriesRequest.InlineSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportSuggestionDenyListEntriesRequest.InlineSource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportSuggestionDenyListEntriesRequest.InlineSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportSuggestionDenyListEntriesRequest.InlineSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportSuggestionDenyListEntriesRequest.InlineSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportSuggestionDenyListEntriesRequest.InlineSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportSuggestionDenyListEntriesRequest.InlineSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportSuggestionDenyListEntriesRequest.InlineSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportSuggestionDenyListEntriesRequest.InlineSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportSuggestionDenyListEntriesRequest.InlineSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportSuggestionDenyListEntriesRequest.InlineSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportSuggestionDenyListEntriesRequest.InlineSource> parser()
Returns
TypeDescription
Parser<InlineSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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
NameDescription
indexint
Returns
TypeDescription
SuggestionDenyListEntry

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

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

getParserForType()

public Parser<ImportSuggestionDenyListEntriesRequest.InlineSource> getParserForType()
Returns
TypeDescription
Parser<InlineSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder newBuilderForType()
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportSuggestionDenyListEntriesRequest.InlineSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImportSuggestionDenyListEntriesRequest.InlineSource.Builder toBuilder()
Returns
TypeDescription
ImportSuggestionDenyListEntriesRequest.InlineSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException