Interface Chunk.StructuredContentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Chunk.StructuredContent,Chunk.StructuredContent.Builder
- Enclosing class:
- Chunk
public static interface Chunk.StructuredContentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStructureTypeValue
int getStructureTypeValue()Output only. The structure type of the structured content.
.google.cloud.discoveryengine.v1.Chunk.StructureType structure_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for structureType.
-
getStructureType
Chunk.StructureType getStructureType()Output only. The structure type of the structured content.
.google.cloud.discoveryengine.v1.Chunk.StructureType structure_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The structureType.
-
getContent
String getContent()Output only. The content of the structured content.
string content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The content.
-
getContentBytes
com.google.protobuf.ByteString getContentBytes()Output only. The content of the structured content.
string content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for content.
-