Package com.google.cloud.audit
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.audit.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 type
google.cloud.audit.ServiceAccountDelegationInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) First party (Google) identity as the real authority.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) A string representing the principal_subject associated with the identity.Third party identity as the real authority.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFirst party (Google) identity as the real authority.First party (Google) identity as the real authority.First party (Google) identity as the real authority.A string representing the principal_subject associated with the identity.com.google.protobuf.ByteStringA string representing the principal_subject associated with the identity.Third party identity as the real authority.Third party identity as the real authority.Third party identity as the real authority.booleanFirst party (Google) identity as the real authority.booleanThird party identity as the real authority.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanFirst party (Google) identity as the real authority.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Third party identity as the real authority.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) First party (Google) identity as the real authority.First party (Google) identity as the real authority.setPrincipalSubject(String value) A string representing the principal_subject associated with the identity.setPrincipalSubjectBytes(com.google.protobuf.ByteString value) A string representing the principal_subject associated with the identity.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Third party identity as the real authority.Third party identity as the real authority.setUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceAccountDelegationInfo.Builder>
-
mergeFrom
-
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
-
getAuthorityCase
- Specified by:
getAuthorityCasein interfaceServiceAccountDelegationInfoOrBuilder
-
clearAuthority
-
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.
-
setPrincipalSubject
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;- Parameters:
value- The principalSubject to set.- Returns:
- This builder for chaining.
-
clearPrincipalSubject
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;- 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. 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;- Parameters:
value- The bytes for principalSubject to set.- Returns:
- This builder for chaining.
-
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
First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;- Specified by:
getFirstPartyPrincipalin interfaceServiceAccountDelegationInfoOrBuilder- Returns:
- The firstPartyPrincipal.
-
setFirstPartyPrincipal
public ServiceAccountDelegationInfo.Builder setFirstPartyPrincipal(ServiceAccountDelegationInfo.FirstPartyPrincipal value) First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1; -
setFirstPartyPrincipal
public ServiceAccountDelegationInfo.Builder setFirstPartyPrincipal(ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder builderForValue) First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1; -
mergeFirstPartyPrincipal
public ServiceAccountDelegationInfo.Builder mergeFirstPartyPrincipal(ServiceAccountDelegationInfo.FirstPartyPrincipal value) First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1; -
clearFirstPartyPrincipal
First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1; -
getFirstPartyPrincipalBuilder
First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1; -
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
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;- Specified by:
getThirdPartyPrincipalin interfaceServiceAccountDelegationInfoOrBuilder- Returns:
- The thirdPartyPrincipal.
-
setThirdPartyPrincipal
public ServiceAccountDelegationInfo.Builder setThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal value) Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2; -
setThirdPartyPrincipal
public ServiceAccountDelegationInfo.Builder setThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder builderForValue) Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2; -
mergeThirdPartyPrincipal
public ServiceAccountDelegationInfo.Builder mergeThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal value) Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2; -
clearThirdPartyPrincipal
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2; -
getThirdPartyPrincipalBuilder
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2; -
getThirdPartyPrincipalOrBuilder
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;- Specified by:
getThirdPartyPrincipalOrBuilderin interfaceServiceAccountDelegationInfoOrBuilder
-
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>
-