Class GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder (0.51.0)

public static final class GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder extends GeneratedMessageV3.Builder<GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder> implements GenerateGroundedContentRequest.DynamicRetrievalConfigurationOrBuilder

Describes the options to customize dynamic retrieval.

Protobuf type google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateGroundedContentRequest.DynamicRetrievalConfiguration build()
Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration

buildPartial()

public GenerateGroundedContentRequest.DynamicRetrievalConfiguration buildPartial()
Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration

clear()

public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder clear()
Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPredictor()

public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder clearPredictor()

Specification for the predictor for dynamic retrieval.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor predictor = 1;

Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder

clone()

public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder clone()
Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder
Overrides

getDefaultInstanceForType()

public GenerateGroundedContentRequest.DynamicRetrievalConfiguration getDefaultInstanceForType()
Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration

getDescriptorForType()

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

getPredictor()

public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor getPredictor()

Specification for the predictor for dynamic retrieval.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor predictor = 1;

Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor

The predictor.

getPredictorBuilder()

public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder getPredictorBuilder()

Specification for the predictor for dynamic retrieval.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor predictor = 1;

Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder

getPredictorOrBuilder()

public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictorOrBuilder getPredictorOrBuilder()

Specification for the predictor for dynamic retrieval.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor predictor = 1;

Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictorOrBuilder

hasPredictor()

public boolean hasPredictor()

Specification for the predictor for dynamic retrieval.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor predictor = 1;

Returns
Type Description
boolean

Whether the predictor field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateGroundedContentRequest.DynamicRetrievalConfiguration other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePredictor(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor value)

public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder mergePredictor(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor value)

Specification for the predictor for dynamic retrieval.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor predictor = 1;

Parameter
Name Description
value GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor
Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPredictor(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor value)

public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder setPredictor(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor value)

Specification for the predictor for dynamic retrieval.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor predictor = 1;

Parameter
Name Description
value GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor
Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder

setPredictor(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder builderForValue)

public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder setPredictor(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder builderForValue)

Specification for the predictor for dynamic retrieval.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor predictor = 1;

Parameter
Name Description
builderForValue GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder
Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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