Class SearchEntryPoint (4.105.0)

public final class SearchEntryPoint extends GeneratedMessage implements SearchEntryPointOrBuilder

A web search entry point that can be used to display search results.

Protobuf type google.cloud.dialogflow.v2.SearchEntryPoint

Static Fields

RENDERED_CONTENT_FIELD_NUMBER

public static final int RENDERED_CONTENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SearchEntryPoint getDefaultInstance()
Returns
Type Description
SearchEntryPoint

getDescriptor()

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

newBuilder()

public static SearchEntryPoint.Builder newBuilder()
Returns
Type Description
SearchEntryPoint.Builder

newBuilder(SearchEntryPoint prototype)

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

parseDelimitedFrom(InputStream input)

public static SearchEntryPoint parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchEntryPoint
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static SearchEntryPoint parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SearchEntryPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static SearchEntryPoint parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SearchEntryPoint
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static SearchEntryPoint parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchEntryPoint
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static SearchEntryPoint parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SearchEntryPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<SearchEntryPoint> parser()
Returns
Type Description
Parser<SearchEntryPoint>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SearchEntryPoint getDefaultInstanceForType()
Returns
Type Description
SearchEntryPoint

getParserForType()

public Parser<SearchEntryPoint> getParserForType()
Returns
Type Description
Parser<SearchEntryPoint>
Overrides

getRenderedContent()

public String getRenderedContent()

Optional. An HTML snippet that can be embedded in a web page or an application's webview. This snippet displays a search result, including the title, URL, and a brief description of the search result.

string rendered_content = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The renderedContent.

getRenderedContentBytes()

public ByteString getRenderedContentBytes()

Optional. An HTML snippet that can be embedded in a web page or an application's webview. This snippet displays a search result, including the title, URL, and a brief description of the search result.

string rendered_content = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for renderedContent.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SearchEntryPoint.Builder newBuilderForType()
Returns
Type Description
SearchEntryPoint.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SearchEntryPoint.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SearchEntryPoint.Builder
Overrides

toBuilder()

public SearchEntryPoint.Builder toBuilder()
Returns
Type Description
SearchEntryPoint.Builder

writeTo(CodedOutputStream output)

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