Class SearchEntriesResult.Snippets (1.39.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static SearchEntriesResult.Snippets getDefaultInstance()
Returns
TypeDescription
SearchEntriesResult.Snippets

getDescriptor()

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

newBuilder()

public static SearchEntriesResult.Snippets.Builder newBuilder()
Returns
TypeDescription
SearchEntriesResult.Snippets.Builder

newBuilder(SearchEntriesResult.Snippets prototype)

public static SearchEntriesResult.Snippets.Builder newBuilder(SearchEntriesResult.Snippets prototype)
Parameter
NameDescription
prototypeSearchEntriesResult.Snippets
Returns
TypeDescription
SearchEntriesResult.Snippets.Builder

parseDelimitedFrom(InputStream input)

public static SearchEntriesResult.Snippets parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchEntriesResult.Snippets
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static SearchEntriesResult.Snippets parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SearchEntriesResult.Snippets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static SearchEntriesResult.Snippets parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SearchEntriesResult.Snippets
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static SearchEntriesResult.Snippets parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchEntriesResult.Snippets
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static SearchEntriesResult.Snippets parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SearchEntriesResult.Snippets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDataplexEntry()

public Entry getDataplexEntry()

Entry

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

Returns
TypeDescription
Entry

The dataplexEntry.

getDataplexEntryOrBuilder()

public EntryOrBuilder getDataplexEntryOrBuilder()

Entry

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

Returns
TypeDescription
EntryOrBuilder

getDefaultInstanceForType()

public SearchEntriesResult.Snippets getDefaultInstanceForType()
Returns
TypeDescription
SearchEntriesResult.Snippets

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasDataplexEntry()

public boolean hasDataplexEntry()

Entry

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

Returns
TypeDescription
boolean

Whether the dataplexEntry field is set.

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 SearchEntriesResult.Snippets.Builder newBuilderForType()
Returns
TypeDescription
SearchEntriesResult.Snippets.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchEntriesResult.Snippets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SearchEntriesResult.Snippets.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public SearchEntriesResult.Snippets.Builder toBuilder()
Returns
TypeDescription
SearchEntriesResult.Snippets.Builder

writeTo(CodedOutputStream output)

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