Package com.google.cloud.audit
Class AuthenticationInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
-
- com.google.cloud.audit.AuthenticationInfo.Builder
-
- All Implemented Interfaces:
AuthenticationInfoOrBuilder
,com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- AuthenticationInfo
public static final class AuthenticationInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder> implements AuthenticationInfoOrBuilder
Authentication information for the operation.
Protobuf typegoogle.cloud.audit.AuthenticationInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationInfo.Builder
addAllServiceAccountDelegationInfo(java.lang.Iterable<? extends ServiceAccountDelegationInfo> values)
Identity delegation history of an authenticated service account that makes the request.AuthenticationInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AuthenticationInfo.Builder
addServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo value)
Identity delegation history of an authenticated service account that makes the request.AuthenticationInfo.Builder
addServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo.Builder builderForValue)
Identity delegation history of an authenticated service account that makes the request.AuthenticationInfo.Builder
addServiceAccountDelegationInfo(ServiceAccountDelegationInfo value)
Identity delegation history of an authenticated service account that makes the request.AuthenticationInfo.Builder
addServiceAccountDelegationInfo(ServiceAccountDelegationInfo.Builder builderForValue)
Identity delegation history of an authenticated service account that makes the request.ServiceAccountDelegationInfo.Builder
addServiceAccountDelegationInfoBuilder()
Identity delegation history of an authenticated service account that makes the request.ServiceAccountDelegationInfo.Builder
addServiceAccountDelegationInfoBuilder(int index)
Identity delegation history of an authenticated service account that makes the request.AuthenticationInfo
build()
AuthenticationInfo
buildPartial()
AuthenticationInfo.Builder
clear()
AuthenticationInfo.Builder
clearAuthoritySelector()
The authority selector specified by the requestor, if any.AuthenticationInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AuthenticationInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AuthenticationInfo.Builder
clearPrincipalEmail()
The email address of the authenticated user (or service account on behalf of third party principal) making the request.AuthenticationInfo.Builder
clearPrincipalSubject()
String representation of identity of requesting party.AuthenticationInfo.Builder
clearServiceAccountDelegationInfo()
Identity delegation history of an authenticated service account that makes the request.AuthenticationInfo.Builder
clearServiceAccountKeyName()
The name of the service account key used to create or exchange credentials for authenticating the service account making the request.AuthenticationInfo.Builder
clearThirdPartyPrincipal()
The third party identification (if any) of the authenticated user making the request.AuthenticationInfo.Builder
clone()
java.lang.String
getAuthoritySelector()
The authority selector specified by the requestor, if any.com.google.protobuf.ByteString
getAuthoritySelectorBytes()
The authority selector specified by the requestor, if any.AuthenticationInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getPrincipalEmail()
The email address of the authenticated user (or service account on behalf of third party principal) making the request.com.google.protobuf.ByteString
getPrincipalEmailBytes()
The email address of the authenticated user (or service account on behalf of third party principal) making the request.java.lang.String
getPrincipalSubject()
String representation of identity of requesting party.com.google.protobuf.ByteString
getPrincipalSubjectBytes()
String representation of identity of requesting party.ServiceAccountDelegationInfo
getServiceAccountDelegationInfo(int index)
Identity delegation history of an authenticated service account that makes the request.ServiceAccountDelegationInfo.Builder
getServiceAccountDelegationInfoBuilder(int index)
Identity delegation history of an authenticated service account that makes the request.java.util.List<ServiceAccountDelegationInfo.Builder>
getServiceAccountDelegationInfoBuilderList()
Identity delegation history of an authenticated service account that makes the request.int
getServiceAccountDelegationInfoCount()
Identity delegation history of an authenticated service account that makes the request.java.util.List<ServiceAccountDelegationInfo>
getServiceAccountDelegationInfoList()
Identity delegation history of an authenticated service account that makes the request.ServiceAccountDelegationInfoOrBuilder
getServiceAccountDelegationInfoOrBuilder(int index)
Identity delegation history of an authenticated service account that makes the request.java.util.List<? extends ServiceAccountDelegationInfoOrBuilder>
getServiceAccountDelegationInfoOrBuilderList()
Identity delegation history of an authenticated service account that makes the request.java.lang.String
getServiceAccountKeyName()
The name of the service account key used to create or exchange credentials for authenticating the service account making the request.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.com.google.protobuf.Struct
getThirdPartyPrincipal()
The third party identification (if any) of the authenticated user making the request.com.google.protobuf.Struct.Builder
getThirdPartyPrincipalBuilder()
The third party identification (if any) of the authenticated user making the request.com.google.protobuf.StructOrBuilder
getThirdPartyPrincipalOrBuilder()
The third party identification (if any) of the authenticated user making the request.boolean
hasThirdPartyPrincipal()
The third party identification (if any) of the authenticated user making the request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AuthenticationInfo.Builder
mergeFrom(AuthenticationInfo other)
AuthenticationInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AuthenticationInfo.Builder
mergeFrom(com.google.protobuf.Message other)
AuthenticationInfo.Builder
mergeThirdPartyPrincipal(com.google.protobuf.Struct value)
The third party identification (if any) of the authenticated user making the request.AuthenticationInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AuthenticationInfo.Builder
removeServiceAccountDelegationInfo(int index)
Identity delegation history of an authenticated service account that makes the request.AuthenticationInfo.Builder
setAuthoritySelector(java.lang.String value)
The authority selector specified by the requestor, if any.AuthenticationInfo.Builder
setAuthoritySelectorBytes(com.google.protobuf.ByteString value)
The authority selector specified by the requestor, if any.AuthenticationInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AuthenticationInfo.Builder
setPrincipalEmail(java.lang.String value)
The email address of the authenticated user (or service account on behalf of third party principal) making the request.AuthenticationInfo.Builder
setPrincipalEmailBytes(com.google.protobuf.ByteString value)
The email address of the authenticated user (or service account on behalf of third party principal) making the request.AuthenticationInfo.Builder
setPrincipalSubject(java.lang.String value)
String representation of identity of requesting party.AuthenticationInfo.Builder
setPrincipalSubjectBytes(com.google.protobuf.ByteString value)
String representation of identity of requesting party.AuthenticationInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
AuthenticationInfo.Builder
setServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo value)
Identity delegation history of an authenticated service account that makes the request.AuthenticationInfo.Builder
setServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo.Builder builderForValue)
Identity delegation history of an authenticated service account that makes the request.AuthenticationInfo.Builder
setServiceAccountKeyName(java.lang.String value)
The name of the service account key used to create or exchange credentials for authenticating the service account making the request.AuthenticationInfo.Builder
setServiceAccountKeyNameBytes(com.google.protobuf.ByteString value)
The name of the service account key used to create or exchange credentials for authenticating the service account making the request.AuthenticationInfo.Builder
setThirdPartyPrincipal(com.google.protobuf.Struct value)
The third party identification (if any) of the authenticated user making the request.AuthenticationInfo.Builder
setThirdPartyPrincipal(com.google.protobuf.Struct.Builder builderForValue)
The third party identification (if any) of the authenticated user making the request.AuthenticationInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
getOneofFieldDescriptor, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Overrides:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
-
clear
public AuthenticationInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<AuthenticationInfo.Builder>
-
getDefaultInstanceForType
public AuthenticationInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AuthenticationInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AuthenticationInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AuthenticationInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
-
setField
public AuthenticationInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
-
clearField
public AuthenticationInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
-
clearOneof
public AuthenticationInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
-
setRepeatedField
public AuthenticationInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
-
addRepeatedField
public AuthenticationInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
-
mergeFrom
public AuthenticationInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AuthenticationInfo.Builder>
-
mergeFrom
public AuthenticationInfo.Builder mergeFrom(AuthenticationInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,AuthenticationInfo.Builder>
-
mergeFrom
public AuthenticationInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AuthenticationInfo.Builder>
- Throws:
java.io.IOException
-
getPrincipalEmail
public java.lang.String 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:
getPrincipalEmail
in 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:
getPrincipalEmailBytes
in interfaceAuthenticationInfoOrBuilder
- Returns:
- The bytes for principalEmail.
-
setPrincipalEmail
public AuthenticationInfo.Builder setPrincipalEmail(java.lang.String value)
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;
- Parameters:
value
- The principalEmail to set.- Returns:
- This builder for chaining.
-
clearPrincipalEmail
public AuthenticationInfo.Builder clearPrincipalEmail()
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;
- Returns:
- This builder for chaining.
-
setPrincipalEmailBytes
public AuthenticationInfo.Builder setPrincipalEmailBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for principalEmail to set.- Returns:
- This builder for chaining.
-
getAuthoritySelector
public java.lang.String 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:
getAuthoritySelector
in 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:
getAuthoritySelectorBytes
in interfaceAuthenticationInfoOrBuilder
- Returns:
- The bytes for authoritySelector.
-
setAuthoritySelector
public AuthenticationInfo.Builder setAuthoritySelector(java.lang.String value)
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;
- Parameters:
value
- The authoritySelector to set.- Returns:
- This builder for chaining.
-
clearAuthoritySelector
public AuthenticationInfo.Builder clearAuthoritySelector()
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;
- Returns:
- This builder for chaining.
-
setAuthoritySelectorBytes
public AuthenticationInfo.Builder setAuthoritySelectorBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for authoritySelector to set.- Returns:
- This builder for chaining.
-
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:
hasThirdPartyPrincipal
in 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:
getThirdPartyPrincipal
in interfaceAuthenticationInfoOrBuilder
- Returns:
- The thirdPartyPrincipal.
-
setThirdPartyPrincipal
public AuthenticationInfo.Builder setThirdPartyPrincipal(com.google.protobuf.Struct value)
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;
-
setThirdPartyPrincipal
public AuthenticationInfo.Builder setThirdPartyPrincipal(com.google.protobuf.Struct.Builder builderForValue)
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;
-
mergeThirdPartyPrincipal
public AuthenticationInfo.Builder mergeThirdPartyPrincipal(com.google.protobuf.Struct value)
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;
-
clearThirdPartyPrincipal
public AuthenticationInfo.Builder clearThirdPartyPrincipal()
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;
-
getThirdPartyPrincipalBuilder
public com.google.protobuf.Struct.Builder getThirdPartyPrincipalBuilder()
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;
-
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:
getThirdPartyPrincipalOrBuilder
in interfaceAuthenticationInfoOrBuilder
-
getServiceAccountKeyName
public java.lang.String 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:
getServiceAccountKeyName
in 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:
getServiceAccountKeyNameBytes
in interfaceAuthenticationInfoOrBuilder
- Returns:
- The bytes for serviceAccountKeyName.
-
setServiceAccountKeyName
public AuthenticationInfo.Builder setServiceAccountKeyName(java.lang.String value)
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;
- Parameters:
value
- The serviceAccountKeyName to set.- Returns:
- This builder for chaining.
-
clearServiceAccountKeyName
public AuthenticationInfo.Builder clearServiceAccountKeyName()
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;
- Returns:
- This builder for chaining.
-
setServiceAccountKeyNameBytes
public AuthenticationInfo.Builder setServiceAccountKeyNameBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for serviceAccountKeyName to set.- Returns:
- This builder for chaining.
-
getServiceAccountDelegationInfoList
public java.util.List<ServiceAccountDelegationInfo> 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:
getServiceAccountDelegationInfoList
in 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:
getServiceAccountDelegationInfoCount
in interfaceAuthenticationInfoOrBuilder
-
getServiceAccountDelegationInfo
public ServiceAccountDelegationInfo getServiceAccountDelegationInfo(int index)
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:
getServiceAccountDelegationInfo
in interfaceAuthenticationInfoOrBuilder
-
setServiceAccountDelegationInfo
public AuthenticationInfo.Builder setServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo value)
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;
-
setServiceAccountDelegationInfo
public AuthenticationInfo.Builder setServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo.Builder builderForValue)
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;
-
addServiceAccountDelegationInfo
public AuthenticationInfo.Builder addServiceAccountDelegationInfo(ServiceAccountDelegationInfo value)
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;
-
addServiceAccountDelegationInfo
public AuthenticationInfo.Builder addServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo value)
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;
-
addServiceAccountDelegationInfo
public AuthenticationInfo.Builder addServiceAccountDelegationInfo(ServiceAccountDelegationInfo.Builder builderForValue)
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;
-
addServiceAccountDelegationInfo
public AuthenticationInfo.Builder addServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo.Builder builderForValue)
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;
-
addAllServiceAccountDelegationInfo
public AuthenticationInfo.Builder addAllServiceAccountDelegationInfo(java.lang.Iterable<? extends ServiceAccountDelegationInfo> values)
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;
-
clearServiceAccountDelegationInfo
public AuthenticationInfo.Builder clearServiceAccountDelegationInfo()
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;
-
removeServiceAccountDelegationInfo
public AuthenticationInfo.Builder removeServiceAccountDelegationInfo(int index)
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;
-
getServiceAccountDelegationInfoBuilder
public ServiceAccountDelegationInfo.Builder getServiceAccountDelegationInfoBuilder(int index)
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;
-
getServiceAccountDelegationInfoOrBuilder
public ServiceAccountDelegationInfoOrBuilder getServiceAccountDelegationInfoOrBuilder(int index)
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:
getServiceAccountDelegationInfoOrBuilder
in interfaceAuthenticationInfoOrBuilder
-
getServiceAccountDelegationInfoOrBuilderList
public java.util.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:
getServiceAccountDelegationInfoOrBuilderList
in interfaceAuthenticationInfoOrBuilder
-
addServiceAccountDelegationInfoBuilder
public ServiceAccountDelegationInfo.Builder addServiceAccountDelegationInfoBuilder()
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;
-
addServiceAccountDelegationInfoBuilder
public ServiceAccountDelegationInfo.Builder addServiceAccountDelegationInfoBuilder(int index)
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;
-
getServiceAccountDelegationInfoBuilderList
public java.util.List<ServiceAccountDelegationInfo.Builder> getServiceAccountDelegationInfoBuilderList()
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;
-
getPrincipalSubject
public java.lang.String getPrincipalSubject()
String representation of identity of requesting party. Populated for both first and third party identities.
string principal_subject = 8;
- Specified by:
getPrincipalSubject
in 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:
getPrincipalSubjectBytes
in interfaceAuthenticationInfoOrBuilder
- Returns:
- The bytes for principalSubject.
-
setPrincipalSubject
public AuthenticationInfo.Builder setPrincipalSubject(java.lang.String value)
String representation of identity of requesting party. Populated for both first and third party identities.
string principal_subject = 8;
- Parameters:
value
- The principalSubject to set.- Returns:
- This builder for chaining.
-
clearPrincipalSubject
public AuthenticationInfo.Builder clearPrincipalSubject()
String representation of identity of requesting party. Populated for both first and third party identities.
string principal_subject = 8;
- Returns:
- This builder for chaining.
-
setPrincipalSubjectBytes
public AuthenticationInfo.Builder setPrincipalSubjectBytes(com.google.protobuf.ByteString value)
String representation of identity of requesting party. Populated for both first and third party identities.
string principal_subject = 8;
- Parameters:
value
- The bytes for principalSubject to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AuthenticationInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
-
mergeUnknownFields
public final AuthenticationInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
-
-