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.sports.ListData
    • 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
      ListData.Builder clearAttributes()
      .streamlayer.sports.Sport attributes = 3;
      ListData.Builder clearId()
      string id = 1;
      ListData.Builder clearType()
      string type = 2;
      Sport getAttributes()
      .streamlayer.sports.Sport attributes = 3;
      java.lang.String getId()
      string id = 1;
      com.google.protobuf.ByteString getIdBytes()
      string id = 1;
      java.lang.String getType()
      string type = 2;
      com.google.protobuf.ByteString getTypeBytes()
      string type = 2;
      boolean hasAttributes()
      .streamlayer.sports.Sport attributes = 3;
      ListData.Builder mergeAttributes​(Sport value)
      .streamlayer.sports.Sport attributes = 3;
      ListData.Builder setAttributes​(Sport value)
      .streamlayer.sports.Sport attributes = 3;
      ListData.Builder setAttributes​(Sport.Builder builderForValue)
      .streamlayer.sports.Sport attributes = 3;
      ListData.Builder setId​(java.lang.String value)
      string id = 1;
      ListData.Builder setIdBytes​(com.google.protobuf.ByteString value)
      string id = 1;
      ListData.Builder setType​(java.lang.String value)
      string type = 2;
      ListData.Builder setTypeBytes​(com.google.protobuf.ByteString value)
      string type = 2;
      • 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

      • 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.Sport attributes = 3;
        Specified by:
        hasAttributes in interface ListDataOrBuilder
        Returns:
        Whether the attributes field is set.
      • setAttributes

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

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

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