Class OrganizationMetadata.Builder

    • Method Detail

      • setAddress

        public OrganizationMetadata.Builder setAddress​(java.lang.String value)
        string address = 1;
        Parameters:
        value - The address to set.
        Returns:
        This builder for chaining.
      • setAddressBytes

        public OrganizationMetadata.Builder setAddressBytes​(com.google.protobuf.ByteString value)
        string address = 1;
        Parameters:
        value - The bytes for address to set.
        Returns:
        This builder for chaining.
      • setDescription

        public OrganizationMetadata.Builder setDescription​(java.lang.String value)
        string description = 2;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public OrganizationMetadata.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
        string description = 2;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • setEventScope

        public OrganizationMetadata.Builder setEventScope​(java.lang.String value)
        string event_scope = 3;
        Parameters:
        value - The eventScope to set.
        Returns:
        This builder for chaining.
      • setEventScopeBytes

        public OrganizationMetadata.Builder setEventScopeBytes​(com.google.protobuf.ByteString value)
        string event_scope = 3;
        Parameters:
        value - The bytes for eventScope to set.
        Returns:
        This builder for chaining.
      • setLogo

        public OrganizationMetadata.Builder setLogo​(java.lang.String value)
        string logo = 4;
        Parameters:
        value - The logo to set.
        Returns:
        This builder for chaining.
      • setLogoBytes

        public OrganizationMetadata.Builder setLogoBytes​(com.google.protobuf.ByteString value)
        string logo = 4;
        Parameters:
        value - The bytes for logo to set.
        Returns:
        This builder for chaining.
      • getAvailableLeaguesList

        public java.util.List<java.lang.String> getAvailableLeaguesList()
        repeated string available_leagues = 5;
        Specified by:
        getAvailableLeaguesList in interface OrganizationMetadataOrBuilder
        Returns:
        A list containing the availableLeagues.
      • getAvailableLeagues

        public java.lang.String getAvailableLeagues​(int index)
        repeated string available_leagues = 5;
        Specified by:
        getAvailableLeagues in interface OrganizationMetadataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The availableLeagues at the given index.
      • getAvailableLeaguesBytes

        public com.google.protobuf.ByteString getAvailableLeaguesBytes​(int index)
        repeated string available_leagues = 5;
        Specified by:
        getAvailableLeaguesBytes in interface OrganizationMetadataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the availableLeagues at the given index.
      • setAvailableLeagues

        public OrganizationMetadata.Builder setAvailableLeagues​(int index,
                                                                java.lang.String value)
        repeated string available_leagues = 5;
        Parameters:
        index - The index to set the value at.
        value - The availableLeagues to set.
        Returns:
        This builder for chaining.
      • addAvailableLeagues

        public OrganizationMetadata.Builder addAvailableLeagues​(java.lang.String value)
        repeated string available_leagues = 5;
        Parameters:
        value - The availableLeagues to add.
        Returns:
        This builder for chaining.
      • addAllAvailableLeagues

        public OrganizationMetadata.Builder addAllAvailableLeagues​(java.lang.Iterable<java.lang.String> values)
        repeated string available_leagues = 5;
        Parameters:
        values - The availableLeagues to add.
        Returns:
        This builder for chaining.
      • clearAvailableLeagues

        public OrganizationMetadata.Builder clearAvailableLeagues()
        repeated string available_leagues = 5;
        Returns:
        This builder for chaining.
      • addAvailableLeaguesBytes

        public OrganizationMetadata.Builder addAvailableLeaguesBytes​(com.google.protobuf.ByteString value)
        repeated string available_leagues = 5;
        Parameters:
        value - The bytes of the availableLeagues to add.
        Returns:
        This builder for chaining.
      • getAvailableSportsList

        public java.util.List<java.lang.String> getAvailableSportsList()
        repeated string available_sports = 6;
        Specified by:
        getAvailableSportsList in interface OrganizationMetadataOrBuilder
        Returns:
        A list containing the availableSports.
      • getAvailableSports

        public java.lang.String getAvailableSports​(int index)
        repeated string available_sports = 6;
        Specified by:
        getAvailableSports in interface OrganizationMetadataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The availableSports at the given index.
      • getAvailableSportsBytes

        public com.google.protobuf.ByteString getAvailableSportsBytes​(int index)
        repeated string available_sports = 6;
        Specified by:
        getAvailableSportsBytes in interface OrganizationMetadataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the availableSports at the given index.
      • setAvailableSports

        public OrganizationMetadata.Builder setAvailableSports​(int index,
                                                               java.lang.String value)
        repeated string available_sports = 6;
        Parameters:
        index - The index to set the value at.
        value - The availableSports to set.
        Returns:
        This builder for chaining.
      • addAvailableSports

        public OrganizationMetadata.Builder addAvailableSports​(java.lang.String value)
        repeated string available_sports = 6;
        Parameters:
        value - The availableSports to add.
        Returns:
        This builder for chaining.
      • addAllAvailableSports

        public OrganizationMetadata.Builder addAllAvailableSports​(java.lang.Iterable<java.lang.String> values)
        repeated string available_sports = 6;
        Parameters:
        values - The availableSports to add.
        Returns:
        This builder for chaining.
      • clearAvailableSports

        public OrganizationMetadata.Builder clearAvailableSports()
        repeated string available_sports = 6;
        Returns:
        This builder for chaining.
      • addAvailableSportsBytes

        public OrganizationMetadata.Builder addAvailableSportsBytes​(com.google.protobuf.ByteString value)
        repeated string available_sports = 6;
        Parameters:
        value - The bytes of the availableSports to add.
        Returns:
        This builder for chaining.