public final class ToolFakeConfig extends GeneratedMessage implements ToolFakeConfigOrBuilderConfiguration for tool behavior in fake mode.
Protobuf type google.cloud.ces.v1.ToolFakeConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ToolFakeConfigImplements
ToolFakeConfigOrBuilderStatic Fields
CODE_BLOCK_FIELD_NUMBER
public static final int CODE_BLOCK_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ENABLE_FAKE_MODE_FIELD_NUMBER
public static final int ENABLE_FAKE_MODE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ToolFakeConfig getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ToolFakeConfig.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig.Builder |
|
newBuilder(ToolFakeConfig prototype)
public static ToolFakeConfig.Builder newBuilder(ToolFakeConfig prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ToolFakeConfig |
| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig.Builder |
|
parseDelimitedFrom(InputStream input)
public static ToolFakeConfig parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ToolFakeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ToolFakeConfig parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ToolFakeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ToolFakeConfig parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ToolFakeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ToolFakeConfig parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ToolFakeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ToolFakeConfig parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ToolFakeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ToolFakeConfig parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ToolFakeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ToolFakeConfig> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ToolFakeConfig> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCodeBlock()
public CodeBlock getCodeBlock()Optional. Code block which will be executed instead of a real tool call.
.google.cloud.ces.v1.CodeBlock code_block = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CodeBlock |
The codeBlock. |
getCodeBlockOrBuilder()
public CodeBlockOrBuilder getCodeBlockOrBuilder()Optional. Code block which will be executed instead of a real tool call.
.google.cloud.ces.v1.CodeBlock code_block = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CodeBlockOrBuilder |
|
getDefaultInstanceForType()
public ToolFakeConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig |
|
getEnableFakeMode()
public boolean getEnableFakeMode()Optional. Whether the tool is using fake mode.
bool enable_fake_mode = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableFakeMode. |
getParserForType()
public Parser<ToolFakeConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ToolFakeConfig> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getToolResponseCase()
public ToolFakeConfig.ToolResponseCase getToolResponseCase()| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig.ToolResponseCase |
|
hasCodeBlock()
public boolean hasCodeBlock()Optional. Code block which will be executed instead of a real tool call.
.google.cloud.ces.v1.CodeBlock code_block = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the codeBlock 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 ToolFakeConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ToolFakeConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig.Builder |
|
toBuilder()
public ToolFakeConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ToolFakeConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|