Interface GenerateGroundedContentResponseOrBuilder (0.50.0)

public interface GenerateGroundedContentResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCandidates(int index)

public abstract GenerateGroundedContentResponse.Candidate getCandidates(int index)

Generated candidates.

repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;

Parameter
Name Description
index int
Returns
Type Description
GenerateGroundedContentResponse.Candidate

getCandidatesCount()

public abstract int getCandidatesCount()

Generated candidates.

repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;

Returns
Type Description
int

getCandidatesList()

public abstract List<GenerateGroundedContentResponse.Candidate> getCandidatesList()

Generated candidates.

repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;

Returns
Type Description
List<Candidate>

getCandidatesOrBuilder(int index)

public abstract GenerateGroundedContentResponse.CandidateOrBuilder getCandidatesOrBuilder(int index)

Generated candidates.

repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;

Parameter
Name Description
index int
Returns
Type Description
GenerateGroundedContentResponse.CandidateOrBuilder

getCandidatesOrBuilderList()

public abstract List<? extends GenerateGroundedContentResponse.CandidateOrBuilder> getCandidatesOrBuilderList()

Generated candidates.

repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.CandidateOrBuilder>