public static final class Chunk.StructuredContent extends GeneratedMessage implements Chunk.StructuredContentOrBuilderThe structured content information.
Protobuf type google.cloud.discoveryengine.v1.Chunk.StructuredContent
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Chunk.StructuredContentImplements
Chunk.StructuredContentOrBuilderStatic Fields
CONTENT_FIELD_NUMBER
public static final int CONTENT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STRUCTURE_TYPE_FIELD_NUMBER
public static final int STRUCTURE_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Chunk.StructuredContent getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Chunk.StructuredContent.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent.Builder |
|
newBuilder(Chunk.StructuredContent prototype)
public static Chunk.StructuredContent.Builder newBuilder(Chunk.StructuredContent prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Chunk.StructuredContent |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent.Builder |
|
parseDelimitedFrom(InputStream input)
public static Chunk.StructuredContent parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Chunk.StructuredContent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Chunk.StructuredContent parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Chunk.StructuredContent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Chunk.StructuredContent parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Chunk.StructuredContent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Chunk.StructuredContent parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Chunk.StructuredContent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Chunk.StructuredContent parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Chunk.StructuredContent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Chunk.StructuredContent parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Chunk.StructuredContent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Chunk.StructuredContent> parser()| Returns | |
|---|---|
| Type | Description |
Parser<StructuredContent> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getContent()
public String getContent()Output only. The content of the structured content.
string content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The content. |
getContentBytes()
public ByteString getContentBytes()Output only. The content of the structured content.
string content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for content. |
getDefaultInstanceForType()
public Chunk.StructuredContent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
getParserForType()
public Parser<Chunk.StructuredContent> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<StructuredContent> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getStructureType()
public 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 | |
|---|---|
| Type | Description |
Chunk.StructureType |
The structureType. |
getStructureTypeValue()
public 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 | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for structureType. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Chunk.StructuredContent.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Chunk.StructuredContent.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent.Builder |
|
toBuilder()
public Chunk.StructuredContent.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|