Class Access.Builder

  • All Implemented Interfaces:
    AccessOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Access

    public static final class Access.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
    implements AccessOrBuilder
     Represents an access event.
     
    Protobuf type google.cloud.securitycenter.v1.Access
    • 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<Access.Builder>
      • clear

        public Access.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<Access.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<Access.Builder>
      • getDefaultInstanceForType

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

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

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

        public Access.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<Access.Builder>
      • setField

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

        public Access.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<Access.Builder>
      • clearOneof

        public Access.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<Access.Builder>
      • setRepeatedField

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

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

        public Access.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<Access.Builder>
      • isInitialized

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

        public Access.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws 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<Access.Builder>
        Throws:
        IOException
      • getPrincipalEmail

        public String getPrincipalEmail()
         Associated email, such as "foo@google.com".
        
         The email address of the authenticated user or a service account acting on
         behalf of a 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 AccessOrBuilder
        Returns:
        The principalEmail.
      • getPrincipalEmailBytes

        public com.google.protobuf.ByteString getPrincipalEmailBytes()
         Associated email, such as "foo@google.com".
        
         The email address of the authenticated user or a service account acting on
         behalf of a 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 AccessOrBuilder
        Returns:
        The bytes for principalEmail.
      • setPrincipalEmail

        public Access.Builder setPrincipalEmail​(String value)
         Associated email, such as "foo@google.com".
        
         The email address of the authenticated user or a service account acting on
         behalf of a 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 Access.Builder clearPrincipalEmail()
         Associated email, such as "foo@google.com".
        
         The email address of the authenticated user or a service account acting on
         behalf of a 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 Access.Builder setPrincipalEmailBytes​(com.google.protobuf.ByteString value)
         Associated email, such as "foo@google.com".
        
         The email address of the authenticated user or a service account acting on
         behalf of a 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.
      • getCallerIp

        public String getCallerIp()
         Caller's IP address, such as "1.1.1.1".
         
        string caller_ip = 2;
        Specified by:
        getCallerIp in interface AccessOrBuilder
        Returns:
        The callerIp.
      • getCallerIpBytes

        public com.google.protobuf.ByteString getCallerIpBytes()
         Caller's IP address, such as "1.1.1.1".
         
        string caller_ip = 2;
        Specified by:
        getCallerIpBytes in interface AccessOrBuilder
        Returns:
        The bytes for callerIp.
      • setCallerIp

        public Access.Builder setCallerIp​(String value)
         Caller's IP address, such as "1.1.1.1".
         
        string caller_ip = 2;
        Parameters:
        value - The callerIp to set.
        Returns:
        This builder for chaining.
      • clearCallerIp

        public Access.Builder clearCallerIp()
         Caller's IP address, such as "1.1.1.1".
         
        string caller_ip = 2;
        Returns:
        This builder for chaining.
      • setCallerIpBytes

        public Access.Builder setCallerIpBytes​(com.google.protobuf.ByteString value)
         Caller's IP address, such as "1.1.1.1".
         
        string caller_ip = 2;
        Parameters:
        value - The bytes for callerIp to set.
        Returns:
        This builder for chaining.
      • hasCallerIpGeo

        public boolean hasCallerIpGeo()
         The caller IP's geolocation, which identifies where the call came from.
         
        .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
        Specified by:
        hasCallerIpGeo in interface AccessOrBuilder
        Returns:
        Whether the callerIpGeo field is set.
      • getCallerIpGeo

        public Geolocation getCallerIpGeo()
         The caller IP's geolocation, which identifies where the call came from.
         
        .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
        Specified by:
        getCallerIpGeo in interface AccessOrBuilder
        Returns:
        The callerIpGeo.
      • setCallerIpGeo

        public Access.Builder setCallerIpGeo​(Geolocation value)
         The caller IP's geolocation, which identifies where the call came from.
         
        .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
      • setCallerIpGeo

        public Access.Builder setCallerIpGeo​(Geolocation.Builder builderForValue)
         The caller IP's geolocation, which identifies where the call came from.
         
        .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
      • mergeCallerIpGeo

        public Access.Builder mergeCallerIpGeo​(Geolocation value)
         The caller IP's geolocation, which identifies where the call came from.
         
        .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
      • clearCallerIpGeo

        public Access.Builder clearCallerIpGeo()
         The caller IP's geolocation, which identifies where the call came from.
         
        .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
      • getCallerIpGeoBuilder

        public Geolocation.Builder getCallerIpGeoBuilder()
         The caller IP's geolocation, which identifies where the call came from.
         
        .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
      • getUserAgentFamily

        public String getUserAgentFamily()
         Type of user agent associated with the finding. For example, an operating
         system shell or an embedded or standalone application.
         
        string user_agent_family = 4;
        Specified by:
        getUserAgentFamily in interface AccessOrBuilder
        Returns:
        The userAgentFamily.
      • getUserAgentFamilyBytes

        public com.google.protobuf.ByteString getUserAgentFamilyBytes()
         Type of user agent associated with the finding. For example, an operating
         system shell or an embedded or standalone application.
         
        string user_agent_family = 4;
        Specified by:
        getUserAgentFamilyBytes in interface AccessOrBuilder
        Returns:
        The bytes for userAgentFamily.
      • setUserAgentFamily

        public Access.Builder setUserAgentFamily​(String value)
         Type of user agent associated with the finding. For example, an operating
         system shell or an embedded or standalone application.
         
        string user_agent_family = 4;
        Parameters:
        value - The userAgentFamily to set.
        Returns:
        This builder for chaining.
      • clearUserAgentFamily

        public Access.Builder clearUserAgentFamily()
         Type of user agent associated with the finding. For example, an operating
         system shell or an embedded or standalone application.
         
        string user_agent_family = 4;
        Returns:
        This builder for chaining.
      • setUserAgentFamilyBytes

        public Access.Builder setUserAgentFamilyBytes​(com.google.protobuf.ByteString value)
         Type of user agent associated with the finding. For example, an operating
         system shell or an embedded or standalone application.
         
        string user_agent_family = 4;
        Parameters:
        value - The bytes for userAgentFamily to set.
        Returns:
        This builder for chaining.
      • getUserAgent

        public String getUserAgent()
         The caller's user agent string associated with the finding.
         
        string user_agent = 12;
        Specified by:
        getUserAgent in interface AccessOrBuilder
        Returns:
        The userAgent.
      • getUserAgentBytes

        public com.google.protobuf.ByteString getUserAgentBytes()
         The caller's user agent string associated with the finding.
         
        string user_agent = 12;
        Specified by:
        getUserAgentBytes in interface AccessOrBuilder
        Returns:
        The bytes for userAgent.
      • setUserAgent

        public Access.Builder setUserAgent​(String value)
         The caller's user agent string associated with the finding.
         
        string user_agent = 12;
        Parameters:
        value - The userAgent to set.
        Returns:
        This builder for chaining.
      • clearUserAgent

        public Access.Builder clearUserAgent()
         The caller's user agent string associated with the finding.
         
        string user_agent = 12;
        Returns:
        This builder for chaining.
      • setUserAgentBytes

        public Access.Builder setUserAgentBytes​(com.google.protobuf.ByteString value)
         The caller's user agent string associated with the finding.
         
        string user_agent = 12;
        Parameters:
        value - The bytes for userAgent to set.
        Returns:
        This builder for chaining.
      • getServiceName

        public String getServiceName()
         This is the API service that the service account made a call to, e.g.
         "iam.googleapis.com"
         
        string service_name = 5;
        Specified by:
        getServiceName in interface AccessOrBuilder
        Returns:
        The serviceName.
      • getServiceNameBytes

        public com.google.protobuf.ByteString getServiceNameBytes()
         This is the API service that the service account made a call to, e.g.
         "iam.googleapis.com"
         
        string service_name = 5;
        Specified by:
        getServiceNameBytes in interface AccessOrBuilder
        Returns:
        The bytes for serviceName.
      • setServiceName

        public Access.Builder setServiceName​(String value)
         This is the API service that the service account made a call to, e.g.
         "iam.googleapis.com"
         
        string service_name = 5;
        Parameters:
        value - The serviceName to set.
        Returns:
        This builder for chaining.
      • clearServiceName

        public Access.Builder clearServiceName()
         This is the API service that the service account made a call to, e.g.
         "iam.googleapis.com"
         
        string service_name = 5;
        Returns:
        This builder for chaining.
      • setServiceNameBytes

        public Access.Builder setServiceNameBytes​(com.google.protobuf.ByteString value)
         This is the API service that the service account made a call to, e.g.
         "iam.googleapis.com"
         
        string service_name = 5;
        Parameters:
        value - The bytes for serviceName to set.
        Returns:
        This builder for chaining.
      • getMethodName

        public String getMethodName()
         The method that the service account called, e.g. "SetIamPolicy".
         
        string method_name = 6;
        Specified by:
        getMethodName in interface AccessOrBuilder
        Returns:
        The methodName.
      • getMethodNameBytes

        public com.google.protobuf.ByteString getMethodNameBytes()
         The method that the service account called, e.g. "SetIamPolicy".
         
        string method_name = 6;
        Specified by:
        getMethodNameBytes in interface AccessOrBuilder
        Returns:
        The bytes for methodName.
      • setMethodName

        public Access.Builder setMethodName​(String value)
         The method that the service account called, e.g. "SetIamPolicy".
         
        string method_name = 6;
        Parameters:
        value - The methodName to set.
        Returns:
        This builder for chaining.
      • clearMethodName

        public Access.Builder clearMethodName()
         The method that the service account called, e.g. "SetIamPolicy".
         
        string method_name = 6;
        Returns:
        This builder for chaining.
      • setMethodNameBytes

        public Access.Builder setMethodNameBytes​(com.google.protobuf.ByteString value)
         The method that the service account called, e.g. "SetIamPolicy".
         
        string method_name = 6;
        Parameters:
        value - The bytes for methodName to set.
        Returns:
        This builder for chaining.
      • getPrincipalSubject

        public String getPrincipalSubject()
         A string that represents the principal_subject that is associated with the
         identity. Unlike `principal_email`, `principal_subject` supports principals
         that aren't associated with email addresses, such as third party
         principals. For most identities, the format is
         `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`.
         Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD,
         still use the legacy format `serviceAccount:{identity pool
         name}[{subject}]`.
         
        string principal_subject = 7;
        Specified by:
        getPrincipalSubject in interface AccessOrBuilder
        Returns:
        The principalSubject.
      • getPrincipalSubjectBytes

        public com.google.protobuf.ByteString getPrincipalSubjectBytes()
         A string that represents the principal_subject that is associated with the
         identity. Unlike `principal_email`, `principal_subject` supports principals
         that aren't associated with email addresses, such as third party
         principals. For most identities, the format is
         `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`.
         Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD,
         still use the legacy format `serviceAccount:{identity pool
         name}[{subject}]`.
         
        string principal_subject = 7;
        Specified by:
        getPrincipalSubjectBytes in interface AccessOrBuilder
        Returns:
        The bytes for principalSubject.
      • setPrincipalSubject

        public Access.Builder setPrincipalSubject​(String value)
         A string that represents the principal_subject that is associated with the
         identity. Unlike `principal_email`, `principal_subject` supports principals
         that aren't associated with email addresses, such as third party
         principals. For most identities, the format is
         `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`.
         Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD,
         still use the legacy format `serviceAccount:{identity pool
         name}[{subject}]`.
         
        string principal_subject = 7;
        Parameters:
        value - The principalSubject to set.
        Returns:
        This builder for chaining.
      • clearPrincipalSubject

        public Access.Builder clearPrincipalSubject()
         A string that represents the principal_subject that is associated with the
         identity. Unlike `principal_email`, `principal_subject` supports principals
         that aren't associated with email addresses, such as third party
         principals. For most identities, the format is
         `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`.
         Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD,
         still use the legacy format `serviceAccount:{identity pool
         name}[{subject}]`.
         
        string principal_subject = 7;
        Returns:
        This builder for chaining.
      • setPrincipalSubjectBytes

        public Access.Builder setPrincipalSubjectBytes​(com.google.protobuf.ByteString value)
         A string that represents the principal_subject that is associated with the
         identity. Unlike `principal_email`, `principal_subject` supports principals
         that aren't associated with email addresses, such as third party
         principals. For most identities, the format is
         `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`.
         Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD,
         still use the legacy format `serviceAccount:{identity pool
         name}[{subject}]`.
         
        string principal_subject = 7;
        Parameters:
        value - The bytes for principalSubject to set.
        Returns:
        This builder for chaining.
      • getServiceAccountKeyName

        public String getServiceAccountKeyName()
         The name of the service account key that was used to create or exchange
         credentials when authenticating the service account that made 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 = 8;
        Specified by:
        getServiceAccountKeyName in interface AccessOrBuilder
        Returns:
        The serviceAccountKeyName.
      • getServiceAccountKeyNameBytes

        public com.google.protobuf.ByteString getServiceAccountKeyNameBytes()
         The name of the service account key that was used to create or exchange
         credentials when authenticating the service account that made 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 = 8;
        Specified by:
        getServiceAccountKeyNameBytes in interface AccessOrBuilder
        Returns:
        The bytes for serviceAccountKeyName.
      • setServiceAccountKeyName

        public Access.Builder setServiceAccountKeyName​(String value)
         The name of the service account key that was used to create or exchange
         credentials when authenticating the service account that made 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 = 8;
        Parameters:
        value - The serviceAccountKeyName to set.
        Returns:
        This builder for chaining.
      • clearServiceAccountKeyName

        public Access.Builder clearServiceAccountKeyName()
         The name of the service account key that was used to create or exchange
         credentials when authenticating the service account that made 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 = 8;
        Returns:
        This builder for chaining.
      • setServiceAccountKeyNameBytes

        public Access.Builder setServiceAccountKeyNameBytes​(com.google.protobuf.ByteString value)
         The name of the service account key that was used to create or exchange
         credentials when authenticating the service account that made 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 = 8;
        Parameters:
        value - The bytes for serviceAccountKeyName to set.
        Returns:
        This builder for chaining.
      • getServiceAccountDelegationInfoList

        public List<ServiceAccountDelegationInfo> getServiceAccountDelegationInfoList()
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
        Specified by:
        getServiceAccountDelegationInfoList in interface AccessOrBuilder
      • getServiceAccountDelegationInfoCount

        public int getServiceAccountDelegationInfoCount()
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
        Specified by:
        getServiceAccountDelegationInfoCount in interface AccessOrBuilder
      • getServiceAccountDelegationInfo

        public ServiceAccountDelegationInfo getServiceAccountDelegationInfo​(int index)
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
        Specified by:
        getServiceAccountDelegationInfo in interface AccessOrBuilder
      • setServiceAccountDelegationInfo

        public Access.Builder setServiceAccountDelegationInfo​(int index,
                                                              ServiceAccountDelegationInfo value)
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
      • setServiceAccountDelegationInfo

        public Access.Builder setServiceAccountDelegationInfo​(int index,
                                                              ServiceAccountDelegationInfo.Builder builderForValue)
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
      • addServiceAccountDelegationInfo

        public Access.Builder addServiceAccountDelegationInfo​(ServiceAccountDelegationInfo value)
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
      • addServiceAccountDelegationInfo

        public Access.Builder addServiceAccountDelegationInfo​(int index,
                                                              ServiceAccountDelegationInfo value)
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
      • addServiceAccountDelegationInfo

        public Access.Builder addServiceAccountDelegationInfo​(ServiceAccountDelegationInfo.Builder builderForValue)
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
      • addServiceAccountDelegationInfo

        public Access.Builder addServiceAccountDelegationInfo​(int index,
                                                              ServiceAccountDelegationInfo.Builder builderForValue)
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
      • addAllServiceAccountDelegationInfo

        public Access.Builder addAllServiceAccountDelegationInfo​(Iterable<? extends ServiceAccountDelegationInfo> values)
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
      • clearServiceAccountDelegationInfo

        public Access.Builder clearServiceAccountDelegationInfo()
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
      • removeServiceAccountDelegationInfo

        public Access.Builder removeServiceAccountDelegationInfo​(int index)
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
      • getServiceAccountDelegationInfoBuilder

        public ServiceAccountDelegationInfo.Builder getServiceAccountDelegationInfoBuilder​(int index)
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
      • getServiceAccountDelegationInfoOrBuilder

        public ServiceAccountDelegationInfoOrBuilder getServiceAccountDelegationInfoOrBuilder​(int index)
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
        Specified by:
        getServiceAccountDelegationInfoOrBuilder in interface AccessOrBuilder
      • getServiceAccountDelegationInfoOrBuilderList

        public List<? extends ServiceAccountDelegationInfoOrBuilder> getServiceAccountDelegationInfoOrBuilderList()
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
        Specified by:
        getServiceAccountDelegationInfoOrBuilderList in interface AccessOrBuilder
      • addServiceAccountDelegationInfoBuilder

        public ServiceAccountDelegationInfo.Builder addServiceAccountDelegationInfoBuilder()
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
      • addServiceAccountDelegationInfoBuilder

        public ServiceAccountDelegationInfo.Builder addServiceAccountDelegationInfoBuilder​(int index)
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
      • getServiceAccountDelegationInfoBuilderList

        public List<ServiceAccountDelegationInfo.Builder> getServiceAccountDelegationInfoBuilderList()
         The identity delegation history of an authenticated service account that
         made the request. The `serviceAccountDelegationInfo[]` object contains
         information about the real authorities that try to access Google Cloud
         resources by delegating on a service account. When multiple authorities are
         present, they are guaranteed to be sorted based on the original ordering of
         the identity delegation events.
         
        repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
      • getUserName

        public String getUserName()
         A string that represents a username. The username provided depends on the
         type of the finding and is likely not an IAM principal. For example, this
         can be a system username if the finding is related to a virtual machine, or
         it can be an application login username.
         
        string user_name = 11;
        Specified by:
        getUserName in interface AccessOrBuilder
        Returns:
        The userName.
      • getUserNameBytes

        public com.google.protobuf.ByteString getUserNameBytes()
         A string that represents a username. The username provided depends on the
         type of the finding and is likely not an IAM principal. For example, this
         can be a system username if the finding is related to a virtual machine, or
         it can be an application login username.
         
        string user_name = 11;
        Specified by:
        getUserNameBytes in interface AccessOrBuilder
        Returns:
        The bytes for userName.
      • setUserName

        public Access.Builder setUserName​(String value)
         A string that represents a username. The username provided depends on the
         type of the finding and is likely not an IAM principal. For example, this
         can be a system username if the finding is related to a virtual machine, or
         it can be an application login username.
         
        string user_name = 11;
        Parameters:
        value - The userName to set.
        Returns:
        This builder for chaining.
      • clearUserName

        public Access.Builder clearUserName()
         A string that represents a username. The username provided depends on the
         type of the finding and is likely not an IAM principal. For example, this
         can be a system username if the finding is related to a virtual machine, or
         it can be an application login username.
         
        string user_name = 11;
        Returns:
        This builder for chaining.
      • setUserNameBytes

        public Access.Builder setUserNameBytes​(com.google.protobuf.ByteString value)
         A string that represents a username. The username provided depends on the
         type of the finding and is likely not an IAM principal. For example, this
         can be a system username if the finding is related to a virtual machine, or
         it can be an application login username.
         
        string user_name = 11;
        Parameters:
        value - The bytes for userName to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Access.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<Access.Builder>
      • mergeUnknownFields

        public final Access.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<Access.Builder>