Class GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder (0.49.0)

public static final class GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder extends GeneratedMessageV3.Builder<GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder> implements GenerateGroundedContentRequest.GroundingSource.GoogleSearchSourceOrBuilder

Google Search config parameters.

Protobuf type google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource build()
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource

buildPartial()

public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource buildPartial()
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource

clear()

public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder clear()
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder
Overrides

clearDynamicRetrievalConfig()

public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder clearDynamicRetrievalConfig()

Optional. Specifies the dynamic retrieval configuration for the given source.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder

clearField(Descriptors.FieldDescriptor field)

public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder
Overrides

clone()

public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder clone()
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder
Overrides

getDefaultInstanceForType()

public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource getDefaultInstanceForType()
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource

getDescriptorForType()

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

getDynamicRetrievalConfig()

public GenerateGroundedContentRequest.DynamicRetrievalConfiguration getDynamicRetrievalConfig()

Optional. Specifies the dynamic retrieval configuration for the given source.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration

The dynamicRetrievalConfig.

getDynamicRetrievalConfigBuilder()

public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder getDynamicRetrievalConfigBuilder()

Optional. Specifies the dynamic retrieval configuration for the given source.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder

getDynamicRetrievalConfigOrBuilder()

public GenerateGroundedContentRequest.DynamicRetrievalConfigurationOrBuilder getDynamicRetrievalConfigOrBuilder()

Optional. Specifies the dynamic retrieval configuration for the given source.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfigurationOrBuilder

hasDynamicRetrievalConfig()

public boolean hasDynamicRetrievalConfig()

Optional. Specifies the dynamic retrieval configuration for the given source.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dynamicRetrievalConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration value)

public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder mergeDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration value)

Optional. Specifies the dynamic retrieval configuration for the given source.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GenerateGroundedContentRequest.DynamicRetrievalConfiguration
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder

mergeFrom(GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource other)

public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder mergeFrom(GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource other)
Parameter
Name Description
other GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder
Overrides

setDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration value)

public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder setDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration value)

Optional. Specifies the dynamic retrieval configuration for the given source.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GenerateGroundedContentRequest.DynamicRetrievalConfiguration
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder

setDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder builderForValue)

public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder setDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder builderForValue)

Optional. Specifies the dynamic retrieval configuration for the given source.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder
Overrides