Package viam.app.v1
Class App.Authorization.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.Authorization,App.Authorization.Builder>
viam.app.v1.App.Authorization.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.AuthorizationOrBuilder
- Enclosing class:
- App.Authorization
public static final class App.Authorization.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.Authorization,App.Authorization.Builder>
implements App.AuthorizationOrBuilder
Protobuf type
viam.app.v1.Authorization
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring authorization_id = 2 [json_name = "authorizationId"];
string authorization_type = 1 [json_name = "authorizationType"];
string identity_id = 5 [json_name = "identityId"];
string identity_type = 7 [json_name = "identityType"];
string organization_id = 6 [json_name = "organizationId"];
string resource_id = 4 [json_name = "resourceId"];
string resource_type = 3 [json_name = "resourceType"];
string authorization_id = 2 [json_name = "authorizationId"];
com.google.protobuf.ByteString
string authorization_id = 2 [json_name = "authorizationId"];
string authorization_type = 1 [json_name = "authorizationType"];
com.google.protobuf.ByteString
string authorization_type = 1 [json_name = "authorizationType"];
string identity_id = 5 [json_name = "identityId"];
com.google.protobuf.ByteString
string identity_id = 5 [json_name = "identityId"];
string identity_type = 7 [json_name = "identityType"];
com.google.protobuf.ByteString
string identity_type = 7 [json_name = "identityType"];
string organization_id = 6 [json_name = "organizationId"];
com.google.protobuf.ByteString
string organization_id = 6 [json_name = "organizationId"];
string resource_id = 4 [json_name = "resourceId"];
com.google.protobuf.ByteString
string resource_id = 4 [json_name = "resourceId"];
string resource_type = 3 [json_name = "resourceType"];
com.google.protobuf.ByteString
string resource_type = 3 [json_name = "resourceType"];
setAuthorizationId
(String value) string authorization_id = 2 [json_name = "authorizationId"];
setAuthorizationIdBytes
(com.google.protobuf.ByteString value) string authorization_id = 2 [json_name = "authorizationId"];
setAuthorizationType
(String value) string authorization_type = 1 [json_name = "authorizationType"];
setAuthorizationTypeBytes
(com.google.protobuf.ByteString value) string authorization_type = 1 [json_name = "authorizationType"];
setIdentityId
(String value) string identity_id = 5 [json_name = "identityId"];
setIdentityIdBytes
(com.google.protobuf.ByteString value) string identity_id = 5 [json_name = "identityId"];
setIdentityType
(String value) string identity_type = 7 [json_name = "identityType"];
setIdentityTypeBytes
(com.google.protobuf.ByteString value) string identity_type = 7 [json_name = "identityType"];
setOrganizationId
(String value) string organization_id = 6 [json_name = "organizationId"];
setOrganizationIdBytes
(com.google.protobuf.ByteString value) string organization_id = 6 [json_name = "organizationId"];
setResourceId
(String value) string resource_id = 4 [json_name = "resourceId"];
setResourceIdBytes
(com.google.protobuf.ByteString value) string resource_id = 4 [json_name = "resourceId"];
setResourceType
(String value) string resource_type = 3 [json_name = "resourceType"];
setResourceTypeBytes
(com.google.protobuf.ByteString value) string resource_type = 3 [json_name = "resourceType"];
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
-
getAuthorizationType
string authorization_type = 1 [json_name = "authorizationType"];
- Specified by:
getAuthorizationType
in interfaceApp.AuthorizationOrBuilder
- Returns:
- The authorizationType.
-
getAuthorizationTypeBytes
public com.google.protobuf.ByteString getAuthorizationTypeBytes()string authorization_type = 1 [json_name = "authorizationType"];
- Specified by:
getAuthorizationTypeBytes
in interfaceApp.AuthorizationOrBuilder
- Returns:
- The bytes for authorizationType.
-
setAuthorizationType
string authorization_type = 1 [json_name = "authorizationType"];
- Parameters:
value
- The authorizationType to set.- Returns:
- This builder for chaining.
-
clearAuthorizationType
string authorization_type = 1 [json_name = "authorizationType"];
- Returns:
- This builder for chaining.
-
setAuthorizationTypeBytes
string authorization_type = 1 [json_name = "authorizationType"];
- Parameters:
value
- The bytes for authorizationType to set.- Returns:
- This builder for chaining.
-
getAuthorizationId
string authorization_id = 2 [json_name = "authorizationId"];
- Specified by:
getAuthorizationId
in interfaceApp.AuthorizationOrBuilder
- Returns:
- The authorizationId.
-
getAuthorizationIdBytes
public com.google.protobuf.ByteString getAuthorizationIdBytes()string authorization_id = 2 [json_name = "authorizationId"];
- Specified by:
getAuthorizationIdBytes
in interfaceApp.AuthorizationOrBuilder
- Returns:
- The bytes for authorizationId.
-
setAuthorizationId
string authorization_id = 2 [json_name = "authorizationId"];
- Parameters:
value
- The authorizationId to set.- Returns:
- This builder for chaining.
-
clearAuthorizationId
string authorization_id = 2 [json_name = "authorizationId"];
- Returns:
- This builder for chaining.
-
setAuthorizationIdBytes
string authorization_id = 2 [json_name = "authorizationId"];
- Parameters:
value
- The bytes for authorizationId to set.- Returns:
- This builder for chaining.
-
getResourceType
string resource_type = 3 [json_name = "resourceType"];
- Specified by:
getResourceType
in interfaceApp.AuthorizationOrBuilder
- Returns:
- The resourceType.
-
getResourceTypeBytes
public com.google.protobuf.ByteString getResourceTypeBytes()string resource_type = 3 [json_name = "resourceType"];
- Specified by:
getResourceTypeBytes
in interfaceApp.AuthorizationOrBuilder
- Returns:
- The bytes for resourceType.
-
setResourceType
string resource_type = 3 [json_name = "resourceType"];
- Parameters:
value
- The resourceType to set.- Returns:
- This builder for chaining.
-
clearResourceType
string resource_type = 3 [json_name = "resourceType"];
- Returns:
- This builder for chaining.
-
setResourceTypeBytes
string resource_type = 3 [json_name = "resourceType"];
- Parameters:
value
- The bytes for resourceType to set.- Returns:
- This builder for chaining.
-
getResourceId
string resource_id = 4 [json_name = "resourceId"];
- Specified by:
getResourceId
in interfaceApp.AuthorizationOrBuilder
- Returns:
- The resourceId.
-
getResourceIdBytes
public com.google.protobuf.ByteString getResourceIdBytes()string resource_id = 4 [json_name = "resourceId"];
- Specified by:
getResourceIdBytes
in interfaceApp.AuthorizationOrBuilder
- Returns:
- The bytes for resourceId.
-
setResourceId
string resource_id = 4 [json_name = "resourceId"];
- Parameters:
value
- The resourceId to set.- Returns:
- This builder for chaining.
-
clearResourceId
string resource_id = 4 [json_name = "resourceId"];
- Returns:
- This builder for chaining.
-
setResourceIdBytes
string resource_id = 4 [json_name = "resourceId"];
- Parameters:
value
- The bytes for resourceId to set.- Returns:
- This builder for chaining.
-
getIdentityId
string identity_id = 5 [json_name = "identityId"];
- Specified by:
getIdentityId
in interfaceApp.AuthorizationOrBuilder
- Returns:
- The identityId.
-
getIdentityIdBytes
public com.google.protobuf.ByteString getIdentityIdBytes()string identity_id = 5 [json_name = "identityId"];
- Specified by:
getIdentityIdBytes
in interfaceApp.AuthorizationOrBuilder
- Returns:
- The bytes for identityId.
-
setIdentityId
string identity_id = 5 [json_name = "identityId"];
- Parameters:
value
- The identityId to set.- Returns:
- This builder for chaining.
-
clearIdentityId
string identity_id = 5 [json_name = "identityId"];
- Returns:
- This builder for chaining.
-
setIdentityIdBytes
string identity_id = 5 [json_name = "identityId"];
- Parameters:
value
- The bytes for identityId to set.- Returns:
- This builder for chaining.
-
getOrganizationId
string organization_id = 6 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceApp.AuthorizationOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 6 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfaceApp.AuthorizationOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
string organization_id = 6 [json_name = "organizationId"];
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
string organization_id = 6 [json_name = "organizationId"];
- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
string organization_id = 6 [json_name = "organizationId"];
- Parameters:
value
- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
getIdentityType
string identity_type = 7 [json_name = "identityType"];
- Specified by:
getIdentityType
in interfaceApp.AuthorizationOrBuilder
- Returns:
- The identityType.
-
getIdentityTypeBytes
public com.google.protobuf.ByteString getIdentityTypeBytes()string identity_type = 7 [json_name = "identityType"];
- Specified by:
getIdentityTypeBytes
in interfaceApp.AuthorizationOrBuilder
- Returns:
- The bytes for identityType.
-
setIdentityType
string identity_type = 7 [json_name = "identityType"];
- Parameters:
value
- The identityType to set.- Returns:
- This builder for chaining.
-
clearIdentityType
string identity_type = 7 [json_name = "identityType"];
- Returns:
- This builder for chaining.
-
setIdentityTypeBytes
string identity_type = 7 [json_name = "identityType"];
- Parameters:
value
- The bytes for identityType to set.- Returns:
- This builder for chaining.
-