public static final class DataStoreTool.SummarizationConfig extends GeneratedMessage implements DataStoreTool.SummarizationConfigOrBuilderSummarization configuration.
Protobuf type google.cloud.ces.v1.DataStoreTool.SummarizationConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DataStoreTool.SummarizationConfigImplements
DataStoreTool.SummarizationConfigOrBuilderStatic Fields
DISABLED_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MODEL_SETTINGS_FIELD_NUMBER
public static final int MODEL_SETTINGS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PROMPT_FIELD_NUMBER
public static final int PROMPT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static DataStoreTool.SummarizationConfig getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static DataStoreTool.SummarizationConfig.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig.Builder |
|
newBuilder(DataStoreTool.SummarizationConfig prototype)
public static DataStoreTool.SummarizationConfig.Builder newBuilder(DataStoreTool.SummarizationConfig prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
DataStoreTool.SummarizationConfig |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig.Builder |
|
parseDelimitedFrom(InputStream input)
public static DataStoreTool.SummarizationConfig parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DataStoreTool.SummarizationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static DataStoreTool.SummarizationConfig parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataStoreTool.SummarizationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static DataStoreTool.SummarizationConfig parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataStoreTool.SummarizationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static DataStoreTool.SummarizationConfig parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataStoreTool.SummarizationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static DataStoreTool.SummarizationConfig parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DataStoreTool.SummarizationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static DataStoreTool.SummarizationConfig parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataStoreTool.SummarizationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<DataStoreTool.SummarizationConfig> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SummarizationConfig> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public DataStoreTool.SummarizationConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig |
|
getDisabled()
public boolean getDisabled()Optional. Whether summarization is disabled.
bool disabled = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The disabled. |
getModelSettings()
public ModelSettings getModelSettings()Optional. Configurations for the LLM model.
.google.cloud.ces.v1.ModelSettings model_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModelSettings |
The modelSettings. |
getModelSettingsOrBuilder()
public ModelSettingsOrBuilder getModelSettingsOrBuilder()Optional. Configurations for the LLM model.
.google.cloud.ces.v1.ModelSettings model_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModelSettingsOrBuilder |
|
getParserForType()
public Parser<DataStoreTool.SummarizationConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SummarizationConfig> |
|
getPrompt()
public String getPrompt()Optional. The prompt definition. If not set, default prompt will be used.
string prompt = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The prompt. |
getPromptBytes()
public ByteString getPromptBytes()Optional. The prompt definition. If not set, default prompt will be used.
string prompt = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for prompt. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasModelSettings()
public boolean hasModelSettings()Optional. Configurations for the LLM model.
.google.cloud.ces.v1.ModelSettings model_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the modelSettings field is set. |
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 DataStoreTool.SummarizationConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DataStoreTool.SummarizationConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig.Builder |
|
toBuilder()
public DataStoreTool.SummarizationConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
DataStoreTool.SummarizationConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|