Package viam.app.v1
Class App.CreateOrganizationInviteRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.CreateOrganizationInviteRequest,App.CreateOrganizationInviteRequest.Builder>
viam.app.v1.App.CreateOrganizationInviteRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.CreateOrganizationInviteRequestOrBuilder
- Enclosing class:
- App.CreateOrganizationInviteRequest
public static final class App.CreateOrganizationInviteRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.CreateOrganizationInviteRequest,App.CreateOrganizationInviteRequest.Builder>
implements App.CreateOrganizationInviteRequestOrBuilder
Protobuf type
viam.app.v1.CreateOrganizationInviteRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAuthorizations
(Iterable<? extends App.Authorization> values) repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
addAuthorizations
(int index, App.Authorization value) repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
addAuthorizations
(int index, App.Authorization.Builder builderForValue) repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
addAuthorizations
(App.Authorization.Builder builderForValue) repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
string email = 2 [json_name = "email"];
string organization_id = 1 [json_name = "organizationId"];
Set to true (the default) to send an email to the recipient of an invite.getAuthorizations
(int index) repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
int
repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
getEmail()
string email = 2 [json_name = "email"];
com.google.protobuf.ByteString
string email = 2 [json_name = "email"];
string organization_id = 1 [json_name = "organizationId"];
com.google.protobuf.ByteString
string organization_id = 1 [json_name = "organizationId"];
boolean
Set to true (the default) to send an email to the recipient of an invite.boolean
Set to true (the default) to send an email to the recipient of an invite.removeAuthorizations
(int index) repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
setAuthorizations
(int index, App.Authorization value) repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
setAuthorizations
(int index, App.Authorization.Builder builderForValue) repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
string email = 2 [json_name = "email"];
setEmailBytes
(com.google.protobuf.ByteString value) string email = 2 [json_name = "email"];
setOrganizationId
(String value) string organization_id = 1 [json_name = "organizationId"];
setOrganizationIdBytes
(com.google.protobuf.ByteString value) string organization_id = 1 [json_name = "organizationId"];
setSendEmailInvite
(boolean value) Set to true (the default) to send an email to the recipient of an invite.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
-
getOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceApp.CreateOrganizationInviteRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfaceApp.CreateOrganizationInviteRequestOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public App.CreateOrganizationInviteRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
getEmail
string email = 2 [json_name = "email"];
- Specified by:
getEmail
in interfaceApp.CreateOrganizationInviteRequestOrBuilder
- Returns:
- The email.
-
getEmailBytes
public com.google.protobuf.ByteString getEmailBytes()string email = 2 [json_name = "email"];
- Specified by:
getEmailBytes
in interfaceApp.CreateOrganizationInviteRequestOrBuilder
- Returns:
- The bytes for email.
-
setEmail
string email = 2 [json_name = "email"];
- Parameters:
value
- The email to set.- Returns:
- This builder for chaining.
-
clearEmail
string email = 2 [json_name = "email"];
- Returns:
- This builder for chaining.
-
setEmailBytes
public App.CreateOrganizationInviteRequest.Builder setEmailBytes(com.google.protobuf.ByteString value) string email = 2 [json_name = "email"];
- Parameters:
value
- The bytes for email to set.- Returns:
- This builder for chaining.
-
getAuthorizationsList
repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
- Specified by:
getAuthorizationsList
in interfaceApp.CreateOrganizationInviteRequestOrBuilder
-
getAuthorizationsCount
public int getAuthorizationsCount()repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
- Specified by:
getAuthorizationsCount
in interfaceApp.CreateOrganizationInviteRequestOrBuilder
-
getAuthorizations
repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
- Specified by:
getAuthorizations
in interfaceApp.CreateOrganizationInviteRequestOrBuilder
-
setAuthorizations
public App.CreateOrganizationInviteRequest.Builder setAuthorizations(int index, App.Authorization value) repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
-
setAuthorizations
public App.CreateOrganizationInviteRequest.Builder setAuthorizations(int index, App.Authorization.Builder builderForValue) repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
-
addAuthorizations
repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
-
addAuthorizations
public App.CreateOrganizationInviteRequest.Builder addAuthorizations(int index, App.Authorization value) repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
-
addAuthorizations
public App.CreateOrganizationInviteRequest.Builder addAuthorizations(App.Authorization.Builder builderForValue) repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
-
addAuthorizations
public App.CreateOrganizationInviteRequest.Builder addAuthorizations(int index, App.Authorization.Builder builderForValue) repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
-
addAllAuthorizations
public App.CreateOrganizationInviteRequest.Builder addAllAuthorizations(Iterable<? extends App.Authorization> values) repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
-
clearAuthorizations
repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
-
removeAuthorizations
repeated .viam.app.v1.Authorization authorizations = 3 [json_name = "authorizations"];
-
hasSendEmailInvite
public boolean hasSendEmailInvite()Set to true (the default) to send an email to the recipient of an invite. The user must accept the email to be added to the associated authorizations. When set to false, the user automatically receives the associated authorization on the next login of the user with the associated email address.
optional bool send_email_invite = 4 [json_name = "sendEmailInvite"];
- Specified by:
hasSendEmailInvite
in interfaceApp.CreateOrganizationInviteRequestOrBuilder
- Returns:
- Whether the sendEmailInvite field is set.
-
getSendEmailInvite
public boolean getSendEmailInvite()Set to true (the default) to send an email to the recipient of an invite. The user must accept the email to be added to the associated authorizations. When set to false, the user automatically receives the associated authorization on the next login of the user with the associated email address.
optional bool send_email_invite = 4 [json_name = "sendEmailInvite"];
- Specified by:
getSendEmailInvite
in interfaceApp.CreateOrganizationInviteRequestOrBuilder
- Returns:
- The sendEmailInvite.
-
setSendEmailInvite
Set to true (the default) to send an email to the recipient of an invite. The user must accept the email to be added to the associated authorizations. When set to false, the user automatically receives the associated authorization on the next login of the user with the associated email address.
optional bool send_email_invite = 4 [json_name = "sendEmailInvite"];
- Parameters:
value
- The sendEmailInvite to set.- Returns:
- This builder for chaining.
-
clearSendEmailInvite
Set to true (the default) to send an email to the recipient of an invite. The user must accept the email to be added to the associated authorizations. When set to false, the user automatically receives the associated authorization on the next login of the user with the associated email address.
optional bool send_email_invite = 4 [json_name = "sendEmailInvite"];
- Returns:
- This builder for chaining.
-