Class IamPolicyAnalysisQuery.IdentitySelector.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
      • getDefaultInstanceForType

        public IamPolicyAnalysisQuery.IdentitySelector getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public IamPolicyAnalysisQuery.IdentitySelector build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public IamPolicyAnalysisQuery.IdentitySelector buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
      • getIdentity

        public String getIdentity()
         Required. The identity appear in the form of principals in
         [IAM policy
         binding](https://cloud.google.com/iam/reference/rest/v1/Binding).
        
         The examples of supported forms are:
         "user:mike@example.com",
         "group:admins@example.com",
         "domain:google.com",
         "serviceAccount:my-project-id@appspot.gserviceaccount.com".
        
         Notice that wildcard characters (such as * and ?) are not supported.
         You must give a specific identity.
         
        string identity = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getIdentity in interface IamPolicyAnalysisQuery.IdentitySelectorOrBuilder
        Returns:
        The identity.
      • getIdentityBytes

        public com.google.protobuf.ByteString getIdentityBytes()
         Required. The identity appear in the form of principals in
         [IAM policy
         binding](https://cloud.google.com/iam/reference/rest/v1/Binding).
        
         The examples of supported forms are:
         "user:mike@example.com",
         "group:admins@example.com",
         "domain:google.com",
         "serviceAccount:my-project-id@appspot.gserviceaccount.com".
        
         Notice that wildcard characters (such as * and ?) are not supported.
         You must give a specific identity.
         
        string identity = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getIdentityBytes in interface IamPolicyAnalysisQuery.IdentitySelectorOrBuilder
        Returns:
        The bytes for identity.
      • setIdentity

        public IamPolicyAnalysisQuery.IdentitySelector.Builder setIdentity​(String value)
         Required. The identity appear in the form of principals in
         [IAM policy
         binding](https://cloud.google.com/iam/reference/rest/v1/Binding).
        
         The examples of supported forms are:
         "user:mike@example.com",
         "group:admins@example.com",
         "domain:google.com",
         "serviceAccount:my-project-id@appspot.gserviceaccount.com".
        
         Notice that wildcard characters (such as * and ?) are not supported.
         You must give a specific identity.
         
        string identity = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The identity to set.
        Returns:
        This builder for chaining.
      • clearIdentity

        public IamPolicyAnalysisQuery.IdentitySelector.Builder clearIdentity()
         Required. The identity appear in the form of principals in
         [IAM policy
         binding](https://cloud.google.com/iam/reference/rest/v1/Binding).
        
         The examples of supported forms are:
         "user:mike@example.com",
         "group:admins@example.com",
         "domain:google.com",
         "serviceAccount:my-project-id@appspot.gserviceaccount.com".
        
         Notice that wildcard characters (such as * and ?) are not supported.
         You must give a specific identity.
         
        string identity = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setIdentityBytes

        public IamPolicyAnalysisQuery.IdentitySelector.Builder setIdentityBytes​(com.google.protobuf.ByteString value)
         Required. The identity appear in the form of principals in
         [IAM policy
         binding](https://cloud.google.com/iam/reference/rest/v1/Binding).
        
         The examples of supported forms are:
         "user:mike@example.com",
         "group:admins@example.com",
         "domain:google.com",
         "serviceAccount:my-project-id@appspot.gserviceaccount.com".
        
         Notice that wildcard characters (such as * and ?) are not supported.
         You must give a specific identity.
         
        string identity = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for identity to set.
        Returns:
        This builder for chaining.