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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllEmails
(Iterable<String> values) repeated string emails = 2 [json_name = "emails"];
repeated string emails = 2 [json_name = "emails"];
addEmailsBytes
(com.google.protobuf.ByteString value) repeated string emails = 2 [json_name = "emails"];
.google.protobuf.Timestamp date_added = 3 [json_name = "dateAdded"];
repeated string emails = 2 [json_name = "emails"];
optional .google.protobuf.Timestamp last_login = 4 [json_name = "lastLogin"];
string user_id = 1 [json_name = "userId"];
com.google.protobuf.Timestamp
.google.protobuf.Timestamp date_added = 3 [json_name = "dateAdded"];
getEmails
(int index) repeated string emails = 2 [json_name = "emails"];
com.google.protobuf.ByteString
getEmailsBytes
(int index) repeated string emails = 2 [json_name = "emails"];
int
repeated string emails = 2 [json_name = "emails"];
repeated string emails = 2 [json_name = "emails"];
com.google.protobuf.Timestamp
optional .google.protobuf.Timestamp last_login = 4 [json_name = "lastLogin"];
string user_id = 1 [json_name = "userId"];
com.google.protobuf.ByteString
string user_id = 1 [json_name = "userId"];
boolean
.google.protobuf.Timestamp date_added = 3 [json_name = "dateAdded"];
boolean
optional .google.protobuf.Timestamp last_login = 4 [json_name = "lastLogin"];
mergeDateAdded
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp date_added = 3 [json_name = "dateAdded"];
mergeLastLogin
(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp last_login = 4 [json_name = "lastLogin"];
setDateAdded
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp date_added = 3 [json_name = "dateAdded"];
setDateAdded
(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp date_added = 3 [json_name = "dateAdded"];
repeated string emails = 2 [json_name = "emails"];
setLastLogin
(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp last_login = 4 [json_name = "lastLogin"];
setLastLogin
(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp last_login = 4 [json_name = "lastLogin"];
string user_id = 1 [json_name = "userId"];
setUserIdBytes
(com.google.protobuf.ByteString value) string user_id = 1 [json_name = "userId"];
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 Details
-
getUserId
string user_id = 1 [json_name = "userId"];
- Specified by:
getUserId
in interfaceApp.OrganizationMemberOrBuilder
- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()string user_id = 1 [json_name = "userId"];
- Specified by:
getUserIdBytes
in interfaceApp.OrganizationMemberOrBuilder
- Returns:
- The bytes for userId.
-
setUserId
string user_id = 1 [json_name = "userId"];
- Parameters:
value
- The userId to set.- Returns:
- This builder for chaining.
-
clearUserId
string user_id = 1 [json_name = "userId"];
- Returns:
- This builder for chaining.
-
setUserIdBytes
string user_id = 1 [json_name = "userId"];
- Parameters:
value
- The bytes for userId to set.- Returns:
- This builder for chaining.
-
getEmailsList
repeated string emails = 2 [json_name = "emails"];
- Specified by:
getEmailsList
in interfaceApp.OrganizationMemberOrBuilder
- Returns:
- A list containing the emails.
-
getEmailsCount
public int getEmailsCount()repeated string emails = 2 [json_name = "emails"];
- Specified by:
getEmailsCount
in interfaceApp.OrganizationMemberOrBuilder
- Returns:
- The count of emails.
-
getEmails
repeated string emails = 2 [json_name = "emails"];
- Specified by:
getEmails
in interfaceApp.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 interfaceApp.OrganizationMemberOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the emails at the given index.
-
setEmails
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
repeated string emails = 2 [json_name = "emails"];
- Parameters:
value
- The emails to add.- Returns:
- This builder for chaining.
-
addAllEmails
repeated string emails = 2 [json_name = "emails"];
- Parameters:
values
- The emails to add.- Returns:
- This builder for chaining.
-
clearEmails
repeated string emails = 2 [json_name = "emails"];
- Returns:
- This builder for chaining.
-
addEmailsBytes
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 interfaceApp.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 interfaceApp.OrganizationMemberOrBuilder
- Returns:
- The dateAdded.
-
setDateAdded
.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
.google.protobuf.Timestamp date_added = 3 [json_name = "dateAdded"];
-
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 interfaceApp.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 interfaceApp.OrganizationMemberOrBuilder
- Returns:
- The lastLogin.
-
setLastLogin
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
optional .google.protobuf.Timestamp last_login = 4 [json_name = "lastLogin"];
-
clearLastLogin
optional .google.protobuf.Timestamp last_login = 4 [json_name = "lastLogin"];
-