public static final class WebhookResponse.FulfillmentResponse extends GeneratedMessageV3 implements WebhookResponse.FulfillmentResponseOrBuilder
Represents a fulfillment response to the user.
Protobuf type google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse
Static Fields
MERGE_BEHAVIOR_FIELD_NUMBER
public static final int MERGE_BEHAVIOR_FIELD_NUMBER
Field Value
MESSAGES_FIELD_NUMBER
public static final int MESSAGES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static WebhookResponse.FulfillmentResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static WebhookResponse.FulfillmentResponse.Builder newBuilder()
Returns
newBuilder(WebhookResponse.FulfillmentResponse prototype)
public static WebhookResponse.FulfillmentResponse.Builder newBuilder(WebhookResponse.FulfillmentResponse prototype)
Parameter
Returns
public static WebhookResponse.FulfillmentResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static WebhookResponse.FulfillmentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static WebhookResponse.FulfillmentResponse parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WebhookResponse.FulfillmentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static WebhookResponse.FulfillmentResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WebhookResponse.FulfillmentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WebhookResponse.FulfillmentResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static WebhookResponse.FulfillmentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WebhookResponse.FulfillmentResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static WebhookResponse.FulfillmentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static WebhookResponse.FulfillmentResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WebhookResponse.FulfillmentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<WebhookResponse.FulfillmentResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public WebhookResponse.FulfillmentResponse getDefaultInstanceForType()
Returns
getMergeBehavior()
public WebhookResponse.FulfillmentResponse.MergeBehavior getMergeBehavior()
Merge behavior for messages
.
.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse.MergeBehavior merge_behavior = 2;
Returns
getMergeBehaviorValue()
public int getMergeBehaviorValue()
Merge behavior for messages
.
.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse.MergeBehavior merge_behavior = 2;
Returns
Type |
Description |
int |
The enum numeric value on the wire for mergeBehavior.
|
getMessages(int index)
public ResponseMessage getMessages(int index)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getMessagesCount()
public int getMessagesCount()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;
Returns
getMessagesList()
public List<ResponseMessage> getMessagesList()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;
Returns
getMessagesOrBuilder(int index)
public ResponseMessageOrBuilder getMessagesOrBuilder(int index)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getMessagesOrBuilderList()
public List<? extends ResponseMessageOrBuilder> getMessagesOrBuilderList()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder> |
|
getParserForType()
public Parser<WebhookResponse.FulfillmentResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public WebhookResponse.FulfillmentResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WebhookResponse.FulfillmentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public WebhookResponse.FulfillmentResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions