public static final class Chunk.StructuredContent.Builder extends GeneratedMessage.Builder<Chunk.StructuredContent.Builder> implements Chunk.StructuredContentOrBuilderThe structured content information.
Protobuf type google.cloud.discoveryengine.v1.Chunk.StructuredContent
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Chunk.StructuredContent.BuilderImplements
Chunk.StructuredContentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Chunk.StructuredContent build()| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
buildPartial()
public Chunk.StructuredContent buildPartial()| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent |
|
clear()
public Chunk.StructuredContent.Builder clear()| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent.Builder |
|
clearContent()
public Chunk.StructuredContent.Builder clearContent()Output only. The content of the structured content.
string content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent.Builder |
This builder for chaining. |
clearStructureType()
public Chunk.StructuredContent.Builder clearStructureType()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.StructuredContent.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Chunk.StructuredContent other)
public Chunk.StructuredContent.Builder mergeFrom(Chunk.StructuredContent other)| Parameter | |
|---|---|
| Name | Description |
other |
Chunk.StructuredContent |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Chunk.StructuredContent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Chunk.StructuredContent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent.Builder |
|
setContent(String value)
public Chunk.StructuredContent.Builder setContent(String value)Output only. The content of the structured content.
string content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe content to set. |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent.Builder |
This builder for chaining. |
setContentBytes(ByteString value)
public Chunk.StructuredContent.Builder setContentBytes(ByteString value)Output only. The content of the structured content.
string content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for content to set. |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent.Builder |
This builder for chaining. |
setStructureType(Chunk.StructureType value)
public Chunk.StructuredContent.Builder setStructureType(Chunk.StructureType value)Output only. The structure type of the structured content.
.google.cloud.discoveryengine.v1.Chunk.StructureType structure_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Chunk.StructureTypeThe structureType to set. |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent.Builder |
This builder for chaining. |
setStructureTypeValue(int value)
public Chunk.StructuredContent.Builder setStructureTypeValue(int value)Output only. The structure type of the structured content.
.google.cloud.discoveryengine.v1.Chunk.StructureType structure_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for structureType to set. |
| Returns | |
|---|---|
| Type | Description |
Chunk.StructuredContent.Builder |
This builder for chaining. |