public static final class GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder> implements GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadataOrBuilder
Describes the metadata associated with a retrieval step.Protobuf type
google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadataaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder>public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder>public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder>public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder mergeFrom(GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder>public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder>IOExceptionpublic int getSourceValue()
Describes the source to which the metadata is referring to.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source source = 1;
getSourceValue in interface GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadataOrBuilderpublic GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder setSourceValue(int value)
Describes the source to which the metadata is referring to.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source source = 1;
value - The enum numeric value on the wire for source to set.public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source getSource()
Describes the source to which the metadata is referring to.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source source = 1;
getSource in interface GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadataOrBuilderpublic GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder setSource(GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source value)
Describes the source to which the metadata is referring to.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source source = 1;
value - The source to set.public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder clearSource()
Describes the source to which the metadata is referring to.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source source = 1;
public boolean hasDynamicRetrievalMetadata()
Metadata for dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata dynamic_retrieval_metadata = 2;
hasDynamicRetrievalMetadata in interface GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadataOrBuilderpublic GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata getDynamicRetrievalMetadata()
Metadata for dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata dynamic_retrieval_metadata = 2;
getDynamicRetrievalMetadata in interface GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadataOrBuilderpublic GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder setDynamicRetrievalMetadata(GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata value)
Metadata for dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata dynamic_retrieval_metadata = 2;
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder setDynamicRetrievalMetadata(GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata.Builder builderForValue)
Metadata for dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata dynamic_retrieval_metadata = 2;
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder mergeDynamicRetrievalMetadata(GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata value)
Metadata for dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata dynamic_retrieval_metadata = 2;
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder clearDynamicRetrievalMetadata()
Metadata for dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata dynamic_retrieval_metadata = 2;
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata.Builder getDynamicRetrievalMetadataBuilder()
Metadata for dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata dynamic_retrieval_metadata = 2;
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadataOrBuilder getDynamicRetrievalMetadataOrBuilder()
Metadata for dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata dynamic_retrieval_metadata = 2;
Copyright © 2026 Google LLC. All rights reserved.