Package viam.app.v1
Class AppOuterClass.Authorization.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.Authorization,AppOuterClass.Authorization.Builder>
viam.app.v1.AppOuterClass.Authorization.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,AppOuterClass.AuthorizationOrBuilder
- Enclosing class:
- AppOuterClass.Authorization
public static final class AppOuterClass.Authorization.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.Authorization,AppOuterClass.Authorization.Builder>
implements AppOuterClass.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.ByteStringstring authorization_id = 2 [json_name = "authorizationId"];string authorization_type = 1 [json_name = "authorizationType"];com.google.protobuf.ByteStringstring authorization_type = 1 [json_name = "authorizationType"];string identity_id = 5 [json_name = "identityId"];com.google.protobuf.ByteStringstring identity_id = 5 [json_name = "identityId"];string identity_type = 7 [json_name = "identityType"];com.google.protobuf.ByteStringstring identity_type = 7 [json_name = "identityType"];string organization_id = 6 [json_name = "organizationId"];com.google.protobuf.ByteStringstring organization_id = 6 [json_name = "organizationId"];string resource_id = 4 [json_name = "resourceId"];com.google.protobuf.ByteStringstring resource_id = 4 [json_name = "resourceId"];string resource_type = 3 [json_name = "resourceType"];com.google.protobuf.ByteStringstring 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, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getAuthorizationType
string authorization_type = 1 [json_name = "authorizationType"];- Specified by:
getAuthorizationTypein interfaceAppOuterClass.AuthorizationOrBuilder- Returns:
- The authorizationType.
-
getAuthorizationTypeBytes
public com.google.protobuf.ByteString getAuthorizationTypeBytes()string authorization_type = 1 [json_name = "authorizationType"];- Specified by:
getAuthorizationTypeBytesin interfaceAppOuterClass.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
public AppOuterClass.Authorization.Builder setAuthorizationTypeBytes(com.google.protobuf.ByteString value) 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:
getAuthorizationIdin interfaceAppOuterClass.AuthorizationOrBuilder- Returns:
- The authorizationId.
-
getAuthorizationIdBytes
public com.google.protobuf.ByteString getAuthorizationIdBytes()string authorization_id = 2 [json_name = "authorizationId"];- Specified by:
getAuthorizationIdBytesin interfaceAppOuterClass.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
public AppOuterClass.Authorization.Builder setAuthorizationIdBytes(com.google.protobuf.ByteString value) 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:
getResourceTypein interfaceAppOuterClass.AuthorizationOrBuilder- Returns:
- The resourceType.
-
getResourceTypeBytes
public com.google.protobuf.ByteString getResourceTypeBytes()string resource_type = 3 [json_name = "resourceType"];- Specified by:
getResourceTypeBytesin interfaceAppOuterClass.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
public AppOuterClass.Authorization.Builder setResourceTypeBytes(com.google.protobuf.ByteString value) 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:
getResourceIdin interfaceAppOuterClass.AuthorizationOrBuilder- Returns:
- The resourceId.
-
getResourceIdBytes
public com.google.protobuf.ByteString getResourceIdBytes()string resource_id = 4 [json_name = "resourceId"];- Specified by:
getResourceIdBytesin interfaceAppOuterClass.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:
getIdentityIdin interfaceAppOuterClass.AuthorizationOrBuilder- Returns:
- The identityId.
-
getIdentityIdBytes
public com.google.protobuf.ByteString getIdentityIdBytes()string identity_id = 5 [json_name = "identityId"];- Specified by:
getIdentityIdBytesin interfaceAppOuterClass.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:
getOrganizationIdin interfaceAppOuterClass.AuthorizationOrBuilder- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 6 [json_name = "organizationId"];- Specified by:
getOrganizationIdBytesin interfaceAppOuterClass.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
public AppOuterClass.Authorization.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) 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:
getIdentityTypein interfaceAppOuterClass.AuthorizationOrBuilder- Returns:
- The identityType.
-
getIdentityTypeBytes
public com.google.protobuf.ByteString getIdentityTypeBytes()string identity_type = 7 [json_name = "identityType"];- Specified by:
getIdentityTypeBytesin interfaceAppOuterClass.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
public AppOuterClass.Authorization.Builder setIdentityTypeBytes(com.google.protobuf.ByteString value) string identity_type = 7 [json_name = "identityType"];- Parameters:
value- The bytes for identityType to set.- Returns:
- This builder for chaining.
-