public static final class BatchCreateMessagesResponse.Builder extends GeneratedMessageV3.Builder<BatchCreateMessagesResponse.Builder> implements BatchCreateMessagesResponseOrBuilder
The request message for [Conversations.BatchCreateMessagesResponse][].
Protobuf type google.cloud.dialogflow.v2beta1.BatchCreateMessagesResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllMessages(Iterable<? extends Message> values)
public BatchCreateMessagesResponse.Builder addAllMessages(Iterable<? extends Message> values)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2beta1.Message>
|
Returns
addMessages(Message value)
public BatchCreateMessagesResponse.Builder addMessages(Message value)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameter
Returns
addMessages(Message.Builder builderForValue)
public BatchCreateMessagesResponse.Builder addMessages(Message.Builder builderForValue)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameter
Returns
addMessages(int index, Message value)
public BatchCreateMessagesResponse.Builder addMessages(int index, Message value)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameters
Returns
addMessages(int index, Message.Builder builderForValue)
public BatchCreateMessagesResponse.Builder addMessages(int index, Message.Builder builderForValue)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameters
Returns
addMessagesBuilder()
public Message.Builder addMessagesBuilder()
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Returns
addMessagesBuilder(int index)
public Message.Builder addMessagesBuilder(int index)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateMessagesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BatchCreateMessagesResponse build()
Returns
buildPartial()
public BatchCreateMessagesResponse buildPartial()
Returns
clear()
public BatchCreateMessagesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchCreateMessagesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMessages()
public BatchCreateMessagesResponse.Builder clearMessages()
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCreateMessagesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public BatchCreateMessagesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchCreateMessagesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMessages(int index)
public Message getMessages(int index)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameter
Returns
getMessagesBuilder(int index)
public Message.Builder getMessagesBuilder(int index)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameter
Returns
getMessagesBuilderList()
public List<Message.Builder> getMessagesBuilderList()
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Returns
getMessagesCount()
public int getMessagesCount()
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Returns
getMessagesList()
public List<Message> getMessagesList()
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Returns
getMessagesOrBuilder(int index)
public MessageOrBuilder getMessagesOrBuilder(int index)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameter
Returns
getMessagesOrBuilderList()
public List<? extends MessageOrBuilder> getMessagesOrBuilderList()
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.MessageOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchCreateMessagesResponse other)
public BatchCreateMessagesResponse.Builder mergeFrom(BatchCreateMessagesResponse other)
Parameter
Returns
public BatchCreateMessagesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchCreateMessagesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateMessagesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeMessages(int index)
public BatchCreateMessagesResponse.Builder removeMessages(int index)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateMessagesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMessages(int index, Message value)
public BatchCreateMessagesResponse.Builder setMessages(int index, Message value)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameters
Returns
setMessages(int index, Message.Builder builderForValue)
public BatchCreateMessagesResponse.Builder setMessages(int index, Message.Builder builderForValue)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCreateMessagesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateMessagesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides