Package com.google.cloud.audit
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 typegoogle.cloud.audit.ServiceAccountDelegationInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceAccountDelegationInfo.AuthorityCasestatic classServiceAccountDelegationInfo.BuilderIdentity delegation history of an authenticated service account.static classServiceAccountDelegationInfo.FirstPartyPrincipalFirst party identity principal.static interfaceServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilderstatic classServiceAccountDelegationInfo.ThirdPartyPrincipalThird party identity principal.static interfaceServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intFIRST_PARTY_PRINCIPAL_FIELD_NUMBERstatic intPRINCIPAL_SUBJECT_FIELD_NUMBERstatic intTHIRD_PARTY_PRINCIPAL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ServiceAccountDelegationInfo.AuthorityCasegetAuthorityCase()static ServiceAccountDelegationInfogetDefaultInstance()ServiceAccountDelegationInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ServiceAccountDelegationInfo.FirstPartyPrincipalgetFirstPartyPrincipal()First party (Google) identity as the real authority.ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuildergetFirstPartyPrincipalOrBuilder()First party (Google) identity as the real authority.com.google.protobuf.Parser<ServiceAccountDelegationInfo>getParserForType()StringgetPrincipalSubject()A string representing the principal_subject associated with the identity.com.google.protobuf.ByteStringgetPrincipalSubjectBytes()A string representing the principal_subject associated with the identity.intgetSerializedSize()ServiceAccountDelegationInfo.ThirdPartyPrincipalgetThirdPartyPrincipal()Third party identity as the real authority.ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuildergetThirdPartyPrincipalOrBuilder()Third party identity as the real authority.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasFirstPartyPrincipal()First party (Google) identity as the real authority.inthashCode()booleanhasThirdPartyPrincipal()Third party identity as the real authority.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ServiceAccountDelegationInfo.BuildernewBuilder()static ServiceAccountDelegationInfo.BuildernewBuilder(ServiceAccountDelegationInfo prototype)ServiceAccountDelegationInfo.BuildernewBuilderForType()protected ServiceAccountDelegationInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ServiceAccountDelegationInfoparseDelimitedFrom(InputStream input)static ServiceAccountDelegationInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServiceAccountDelegationInfoparseFrom(byte[] data)static ServiceAccountDelegationInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServiceAccountDelegationInfoparseFrom(com.google.protobuf.ByteString data)static ServiceAccountDelegationInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServiceAccountDelegationInfoparseFrom(com.google.protobuf.CodedInputStream input)static ServiceAccountDelegationInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServiceAccountDelegationInfoparseFrom(InputStream input)static ServiceAccountDelegationInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServiceAccountDelegationInfoparseFrom(ByteBuffer data)static ServiceAccountDelegationInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ServiceAccountDelegationInfo>parser()ServiceAccountDelegationInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PRINCIPAL_SUBJECT_FIELD_NUMBER
public static final int PRINCIPAL_SUBJECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIRST_PARTY_PRINCIPAL_FIELD_NUMBER
public static final int FIRST_PARTY_PRINCIPAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
THIRD_PARTY_PRINCIPAL_FIELD_NUMBER
public static final int THIRD_PARTY_PRINCIPAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getAuthorityCase
public ServiceAccountDelegationInfo.AuthorityCase getAuthorityCase()
- Specified by:
getAuthorityCasein interfaceServiceAccountDelegationInfoOrBuilder
-
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:
getPrincipalSubjectin interfaceServiceAccountDelegationInfoOrBuilder- 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:
getPrincipalSubjectBytesin interfaceServiceAccountDelegationInfoOrBuilder- 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:
hasFirstPartyPrincipalin interfaceServiceAccountDelegationInfoOrBuilder- 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:
getFirstPartyPrincipalin interfaceServiceAccountDelegationInfoOrBuilder- 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:
getFirstPartyPrincipalOrBuilderin interfaceServiceAccountDelegationInfoOrBuilder
-
hasThirdPartyPrincipal
public boolean hasThirdPartyPrincipal()
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;- Specified by:
hasThirdPartyPrincipalin interfaceServiceAccountDelegationInfoOrBuilder- 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:
getThirdPartyPrincipalin interfaceServiceAccountDelegationInfoOrBuilder- 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:
getThirdPartyPrincipalOrBuilderin interfaceServiceAccountDelegationInfoOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ServiceAccountDelegationInfo.Builder newBuilder()
-
newBuilder
public static ServiceAccountDelegationInfo.Builder newBuilder(ServiceAccountDelegationInfo prototype)
-
toBuilder
public ServiceAccountDelegationInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ServiceAccountDelegationInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ServiceAccountDelegationInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-