Class ListParticipantsResponse.Builder (4.3.1)

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

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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2.Participant>
Returns
TypeDescription
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
NameDescription
valueParticipant
Returns
TypeDescription
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
NameDescription
builderForValueParticipant.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueParticipant
Returns
TypeDescription
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
NameDescription
indexint
builderForValueParticipant.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Participant.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListParticipantsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListParticipantsResponse.Builder
Overrides

build()

public ListParticipantsResponse build()
Returns
TypeDescription
ListParticipantsResponse

buildPartial()

public ListParticipantsResponse buildPartial()
Returns
TypeDescription
ListParticipantsResponse

clear()

public ListParticipantsResponse.Builder clear()
Returns
TypeDescription
ListParticipantsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListParticipantsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListParticipantsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListParticipantsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListParticipantsResponse.Builder

clone()

public ListParticipantsResponse.Builder clone()
Returns
TypeDescription
ListParticipantsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListParticipantsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListParticipantsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.ParticipantOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListParticipantsResponse other)

public ListParticipantsResponse.Builder mergeFrom(ListParticipantsResponse other)
Parameter
NameDescription
otherListParticipantsResponse
Returns
TypeDescription
ListParticipantsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListParticipantsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListParticipantsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListParticipantsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListParticipantsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListParticipantsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListParticipantsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListParticipantsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valueParticipant
Returns
TypeDescription
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
NameDescription
indexint
builderForValueParticipant.Builder
Returns
TypeDescription
ListParticipantsResponse.Builder

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

public ListParticipantsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListParticipantsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListParticipantsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListParticipantsResponse.Builder
Overrides