Class User.Builder

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

    public static final class User.Builder
    extends com.google.protobuf.GeneratedMessageLite.Builder<User,​User.Builder>
    implements UserOrBuilder
    Protobuf type streamlayer.users.User
    • 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
      User.Builder clearAttributes()
      .streamlayer.users.UserAttributes attributes = 3 [json_name = "attributes"];
      User.Builder clearId()
      string id = 1 [json_name = "id"];
      User.Builder clearType()
      string type = 2 [json_name = "type"];
      UserAttributes getAttributes()
      .streamlayer.users.UserAttributes attributes = 3 [json_name = "attributes"];
      java.lang.String getId()
      string id = 1 [json_name = "id"];
      com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      java.lang.String getType()
      string type = 2 [json_name = "type"];
      com.google.protobuf.ByteString getTypeBytes()
      string type = 2 [json_name = "type"];
      boolean hasAttributes()
      .streamlayer.users.UserAttributes attributes = 3 [json_name = "attributes"];
      User.Builder mergeAttributes​(UserAttributes value)
      .streamlayer.users.UserAttributes attributes = 3 [json_name = "attributes"];
      User.Builder setAttributes​(UserAttributes value)
      .streamlayer.users.UserAttributes attributes = 3 [json_name = "attributes"];
      User.Builder setAttributes​(UserAttributes.Builder builderForValue)
      .streamlayer.users.UserAttributes attributes = 3 [json_name = "attributes"];
      User.Builder setId​(java.lang.String value)
      string id = 1 [json_name = "id"];
      User.Builder setIdBytes​(com.google.protobuf.ByteString value)
      string id = 1 [json_name = "id"];
      User.Builder setType​(java.lang.String value)
      string type = 2 [json_name = "type"];
      User.Builder setTypeBytes​(com.google.protobuf.ByteString value)
      string type = 2 [json_name = "type"];
      • 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 [json_name = "id"];
        Specified by:
        getId in interface UserOrBuilder
        Returns:
        The id.
      • getIdBytes

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

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

        public User.Builder clearId()
        string id = 1 [json_name = "id"];
        Returns:
        This builder for chaining.
      • setIdBytes

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

        public java.lang.String getType()
        string type = 2 [json_name = "type"];
        Specified by:
        getType in interface UserOrBuilder
        Returns:
        The type.
      • getTypeBytes

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

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

        public User.Builder clearType()
        string type = 2 [json_name = "type"];
        Returns:
        This builder for chaining.
      • setTypeBytes

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

        public boolean hasAttributes()
        .streamlayer.users.UserAttributes attributes = 3 [json_name = "attributes"];
        Specified by:
        hasAttributes in interface UserOrBuilder
        Returns:
        Whether the attributes field is set.
      • getAttributes

        public UserAttributes getAttributes()
        .streamlayer.users.UserAttributes attributes = 3 [json_name = "attributes"];
        Specified by:
        getAttributes in interface UserOrBuilder
        Returns:
        The attributes.
      • setAttributes

        public User.Builder setAttributes​(UserAttributes value)
        .streamlayer.users.UserAttributes attributes = 3 [json_name = "attributes"];
      • setAttributes

        public User.Builder setAttributes​(UserAttributes.Builder builderForValue)
        .streamlayer.users.UserAttributes attributes = 3 [json_name = "attributes"];
      • mergeAttributes

        public User.Builder mergeAttributes​(UserAttributes value)
        .streamlayer.users.UserAttributes attributes = 3 [json_name = "attributes"];
      • clearAttributes

        public User.Builder clearAttributes()
        .streamlayer.users.UserAttributes attributes = 3 [json_name = "attributes"];