Package com.google.storage.v2
Interface BucketAccessControlOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BucketAccessControl,BucketAccessControl.Builder
@Generated
public interface BucketAccessControlOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.getEmail()Optional.com.google.protobuf.ByteStringOptional.Optional.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.getEtag()Optional.com.google.protobuf.ByteStringOptional.getId()Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.getRole()Optional.com.google.protobuf.ByteStringOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRole
String getRole()Optional. The access permission for the entity.
string role = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The role.
-
getRoleBytes
com.google.protobuf.ByteString getRoleBytes()Optional. The access permission for the entity.
string role = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for role.
-
getId
String getId()Optional. The ID of the access-control entry.
string id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Optional. The ID of the access-control entry.
string id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for id.
-
getEntity
String getEntity()Optional. 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 is returned on response.string entity = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The entity.
-
getEntityBytes
com.google.protobuf.ByteString getEntityBytes()Optional. 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 is returned on response.string entity = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for entity.
-
getEntityAlt
String getEntityAlt()Output only. The alternative entity format, if exists. For project entities, `project-{team}-{projectid}` format is returned in the 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 is returned in the response.string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for entityAlt.
-
getEntityId
String getEntityId()Optional. The ID for the entity, if any.
string entity_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The entityId.
-
getEntityIdBytes
com.google.protobuf.ByteString getEntityIdBytes()Optional. The ID for the entity, if any.
string entity_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for entityId.
-
getEtag
String getEtag()Optional. The `etag` of the `BucketAccessControl`. If included in the metadata of an update or delete request message, the operation operation is only performed if the etag matches that of the bucket's `BucketAccessControl`.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()Optional. The `etag` of the `BucketAccessControl`. If included in the metadata of an update or delete request message, the operation operation is only performed if the etag matches that of the bucket's `BucketAccessControl`.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for etag.
-
getEmail
String getEmail()Optional. The email address associated with the entity, if any.
string email = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The email.
-
getEmailBytes
com.google.protobuf.ByteString getEmailBytes()Optional. The email address associated with the entity, if any.
string email = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for email.
-
getDomain
String getDomain()Optional. The domain associated with the entity, if any.
string domain = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The domain.
-
getDomainBytes
com.google.protobuf.ByteString getDomainBytes()Optional. The domain associated with the entity, if any.
string domain = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for domain.
-
hasProjectTeam
boolean hasProjectTeam()Optional. The project team associated with the entity, if any.
.google.storage.v2.ProjectTeam project_team = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the projectTeam field is set.
-
getProjectTeam
ProjectTeam getProjectTeam()Optional. The project team associated with the entity, if any.
.google.storage.v2.ProjectTeam project_team = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The projectTeam.
-
getProjectTeamOrBuilder
ProjectTeamOrBuilder getProjectTeamOrBuilder()Optional. The project team associated with the entity, if any.
.google.storage.v2.ProjectTeam project_team = 7 [(.google.api.field_behavior) = OPTIONAL];
-