Class ServiceAccountDelegationInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>
-
- com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder
-
- All Implemented Interfaces:
ServiceAccountDelegationInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ServiceAccountDelegationInfo
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 typegoogle.cloud.securitycenter.v1.ServiceAccountDelegationInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceAccountDelegationInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ServiceAccountDelegationInfobuild()ServiceAccountDelegationInfobuildPartial()ServiceAccountDelegationInfo.Builderclear()ServiceAccountDelegationInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ServiceAccountDelegationInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ServiceAccountDelegationInfo.BuilderclearPrincipalEmail()The email address of a Google account.ServiceAccountDelegationInfo.BuilderclearPrincipalSubject()A string representing the principal_subject associated with the identity.ServiceAccountDelegationInfo.Builderclone()ServiceAccountDelegationInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetPrincipalEmail()The email address of a Google account.com.google.protobuf.ByteStringgetPrincipalEmailBytes()The email address of a Google account.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ServiceAccountDelegationInfo.BuildermergeFrom(ServiceAccountDelegationInfo other)ServiceAccountDelegationInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ServiceAccountDelegationInfo.BuildermergeFrom(com.google.protobuf.Message other)ServiceAccountDelegationInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ServiceAccountDelegationInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ServiceAccountDelegationInfo.BuildersetPrincipalEmail(String value)The email address of a Google account.ServiceAccountDelegationInfo.BuildersetPrincipalEmailBytes(com.google.protobuf.ByteString value)The email address of a Google account.ServiceAccountDelegationInfo.BuildersetPrincipalSubject(String value)A string representing the principal_subject associated with the identity.ServiceAccountDelegationInfo.BuildersetPrincipalSubjectBytes(com.google.protobuf.ByteString value)A string representing the principal_subject associated with the identity.ServiceAccountDelegationInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ServiceAccountDelegationInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>
-
clear
public ServiceAccountDelegationInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>
-
getDefaultInstanceForType
public ServiceAccountDelegationInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ServiceAccountDelegationInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ServiceAccountDelegationInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ServiceAccountDelegationInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>
-
setField
public ServiceAccountDelegationInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>
-
clearField
public ServiceAccountDelegationInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>
-
clearOneof
public ServiceAccountDelegationInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>
-
setRepeatedField
public ServiceAccountDelegationInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>
-
addRepeatedField
public ServiceAccountDelegationInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>
-
mergeFrom
public ServiceAccountDelegationInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceAccountDelegationInfo.Builder>
-
mergeFrom
public ServiceAccountDelegationInfo.Builder mergeFrom(ServiceAccountDelegationInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>
-
mergeFrom
public ServiceAccountDelegationInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceAccountDelegationInfo.Builder>- Throws:
IOException
-
getPrincipalEmail
public String getPrincipalEmail()
The email address of a Google account.
string principal_email = 1;- Specified by:
getPrincipalEmailin interfaceServiceAccountDelegationInfoOrBuilder- Returns:
- The principalEmail.
-
getPrincipalEmailBytes
public com.google.protobuf.ByteString getPrincipalEmailBytes()
The email address of a Google account.
string principal_email = 1;- Specified by:
getPrincipalEmailBytesin interfaceServiceAccountDelegationInfoOrBuilder- Returns:
- The bytes for principalEmail.
-
setPrincipalEmail
public ServiceAccountDelegationInfo.Builder setPrincipalEmail(String value)
The email address of a Google account.
string principal_email = 1;- Parameters:
value- The principalEmail to set.- Returns:
- This builder for chaining.
-
clearPrincipalEmail
public ServiceAccountDelegationInfo.Builder clearPrincipalEmail()
The email address of a Google account.
string principal_email = 1;- Returns:
- This builder for chaining.
-
setPrincipalEmailBytes
public ServiceAccountDelegationInfo.Builder setPrincipalEmailBytes(com.google.protobuf.ByteString value)
The email address of a Google account.
string principal_email = 1;- Parameters:
value- The bytes for principalEmail to set.- Returns:
- This builder for chaining.
-
getPrincipalSubject
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;- Specified by:
getPrincipalSubjectin interfaceServiceAccountDelegationInfoOrBuilder- Returns:
- The principalSubject.
-
getPrincipalSubjectBytes
public 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;- Specified by:
getPrincipalSubjectBytesin interfaceServiceAccountDelegationInfoOrBuilder- Returns:
- The bytes for principalSubject.
-
setPrincipalSubject
public 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;- Parameters:
value- The principalSubject to set.- Returns:
- This builder for chaining.
-
clearPrincipalSubject
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;- Returns:
- This builder for chaining.
-
setPrincipalSubjectBytes
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;- Parameters:
value- The bytes for principalSubject to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ServiceAccountDelegationInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>
-
mergeUnknownFields
public final ServiceAccountDelegationInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder>
-
-