Class SearchEntriesResult.Snippets (1.40.0)

public static final class SearchEntriesResult.Snippets extends GeneratedMessageV3 implements SearchEntriesResult.SnippetsOrBuilder

Snippets for the entry, contains HTML-style highlighting for matched tokens, will be used in UI.

Protobuf type google.cloud.dataplex.v1.SearchEntriesResult.Snippets

Static Fields

DATAPLEX_ENTRY_FIELD_NUMBER

public static final int DATAPLEX_ENTRY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SearchEntriesResult.Snippets getDefaultInstance()
Returns
Type Description
SearchEntriesResult.Snippets

getDescriptor()

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

newBuilder()

public static SearchEntriesResult.Snippets.Builder newBuilder()
Returns
Type Description
SearchEntriesResult.Snippets.Builder

newBuilder(SearchEntriesResult.Snippets prototype)

public static SearchEntriesResult.Snippets.Builder newBuilder(SearchEntriesResult.Snippets prototype)
Parameter
Name Description
prototype SearchEntriesResult.Snippets
Returns
Type Description
SearchEntriesResult.Snippets.Builder

parseDelimitedFrom(InputStream input)

public static SearchEntriesResult.Snippets parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchEntriesResult.Snippets
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchEntriesResult.Snippets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchEntriesResult.Snippets
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SearchEntriesResult.Snippets parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SearchEntriesResult.Snippets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchEntriesResult.Snippets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchEntriesResult.Snippets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchEntriesResult.Snippets parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SearchEntriesResult.Snippets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchEntriesResult.Snippets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchEntriesResult.Snippets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchEntriesResult.Snippets parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SearchEntriesResult.Snippets
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchEntriesResult.Snippets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchEntriesResult.Snippets
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SearchEntriesResult.Snippets parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchEntriesResult.Snippets
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchEntriesResult.Snippets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchEntriesResult.Snippets
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SearchEntriesResult.Snippets parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SearchEntriesResult.Snippets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchEntriesResult.Snippets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchEntriesResult.Snippets
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SearchEntriesResult.Snippets> parser()
Returns
Type Description
Parser<Snippets>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDataplexEntry()

public Entry getDataplexEntry()

Entry

.google.cloud.dataplex.v1.Entry dataplex_entry = 1;

Returns
Type Description
Entry

The dataplexEntry.

getDataplexEntryOrBuilder()

public EntryOrBuilder getDataplexEntryOrBuilder()

Entry

.google.cloud.dataplex.v1.Entry dataplex_entry = 1;

Returns
Type Description
EntryOrBuilder

getDefaultInstanceForType()

public SearchEntriesResult.Snippets getDefaultInstanceForType()
Returns
Type Description
SearchEntriesResult.Snippets

getParserForType()

public Parser<SearchEntriesResult.Snippets> getParserForType()
Returns
Type Description
Parser<Snippets>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDataplexEntry()

public boolean hasDataplexEntry()

Entry

.google.cloud.dataplex.v1.Entry dataplex_entry = 1;

Returns
Type Description
boolean

Whether the dataplexEntry field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SearchEntriesResult.Snippets.Builder newBuilderForType()
Returns
Type Description
SearchEntriesResult.Snippets.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchEntriesResult.Snippets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SearchEntriesResult.Snippets.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SearchEntriesResult.Snippets.Builder toBuilder()
Returns
Type Description
SearchEntriesResult.Snippets.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException