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.v2beta1.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.v2beta1.Participants.ListParticipants].
Protobuf typegoogle.cloud.dialogflow.v2beta1.ListParticipantsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListParticipantsResponse.BuilderaddAllParticipants(Iterable<? extends Participant> values)The list of participants.ListParticipantsResponse.BuilderaddParticipants(int index, Participant value)The list of participants.ListParticipantsResponse.BuilderaddParticipants(int index, Participant.Builder builderForValue)The list of participants.ListParticipantsResponse.BuilderaddParticipants(Participant value)The list of participants.ListParticipantsResponse.BuilderaddParticipants(Participant.Builder builderForValue)The list of participants.Participant.BuilderaddParticipantsBuilder()The list of participants.Participant.BuilderaddParticipantsBuilder(int index)The list of participants.ListParticipantsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListParticipantsResponsebuild()ListParticipantsResponsebuildPartial()ListParticipantsResponse.Builderclear()ListParticipantsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListParticipantsResponse.BuilderclearNextPageToken()Token to retrieve the next page of results or empty if there are no more results in the list.ListParticipantsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListParticipantsResponse.BuilderclearParticipants()The list of participants.ListParticipantsResponse.Builderclone()ListParticipantsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()Token to retrieve the next page of results or empty if there are no more results in the list.com.google.protobuf.ByteStringgetNextPageTokenBytes()Token to retrieve the next page of results or empty if there are no more results in the list.ParticipantgetParticipants(int index)The list of participants.Participant.BuildergetParticipantsBuilder(int index)The list of participants.List<Participant.Builder>getParticipantsBuilderList()The list of participants.intgetParticipantsCount()The list of participants.List<Participant>getParticipantsList()The list of participants.ParticipantOrBuildergetParticipantsOrBuilder(int index)The list of participants.List<? extends ParticipantOrBuilder>getParticipantsOrBuilderList()The list of participants.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListParticipantsResponse.BuildermergeFrom(ListParticipantsResponse other)ListParticipantsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListParticipantsResponse.BuildermergeFrom(com.google.protobuf.Message other)ListParticipantsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListParticipantsResponse.BuilderremoveParticipants(int index)The list of participants.ListParticipantsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListParticipantsResponse.BuildersetNextPageToken(String value)Token to retrieve the next page of results or empty if there are no more results in the list.ListParticipantsResponse.BuildersetNextPageTokenBytes(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.BuildersetParticipants(int index, Participant value)The list of participants.ListParticipantsResponse.BuildersetParticipants(int index, Participant.Builder builderForValue)The list of participants.ListParticipantsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListParticipantsResponse.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
clear
public ListParticipantsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
getDefaultInstanceForType
public ListParticipantsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListParticipantsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListParticipantsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListParticipantsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
setField
public ListParticipantsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
clearField
public ListParticipantsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
clearOneof
public ListParticipantsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
setRepeatedField
public ListParticipantsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
addRepeatedField
public ListParticipantsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
mergeFrom
public ListParticipantsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListParticipantsResponse.Builder>
-
mergeFrom
public ListParticipantsResponse.Builder mergeFrom(ListParticipantsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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.v2beta1.Participant participants = 1;- Specified by:
getParticipantsListin 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.v2beta1.Participant participants = 1;- Specified by:
getParticipantsCountin 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.v2beta1.Participant participants = 1;- Specified by:
getParticipantsin 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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.Participant participants = 1;- Specified by:
getParticipantsOrBuilderin 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.v2beta1.Participant participants = 1;- Specified by:
getParticipantsOrBuilderListin 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.v2beta1.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.v2beta1.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.v2beta1.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:
getNextPageTokenin 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:
getNextPageTokenBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
mergeUnknownFields
public final ListParticipantsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListParticipantsResponse.Builder>
-
-