- 2.65.0 (latest)
- 2.64.1
- 2.63.2
- 2.62.0
- 2.61.3
- 2.60.0
- 2.59.2
- 2.58.0
- 2.57.0
- 2.56.0
- 2.54.1
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.1
- 2.49.0
- 2.48.0
- 2.46.0
- 2.45.1
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.1
- 2.38.0
- 2.37.1
- 2.36.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.1
- 2.24.0
- 2.23.1
- 2.22.1
- 2.21.1
- 2.15.0
- 2.14.3
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.6
- 2.8.4
- 2.7.4
public static final class ServiceAccountDelegationInfo.Builder extends GeneratedMessage.Builder<ServiceAccountDelegationInfo.Builder> implements ServiceAccountDelegationInfoOrBuilderIdentity delegation history of an authenticated service account.
Protobuf type google.cloud.audit.ServiceAccountDelegationInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ServiceAccountDelegationInfo.BuilderImplements
ServiceAccountDelegationInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ServiceAccountDelegationInfo build()| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo |
|
buildPartial()
public ServiceAccountDelegationInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo |
|
clear()
public ServiceAccountDelegationInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
|
clearAuthority()
public ServiceAccountDelegationInfo.Builder clearAuthority()| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
|
clearFirstPartyPrincipal()
public ServiceAccountDelegationInfo.Builder clearFirstPartyPrincipal()First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
This builder for chaining. |
clearThirdPartyPrincipal()
public ServiceAccountDelegationInfo.Builder clearThirdPartyPrincipal()Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
|
getAuthorityCase()
public ServiceAccountDelegationInfo.AuthorityCase getAuthorityCase()| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.AuthorityCase |
|
getDefaultInstanceForType()
public ServiceAccountDelegationInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFirstPartyPrincipal()
public ServiceAccountDelegationInfo.FirstPartyPrincipal getFirstPartyPrincipal()First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.FirstPartyPrincipal |
The firstPartyPrincipal. |
getFirstPartyPrincipalBuilder()
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder getFirstPartyPrincipalBuilder()First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder |
|
getFirstPartyPrincipalOrBuilder()
public ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder getFirstPartyPrincipalOrBuilder()First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.ThirdPartyPrincipal |
The thirdPartyPrincipal. |
getThirdPartyPrincipalBuilder()
public ServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder getThirdPartyPrincipalBuilder()Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder |
|
getThirdPartyPrincipalOrBuilder()
public ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder getThirdPartyPrincipalOrBuilder()Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ServiceAccountDelegationInfo.FirstPartyPrincipal |
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
|
mergeFrom(ServiceAccountDelegationInfo other)
public ServiceAccountDelegationInfo.Builder mergeFrom(ServiceAccountDelegationInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
ServiceAccountDelegationInfo |
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServiceAccountDelegationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ServiceAccountDelegationInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ServiceAccountDelegationInfo.ThirdPartyPrincipal |
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ServiceAccountDelegationInfo.FirstPartyPrincipal |
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder |
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
|
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 |
StringThe principalSubject to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for principalSubject to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
This builder for chaining. |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ServiceAccountDelegationInfo.ThirdPartyPrincipal |
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder |
| Returns | |
|---|---|
| Type | Description |
ServiceAccountDelegationInfo.Builder |
|