public interface GroundedGenerationContentOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
GroundedGenerationContent.Part |
getParts(int index)
Ordered `Parts` that constitute a single message.
|
int |
getPartsCount()
Ordered `Parts` that constitute a single message.
|
List<GroundedGenerationContent.Part> |
getPartsList()
Ordered `Parts` that constitute a single message.
|
GroundedGenerationContent.PartOrBuilder |
getPartsOrBuilder(int index)
Ordered `Parts` that constitute a single message.
|
List<? extends GroundedGenerationContent.PartOrBuilder> |
getPartsOrBuilderList()
Ordered `Parts` that constitute a single message.
|
String |
getRole()
Producer of the content.
|
com.google.protobuf.ByteString |
getRoleBytes()
Producer of the content.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getRole()
Producer of the content. Must be either `user` or `model`. Intended to be used for multi-turn conversations. Otherwise, it can be left unset.
string role = 1;com.google.protobuf.ByteString getRoleBytes()
Producer of the content. Must be either `user` or `model`. Intended to be used for multi-turn conversations. Otherwise, it can be left unset.
string role = 1;List<GroundedGenerationContent.Part> getPartsList()
Ordered `Parts` that constitute a single message.
repeated .google.cloud.discoveryengine.v1beta.GroundedGenerationContent.Part parts = 2;
GroundedGenerationContent.Part getParts(int index)
Ordered `Parts` that constitute a single message.
repeated .google.cloud.discoveryengine.v1beta.GroundedGenerationContent.Part parts = 2;
int getPartsCount()
Ordered `Parts` that constitute a single message.
repeated .google.cloud.discoveryengine.v1beta.GroundedGenerationContent.Part parts = 2;
List<? extends GroundedGenerationContent.PartOrBuilder> getPartsOrBuilderList()
Ordered `Parts` that constitute a single message.
repeated .google.cloud.discoveryengine.v1beta.GroundedGenerationContent.Part parts = 2;
GroundedGenerationContent.PartOrBuilder getPartsOrBuilder(int index)
Ordered `Parts` that constitute a single message.
repeated .google.cloud.discoveryengine.v1beta.GroundedGenerationContent.Part parts = 2;
Copyright © 2025 Google LLC. All rights reserved.