Package com.google.cloud.audit
Class AuthenticationInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.audit.AuthenticationInfo
- All Implemented Interfaces:
AuthenticationInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AuthenticationInfo
extends com.google.protobuf.GeneratedMessage
implements AuthenticationInfoOrBuilder
Authentication information for the operation.Protobuf type
google.cloud.audit.AuthenticationInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAuthentication information for the operation.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe authority selector specified by the requestor, if any.com.google.protobuf.ByteStringThe authority selector specified by the requestor, if any.static AuthenticationInfostatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<AuthenticationInfo>The email address of the authenticated user (or service account on behalf of third party principal) making the request.com.google.protobuf.ByteStringThe email address of the authenticated user (or service account on behalf of third party principal) making the request.String representation of identity of requesting party.com.google.protobuf.ByteStringString representation of identity of requesting party.intgetServiceAccountDelegationInfo(int index) Identity delegation history of an authenticated service account that makes the request.intIdentity delegation history of an authenticated service account that makes the request.Identity delegation history of an authenticated service account that makes the request.getServiceAccountDelegationInfoOrBuilder(int index) Identity delegation history of an authenticated service account that makes the request.List<? extends ServiceAccountDelegationInfoOrBuilder>Identity delegation history of an authenticated service account that makes the request.The name of the service account key used to create or exchange credentials for authenticating the service account making the request.com.google.protobuf.ByteStringThe name of the service account key used to create or exchange credentials for authenticating the service account making the request.com.google.protobuf.StructThe third party identification (if any) of the authenticated user making the request.com.google.protobuf.StructOrBuilderThe third party identification (if any) of the authenticated user making the request.inthashCode()booleanThe third party identification (if any) of the authenticated user making the request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic AuthenticationInfo.Builderstatic AuthenticationInfo.BuildernewBuilder(AuthenticationInfo prototype) protected AuthenticationInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AuthenticationInfoparseDelimitedFrom(InputStream input) static AuthenticationInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AuthenticationInfoparseFrom(byte[] data) static AuthenticationInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AuthenticationInfoparseFrom(com.google.protobuf.ByteString data) static AuthenticationInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AuthenticationInfoparseFrom(com.google.protobuf.CodedInputStream input) static AuthenticationInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AuthenticationInfoparseFrom(InputStream input) static AuthenticationInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AuthenticationInfoparseFrom(ByteBuffer data) static AuthenticationInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AuthenticationInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PRINCIPAL_EMAIL_FIELD_NUMBER
public static final int PRINCIPAL_EMAIL_FIELD_NUMBER- See Also:
-
AUTHORITY_SELECTOR_FIELD_NUMBER
public static final int AUTHORITY_SELECTOR_FIELD_NUMBER- See Also:
-
THIRD_PARTY_PRINCIPAL_FIELD_NUMBER
public static final int THIRD_PARTY_PRINCIPAL_FIELD_NUMBER- See Also:
-
SERVICE_ACCOUNT_KEY_NAME_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_KEY_NAME_FIELD_NUMBER- See Also:
-
SERVICE_ACCOUNT_DELEGATION_INFO_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_DELEGATION_INFO_FIELD_NUMBER- See Also:
-
PRINCIPAL_SUBJECT_FIELD_NUMBER
public static final int PRINCIPAL_SUBJECT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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:
getPrincipalEmailin interfaceAuthenticationInfoOrBuilder- 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:
getPrincipalEmailBytesin interfaceAuthenticationInfoOrBuilder- Returns:
- The bytes for principalEmail.
-
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:
getAuthoritySelectorin interfaceAuthenticationInfoOrBuilder- 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:
getAuthoritySelectorBytesin interfaceAuthenticationInfoOrBuilder- Returns:
- The bytes for authoritySelector.
-
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:
hasThirdPartyPrincipalin interfaceAuthenticationInfoOrBuilder- 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:
getThirdPartyPrincipalin interfaceAuthenticationInfoOrBuilder- Returns:
- The thirdPartyPrincipal.
-
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:
getThirdPartyPrincipalOrBuilderin interfaceAuthenticationInfoOrBuilder
-
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:
getServiceAccountKeyNamein interfaceAuthenticationInfoOrBuilder- 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:
getServiceAccountKeyNameBytesin interfaceAuthenticationInfoOrBuilder- Returns:
- The bytes for serviceAccountKeyName.
-
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:
getServiceAccountDelegationInfoListin interfaceAuthenticationInfoOrBuilder
-
getServiceAccountDelegationInfoOrBuilderList
public 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:
getServiceAccountDelegationInfoOrBuilderListin interfaceAuthenticationInfoOrBuilder
-
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:
getServiceAccountDelegationInfoCountin interfaceAuthenticationInfoOrBuilder
-
getServiceAccountDelegationInfo
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:
getServiceAccountDelegationInfoin interfaceAuthenticationInfoOrBuilder
-
getServiceAccountDelegationInfoOrBuilder
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:
getServiceAccountDelegationInfoOrBuilderin interfaceAuthenticationInfoOrBuilder
-
getPrincipalSubject
String representation of identity of requesting party. Populated for both first and third party identities.
string principal_subject = 8;- Specified by:
getPrincipalSubjectin interfaceAuthenticationInfoOrBuilder- 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:
getPrincipalSubjectBytesin interfaceAuthenticationInfoOrBuilder- Returns:
- The bytes for principalSubject.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 AuthenticationInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuthenticationInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuthenticationInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuthenticationInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuthenticationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuthenticationInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AuthenticationInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AuthenticationInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AuthenticationInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AuthenticationInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AuthenticationInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-