Class AuthenticationInfo.Builder

  • All Implemented Interfaces:
    AuthenticationInfoOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    AuthenticationInfo

    public static final class AuthenticationInfo.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
    implements AuthenticationInfoOrBuilder
     Authentication information for the operation.
     
    Protobuf type google.cloud.audit.AuthenticationInfo
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Overrides:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
      • clear

        public AuthenticationInfo.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.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.GeneratedMessage.Builder<AuthenticationInfo.Builder>
      • getDefaultInstanceForType

        public AuthenticationInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

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

        public AuthenticationInfo buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public AuthenticationInfo.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
      • setField

        public AuthenticationInfo.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
      • clearField

        public AuthenticationInfo.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
      • clearOneof

        public AuthenticationInfo.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
      • setRepeatedField

        public AuthenticationInfo.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
      • addRepeatedField

        public AuthenticationInfo.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
      • mergeFrom

        public AuthenticationInfo.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthenticationInfo.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,​AuthenticationInfo.Builder>
      • mergeFrom

        public AuthenticationInfo.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthenticationInfo.Builder>
        Throws:
        java.io.IOException
      • getPrincipalEmail

        public java.lang.String getPrincipalEmail()
         The email address of the authenticated user (or service account on behalf
         of third party principal) making the request. For third party identity
         callers, the `principal_subject` field is populated instead of this field.
         For privacy reasons, the principal email address is sometimes redacted.
         For more information, see [Caller identities in audit
         logs](https://cloud.google.com/logging/docs/audit#user-id).
         
        string principal_email = 1;
        Specified by:
        getPrincipalEmail in interface AuthenticationInfoOrBuilder
        Returns:
        The principalEmail.
      • getPrincipalEmailBytes

        public com.google.protobuf.ByteString getPrincipalEmailBytes()
         The email address of the authenticated user (or service account on behalf
         of third party principal) making the request. For third party identity
         callers, the `principal_subject` field is populated instead of this field.
         For privacy reasons, the principal email address is sometimes redacted.
         For more information, see [Caller identities in audit
         logs](https://cloud.google.com/logging/docs/audit#user-id).
         
        string principal_email = 1;
        Specified by:
        getPrincipalEmailBytes in interface AuthenticationInfoOrBuilder
        Returns:
        The bytes for principalEmail.
      • setPrincipalEmail

        public AuthenticationInfo.Builder setPrincipalEmail​(java.lang.String value)
         The email address of the authenticated user (or service account on behalf
         of third party principal) making the request. For third party identity
         callers, the `principal_subject` field is populated instead of this field.
         For privacy reasons, the principal email address is sometimes redacted.
         For more information, see [Caller identities in audit
         logs](https://cloud.google.com/logging/docs/audit#user-id).
         
        string principal_email = 1;
        Parameters:
        value - The principalEmail to set.
        Returns:
        This builder for chaining.
      • clearPrincipalEmail

        public AuthenticationInfo.Builder clearPrincipalEmail()
         The email address of the authenticated user (or service account on behalf
         of third party principal) making the request. For third party identity
         callers, the `principal_subject` field is populated instead of this field.
         For privacy reasons, the principal email address is sometimes redacted.
         For more information, see [Caller identities in audit
         logs](https://cloud.google.com/logging/docs/audit#user-id).
         
        string principal_email = 1;
        Returns:
        This builder for chaining.
      • setPrincipalEmailBytes

        public AuthenticationInfo.Builder setPrincipalEmailBytes​(com.google.protobuf.ByteString value)
         The email address of the authenticated user (or service account on behalf
         of third party principal) making the request. For third party identity
         callers, the `principal_subject` field is populated instead of this field.
         For privacy reasons, the principal email address is sometimes redacted.
         For more information, see [Caller identities in audit
         logs](https://cloud.google.com/logging/docs/audit#user-id).
         
        string principal_email = 1;
        Parameters:
        value - The bytes for principalEmail to set.
        Returns:
        This builder for chaining.
      • getAuthoritySelector

        public java.lang.String getAuthoritySelector()
         The authority selector specified by the requestor, if any.
         It is not guaranteed that the principal was allowed to use this authority.
         
        string authority_selector = 2;
        Specified by:
        getAuthoritySelector in interface AuthenticationInfoOrBuilder
        Returns:
        The authoritySelector.
      • getAuthoritySelectorBytes

        public com.google.protobuf.ByteString getAuthoritySelectorBytes()
         The authority selector specified by the requestor, if any.
         It is not guaranteed that the principal was allowed to use this authority.
         
        string authority_selector = 2;
        Specified by:
        getAuthoritySelectorBytes in interface AuthenticationInfoOrBuilder
        Returns:
        The bytes for authoritySelector.
      • setAuthoritySelector

        public AuthenticationInfo.Builder setAuthoritySelector​(java.lang.String value)
         The authority selector specified by the requestor, if any.
         It is not guaranteed that the principal was allowed to use this authority.
         
        string authority_selector = 2;
        Parameters:
        value - The authoritySelector to set.
        Returns:
        This builder for chaining.
      • clearAuthoritySelector

        public AuthenticationInfo.Builder clearAuthoritySelector()
         The authority selector specified by the requestor, if any.
         It is not guaranteed that the principal was allowed to use this authority.
         
        string authority_selector = 2;
        Returns:
        This builder for chaining.
      • setAuthoritySelectorBytes

        public AuthenticationInfo.Builder setAuthoritySelectorBytes​(com.google.protobuf.ByteString value)
         The authority selector specified by the requestor, if any.
         It is not guaranteed that the principal was allowed to use this authority.
         
        string authority_selector = 2;
        Parameters:
        value - The bytes for authoritySelector to set.
        Returns:
        This builder for chaining.
      • hasThirdPartyPrincipal

        public boolean hasThirdPartyPrincipal()
         The third party identification (if any) of the authenticated user making
         the request.
         When the JSON object represented here has a proto equivalent, the proto
         name will be indicated in the `@type` property.
         
        .google.protobuf.Struct third_party_principal = 4;
        Specified by:
        hasThirdPartyPrincipal in interface AuthenticationInfoOrBuilder
        Returns:
        Whether the thirdPartyPrincipal field is set.
      • getThirdPartyPrincipal

        public com.google.protobuf.Struct getThirdPartyPrincipal()
         The third party identification (if any) of the authenticated user making
         the request.
         When the JSON object represented here has a proto equivalent, the proto
         name will be indicated in the `@type` property.
         
        .google.protobuf.Struct third_party_principal = 4;
        Specified by:
        getThirdPartyPrincipal in interface AuthenticationInfoOrBuilder
        Returns:
        The thirdPartyPrincipal.
      • setThirdPartyPrincipal

        public AuthenticationInfo.Builder setThirdPartyPrincipal​(com.google.protobuf.Struct value)
         The third party identification (if any) of the authenticated user making
         the request.
         When the JSON object represented here has a proto equivalent, the proto
         name will be indicated in the `@type` property.
         
        .google.protobuf.Struct third_party_principal = 4;
      • setThirdPartyPrincipal

        public AuthenticationInfo.Builder setThirdPartyPrincipal​(com.google.protobuf.Struct.Builder builderForValue)
         The third party identification (if any) of the authenticated user making
         the request.
         When the JSON object represented here has a proto equivalent, the proto
         name will be indicated in the `@type` property.
         
        .google.protobuf.Struct third_party_principal = 4;
      • mergeThirdPartyPrincipal

        public AuthenticationInfo.Builder mergeThirdPartyPrincipal​(com.google.protobuf.Struct value)
         The third party identification (if any) of the authenticated user making
         the request.
         When the JSON object represented here has a proto equivalent, the proto
         name will be indicated in the `@type` property.
         
        .google.protobuf.Struct third_party_principal = 4;
      • clearThirdPartyPrincipal

        public AuthenticationInfo.Builder clearThirdPartyPrincipal()
         The third party identification (if any) of the authenticated user making
         the request.
         When the JSON object represented here has a proto equivalent, the proto
         name will be indicated in the `@type` property.
         
        .google.protobuf.Struct third_party_principal = 4;
      • getThirdPartyPrincipalBuilder

        public com.google.protobuf.Struct.Builder getThirdPartyPrincipalBuilder()
         The third party identification (if any) of the authenticated user making
         the request.
         When the JSON object represented here has a proto equivalent, the proto
         name will be indicated in the `@type` property.
         
        .google.protobuf.Struct third_party_principal = 4;
      • getThirdPartyPrincipalOrBuilder

        public com.google.protobuf.StructOrBuilder getThirdPartyPrincipalOrBuilder()
         The third party identification (if any) of the authenticated user making
         the request.
         When the JSON object represented here has a proto equivalent, the proto
         name will be indicated in the `@type` property.
         
        .google.protobuf.Struct third_party_principal = 4;
        Specified by:
        getThirdPartyPrincipalOrBuilder in interface AuthenticationInfoOrBuilder
      • getServiceAccountKeyName

        public java.lang.String getServiceAccountKeyName()
         The name of the service account key used to create or exchange
         credentials for authenticating the service account making the request.
         This is a scheme-less URI full resource name. For example:
        
         "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}"
         
        string service_account_key_name = 5;
        Specified by:
        getServiceAccountKeyName in interface AuthenticationInfoOrBuilder
        Returns:
        The serviceAccountKeyName.
      • getServiceAccountKeyNameBytes

        public com.google.protobuf.ByteString getServiceAccountKeyNameBytes()
         The name of the service account key used to create or exchange
         credentials for authenticating the service account making the request.
         This is a scheme-less URI full resource name. For example:
        
         "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}"
         
        string service_account_key_name = 5;
        Specified by:
        getServiceAccountKeyNameBytes in interface AuthenticationInfoOrBuilder
        Returns:
        The bytes for serviceAccountKeyName.
      • setServiceAccountKeyName

        public AuthenticationInfo.Builder setServiceAccountKeyName​(java.lang.String value)
         The name of the service account key used to create or exchange
         credentials for authenticating the service account making the request.
         This is a scheme-less URI full resource name. For example:
        
         "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}"
         
        string service_account_key_name = 5;
        Parameters:
        value - The serviceAccountKeyName to set.
        Returns:
        This builder for chaining.
      • clearServiceAccountKeyName

        public AuthenticationInfo.Builder clearServiceAccountKeyName()
         The name of the service account key used to create or exchange
         credentials for authenticating the service account making the request.
         This is a scheme-less URI full resource name. For example:
        
         "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}"
         
        string service_account_key_name = 5;
        Returns:
        This builder for chaining.
      • setServiceAccountKeyNameBytes

        public AuthenticationInfo.Builder setServiceAccountKeyNameBytes​(com.google.protobuf.ByteString value)
         The name of the service account key used to create or exchange
         credentials for authenticating the service account making the request.
         This is a scheme-less URI full resource name. For example:
        
         "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}"
         
        string service_account_key_name = 5;
        Parameters:
        value - The bytes for serviceAccountKeyName to set.
        Returns:
        This builder for chaining.
      • getServiceAccountDelegationInfoList

        public java.util.List<ServiceAccountDelegationInfo> getServiceAccountDelegationInfoList()
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
        Specified by:
        getServiceAccountDelegationInfoList in interface AuthenticationInfoOrBuilder
      • getServiceAccountDelegationInfoCount

        public int getServiceAccountDelegationInfoCount()
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
        Specified by:
        getServiceAccountDelegationInfoCount in interface AuthenticationInfoOrBuilder
      • getServiceAccountDelegationInfo

        public ServiceAccountDelegationInfo getServiceAccountDelegationInfo​(int index)
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
        Specified by:
        getServiceAccountDelegationInfo in interface AuthenticationInfoOrBuilder
      • setServiceAccountDelegationInfo

        public AuthenticationInfo.Builder setServiceAccountDelegationInfo​(int index,
                                                                          ServiceAccountDelegationInfo value)
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
      • setServiceAccountDelegationInfo

        public AuthenticationInfo.Builder setServiceAccountDelegationInfo​(int index,
                                                                          ServiceAccountDelegationInfo.Builder builderForValue)
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
      • addServiceAccountDelegationInfo

        public AuthenticationInfo.Builder addServiceAccountDelegationInfo​(ServiceAccountDelegationInfo value)
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
      • addServiceAccountDelegationInfo

        public AuthenticationInfo.Builder addServiceAccountDelegationInfo​(int index,
                                                                          ServiceAccountDelegationInfo value)
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
      • addServiceAccountDelegationInfo

        public AuthenticationInfo.Builder addServiceAccountDelegationInfo​(ServiceAccountDelegationInfo.Builder builderForValue)
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
      • addServiceAccountDelegationInfo

        public AuthenticationInfo.Builder addServiceAccountDelegationInfo​(int index,
                                                                          ServiceAccountDelegationInfo.Builder builderForValue)
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
      • addAllServiceAccountDelegationInfo

        public AuthenticationInfo.Builder addAllServiceAccountDelegationInfo​(java.lang.Iterable<? extends ServiceAccountDelegationInfo> values)
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
      • clearServiceAccountDelegationInfo

        public AuthenticationInfo.Builder clearServiceAccountDelegationInfo()
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
      • removeServiceAccountDelegationInfo

        public AuthenticationInfo.Builder removeServiceAccountDelegationInfo​(int index)
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
      • getServiceAccountDelegationInfoBuilder

        public ServiceAccountDelegationInfo.Builder getServiceAccountDelegationInfoBuilder​(int index)
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
      • getServiceAccountDelegationInfoOrBuilder

        public ServiceAccountDelegationInfoOrBuilder getServiceAccountDelegationInfoOrBuilder​(int index)
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
        Specified by:
        getServiceAccountDelegationInfoOrBuilder in interface AuthenticationInfoOrBuilder
      • getServiceAccountDelegationInfoOrBuilderList

        public java.util.List<? extends ServiceAccountDelegationInfoOrBuilder> getServiceAccountDelegationInfoOrBuilderList()
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
        Specified by:
        getServiceAccountDelegationInfoOrBuilderList in interface AuthenticationInfoOrBuilder
      • addServiceAccountDelegationInfoBuilder

        public ServiceAccountDelegationInfo.Builder addServiceAccountDelegationInfoBuilder()
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
      • addServiceAccountDelegationInfoBuilder

        public ServiceAccountDelegationInfo.Builder addServiceAccountDelegationInfoBuilder​(int index)
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
      • getServiceAccountDelegationInfoBuilderList

        public java.util.List<ServiceAccountDelegationInfo.Builder> getServiceAccountDelegationInfoBuilderList()
         Identity delegation history of an authenticated service account that makes
         the request. It contains information on the real authorities that try to
         access GCP resources by delegating on a service account. When multiple
         authorities present, they are guaranteed to be sorted based on the original
         ordering of the identity delegation events.
         
        repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
      • getPrincipalSubject

        public java.lang.String getPrincipalSubject()
         String representation of identity of requesting party.
         Populated for both first and third party identities.
         
        string principal_subject = 8;
        Specified by:
        getPrincipalSubject in interface AuthenticationInfoOrBuilder
        Returns:
        The principalSubject.
      • getPrincipalSubjectBytes

        public com.google.protobuf.ByteString getPrincipalSubjectBytes()
         String representation of identity of requesting party.
         Populated for both first and third party identities.
         
        string principal_subject = 8;
        Specified by:
        getPrincipalSubjectBytes in interface AuthenticationInfoOrBuilder
        Returns:
        The bytes for principalSubject.
      • setPrincipalSubject

        public AuthenticationInfo.Builder setPrincipalSubject​(java.lang.String value)
         String representation of identity of requesting party.
         Populated for both first and third party identities.
         
        string principal_subject = 8;
        Parameters:
        value - The principalSubject to set.
        Returns:
        This builder for chaining.
      • clearPrincipalSubject

        public AuthenticationInfo.Builder clearPrincipalSubject()
         String representation of identity of requesting party.
         Populated for both first and third party identities.
         
        string principal_subject = 8;
        Returns:
        This builder for chaining.
      • setPrincipalSubjectBytes

        public AuthenticationInfo.Builder setPrincipalSubjectBytes​(com.google.protobuf.ByteString value)
         String representation of identity of requesting party.
         Populated for both first and third party identities.
         
        string principal_subject = 8;
        Parameters:
        value - The bytes for principalSubject to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final AuthenticationInfo.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
      • mergeUnknownFields

        public final AuthenticationInfo.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>