public static final class GenerateGroundedContentResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Builder> implements GenerateGroundedContentResponseOrBuilder
Response for the `GenerateGroundedContent` method.Protobuf type
google.cloud.discoveryengine.v1.GenerateGroundedContentResponseaddRepeatedField, 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.Builder>public GenerateGroundedContentResponse.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.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.Builder>public GenerateGroundedContentResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GenerateGroundedContentResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GenerateGroundedContentResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GenerateGroundedContentResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerateGroundedContentResponse.Builder>public GenerateGroundedContentResponse.Builder mergeFrom(GenerateGroundedContentResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Builder>public GenerateGroundedContentResponse.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.Builder>IOExceptionpublic List<GenerateGroundedContentResponse.Candidate> getCandidatesList()
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
getCandidatesList in interface GenerateGroundedContentResponseOrBuilderpublic int getCandidatesCount()
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
getCandidatesCount in interface GenerateGroundedContentResponseOrBuilderpublic GenerateGroundedContentResponse.Candidate getCandidates(int index)
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
getCandidates in interface GenerateGroundedContentResponseOrBuilderpublic GenerateGroundedContentResponse.Builder setCandidates(int index, GenerateGroundedContentResponse.Candidate value)
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
public GenerateGroundedContentResponse.Builder setCandidates(int index, GenerateGroundedContentResponse.Candidate.Builder builderForValue)
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
public GenerateGroundedContentResponse.Builder addCandidates(GenerateGroundedContentResponse.Candidate value)
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
public GenerateGroundedContentResponse.Builder addCandidates(int index, GenerateGroundedContentResponse.Candidate value)
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
public GenerateGroundedContentResponse.Builder addCandidates(GenerateGroundedContentResponse.Candidate.Builder builderForValue)
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
public GenerateGroundedContentResponse.Builder addCandidates(int index, GenerateGroundedContentResponse.Candidate.Builder builderForValue)
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
public GenerateGroundedContentResponse.Builder addAllCandidates(Iterable<? extends GenerateGroundedContentResponse.Candidate> values)
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
public GenerateGroundedContentResponse.Builder clearCandidates()
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
public GenerateGroundedContentResponse.Builder removeCandidates(int index)
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
public GenerateGroundedContentResponse.Candidate.Builder getCandidatesBuilder(int index)
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
public GenerateGroundedContentResponse.CandidateOrBuilder getCandidatesOrBuilder(int index)
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
getCandidatesOrBuilder in interface GenerateGroundedContentResponseOrBuilderpublic List<? extends GenerateGroundedContentResponse.CandidateOrBuilder> getCandidatesOrBuilderList()
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
getCandidatesOrBuilderList in interface GenerateGroundedContentResponseOrBuilderpublic GenerateGroundedContentResponse.Candidate.Builder addCandidatesBuilder()
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
public GenerateGroundedContentResponse.Candidate.Builder addCandidatesBuilder(int index)
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
public List<GenerateGroundedContentResponse.Candidate.Builder> getCandidatesBuilderList()
Generated candidates.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;
Copyright © 2026 Google LLC. All rights reserved.