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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 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>
|
addMessages(Message value)
public BatchCreateMessagesResponse.Builder addMessages(Message value)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameter |
Name |
Description |
value |
Message
|
addMessages(Message.Builder builderForValue)
public BatchCreateMessagesResponse.Builder addMessages(Message.Builder builderForValue)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
addMessages(int index, Message value)
public BatchCreateMessagesResponse.Builder addMessages(int index, Message value)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Message
|
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;
addMessagesBuilder()
public Message.Builder addMessagesBuilder()
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
addMessagesBuilder(int index)
public Message.Builder addMessagesBuilder(int index)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateMessagesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BatchCreateMessagesResponse build()
buildPartial()
public BatchCreateMessagesResponse buildPartial()
clear()
public BatchCreateMessagesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchCreateMessagesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMessages()
public BatchCreateMessagesResponse.Builder clearMessages()
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCreateMessagesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public BatchCreateMessagesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchCreateMessagesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMessages(int index)
public Message getMessages(int index)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameter |
Name |
Description |
index |
int
|
getMessagesBuilder(int index)
public Message.Builder getMessagesBuilder(int index)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameter |
Name |
Description |
index |
int
|
getMessagesBuilderList()
public List<Message.Builder> getMessagesBuilderList()
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
getMessagesCount()
public int getMessagesCount()
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Returns |
Type |
Description |
int |
|
getMessagesList()
public List<Message> getMessagesList()
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
getMessagesOrBuilder(int index)
public MessageOrBuilder getMessagesOrBuilder(int index)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchCreateMessagesResponse other)
public BatchCreateMessagesResponse.Builder mergeFrom(BatchCreateMessagesResponse other)
public BatchCreateMessagesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchCreateMessagesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateMessagesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMessages(int index)
public BatchCreateMessagesResponse.Builder removeMessages(int index)
Messages created.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateMessagesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
Name |
Description |
index |
int
|
value |
Message
|
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCreateMessagesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateMessagesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides