Class ListParticipantsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<ListParticipantsResponse.Builder> implements ListParticipantsResponseOrBuilder
 The response message for
 [Participants.ListParticipants][google.cloud.dialogflow.v2.Participants.ListParticipants].
 
Protobuf type google.cloud.dialogflow.v2.ListParticipantsResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListParticipantsResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListParticipantsResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListParticipantsResponse.Builder>
    • getDefaultInstanceForType

      public ListParticipantsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ListParticipantsResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListParticipantsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListParticipantsResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListParticipantsResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListParticipantsResponse.Builder>
    • mergeFrom

      public ListParticipantsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface ListParticipantsResponseOrBuilder
    • 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 interface ListParticipantsResponseOrBuilder
    • 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 interface ListParticipantsResponseOrBuilder
    • 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 interface ListParticipantsResponseOrBuilder
    • 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 interface ListParticipantsResponseOrBuilder
    • 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 interface ListParticipantsResponseOrBuilder
      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 interface ListParticipantsResponseOrBuilder
      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.