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.v2beta1.Intent.Message.SimpleResponses
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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.v2beta1.Intent.Message.SimpleResponse simple_responses = 1;
Parameter |
Name |
Description |
index |
int
|
getSimpleResponsesCount()
public int getSimpleResponsesCount()
Required. The list of simple responses.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponse simple_responses = 1;
Returns |
Type |
Description |
int |
|
getSimpleResponsesList()
public List<Intent.Message.SimpleResponse> getSimpleResponsesList()
Required. The list of simple responses.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponse simple_responses = 1;
getSimpleResponsesOrBuilder(int index)
public Intent.Message.SimpleResponseOrBuilder getSimpleResponsesOrBuilder(int index)
Required. The list of simple responses.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponse simple_responses = 1;
Parameter |
Name |
Description |
index |
int
|
getSimpleResponsesOrBuilderList()
public List<? extends Intent.Message.SimpleResponseOrBuilder> getSimpleResponsesOrBuilderList()
Required. The list of simple responses.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponse simple_responses = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponseOrBuilder> |
|
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