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
  • Method Details

    • getAuthorizationType

      public String getAuthorizationType()
      string authorization_type = 1 [json_name = "authorizationType"];
      Specified by:
      getAuthorizationType in interface App.AuthorizationOrBuilder
      Returns:
      The authorizationType.
    • getAuthorizationTypeBytes

      public com.google.protobuf.ByteString getAuthorizationTypeBytes()
      string authorization_type = 1 [json_name = "authorizationType"];
      Specified by:
      getAuthorizationTypeBytes in interface App.AuthorizationOrBuilder
      Returns:
      The bytes for authorizationType.
    • setAuthorizationType

      public App.Authorization.Builder setAuthorizationType(String value)
      string authorization_type = 1 [json_name = "authorizationType"];
      Parameters:
      value - The authorizationType to set.
      Returns:
      This builder for chaining.
    • clearAuthorizationType

      public App.Authorization.Builder clearAuthorizationType()
      string authorization_type = 1 [json_name = "authorizationType"];
      Returns:
      This builder for chaining.
    • setAuthorizationTypeBytes

      public App.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

      public String getAuthorizationId()
      string authorization_id = 2 [json_name = "authorizationId"];
      Specified by:
      getAuthorizationId in interface App.AuthorizationOrBuilder
      Returns:
      The authorizationId.
    • getAuthorizationIdBytes

      public com.google.protobuf.ByteString getAuthorizationIdBytes()
      string authorization_id = 2 [json_name = "authorizationId"];
      Specified by:
      getAuthorizationIdBytes in interface App.AuthorizationOrBuilder
      Returns:
      The bytes for authorizationId.
    • setAuthorizationId

      public App.Authorization.Builder setAuthorizationId(String value)
      string authorization_id = 2 [json_name = "authorizationId"];
      Parameters:
      value - The authorizationId to set.
      Returns:
      This builder for chaining.
    • clearAuthorizationId

      public App.Authorization.Builder clearAuthorizationId()
      string authorization_id = 2 [json_name = "authorizationId"];
      Returns:
      This builder for chaining.
    • setAuthorizationIdBytes

      public App.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

      public String getResourceType()
      string resource_type = 3 [json_name = "resourceType"];
      Specified by:
      getResourceType in interface App.AuthorizationOrBuilder
      Returns:
      The resourceType.
    • getResourceTypeBytes

      public com.google.protobuf.ByteString getResourceTypeBytes()
      string resource_type = 3 [json_name = "resourceType"];
      Specified by:
      getResourceTypeBytes in interface App.AuthorizationOrBuilder
      Returns:
      The bytes for resourceType.
    • setResourceType

      public App.Authorization.Builder setResourceType(String value)
      string resource_type = 3 [json_name = "resourceType"];
      Parameters:
      value - The resourceType to set.
      Returns:
      This builder for chaining.
    • clearResourceType

      public App.Authorization.Builder clearResourceType()
      string resource_type = 3 [json_name = "resourceType"];
      Returns:
      This builder for chaining.
    • setResourceTypeBytes

      public App.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

      public String getResourceId()
      string resource_id = 4 [json_name = "resourceId"];
      Specified by:
      getResourceId in interface App.AuthorizationOrBuilder
      Returns:
      The resourceId.
    • getResourceIdBytes

      public com.google.protobuf.ByteString getResourceIdBytes()
      string resource_id = 4 [json_name = "resourceId"];
      Specified by:
      getResourceIdBytes in interface App.AuthorizationOrBuilder
      Returns:
      The bytes for resourceId.
    • setResourceId

      public App.Authorization.Builder setResourceId(String value)
      string resource_id = 4 [json_name = "resourceId"];
      Parameters:
      value - The resourceId to set.
      Returns:
      This builder for chaining.
    • clearResourceId

      public App.Authorization.Builder clearResourceId()
      string resource_id = 4 [json_name = "resourceId"];
      Returns:
      This builder for chaining.
    • setResourceIdBytes

      public App.Authorization.Builder setResourceIdBytes(com.google.protobuf.ByteString value)
      string resource_id = 4 [json_name = "resourceId"];
      Parameters:
      value - The bytes for resourceId to set.
      Returns:
      This builder for chaining.
    • getIdentityId

      public String getIdentityId()
      string identity_id = 5 [json_name = "identityId"];
      Specified by:
      getIdentityId in interface App.AuthorizationOrBuilder
      Returns:
      The identityId.
    • getIdentityIdBytes

      public com.google.protobuf.ByteString getIdentityIdBytes()
      string identity_id = 5 [json_name = "identityId"];
      Specified by:
      getIdentityIdBytes in interface App.AuthorizationOrBuilder
      Returns:
      The bytes for identityId.
    • setIdentityId

      public App.Authorization.Builder setIdentityId(String value)
      string identity_id = 5 [json_name = "identityId"];
      Parameters:
      value - The identityId to set.
      Returns:
      This builder for chaining.
    • clearIdentityId

      public App.Authorization.Builder clearIdentityId()
      string identity_id = 5 [json_name = "identityId"];
      Returns:
      This builder for chaining.
    • setIdentityIdBytes

      public App.Authorization.Builder setIdentityIdBytes(com.google.protobuf.ByteString value)
      string identity_id = 5 [json_name = "identityId"];
      Parameters:
      value - The bytes for identityId to set.
      Returns:
      This builder for chaining.
    • getOrganizationId

      public String getOrganizationId()
      string organization_id = 6 [json_name = "organizationId"];
      Specified by:
      getOrganizationId in interface App.AuthorizationOrBuilder
      Returns:
      The organizationId.
    • getOrganizationIdBytes

      public com.google.protobuf.ByteString getOrganizationIdBytes()
      string organization_id = 6 [json_name = "organizationId"];
      Specified by:
      getOrganizationIdBytes in interface App.AuthorizationOrBuilder
      Returns:
      The bytes for organizationId.
    • setOrganizationId

      public App.Authorization.Builder setOrganizationId(String value)
      string organization_id = 6 [json_name = "organizationId"];
      Parameters:
      value - The organizationId to set.
      Returns:
      This builder for chaining.
    • clearOrganizationId

      public App.Authorization.Builder clearOrganizationId()
      string organization_id = 6 [json_name = "organizationId"];
      Returns:
      This builder for chaining.
    • setOrganizationIdBytes

      public App.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

      public String getIdentityType()
      string identity_type = 7 [json_name = "identityType"];
      Specified by:
      getIdentityType in interface App.AuthorizationOrBuilder
      Returns:
      The identityType.
    • getIdentityTypeBytes

      public com.google.protobuf.ByteString getIdentityTypeBytes()
      string identity_type = 7 [json_name = "identityType"];
      Specified by:
      getIdentityTypeBytes in interface App.AuthorizationOrBuilder
      Returns:
      The bytes for identityType.
    • setIdentityType

      public App.Authorization.Builder setIdentityType(String value)
      string identity_type = 7 [json_name = "identityType"];
      Parameters:
      value - The identityType to set.
      Returns:
      This builder for chaining.
    • clearIdentityType

      public App.Authorization.Builder clearIdentityType()
      string identity_type = 7 [json_name = "identityType"];
      Returns:
      This builder for chaining.
    • setIdentityTypeBytes

      public App.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.