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.vertexai.v1.GoogleSearchRetrieval
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GoogleSearchRetrieval.BuilderImplements
GoogleSearchRetrievalOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public GoogleSearchRetrieval.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GoogleSearchRetrieval.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GoogleSearchRetrieval.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GoogleSearchRetrieval.Builder |
clone()
public GoogleSearchRetrieval.Builder clone()
Returns | |
---|---|
Type | Description |
GoogleSearchRetrieval.Builder |
getDefaultInstanceForType()
public GoogleSearchRetrieval getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GoogleSearchRetrieval |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GoogleSearchRetrieval.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GoogleSearchRetrieval.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GoogleSearchRetrieval.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GoogleSearchRetrieval.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final GoogleSearchRetrieval.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GoogleSearchRetrieval.Builder |