Package viam.app.v1
Class App.AuthorizationDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.AuthorizationDetails,App.AuthorizationDetails.Builder>
viam.app.v1.App.AuthorizationDetails.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.AuthorizationDetailsOrBuilder
- Enclosing class:
- App.AuthorizationDetails
public static final class App.AuthorizationDetails.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.AuthorizationDetails,App.AuthorizationDetails.Builder>
implements App.AuthorizationDetailsOrBuilder
Protobuf type
viam.app.v1.AuthorizationDetails
-
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 org_id = 5 [json_name = "orgId"];
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"];
getOrgId()
string org_id = 5 [json_name = "orgId"];
com.google.protobuf.ByteString
string org_id = 5 [json_name = "orgId"];
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"];
string org_id = 5 [json_name = "orgId"];
setOrgIdBytes
(com.google.protobuf.ByteString value) string org_id = 5 [json_name = "orgId"];
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.AuthorizationDetailsOrBuilder
- Returns:
- The authorizationType.
-
getAuthorizationTypeBytes
public com.google.protobuf.ByteString getAuthorizationTypeBytes()string authorization_type = 1 [json_name = "authorizationType"];
- Specified by:
getAuthorizationTypeBytes
in interfaceApp.AuthorizationDetailsOrBuilder
- 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 App.AuthorizationDetails.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:
getAuthorizationId
in interfaceApp.AuthorizationDetailsOrBuilder
- Returns:
- The authorizationId.
-
getAuthorizationIdBytes
public com.google.protobuf.ByteString getAuthorizationIdBytes()string authorization_id = 2 [json_name = "authorizationId"];
- Specified by:
getAuthorizationIdBytes
in interfaceApp.AuthorizationDetailsOrBuilder
- 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 App.AuthorizationDetails.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:
getResourceType
in interfaceApp.AuthorizationDetailsOrBuilder
- Returns:
- The resourceType.
-
getResourceTypeBytes
public com.google.protobuf.ByteString getResourceTypeBytes()string resource_type = 3 [json_name = "resourceType"];
- Specified by:
getResourceTypeBytes
in interfaceApp.AuthorizationDetailsOrBuilder
- 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.AuthorizationDetailsOrBuilder
- Returns:
- The resourceId.
-
getResourceIdBytes
public com.google.protobuf.ByteString getResourceIdBytes()string resource_id = 4 [json_name = "resourceId"];
- Specified by:
getResourceIdBytes
in interfaceApp.AuthorizationDetailsOrBuilder
- 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.
-
getOrgId
string org_id = 5 [json_name = "orgId"];
- Specified by:
getOrgId
in interfaceApp.AuthorizationDetailsOrBuilder
- Returns:
- The orgId.
-
getOrgIdBytes
public com.google.protobuf.ByteString getOrgIdBytes()string org_id = 5 [json_name = "orgId"];
- Specified by:
getOrgIdBytes
in interfaceApp.AuthorizationDetailsOrBuilder
- Returns:
- The bytes for orgId.
-
setOrgId
string org_id = 5 [json_name = "orgId"];
- Parameters:
value
- The orgId to set.- Returns:
- This builder for chaining.
-
clearOrgId
string org_id = 5 [json_name = "orgId"];
- Returns:
- This builder for chaining.
-
setOrgIdBytes
string org_id = 5 [json_name = "orgId"];
- Parameters:
value
- The bytes for orgId to set.- Returns:
- This builder for chaining.
-