Interface FunctionResponseOrBuilder (0.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface FunctionResponseOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getName()
publicabstractStringgetName()Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
publicabstractByteStringgetNameBytes()Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getResponse()
publicabstractStructgetResponse()Required. The function response in JSON object format.
.google.protobuf.Struct response = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Struct |
The response. |
getResponseOrBuilder()
publicabstractStructOrBuildergetResponseOrBuilder()Required. The function response in JSON object format.
.google.protobuf.Struct response = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
hasResponse()
publicabstractbooleanhasResponse()Required. The function response in JSON object format.
.google.protobuf.Struct response = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the response field is set. |