Class SearchEntryPoint.Builder (1.13.0)

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

Google search entry point.

Protobuf type google.cloud.vertexai.v1.SearchEntryPoint

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchEntryPoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchEntryPoint.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public SearchEntryPoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchEntryPoint.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchEntryPoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchEntryPoint.Builder
Overrides

clearRenderedContent()

public SearchEntryPoint.Builder clearRenderedContent()

Optional. Web content snippet that can be embedded in a web page or an app webview.

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

Returns
Type Description
SearchEntryPoint.Builder

This builder for chaining.

clearSdkBlob()

public SearchEntryPoint.Builder clearSdkBlob()

Optional. Base64 encoded JSON representing array of <search term, search url> tuple.

bytes sdk_blob = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchEntryPoint.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchEntryPoint getDefaultInstanceForType()
Returns
Type Description
SearchEntryPoint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRenderedContent()

public String getRenderedContent()

Optional. Web content snippet that can be embedded in a web page or an app webview.

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

Returns
Type Description
String

The renderedContent.

getRenderedContentBytes()

public ByteString getRenderedContentBytes()

Optional. Web content snippet that can be embedded in a web page or an app webview.

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

Returns
Type Description
ByteString

The bytes for renderedContent.

getSdkBlob()

public ByteString getSdkBlob()

Optional. Base64 encoded JSON representing array of <search term, search url> tuple.

bytes sdk_blob = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The sdkBlob.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchEntryPoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchEntryPoint.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SearchEntryPoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchEntryPoint.Builder
Overrides

setRenderedContent(String value)

public SearchEntryPoint.Builder setRenderedContent(String value)

Optional. Web content snippet that can be embedded in a web page or an app webview.

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. Web content snippet that can be embedded in a web page or an app webview.

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchEntryPoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchEntryPoint.Builder
Overrides

setSdkBlob(ByteString value)

public SearchEntryPoint.Builder setSdkBlob(ByteString value)

Optional. Base64 encoded JSON representing array of <search term, search url> tuple.

bytes sdk_blob = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The sdkBlob to set.

Returns
Type Description
SearchEntryPoint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchEntryPoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchEntryPoint.Builder
Overrides