Class Sport.Builder

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, SportOrBuilder, java.lang.Cloneable
    Enclosing class:
    Sport

    public static final class Sport.Builder
    extends com.google.protobuf.GeneratedMessageLite.Builder<Sport,​Sport.Builder>
    implements SportOrBuilder
    Protobuf type streamlayer.inplay.Sport
    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Sport.Builder addAllCountries​(java.lang.Iterable<? extends Country> values)
      repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      Sport.Builder addCountries​(int index, Country value)
      repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      Sport.Builder addCountries​(int index, Country.Builder builderForValue)
      repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      Sport.Builder addCountries​(Country value)
      repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      Sport.Builder addCountries​(Country.Builder builderForValue)
      repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      Sport.Builder clearCountries()
      repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      Sport.Builder clearId()
      uint64 id = 3 [json_name = "id"];
      Sport.Builder clearName()
      string name = 1 [json_name = "name"];
      Country getCountries​(int index)
      repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      int getCountriesCount()
      repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      java.util.List<Country> getCountriesList()
      repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      long getId()
      uint64 id = 3 [json_name = "id"];
      java.lang.String getName()
      string name = 1 [json_name = "name"];
      com.google.protobuf.ByteString getNameBytes()
      string name = 1 [json_name = "name"];
      Sport.Builder removeCountries​(int index)
      repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      Sport.Builder setCountries​(int index, Country value)
      repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      Sport.Builder setCountries​(int index, Country.Builder builderForValue)
      repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      Sport.Builder setId​(long value)
      uint64 id = 3 [json_name = "id"];
      Sport.Builder setName​(java.lang.String value)
      string name = 1 [json_name = "name"];
      Sport.Builder setNameBytes​(com.google.protobuf.ByteString value)
      string name = 1 [json_name = "name"];
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getName

        public java.lang.String getName()
        string name = 1 [json_name = "name"];
        Specified by:
        getName in interface SportOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        string name = 1 [json_name = "name"];
        Specified by:
        getNameBytes in interface SportOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Sport.Builder setName​(java.lang.String value)
        string name = 1 [json_name = "name"];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Sport.Builder clearName()
        string name = 1 [json_name = "name"];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Sport.Builder setNameBytes​(com.google.protobuf.ByteString value)
        string name = 1 [json_name = "name"];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getCountriesList

        public java.util.List<Country> getCountriesList()
        repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
        Specified by:
        getCountriesList in interface SportOrBuilder
      • getCountriesCount

        public int getCountriesCount()
        repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
        Specified by:
        getCountriesCount in interface SportOrBuilder
      • getCountries

        public Country getCountries​(int index)
        repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
        Specified by:
        getCountries in interface SportOrBuilder
      • setCountries

        public Sport.Builder setCountries​(int index,
                                          Country value)
        repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      • setCountries

        public Sport.Builder setCountries​(int index,
                                          Country.Builder builderForValue)
        repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      • addCountries

        public Sport.Builder addCountries​(Country value)
        repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      • addCountries

        public Sport.Builder addCountries​(int index,
                                          Country value)
        repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      • addCountries

        public Sport.Builder addCountries​(Country.Builder builderForValue)
        repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      • addCountries

        public Sport.Builder addCountries​(int index,
                                          Country.Builder builderForValue)
        repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      • addAllCountries

        public Sport.Builder addAllCountries​(java.lang.Iterable<? extends Country> values)
        repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      • clearCountries

        public Sport.Builder clearCountries()
        repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      • removeCountries

        public Sport.Builder removeCountries​(int index)
        repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
      • getId

        public long getId()
        uint64 id = 3 [json_name = "id"];
        Specified by:
        getId in interface SportOrBuilder
        Returns:
        The id.
      • setId

        public Sport.Builder setId​(long value)
        uint64 id = 3 [json_name = "id"];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Sport.Builder clearId()
        uint64 id = 3 [json_name = "id"];
        Returns:
        This builder for chaining.