Package com.google.cloud.dialogflow.v2
Class ListParticipantsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
- com.google.cloud.dialogflow.v2.ListParticipantsResponse.Builder
-
- All Implemented Interfaces:
ListParticipantsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListParticipantsResponse
public static final class ListParticipantsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder> implements ListParticipantsResponseOrBuilder
The response message for [Participants.ListParticipants][google.cloud.dialogflow.v2.Participants.ListParticipants].
Protobuf typegoogle.cloud.dialogflow.v2.ListParticipantsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListParticipantsResponse.Builder
addAllParticipants(Iterable<? extends Participant> values)
The list of participants.ListParticipantsResponse.Builder
addParticipants(int index, Participant value)
The list of participants.ListParticipantsResponse.Builder
addParticipants(int index, Participant.Builder builderForValue)
The list of participants.ListParticipantsResponse.Builder
addParticipants(Participant value)
The list of participants.ListParticipantsResponse.Builder
addParticipants(Participant.Builder builderForValue)
The list of participants.Participant.Builder
addParticipantsBuilder()
The list of participants.Participant.Builder
addParticipantsBuilder(int index)
The list of participants.ListParticipantsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListParticipantsResponse
build()
ListParticipantsResponse
buildPartial()
ListParticipantsResponse.Builder
clear()
ListParticipantsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListParticipantsResponse.Builder
clearNextPageToken()
Token to retrieve the next page of results or empty if there are no more results in the list.ListParticipantsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListParticipantsResponse.Builder
clearParticipants()
The list of participants.ListParticipantsResponse.Builder
clone()
ListParticipantsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
Token to retrieve the next page of results or empty if there are no more results in the list.com.google.protobuf.ByteString
getNextPageTokenBytes()
Token to retrieve the next page of results or empty if there are no more results in the list.Participant
getParticipants(int index)
The list of participants.Participant.Builder
getParticipantsBuilder(int index)
The list of participants.List<Participant.Builder>
getParticipantsBuilderList()
The list of participants.int
getParticipantsCount()
The list of participants.List<Participant>
getParticipantsList()
The list of participants.ParticipantOrBuilder
getParticipantsOrBuilder(int index)
The list of participants.List<? extends ParticipantOrBuilder>
getParticipantsOrBuilderList()
The list of participants.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListParticipantsResponse.Builder
mergeFrom(ListParticipantsResponse other)
ListParticipantsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListParticipantsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListParticipantsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListParticipantsResponse.Builder
removeParticipants(int index)
The list of participants.ListParticipantsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListParticipantsResponse.Builder
setNextPageToken(String value)
Token to retrieve the next page of results or empty if there are no more results in the list.ListParticipantsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
Token to retrieve the next page of results or empty if there are no more results in the list.ListParticipantsResponse.Builder
setParticipants(int index, Participant value)
The list of participants.ListParticipantsResponse.Builder
setParticipants(int index, Participant.Builder builderForValue)
The list of participants.ListParticipantsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListParticipantsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
clear
public ListParticipantsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
getDefaultInstanceForType
public ListParticipantsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListParticipantsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListParticipantsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListParticipantsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
setField
public ListParticipantsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
clearField
public ListParticipantsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
clearOneof
public ListParticipantsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
setRepeatedField
public ListParticipantsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
addRepeatedField
public ListParticipantsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
mergeFrom
public ListParticipantsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListParticipantsResponse.Builder>
-
mergeFrom
public ListParticipantsResponse.Builder mergeFrom(ListParticipantsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
mergeFrom
public ListParticipantsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListParticipantsResponse.Builder>
- Throws:
IOException
-
getParticipantsList
public List<Participant> getParticipantsList()
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
- Specified by:
getParticipantsList
in interfaceListParticipantsResponseOrBuilder
-
getParticipantsCount
public int getParticipantsCount()
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
- Specified by:
getParticipantsCount
in interfaceListParticipantsResponseOrBuilder
-
getParticipants
public Participant getParticipants(int index)
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
- Specified by:
getParticipants
in interfaceListParticipantsResponseOrBuilder
-
setParticipants
public ListParticipantsResponse.Builder setParticipants(int index, Participant value)
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
-
setParticipants
public ListParticipantsResponse.Builder setParticipants(int index, Participant.Builder builderForValue)
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
-
addParticipants
public ListParticipantsResponse.Builder addParticipants(Participant value)
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
-
addParticipants
public ListParticipantsResponse.Builder addParticipants(int index, Participant value)
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
-
addParticipants
public ListParticipantsResponse.Builder addParticipants(Participant.Builder builderForValue)
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
-
addParticipants
public ListParticipantsResponse.Builder addParticipants(int index, Participant.Builder builderForValue)
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
-
addAllParticipants
public ListParticipantsResponse.Builder addAllParticipants(Iterable<? extends Participant> values)
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
-
clearParticipants
public ListParticipantsResponse.Builder clearParticipants()
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
-
removeParticipants
public ListParticipantsResponse.Builder removeParticipants(int index)
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
-
getParticipantsBuilder
public Participant.Builder getParticipantsBuilder(int index)
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
-
getParticipantsOrBuilder
public ParticipantOrBuilder getParticipantsOrBuilder(int index)
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
- Specified by:
getParticipantsOrBuilder
in interfaceListParticipantsResponseOrBuilder
-
getParticipantsOrBuilderList
public List<? extends ParticipantOrBuilder> getParticipantsOrBuilderList()
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
- Specified by:
getParticipantsOrBuilderList
in interfaceListParticipantsResponseOrBuilder
-
addParticipantsBuilder
public Participant.Builder addParticipantsBuilder()
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
-
addParticipantsBuilder
public Participant.Builder addParticipantsBuilder(int index)
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
-
getParticipantsBuilderList
public List<Participant.Builder> getParticipantsBuilderList()
The list of participants. There is a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Participant participants = 1;
-
getNextPageToken
public String getNextPageToken()
Token to retrieve the next page of results or empty if there are no more results in the list.
string next_page_token = 2;
- Specified by:
getNextPageToken
in interfaceListParticipantsResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
Token to retrieve the next page of results or empty if there are no more results in the list.
string next_page_token = 2;
- Specified by:
getNextPageTokenBytes
in interfaceListParticipantsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListParticipantsResponse.Builder setNextPageToken(String value)
Token to retrieve the next page of results or empty if there are no more results in the list.
string next_page_token = 2;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListParticipantsResponse.Builder clearNextPageToken()
Token to retrieve the next page of results or empty if there are no more results in the list.
string next_page_token = 2;
- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListParticipantsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
Token to retrieve the next page of results or empty if there are no more results in the list.
string next_page_token = 2;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListParticipantsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
mergeUnknownFields
public final ListParticipantsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
-