public static final class ServiceAccountDelegationInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder> implements ServiceAccountDelegationInfoOrBuilder
Identity delegation history of an authenticated service account.Protobuf type
google.cloud.securitycenter.v1.ServiceAccountDelegationInfo| Modifier and Type | Method and Description |
|---|---|
ServiceAccountDelegationInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceAccountDelegationInfo |
build() |
ServiceAccountDelegationInfo |
buildPartial() |
ServiceAccountDelegationInfo.Builder |
clear() |
ServiceAccountDelegationInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ServiceAccountDelegationInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ServiceAccountDelegationInfo.Builder |
clearPrincipalEmail()
The email address of a Google account.
|
ServiceAccountDelegationInfo.Builder |
clearPrincipalSubject()
A string representing the principal_subject associated with the identity.
|
ServiceAccountDelegationInfo.Builder |
clone() |
ServiceAccountDelegationInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPrincipalEmail()
The email address of a Google account.
|
com.google.protobuf.ByteString |
getPrincipalEmailBytes()
The email address of a Google account.
|
String |
getPrincipalSubject()
A string representing the principal_subject associated with the identity.
|
com.google.protobuf.ByteString |
getPrincipalSubjectBytes()
A string representing the principal_subject associated with the identity.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ServiceAccountDelegationInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceAccountDelegationInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
ServiceAccountDelegationInfo.Builder |
mergeFrom(ServiceAccountDelegationInfo other) |
ServiceAccountDelegationInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ServiceAccountDelegationInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceAccountDelegationInfo.Builder |
setPrincipalEmail(String value)
The email address of a Google account.
|
ServiceAccountDelegationInfo.Builder |
setPrincipalEmailBytes(com.google.protobuf.ByteString value)
The email address of a Google account.
|
ServiceAccountDelegationInfo.Builder |
setPrincipalSubject(String value)
A string representing the principal_subject associated with the identity.
|
ServiceAccountDelegationInfo.Builder |
setPrincipalSubjectBytes(com.google.protobuf.ByteString value)
A string representing the principal_subject associated with the identity.
|
ServiceAccountDelegationInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ServiceAccountDelegationInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>public ServiceAccountDelegationInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>public ServiceAccountDelegationInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ServiceAccountDelegationInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ServiceAccountDelegationInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ServiceAccountDelegationInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>public ServiceAccountDelegationInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>public ServiceAccountDelegationInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>public ServiceAccountDelegationInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>public ServiceAccountDelegationInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>public ServiceAccountDelegationInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>public ServiceAccountDelegationInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceAccountDelegationInfo.Builder>public ServiceAccountDelegationInfo.Builder mergeFrom(ServiceAccountDelegationInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>public ServiceAccountDelegationInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceAccountDelegationInfo.Builder>IOExceptionpublic String getPrincipalEmail()
The email address of a Google account.
string principal_email = 1;getPrincipalEmail in interface ServiceAccountDelegationInfoOrBuilderpublic com.google.protobuf.ByteString getPrincipalEmailBytes()
The email address of a Google account.
string principal_email = 1;getPrincipalEmailBytes in interface ServiceAccountDelegationInfoOrBuilderpublic ServiceAccountDelegationInfo.Builder setPrincipalEmail(String value)
The email address of a Google account.
string principal_email = 1;value - The principalEmail to set.public ServiceAccountDelegationInfo.Builder clearPrincipalEmail()
The email address of a Google account.
string principal_email = 1;public ServiceAccountDelegationInfo.Builder setPrincipalEmailBytes(com.google.protobuf.ByteString value)
The email address of a Google account.
string principal_email = 1;value - The bytes for principalEmail to set.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;getPrincipalSubject in interface ServiceAccountDelegationInfoOrBuilderpublic 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;getPrincipalSubjectBytes in interface ServiceAccountDelegationInfoOrBuilderpublic 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;value - The principalSubject to set.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;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;value - The bytes for principalSubject to set.public final ServiceAccountDelegationInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>public final ServiceAccountDelegationInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>Copyright © 2023 Google LLC. All rights reserved.