Interface AccessBindingOrBuilder

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

@Generated public interface AccessBindingOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Output only.
    com.google.protobuf.ByteString
    Output only.
    getRoles(int index)
    A list of roles for to grant to the parent resource.
    com.google.protobuf.ByteString
    getRolesBytes(int index)
    A list of roles for to grant to the parent resource.
    int
    A list of roles for to grant to the parent resource.
    A list of roles for to grant to the parent resource.
    If set, the email address of the user to set roles for.
    com.google.protobuf.ByteString
    If set, the email address of the user to set roles for.
    boolean
    If set, the email address of the user to set roles for.

    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

    • hasUser

      boolean hasUser()
       If set, the email address of the user to set roles for.
       Format: "someuser@gmail.com"
       
      string user = 2;
      Returns:
      Whether the user field is set.
    • getUser

      String getUser()
       If set, the email address of the user to set roles for.
       Format: "someuser@gmail.com"
       
      string user = 2;
      Returns:
      The user.
    • getUserBytes

      com.google.protobuf.ByteString getUserBytes()
       If set, the email address of the user to set roles for.
       Format: "someuser@gmail.com"
       
      string user = 2;
      Returns:
      The bytes for user.
    • getName

      String getName()
       Output only. Resource name of this binding.
      
       Format: accounts/{account}/accessBindings/{access_binding} or
       properties/{property}/accessBindings/{access_binding}
      
       Example:
       "accounts/100/accessBindings/200"
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. Resource name of this binding.
      
       Format: accounts/{account}/accessBindings/{access_binding} or
       properties/{property}/accessBindings/{access_binding}
      
       Example:
       "accounts/100/accessBindings/200"
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for name.
    • getRolesList

      List<String> getRolesList()
       A list of roles for to grant to the parent resource.
      
       Valid values:
       predefinedRoles/viewer
       predefinedRoles/analyst
       predefinedRoles/editor
       predefinedRoles/admin
       predefinedRoles/no-cost-data
       predefinedRoles/no-revenue-data
      
       For users, if an empty list of roles is set, this AccessBinding will be
       deleted.
       
      repeated string roles = 3;
      Returns:
      A list containing the roles.
    • getRolesCount

      int getRolesCount()
       A list of roles for to grant to the parent resource.
      
       Valid values:
       predefinedRoles/viewer
       predefinedRoles/analyst
       predefinedRoles/editor
       predefinedRoles/admin
       predefinedRoles/no-cost-data
       predefinedRoles/no-revenue-data
      
       For users, if an empty list of roles is set, this AccessBinding will be
       deleted.
       
      repeated string roles = 3;
      Returns:
      The count of roles.
    • getRoles

      String getRoles(int index)
       A list of roles for to grant to the parent resource.
      
       Valid values:
       predefinedRoles/viewer
       predefinedRoles/analyst
       predefinedRoles/editor
       predefinedRoles/admin
       predefinedRoles/no-cost-data
       predefinedRoles/no-revenue-data
      
       For users, if an empty list of roles is set, this AccessBinding will be
       deleted.
       
      repeated string roles = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The roles at the given index.
    • getRolesBytes

      com.google.protobuf.ByteString getRolesBytes(int index)
       A list of roles for to grant to the parent resource.
      
       Valid values:
       predefinedRoles/viewer
       predefinedRoles/analyst
       predefinedRoles/editor
       predefinedRoles/admin
       predefinedRoles/no-cost-data
       predefinedRoles/no-revenue-data
      
       For users, if an empty list of roles is set, this AccessBinding will be
       deleted.
       
      repeated string roles = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the roles at the given index.
    • getAccessTargetCase

      AccessBinding.AccessTargetCase getAccessTargetCase()