public static final class ServiceAccountDelegationInfo.Builder extends GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder> implements ServiceAccountDelegationInfoOrBuilder
Identity delegation history of an authenticated service account.
Protobuf type google.cloud.audit.ServiceAccountDelegationInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServiceAccountDelegationInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ServiceAccountDelegationInfo build()
buildPartial()
public ServiceAccountDelegationInfo buildPartial()
clear()
public ServiceAccountDelegationInfo.Builder clear()
Overrides
clearAuthority()
public ServiceAccountDelegationInfo.Builder clearAuthority()
clearField(Descriptors.FieldDescriptor field)
public ServiceAccountDelegationInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFirstPartyPrincipal()
public ServiceAccountDelegationInfo.Builder clearFirstPartyPrincipal()
First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceAccountDelegationInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPrincipalSubject()
public ServiceAccountDelegationInfo.Builder 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;
clearThirdPartyPrincipal()
public ServiceAccountDelegationInfo.Builder clearThirdPartyPrincipal()
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
clone()
public ServiceAccountDelegationInfo.Builder clone()
Overrides
getAuthorityCase()
public ServiceAccountDelegationInfo.AuthorityCase getAuthorityCase()
getDefaultInstanceForType()
public ServiceAccountDelegationInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFirstPartyPrincipal()
public ServiceAccountDelegationInfo.FirstPartyPrincipal getFirstPartyPrincipal()
First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
getFirstPartyPrincipalBuilder()
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder getFirstPartyPrincipalBuilder()
First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
getFirstPartyPrincipalOrBuilder()
public ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder getFirstPartyPrincipalOrBuilder()
First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
getPrincipalSubject()
public String 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;
Returns |
---|
Type | Description |
String | The principalSubject.
|
getPrincipalSubjectBytes()
public 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;
Returns |
---|
Type | Description |
ByteString | The bytes for principalSubject.
|
getThirdPartyPrincipal()
public ServiceAccountDelegationInfo.ThirdPartyPrincipal getThirdPartyPrincipal()
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
getThirdPartyPrincipalBuilder()
public ServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder getThirdPartyPrincipalBuilder()
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
getThirdPartyPrincipalOrBuilder()
public ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder getThirdPartyPrincipalOrBuilder()
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
hasFirstPartyPrincipal()
public boolean hasFirstPartyPrincipal()
First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
Returns |
---|
Type | Description |
boolean | Whether the firstPartyPrincipal field is set.
|
hasThirdPartyPrincipal()
public boolean hasThirdPartyPrincipal()
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
Returns |
---|
Type | Description |
boolean | Whether the thirdPartyPrincipal field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFirstPartyPrincipal(ServiceAccountDelegationInfo.FirstPartyPrincipal value)
public ServiceAccountDelegationInfo.Builder mergeFirstPartyPrincipal(ServiceAccountDelegationInfo.FirstPartyPrincipal value)
First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
mergeFrom(ServiceAccountDelegationInfo other)
public ServiceAccountDelegationInfo.Builder mergeFrom(ServiceAccountDelegationInfo other)
public ServiceAccountDelegationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ServiceAccountDelegationInfo.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal value)
public ServiceAccountDelegationInfo.Builder mergeThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal value)
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAccountDelegationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceAccountDelegationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFirstPartyPrincipal(ServiceAccountDelegationInfo.FirstPartyPrincipal value)
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(ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder builderForValue)
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;
setPrincipalSubject(String value)
public ServiceAccountDelegationInfo.Builder setPrincipalSubject(String 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;
Parameter |
---|
Name | Description |
value | String
The principalSubject to set.
|
setPrincipalSubjectBytes(ByteString value)
public ServiceAccountDelegationInfo.Builder setPrincipalSubjectBytes(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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for principalSubject to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServiceAccountDelegationInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal value)
public ServiceAccountDelegationInfo.Builder setThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal value)
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
setThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder builderForValue)
public ServiceAccountDelegationInfo.Builder setThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder builderForValue)
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAccountDelegationInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides