Class Event.Builder

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

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

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

        instance
    • Method Detail

      • getId

        public long getId()
        uint64 id = 1;
        Specified by:
        getId in interface EventOrBuilder
        Returns:
        The id.
      • setId

        public Event.Builder setId​(long value)
        uint64 id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Event.Builder clearId()
        uint64 id = 1;
        Returns:
        This builder for chaining.
      • getType

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

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

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

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

        public Event.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.Event attributes = 3;
        Specified by:
        hasAttributes in interface EventOrBuilder
        Returns:
        Whether the attributes field is set.
      • getAttributes

        public Event getAttributes()
        .streamlayer.sports.Event attributes = 3;
        Specified by:
        getAttributes in interface EventOrBuilder
        Returns:
        The attributes.
      • setAttributes

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

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

        public Event.Builder clearAttributes()
        .streamlayer.sports.Event attributes = 3;
      • hasMeta

        public boolean hasMeta()
        .streamlayer.sports.admin.datasets.Metadata meta = 4;
        Specified by:
        hasMeta in interface EventOrBuilder
        Returns:
        Whether the meta field is set.
      • getMeta

        public Metadata getMeta()
        .streamlayer.sports.admin.datasets.Metadata meta = 4;
        Specified by:
        getMeta in interface EventOrBuilder
        Returns:
        The meta.
      • setMeta

        public Event.Builder setMeta​(Metadata value)
        .streamlayer.sports.admin.datasets.Metadata meta = 4;
      • mergeMeta

        public Event.Builder mergeMeta​(Metadata value)
        .streamlayer.sports.admin.datasets.Metadata meta = 4;
      • clearMeta

        public Event.Builder clearMeta()
        .streamlayer.sports.admin.datasets.Metadata meta = 4;