Package viam.app.v1

Class App.OrganizationMember.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.OrganizationMember,App.OrganizationMember.Builder>
viam.app.v1.App.OrganizationMember.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, App.OrganizationMemberOrBuilder
Enclosing class:
App.OrganizationMember

public static final class App.OrganizationMember.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<App.OrganizationMember,App.OrganizationMember.Builder> implements App.OrganizationMemberOrBuilder
Protobuf type viam.app.v1.OrganizationMember
  • Method Details

    • getUserId

      public String getUserId()
      string user_id = 1 [json_name = "userId"];
      Specified by:
      getUserId in interface App.OrganizationMemberOrBuilder
      Returns:
      The userId.
    • getUserIdBytes

      public com.google.protobuf.ByteString getUserIdBytes()
      string user_id = 1 [json_name = "userId"];
      Specified by:
      getUserIdBytes in interface App.OrganizationMemberOrBuilder
      Returns:
      The bytes for userId.
    • setUserId

      public App.OrganizationMember.Builder setUserId(String value)
      string user_id = 1 [json_name = "userId"];
      Parameters:
      value - The userId to set.
      Returns:
      This builder for chaining.
    • clearUserId

      public App.OrganizationMember.Builder clearUserId()
      string user_id = 1 [json_name = "userId"];
      Returns:
      This builder for chaining.
    • setUserIdBytes

      public App.OrganizationMember.Builder setUserIdBytes(com.google.protobuf.ByteString value)
      string user_id = 1 [json_name = "userId"];
      Parameters:
      value - The bytes for userId to set.
      Returns:
      This builder for chaining.
    • getEmailsList

      public List<String> getEmailsList()
      repeated string emails = 2 [json_name = "emails"];
      Specified by:
      getEmailsList in interface App.OrganizationMemberOrBuilder
      Returns:
      A list containing the emails.
    • getEmailsCount

      public int getEmailsCount()
      repeated string emails = 2 [json_name = "emails"];
      Specified by:
      getEmailsCount in interface App.OrganizationMemberOrBuilder
      Returns:
      The count of emails.
    • getEmails

      public String getEmails(int index)
      repeated string emails = 2 [json_name = "emails"];
      Specified by:
      getEmails in interface App.OrganizationMemberOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The emails at the given index.
    • getEmailsBytes

      public com.google.protobuf.ByteString getEmailsBytes(int index)
      repeated string emails = 2 [json_name = "emails"];
      Specified by:
      getEmailsBytes in interface App.OrganizationMemberOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the emails at the given index.
    • setEmails

      public App.OrganizationMember.Builder setEmails(int index, String value)
      repeated string emails = 2 [json_name = "emails"];
      Parameters:
      index - The index to set the value at.
      value - The emails to set.
      Returns:
      This builder for chaining.
    • addEmails

      public App.OrganizationMember.Builder addEmails(String value)
      repeated string emails = 2 [json_name = "emails"];
      Parameters:
      value - The emails to add.
      Returns:
      This builder for chaining.
    • addAllEmails

      public App.OrganizationMember.Builder addAllEmails(Iterable<String> values)
      repeated string emails = 2 [json_name = "emails"];
      Parameters:
      values - The emails to add.
      Returns:
      This builder for chaining.
    • clearEmails

      public App.OrganizationMember.Builder clearEmails()
      repeated string emails = 2 [json_name = "emails"];
      Returns:
      This builder for chaining.
    • addEmailsBytes

      public App.OrganizationMember.Builder addEmailsBytes(com.google.protobuf.ByteString value)
      repeated string emails = 2 [json_name = "emails"];
      Parameters:
      value - The bytes of the emails to add.
      Returns:
      This builder for chaining.
    • hasDateAdded

      public boolean hasDateAdded()
      .google.protobuf.Timestamp date_added = 3 [json_name = "dateAdded"];
      Specified by:
      hasDateAdded in interface App.OrganizationMemberOrBuilder
      Returns:
      Whether the dateAdded field is set.
    • getDateAdded

      public com.google.protobuf.Timestamp getDateAdded()
      .google.protobuf.Timestamp date_added = 3 [json_name = "dateAdded"];
      Specified by:
      getDateAdded in interface App.OrganizationMemberOrBuilder
      Returns:
      The dateAdded.
    • setDateAdded

      public App.OrganizationMember.Builder setDateAdded(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp date_added = 3 [json_name = "dateAdded"];
    • setDateAdded

      public App.OrganizationMember.Builder setDateAdded(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp date_added = 3 [json_name = "dateAdded"];
    • mergeDateAdded

      public App.OrganizationMember.Builder mergeDateAdded(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp date_added = 3 [json_name = "dateAdded"];
    • clearDateAdded

      public App.OrganizationMember.Builder clearDateAdded()
      .google.protobuf.Timestamp date_added = 3 [json_name = "dateAdded"];
    • hasLastLogin

      public boolean hasLastLogin()
      optional .google.protobuf.Timestamp last_login = 4 [json_name = "lastLogin"];
      Specified by:
      hasLastLogin in interface App.OrganizationMemberOrBuilder
      Returns:
      Whether the lastLogin field is set.
    • getLastLogin

      public com.google.protobuf.Timestamp getLastLogin()
      optional .google.protobuf.Timestamp last_login = 4 [json_name = "lastLogin"];
      Specified by:
      getLastLogin in interface App.OrganizationMemberOrBuilder
      Returns:
      The lastLogin.
    • setLastLogin

      public App.OrganizationMember.Builder setLastLogin(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp last_login = 4 [json_name = "lastLogin"];
    • setLastLogin

      public App.OrganizationMember.Builder setLastLogin(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp last_login = 4 [json_name = "lastLogin"];
    • mergeLastLogin

      public App.OrganizationMember.Builder mergeLastLogin(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp last_login = 4 [json_name = "lastLogin"];
    • clearLastLogin

      public App.OrganizationMember.Builder clearLastLogin()
      optional .google.protobuf.Timestamp last_login = 4 [json_name = "lastLogin"];