public static final class BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses extends GeneratedMessage implements BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponsesOrBuilderThe tool responses from the client.
Protobuf type
google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponsesStatic Fields
TOOL_RESPONSES_FIELD_NUMBER
public static final int TOOL_RESPONSES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses.Builder |
|
newBuilder(BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses prototype)
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses.Builder newBuilder(BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses.Builder |
|
parseDelimitedFrom(InputStream input)
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ToolResponses> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses |
|
getParserForType()
public Parser<BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ToolResponses> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getToolResponses(int index)
public BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponse getToolResponses(int index)Optional. The list of tool responses.
repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponse tool_responses = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponse |
|
getToolResponsesCount()
public int getToolResponsesCount()Optional. The list of tool responses.
repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponse tool_responses = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getToolResponsesList()
public List<BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponse> getToolResponsesList()Optional. The list of tool responses.
repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponse tool_responses = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<ToolResponse> |
|
getToolResponsesOrBuilder(int index)
public BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponseOrBuilder getToolResponsesOrBuilder(int index)Optional. The list of tool responses.
repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponse tool_responses = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponseOrBuilder |
|
getToolResponsesOrBuilderList()
public List<? extends BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponseOrBuilder> getToolResponsesOrBuilderList()Optional. The list of tool responses.
repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponse tool_responses = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponseOrBuilder> |
|
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 BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses.Builder |
|
toBuilder()
public BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponses.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|