Class GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder (0.49.0)

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

Google search entry point.

Protobuf type google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint build()
Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint

buildPartial()

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint buildPartial()
Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint

clear()

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder clear()
Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRenderedContent()

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder clearRenderedContent()

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

string rendered_content = 1;

Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder

This builder for chaining.

clearSdkBlob()

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder clearSdkBlob()

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

bytes sdk_blob = 2;

Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder

This builder for chaining.

clone()

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder clone()
Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder
Overrides

getDefaultInstanceForType()

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint getDefaultInstanceForType()
Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint

getDescriptorForType()

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

getRenderedContent()

public String getRenderedContent()

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

string rendered_content = 1;

Returns
Type Description
String

The renderedContent.

getRenderedContentBytes()

public ByteString getRenderedContentBytes()

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

string rendered_content = 1;

Returns
Type Description
ByteString

The bytes for renderedContent.

getSdkBlob()

public ByteString getSdkBlob()

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

bytes sdk_blob = 2;

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(GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRenderedContent(String value)

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder setRenderedContent(String value)

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

string rendered_content = 1;

Parameter
Name Description
value String

The renderedContent to set.

Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder

This builder for chaining.

setRenderedContentBytes(ByteString value)

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder setRenderedContentBytes(ByteString value)

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

string rendered_content = 1;

Parameter
Name Description
value ByteString

The bytes for renderedContent to set.

Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder

This builder for chaining.

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

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

setSdkBlob(ByteString value)

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder setSdkBlob(ByteString value)

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

bytes sdk_blob = 2;

Parameter
Name Description
value ByteString

The sdkBlob to set.

Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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