Send feedback
Class BatchCreateMessagesResponse.Builder (4.7.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.3 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]