Class ListData.Builder

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

    public static final class ListData.Builder
    extends com.google.protobuf.GeneratedMessageLite.Builder<ListData,​ListData.Builder>
    implements ListDataOrBuilder
    Protobuf type streamlayer.sports.admin.leagues.ListData
    • Field Summary

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

        instance
    • Method Detail

      • getId

        public java.lang.String getId()
        string id = 1;
        Specified by:
        getId in interface ListDataOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
        string id = 1;
        Specified by:
        getIdBytes in interface ListDataOrBuilder
        Returns:
        The bytes for id.
      • setId

        public ListData.Builder setId​(java.lang.String value)
        string id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public ListData.Builder clearId()
        string id = 1;
        Returns:
        This builder for chaining.
      • setIdBytes

        public ListData.Builder setIdBytes​(com.google.protobuf.ByteString value)
        string id = 1;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getType

        public java.lang.String getType()
        string type = 2;
        Specified by:
        getType in interface ListDataOrBuilder
        Returns:
        The type.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
        string type = 2;
        Specified by:
        getTypeBytes in interface ListDataOrBuilder
        Returns:
        The bytes for type.
      • setType

        public ListData.Builder setType​(java.lang.String value)
        string type = 2;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public ListData.Builder clearType()
        string type = 2;
        Returns:
        This builder for chaining.
      • setTypeBytes

        public ListData.Builder setTypeBytes​(com.google.protobuf.ByteString value)
        string type = 2;
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.
      • hasAttributes

        public boolean hasAttributes()
        .streamlayer.sports.League attributes = 3;
        Specified by:
        hasAttributes in interface ListDataOrBuilder
        Returns:
        Whether the attributes field is set.
      • setAttributes

        public ListData.Builder setAttributes​(League value)
        .streamlayer.sports.League attributes = 3;
      • mergeAttributes

        public ListData.Builder mergeAttributes​(League value)
        .streamlayer.sports.League attributes = 3;
      • clearAttributes

        public ListData.Builder clearAttributes()
        .streamlayer.sports.League attributes = 3;