Class ServiceAccountDelegationInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.cloud.audit.ServiceAccountDelegationInfo
All Implemented Interfaces:
ServiceAccountDelegationInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class ServiceAccountDelegationInfo extends com.google.protobuf.GeneratedMessageV3 implements ServiceAccountDelegationInfoOrBuilder
 Identity delegation history of an authenticated service account.
 
Protobuf type google.cloud.audit.ServiceAccountDelegationInfo
See Also:
  • Field Details

    • PRINCIPAL_SUBJECT_FIELD_NUMBER

      public static final int PRINCIPAL_SUBJECT_FIELD_NUMBER
      See Also:
    • FIRST_PARTY_PRINCIPAL_FIELD_NUMBER

      public static final int FIRST_PARTY_PRINCIPAL_FIELD_NUMBER
      See Also:
    • THIRD_PARTY_PRINCIPAL_FIELD_NUMBER

      public static final int THIRD_PARTY_PRINCIPAL_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getAuthorityCase

      public ServiceAccountDelegationInfo.AuthorityCase getAuthorityCase()
      Specified by:
      getAuthorityCase in interface ServiceAccountDelegationInfoOrBuilder
    • getPrincipalSubject

      public String getPrincipalSubject()
       A string representing the principal_subject associated with the identity.
       For most identities, the format will be
       `principal://iam.googleapis.com/{identity pool name}/subject/{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 = 3;
      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.
       For most identities, the format will be
       `principal://iam.googleapis.com/{identity pool name}/subject/{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 = 3;
      Specified by:
      getPrincipalSubjectBytes in interface ServiceAccountDelegationInfoOrBuilder
      Returns:
      The bytes for principalSubject.
    • hasFirstPartyPrincipal

      public boolean hasFirstPartyPrincipal()
       First party (Google) identity as the real authority.
       
      .google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
      Specified by:
      hasFirstPartyPrincipal in interface ServiceAccountDelegationInfoOrBuilder
      Returns:
      Whether the firstPartyPrincipal field is set.
    • getFirstPartyPrincipal

      public ServiceAccountDelegationInfo.FirstPartyPrincipal getFirstPartyPrincipal()
       First party (Google) identity as the real authority.
       
      .google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
      Specified by:
      getFirstPartyPrincipal in interface ServiceAccountDelegationInfoOrBuilder
      Returns:
      The firstPartyPrincipal.
    • getFirstPartyPrincipalOrBuilder

      public ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder getFirstPartyPrincipalOrBuilder()
       First party (Google) identity as the real authority.
       
      .google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
      Specified by:
      getFirstPartyPrincipalOrBuilder in interface ServiceAccountDelegationInfoOrBuilder
    • hasThirdPartyPrincipal

      public boolean hasThirdPartyPrincipal()
       Third party identity as the real authority.
       
      .google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
      Specified by:
      hasThirdPartyPrincipal in interface ServiceAccountDelegationInfoOrBuilder
      Returns:
      Whether the thirdPartyPrincipal field is set.
    • getThirdPartyPrincipal

      public ServiceAccountDelegationInfo.ThirdPartyPrincipal getThirdPartyPrincipal()
       Third party identity as the real authority.
       
      .google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
      Specified by:
      getThirdPartyPrincipal in interface ServiceAccountDelegationInfoOrBuilder
      Returns:
      The thirdPartyPrincipal.
    • getThirdPartyPrincipalOrBuilder

      public ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder getThirdPartyPrincipalOrBuilder()
       Third party identity as the real authority.
       
      .google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
      Specified by:
      getThirdPartyPrincipalOrBuilder in interface ServiceAccountDelegationInfoOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ServiceAccountDelegationInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceAccountDelegationInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceAccountDelegationInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceAccountDelegationInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceAccountDelegationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceAccountDelegationInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceAccountDelegationInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceAccountDelegationInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServiceAccountDelegationInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServiceAccountDelegationInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceAccountDelegationInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceAccountDelegationInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ServiceAccountDelegationInfo.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ServiceAccountDelegationInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ServiceAccountDelegationInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ServiceAccountDelegationInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<ServiceAccountDelegationInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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