Class GoogleSearchRetrieval.Builder (3.52.0)

public static final class GoogleSearchRetrieval.Builder extends GeneratedMessageV3.Builder<GoogleSearchRetrieval.Builder> implements GoogleSearchRetrievalOrBuilder

Tool to retrieve public web data for grounding, powered by Google.

Protobuf type google.cloud.aiplatform.v1.GoogleSearchRetrieval

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GoogleSearchRetrieval build()
Returns
Type Description
GoogleSearchRetrieval

buildPartial()

public GoogleSearchRetrieval buildPartial()
Returns
Type Description
GoogleSearchRetrieval

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GoogleSearchRetrieval getDefaultInstanceForType()
Returns
Type Description
GoogleSearchRetrieval

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoogleSearchRetrieval other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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