Class ListParticipantsResponse.Builder (4.51.0)

public static final class ListParticipantsResponse.Builder extends GeneratedMessageV3.Builder<ListParticipantsResponse.Builder> implements ListParticipantsResponseOrBuilder

The response message for Participants.ListParticipants.

Protobuf type google.cloud.dialogflow.v2.ListParticipantsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllParticipants(Iterable<? extends Participant> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2.Participant>
Returns
Type Description
ListParticipantsResponse.Builder

addParticipants(Participant value)

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;

Parameter
Name Description
value Participant
Returns
Type Description
ListParticipantsResponse.Builder

addParticipants(Participant.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Participant.Builder
Returns
Type Description
ListParticipantsResponse.Builder

addParticipants(int index, Participant value)

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;

Parameters
Name Description
index int
value Participant
Returns
Type Description
ListParticipantsResponse.Builder

addParticipants(int index, Participant.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Participant.Builder
Returns
Type Description
ListParticipantsResponse.Builder

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;

Returns
Type Description
Participant.Builder

addParticipantsBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
Participant.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListParticipantsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListParticipantsResponse.Builder
Overrides

build()

public ListParticipantsResponse build()
Returns
Type Description
ListParticipantsResponse

buildPartial()

public ListParticipantsResponse buildPartial()
Returns
Type Description
ListParticipantsResponse

clear()

public ListParticipantsResponse.Builder clear()
Returns
Type Description
ListParticipantsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListParticipantsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListParticipantsResponse.Builder
Overrides

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
Type Description
ListParticipantsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListParticipantsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListParticipantsResponse.Builder
Overrides

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;

Returns
Type Description
ListParticipantsResponse.Builder

clone()

public ListParticipantsResponse.Builder clone()
Returns
Type Description
ListParticipantsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListParticipantsResponse getDefaultInstanceForType()
Returns
Type Description
ListParticipantsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public 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;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParticipants(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
Participant

getParticipantsBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
Participant.Builder

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
int

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;

Returns
Type Description
List<Participant>

getParticipantsOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ParticipantOrBuilder

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;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.ParticipantOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListParticipantsResponse other)

public ListParticipantsResponse.Builder mergeFrom(ListParticipantsResponse other)
Parameter
Name Description
other ListParticipantsResponse
Returns
Type Description
ListParticipantsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListParticipantsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListParticipantsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListParticipantsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListParticipantsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListParticipantsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListParticipantsResponse.Builder
Overrides

removeParticipants(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ListParticipantsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListParticipantsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListParticipantsResponse.Builder
Overrides

setNextPageToken(String value)

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;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListParticipantsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListParticipantsResponse.Builder setNextPageTokenBytes(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;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListParticipantsResponse.Builder

This builder for chaining.

setParticipants(int index, Participant value)

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;

Parameters
Name Description
index int
value Participant
Returns
Type Description
ListParticipantsResponse.Builder

setParticipants(int index, Participant.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Participant.Builder
Returns
Type Description
ListParticipantsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListParticipantsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListParticipantsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListParticipantsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListParticipantsResponse.Builder
Overrides