Interface ObjectAccessControlOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ObjectAccessControl, ObjectAccessControl.Builder

public interface ObjectAccessControlOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The domain associated with the entity, if any.
    com.google.protobuf.ByteString
    The domain associated with the entity, if any.
    The email address associated with the entity, if any.
    com.google.protobuf.ByteString
    The email address associated with the entity, if any.
    The entity holding the permission, in one of the following forms: * `user-{userid}` * `user-{email}` * `group-{groupid}` * `group-{email}` * `domain-{domain}` * `project-{team}-{projectnumber}` * `project-{team}-{projectid}` * `allUsers` * `allAuthenticatedUsers` Examples: * The user `liz@example.com` would be `user-liz@example.com`.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    com.google.protobuf.ByteString
    The entity holding the permission, in one of the following forms: * `user-{userid}` * `user-{email}` * `group-{groupid}` * `group-{email}` * `domain-{domain}` * `project-{team}-{projectnumber}` * `project-{team}-{projectid}` * `allUsers` * `allAuthenticatedUsers` Examples: * The user `liz@example.com` would be `user-liz@example.com`.
    The ID for the entity, if any.
    com.google.protobuf.ByteString
    The ID for the entity, if any.
    The etag of the ObjectAccessControl.
    com.google.protobuf.ByteString
    The etag of the ObjectAccessControl.
    The ID of the access-control entry.
    com.google.protobuf.ByteString
    The ID of the access-control entry.
    The project team associated with the entity, if any.
    The project team associated with the entity, if any.
    The access permission for the entity.
    com.google.protobuf.ByteString
    The access permission for the entity.
    boolean
    The project team associated with the entity, if any.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getRole

      String getRole()
       The access permission for the entity.
       
      string role = 1;
      Returns:
      The role.
    • getRoleBytes

      com.google.protobuf.ByteString getRoleBytes()
       The access permission for the entity.
       
      string role = 1;
      Returns:
      The bytes for role.
    • getId

      String getId()
       The ID of the access-control entry.
       
      string id = 2;
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       The ID of the access-control entry.
       
      string id = 2;
      Returns:
      The bytes for id.
    • getEntity

      String getEntity()
       The entity holding the permission, in one of the following forms:
       * `user-{userid}`
       * `user-{email}`
       * `group-{groupid}`
       * `group-{email}`
       * `domain-{domain}`
       * `project-{team}-{projectnumber}`
       * `project-{team}-{projectid}`
       * `allUsers`
       * `allAuthenticatedUsers`
       Examples:
       * The user `liz@example.com` would be `user-liz@example.com`.
       * The group `example@googlegroups.com` would be
       `group-example@googlegroups.com`.
       * All members of the Google Apps for Business domain `example.com` would be
       `domain-example.com`.
       For project entities, `project-{team}-{projectnumber}` format will be
       returned on response.
       
      string entity = 3;
      Returns:
      The entity.
    • getEntityBytes

      com.google.protobuf.ByteString getEntityBytes()
       The entity holding the permission, in one of the following forms:
       * `user-{userid}`
       * `user-{email}`
       * `group-{groupid}`
       * `group-{email}`
       * `domain-{domain}`
       * `project-{team}-{projectnumber}`
       * `project-{team}-{projectid}`
       * `allUsers`
       * `allAuthenticatedUsers`
       Examples:
       * The user `liz@example.com` would be `user-liz@example.com`.
       * The group `example@googlegroups.com` would be
       `group-example@googlegroups.com`.
       * All members of the Google Apps for Business domain `example.com` would be
       `domain-example.com`.
       For project entities, `project-{team}-{projectnumber}` format will be
       returned on response.
       
      string entity = 3;
      Returns:
      The bytes for entity.
    • getEntityAlt

      String getEntityAlt()
       Output only. The alternative entity format, if exists. For project
       entities, `project-{team}-{projectid}` format will be returned on response.
       
      string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The entityAlt.
    • getEntityAltBytes

      com.google.protobuf.ByteString getEntityAltBytes()
       Output only. The alternative entity format, if exists. For project
       entities, `project-{team}-{projectid}` format will be returned on response.
       
      string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for entityAlt.
    • getEntityId

      String getEntityId()
       The ID for the entity, if any.
       
      string entity_id = 4;
      Returns:
      The entityId.
    • getEntityIdBytes

      com.google.protobuf.ByteString getEntityIdBytes()
       The ID for the entity, if any.
       
      string entity_id = 4;
      Returns:
      The bytes for entityId.
    • getEtag

      String getEtag()
       The etag of the ObjectAccessControl.
       If included in the metadata of an update or delete request message, the
       operation will only be performed if the etag matches that of the live
       object's ObjectAccessControl.
       
      string etag = 8;
      Returns:
      The etag.
    • getEtagBytes

      com.google.protobuf.ByteString getEtagBytes()
       The etag of the ObjectAccessControl.
       If included in the metadata of an update or delete request message, the
       operation will only be performed if the etag matches that of the live
       object's ObjectAccessControl.
       
      string etag = 8;
      Returns:
      The bytes for etag.
    • getEmail

      String getEmail()
       The email address associated with the entity, if any.
       
      string email = 5;
      Returns:
      The email.
    • getEmailBytes

      com.google.protobuf.ByteString getEmailBytes()
       The email address associated with the entity, if any.
       
      string email = 5;
      Returns:
      The bytes for email.
    • getDomain

      String getDomain()
       The domain associated with the entity, if any.
       
      string domain = 6;
      Returns:
      The domain.
    • getDomainBytes

      com.google.protobuf.ByteString getDomainBytes()
       The domain associated with the entity, if any.
       
      string domain = 6;
      Returns:
      The bytes for domain.
    • hasProjectTeam

      boolean hasProjectTeam()
       The project team associated with the entity, if any.
       
      .google.storage.v2.ProjectTeam project_team = 7;
      Returns:
      Whether the projectTeam field is set.
    • getProjectTeam

      ProjectTeam getProjectTeam()
       The project team associated with the entity, if any.
       
      .google.storage.v2.ProjectTeam project_team = 7;
      Returns:
      The projectTeam.
    • getProjectTeamOrBuilder

      ProjectTeamOrBuilder getProjectTeamOrBuilder()
       The project team associated with the entity, if any.
       
      .google.storage.v2.ProjectTeam project_team = 7;