public static final class Intent.Message.SimpleResponses extends GeneratedMessageV3 implements Intent.Message.SimpleResponsesOrBuilder
The collection of simple response candidates.
This message in QueryResult.fulfillment_messages
and
WebhookResponse.fulfillment_messages
should contain only one
SimpleResponse
.
Protobuf type google.cloud.dialogflow.v2.Intent.Message.SimpleResponses
Static Fields
SIMPLE_RESPONSES_FIELD_NUMBER
public static final int SIMPLE_RESPONSES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Intent.Message.SimpleResponses getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Intent.Message.SimpleResponses.Builder newBuilder()
newBuilder(Intent.Message.SimpleResponses prototype)
public static Intent.Message.SimpleResponses.Builder newBuilder(Intent.Message.SimpleResponses prototype)
public static Intent.Message.SimpleResponses parseDelimitedFrom(InputStream input)
public static Intent.Message.SimpleResponses parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Intent.Message.SimpleResponses parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.SimpleResponses parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Intent.Message.SimpleResponses parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.SimpleResponses parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.SimpleResponses parseFrom(CodedInputStream input)
public static Intent.Message.SimpleResponses parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.SimpleResponses parseFrom(InputStream input)
public static Intent.Message.SimpleResponses parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Intent.Message.SimpleResponses parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.SimpleResponses parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Intent.Message.SimpleResponses> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Intent.Message.SimpleResponses getDefaultInstanceForType()
getParserForType()
public Parser<Intent.Message.SimpleResponses> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSimpleResponses(int index)
public Intent.Message.SimpleResponse getSimpleResponses(int index)
Required. The list of simple responses.
repeated .google.cloud.dialogflow.v2.Intent.Message.SimpleResponse simple_responses = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getSimpleResponsesCount()
public int getSimpleResponsesCount()
Required. The list of simple responses.
repeated .google.cloud.dialogflow.v2.Intent.Message.SimpleResponse simple_responses = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getSimpleResponsesList()
public List<Intent.Message.SimpleResponse> getSimpleResponsesList()
Required. The list of simple responses.
repeated .google.cloud.dialogflow.v2.Intent.Message.SimpleResponse simple_responses = 1 [(.google.api.field_behavior) = REQUIRED];
getSimpleResponsesOrBuilder(int index)
public Intent.Message.SimpleResponseOrBuilder getSimpleResponsesOrBuilder(int index)
Required. The list of simple responses.
repeated .google.cloud.dialogflow.v2.Intent.Message.SimpleResponse simple_responses = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getSimpleResponsesOrBuilderList()
public List<? extends Intent.Message.SimpleResponseOrBuilder> getSimpleResponsesOrBuilderList()
Required. The list of simple responses.
repeated .google.cloud.dialogflow.v2.Intent.Message.SimpleResponse simple_responses = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.Intent.Message.SimpleResponseOrBuilder> |
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Intent.Message.SimpleResponses.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.SimpleResponses.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Intent.Message.SimpleResponses.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides