Class ServiceAccountDelegationInfo.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<ServiceAccountDelegationInfo.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<ServiceAccountDelegationInfo.Builder>
      • getDefaultInstanceForType

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

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

        public ServiceAccountDelegationInfo 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<ServiceAccountDelegationInfo.Builder>
      • mergeFrom

        public ServiceAccountDelegationInfo.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<ServiceAccountDelegationInfo.Builder>
        Throws:
        IOException
      • setPrincipalEmail

        public ServiceAccountDelegationInfo.Builder setPrincipalEmail​(String value)
         The email address of a Google account.
         
        string principal_email = 1;
        Parameters:
        value - The principalEmail to set.
        Returns:
        This builder for chaining.
      • clearPrincipalEmail

        public ServiceAccountDelegationInfo.Builder clearPrincipalEmail()
         The email address of a Google account.
         
        string principal_email = 1;
        Returns:
        This builder for chaining.
      • setPrincipalEmailBytes

        public ServiceAccountDelegationInfo.Builder setPrincipalEmailBytes​(com.google.protobuf.ByteString value)
         The email address of a Google account.
         
        string principal_email = 1;
        Parameters:
        value - The bytes for principalEmail to set.
        Returns:
        This builder for chaining.
      • getPrincipalSubject

        public String getPrincipalSubject()
         A string representing the principal_subject associated with the identity.
         As compared to `principal_email`, supports principals that aren't
         associated with email addresses, such as third party principals. For most
         identities, the format will be `principal://iam.googleapis.com/{identity
         pool name}/subjects/{subject}` except for some GKE identities
         (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy
         format `serviceAccount:{identity pool name}[{subject}]`
         
        string principal_subject = 2;
        Specified by:
        getPrincipalSubject in interface ServiceAccountDelegationInfoOrBuilder
        Returns:
        The principalSubject.
      • getPrincipalSubjectBytes

        public com.google.protobuf.ByteString getPrincipalSubjectBytes()
         A string representing the principal_subject associated with the identity.
         As compared to `principal_email`, supports principals that aren't
         associated with email addresses, such as third party principals. For most
         identities, the format will be `principal://iam.googleapis.com/{identity
         pool name}/subjects/{subject}` except for some GKE identities
         (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy
         format `serviceAccount:{identity pool name}[{subject}]`
         
        string principal_subject = 2;
        Specified by:
        getPrincipalSubjectBytes in interface ServiceAccountDelegationInfoOrBuilder
        Returns:
        The bytes for principalSubject.
      • setPrincipalSubject

        public ServiceAccountDelegationInfo.Builder setPrincipalSubject​(String value)
         A string representing the principal_subject associated with the identity.
         As compared to `principal_email`, supports principals that aren't
         associated with email addresses, such as third party principals. For most
         identities, the format will be `principal://iam.googleapis.com/{identity
         pool name}/subjects/{subject}` except for some GKE identities
         (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy
         format `serviceAccount:{identity pool name}[{subject}]`
         
        string principal_subject = 2;
        Parameters:
        value - The principalSubject to set.
        Returns:
        This builder for chaining.
      • clearPrincipalSubject

        public ServiceAccountDelegationInfo.Builder clearPrincipalSubject()
         A string representing the principal_subject associated with the identity.
         As compared to `principal_email`, supports principals that aren't
         associated with email addresses, such as third party principals. For most
         identities, the format will be `principal://iam.googleapis.com/{identity
         pool name}/subjects/{subject}` except for some GKE identities
         (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy
         format `serviceAccount:{identity pool name}[{subject}]`
         
        string principal_subject = 2;
        Returns:
        This builder for chaining.
      • setPrincipalSubjectBytes

        public ServiceAccountDelegationInfo.Builder setPrincipalSubjectBytes​(com.google.protobuf.ByteString value)
         A string representing the principal_subject associated with the identity.
         As compared to `principal_email`, supports principals that aren't
         associated with email addresses, such as third party principals. For most
         identities, the format will be `principal://iam.googleapis.com/{identity
         pool name}/subjects/{subject}` except for some GKE identities
         (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy
         format `serviceAccount:{identity pool name}[{subject}]`
         
        string principal_subject = 2;
        Parameters:
        value - The bytes for principalSubject to set.
        Returns:
        This builder for chaining.