Class MatchList.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<MatchList.Builder>
com.heroiclabs.nakama.api.MatchList.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MatchListOrBuilder, Cloneable
Enclosing class:
MatchList

public static final class MatchList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MatchList.Builder> implements MatchListOrBuilder
 A list of realtime matches.
 
Protobuf type nakama.api.MatchList
  • Method Details

    • getDescriptor

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

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

      public MatchList.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.GeneratedMessageV3.Builder<MatchList.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.GeneratedMessageV3.Builder<MatchList.Builder>
    • getDefaultInstanceForType

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

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

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

      public MatchList.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<MatchList.Builder>
    • setField

      public MatchList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<MatchList.Builder>
    • clearField

      public MatchList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<MatchList.Builder>
    • clearOneof

      public MatchList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MatchList.Builder>
    • setRepeatedField

      public MatchList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MatchList.Builder>
    • addRepeatedField

      public MatchList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MatchList.Builder>
    • mergeFrom

      public MatchList.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<MatchList.Builder>
    • mergeFrom

      public MatchList.Builder mergeFrom(MatchList other)
    • isInitialized

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

      public MatchList.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<MatchList.Builder>
      Throws:
      IOException
    • getMatchesList

      public List<Match> getMatchesList()
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
      Specified by:
      getMatchesList in interface MatchListOrBuilder
    • getMatchesCount

      public int getMatchesCount()
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
      Specified by:
      getMatchesCount in interface MatchListOrBuilder
    • getMatches

      public Match getMatches(int index)
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
      Specified by:
      getMatches in interface MatchListOrBuilder
    • setMatches

      public MatchList.Builder setMatches(int index, Match value)
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
    • setMatches

      public MatchList.Builder setMatches(int index, Match.Builder builderForValue)
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
    • addMatches

      public MatchList.Builder addMatches(Match value)
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
    • addMatches

      public MatchList.Builder addMatches(int index, Match value)
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
    • addMatches

      public MatchList.Builder addMatches(Match.Builder builderForValue)
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
    • addMatches

      public MatchList.Builder addMatches(int index, Match.Builder builderForValue)
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
    • addAllMatches

      public MatchList.Builder addAllMatches(Iterable<? extends Match> values)
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
    • clearMatches

      public MatchList.Builder clearMatches()
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
    • removeMatches

      public MatchList.Builder removeMatches(int index)
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
    • getMatchesBuilder

      public Match.Builder getMatchesBuilder(int index)
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
    • getMatchesOrBuilder

      public MatchOrBuilder getMatchesOrBuilder(int index)
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
      Specified by:
      getMatchesOrBuilder in interface MatchListOrBuilder
    • getMatchesOrBuilderList

      public List<? extends MatchOrBuilder> getMatchesOrBuilderList()
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
      Specified by:
      getMatchesOrBuilderList in interface MatchListOrBuilder
    • addMatchesBuilder

      public Match.Builder addMatchesBuilder()
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
    • addMatchesBuilder

      public Match.Builder addMatchesBuilder(int index)
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
    • getMatchesBuilderList

      public List<Match.Builder> getMatchesBuilderList()
       A number of matches corresponding to a list operation.
       
      repeated .nakama.api.Match matches = 1;
    • setUnknownFields

      public final MatchList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MatchList.Builder>
    • mergeUnknownFields

      public final MatchList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MatchList.Builder>