Class SearchEntryPoint.Builder (4.105.0)

public static final class SearchEntryPoint.Builder extends GeneratedMessage.Builder<SearchEntryPoint.Builder> implements SearchEntryPointOrBuilder

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

Protobuf type google.cloud.dialogflow.v2.SearchEntryPoint

Static Methods

getDescriptor()

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

Methods

build()

public SearchEntryPoint build()
Returns
Type Description
SearchEntryPoint

buildPartial()

public SearchEntryPoint buildPartial()
Returns
Type Description
SearchEntryPoint

clear()

public SearchEntryPoint.Builder clear()
Returns
Type Description
SearchEntryPoint.Builder
Overrides

clearRenderedContent()

public SearchEntryPoint.Builder clearRenderedContent()

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
SearchEntryPoint.Builder

This builder for chaining.

getDefaultInstanceForType()

public SearchEntryPoint getDefaultInstanceForType()
Returns
Type Description
SearchEntryPoint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchEntryPoint other)

public SearchEntryPoint.Builder mergeFrom(SearchEntryPoint other)
Parameter
Name Description
other SearchEntryPoint
Returns
Type Description
SearchEntryPoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchEntryPoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchEntryPoint.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchEntryPoint.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchEntryPoint.Builder
Overrides

setRenderedContent(String value)

public SearchEntryPoint.Builder setRenderedContent(String value)

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];

Parameter
Name Description
value String

The renderedContent to set.

Returns
Type Description
SearchEntryPoint.Builder

This builder for chaining.

setRenderedContentBytes(ByteString value)

public SearchEntryPoint.Builder setRenderedContentBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for renderedContent to set.

Returns
Type Description
SearchEntryPoint.Builder

This builder for chaining.