public static final class CheckGroundingResponse.CheckGroundingFactChunk extends GeneratedMessage implements CheckGroundingResponse.CheckGroundingFactChunkOrBuilderFact chunk for grounding check.
Protobuf type
google.cloud.discoveryengine.v1.CheckGroundingResponse.CheckGroundingFactChunk
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CheckGroundingResponse.CheckGroundingFactChunkStatic Fields
CHUNK_TEXT_FIELD_NUMBER
public static final int CHUNK_TEXT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static CheckGroundingResponse.CheckGroundingFactChunk getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CheckGroundingResponse.CheckGroundingFactChunk.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk.Builder |
|
newBuilder(CheckGroundingResponse.CheckGroundingFactChunk prototype)
public static CheckGroundingResponse.CheckGroundingFactChunk.Builder newBuilder(CheckGroundingResponse.CheckGroundingFactChunk prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CheckGroundingResponse.CheckGroundingFactChunk |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk.Builder |
|
parseDelimitedFrom(InputStream input)
public static CheckGroundingResponse.CheckGroundingFactChunk parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CheckGroundingResponse.CheckGroundingFactChunk parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CheckGroundingResponse.CheckGroundingFactChunk parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CheckGroundingResponse.CheckGroundingFactChunk parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CheckGroundingResponse.CheckGroundingFactChunk parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CheckGroundingResponse.CheckGroundingFactChunk parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CheckGroundingResponse.CheckGroundingFactChunk parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CheckGroundingResponse.CheckGroundingFactChunk parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CheckGroundingResponse.CheckGroundingFactChunk parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CheckGroundingResponse.CheckGroundingFactChunk parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CheckGroundingResponse.CheckGroundingFactChunk parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CheckGroundingResponse.CheckGroundingFactChunk parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CheckGroundingResponse.CheckGroundingFactChunk> parser()| Returns | |
|---|---|
| Type | Description |
Parser<CheckGroundingFactChunk> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getChunkText()
public String getChunkText()Text content of the fact chunk. Can be at most 10K characters long.
string chunk_text = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The chunkText. |
getChunkTextBytes()
public ByteString getChunkTextBytes()Text content of the fact chunk. Can be at most 10K characters long.
string chunk_text = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for chunkText. |
getDefaultInstanceForType()
public CheckGroundingResponse.CheckGroundingFactChunk getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk |
|
getParserForType()
public Parser<CheckGroundingResponse.CheckGroundingFactChunk> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<CheckGroundingFactChunk> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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 CheckGroundingResponse.CheckGroundingFactChunk.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CheckGroundingResponse.CheckGroundingFactChunk.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk.Builder |
|
toBuilder()
public CheckGroundingResponse.CheckGroundingFactChunk.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse.CheckGroundingFactChunk.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|