public static final class WebhookResponse.FulfillmentResponse.Builder extends GeneratedMessageV3.Builder<WebhookResponse.FulfillmentResponse.Builder> implements WebhookResponse.FulfillmentResponseOrBuilder
Represents a fulfillment response to the user.
Protobuf type google.cloud.dialogflow.cx.v3beta1.WebhookResponse.FulfillmentResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllMessages(Iterable<? extends ResponseMessage> values)
public WebhookResponse.FulfillmentResponse.Builder addAllMessages(Iterable<? extends ResponseMessage> values)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage>
|
addMessages(ResponseMessage value)
public WebhookResponse.FulfillmentResponse.Builder addMessages(ResponseMessage value)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
addMessages(ResponseMessage.Builder builderForValue)
public WebhookResponse.FulfillmentResponse.Builder addMessages(ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
addMessages(int index, ResponseMessage value)
public WebhookResponse.FulfillmentResponse.Builder addMessages(int index, ResponseMessage value)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
addMessages(int index, ResponseMessage.Builder builderForValue)
public WebhookResponse.FulfillmentResponse.Builder addMessages(int index, ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
addMessagesBuilder()
public ResponseMessage.Builder addMessagesBuilder()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
addMessagesBuilder(int index)
public ResponseMessage.Builder addMessagesBuilder(int index)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WebhookResponse.FulfillmentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WebhookResponse.FulfillmentResponse build()
buildPartial()
public WebhookResponse.FulfillmentResponse buildPartial()
clear()
public WebhookResponse.FulfillmentResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public WebhookResponse.FulfillmentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMergeBehavior()
public WebhookResponse.FulfillmentResponse.Builder clearMergeBehavior()
Merge behavior for messages
.
.google.cloud.dialogflow.cx.v3beta1.WebhookResponse.FulfillmentResponse.MergeBehavior merge_behavior = 2;
clearMessages()
public WebhookResponse.FulfillmentResponse.Builder clearMessages()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public WebhookResponse.FulfillmentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public WebhookResponse.FulfillmentResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public WebhookResponse.FulfillmentResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMergeBehavior()
public WebhookResponse.FulfillmentResponse.MergeBehavior getMergeBehavior()
Merge behavior for messages
.
.google.cloud.dialogflow.cx.v3beta1.WebhookResponse.FulfillmentResponse.MergeBehavior merge_behavior = 2;
getMergeBehaviorValue()
public int getMergeBehaviorValue()
Merge behavior for messages
.
.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.ResponseMessage messages = 1;
Parameter |
Name |
Description |
index |
int
|
getMessagesBuilder(int index)
public ResponseMessage.Builder getMessagesBuilder(int index)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
Parameter |
Name |
Description |
index |
int
|
getMessagesBuilderList()
public List<ResponseMessage.Builder> getMessagesBuilderList()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
getMessagesCount()
public int getMessagesCount()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
Returns |
Type |
Description |
int |
|
getMessagesList()
public List<ResponseMessage> getMessagesList()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
getMessagesOrBuilder(int index)
public ResponseMessageOrBuilder getMessagesOrBuilder(int index)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
Parameter |
Name |
Description |
index |
int
|
getMessagesOrBuilderList()
public List<? extends ResponseMessageOrBuilder> getMessagesOrBuilderList()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WebhookResponse.FulfillmentResponse other)
public WebhookResponse.FulfillmentResponse.Builder mergeFrom(WebhookResponse.FulfillmentResponse other)
public WebhookResponse.FulfillmentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WebhookResponse.FulfillmentResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WebhookResponse.FulfillmentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMessages(int index)
public WebhookResponse.FulfillmentResponse.Builder removeMessages(int index)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public WebhookResponse.FulfillmentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMergeBehavior(WebhookResponse.FulfillmentResponse.MergeBehavior value)
public WebhookResponse.FulfillmentResponse.Builder setMergeBehavior(WebhookResponse.FulfillmentResponse.MergeBehavior value)
Merge behavior for messages
.
.google.cloud.dialogflow.cx.v3beta1.WebhookResponse.FulfillmentResponse.MergeBehavior merge_behavior = 2;
setMergeBehaviorValue(int value)
public WebhookResponse.FulfillmentResponse.Builder setMergeBehaviorValue(int value)
Merge behavior for messages
.
.google.cloud.dialogflow.cx.v3beta1.WebhookResponse.FulfillmentResponse.MergeBehavior merge_behavior = 2;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for mergeBehavior to set.
|
setMessages(int index, ResponseMessage value)
public WebhookResponse.FulfillmentResponse.Builder setMessages(int index, ResponseMessage value)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
setMessages(int index, ResponseMessage.Builder builderForValue)
public WebhookResponse.FulfillmentResponse.Builder setMessages(int index, ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WebhookResponse.FulfillmentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WebhookResponse.FulfillmentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides