Class GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata.Builder (0.51.0)

public static final class GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata.Builder extends GeneratedMessageV3.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata.Builder> implements GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadataOrBuilder

Describes the metadata about dynamic retrieval.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata.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.DynamicRetrievalMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPredictorMetadata()

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata.Builder clearPredictorMetadata()

Metadata for the dynamic retrieval predictor.

.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata predictor_metadata = 1;

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getPredictorMetadata()

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata getPredictorMetadata()

Metadata for the dynamic retrieval predictor.

.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata predictor_metadata = 1;

Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata

The predictorMetadata.

getPredictorMetadataBuilder()

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata.Builder getPredictorMetadataBuilder()

Metadata for the dynamic retrieval predictor.

.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata predictor_metadata = 1;

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

getPredictorMetadataOrBuilder()

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadataOrBuilder getPredictorMetadataOrBuilder()

Metadata for the dynamic retrieval predictor.

.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata predictor_metadata = 1;

Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadataOrBuilder

hasPredictorMetadata()

public boolean hasPredictorMetadata()

Metadata for the dynamic retrieval predictor.

.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata predictor_metadata = 1;

Returns
Type Description
boolean

Whether the predictorMetadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePredictorMetadata(GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata value)

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata.Builder mergePredictorMetadata(GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata value)

Metadata for the dynamic retrieval predictor.

.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata predictor_metadata = 1;

Parameter
Name Description
value GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata
Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPredictorMetadata(GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata value)

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata.Builder setPredictorMetadata(GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata value)

Metadata for the dynamic retrieval predictor.

.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata predictor_metadata = 1;

Parameter
Name Description
value GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata
Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata.Builder

setPredictorMetadata(GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata.Builder builderForValue)

public GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata.Builder setPredictorMetadata(GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata.Builder builderForValue)

Metadata for the dynamic retrieval predictor.

.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata predictor_metadata = 1;

Parameter
Name Description
builderForValue GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata.Builder
Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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