Class ServiceAccountDelegationInfo.Builder (0.14.1)

public static final class ServiceAccountDelegationInfo.Builder extends GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.Builder> implements ServiceAccountDelegationInfoOrBuilder

Identity delegation history of an authenticated service account.

Protobuf type google.events.cloud.audit.v1.ServiceAccountDelegationInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ServiceAccountDelegationInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder
Overrides

build()

public ServiceAccountDelegationInfo build()
Returns
TypeDescription
ServiceAccountDelegationInfo

buildPartial()

public ServiceAccountDelegationInfo buildPartial()
Returns
TypeDescription
ServiceAccountDelegationInfo

clear()

public ServiceAccountDelegationInfo.Builder clear()
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder
Overrides

clearAuthority()

public ServiceAccountDelegationInfo.Builder clearAuthority()
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public ServiceAccountDelegationInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder
Overrides

clearFirstPartyPrincipal()

public ServiceAccountDelegationInfo.Builder clearFirstPartyPrincipal()

First party (Google) identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;

Returns
TypeDescription
ServiceAccountDelegationInfo.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ServiceAccountDelegationInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder
Overrides

clearThirdPartyPrincipal()

public ServiceAccountDelegationInfo.Builder clearThirdPartyPrincipal()

Third party identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;

Returns
TypeDescription
ServiceAccountDelegationInfo.Builder

clone()

public ServiceAccountDelegationInfo.Builder clone()
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder
Overrides

getAuthorityCase()

public ServiceAccountDelegationInfo.AuthorityCase getAuthorityCase()
Returns
TypeDescription
ServiceAccountDelegationInfo.AuthorityCase

getDefaultInstanceForType()

public ServiceAccountDelegationInfo getDefaultInstanceForType()
Returns
TypeDescription
ServiceAccountDelegationInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFirstPartyPrincipal()

public ServiceAccountDelegationInfo.FirstPartyPrincipal getFirstPartyPrincipal()

First party (Google) identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;

Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal

The firstPartyPrincipal.

getFirstPartyPrincipalBuilder()

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder getFirstPartyPrincipalBuilder()

First party (Google) identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;

Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

getFirstPartyPrincipalOrBuilder()

public ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder getFirstPartyPrincipalOrBuilder()

First party (Google) identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;

Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder

getThirdPartyPrincipal()

public ServiceAccountDelegationInfo.ThirdPartyPrincipal getThirdPartyPrincipal()

Third party identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;

Returns
TypeDescription
ServiceAccountDelegationInfo.ThirdPartyPrincipal

The thirdPartyPrincipal.

getThirdPartyPrincipalBuilder()

public ServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder getThirdPartyPrincipalBuilder()

Third party identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;

Returns
TypeDescription
ServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder

getThirdPartyPrincipalOrBuilder()

public ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder getThirdPartyPrincipalOrBuilder()

Third party identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;

Returns
TypeDescription
ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder

hasFirstPartyPrincipal()

public boolean hasFirstPartyPrincipal()

First party (Google) identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;

Returns
TypeDescription
boolean

Whether the firstPartyPrincipal field is set.

hasThirdPartyPrincipal()

public boolean hasThirdPartyPrincipal()

Third party identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;

Returns
TypeDescription
boolean

Whether the thirdPartyPrincipal field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFirstPartyPrincipal(ServiceAccountDelegationInfo.FirstPartyPrincipal value)

public ServiceAccountDelegationInfo.Builder mergeFirstPartyPrincipal(ServiceAccountDelegationInfo.FirstPartyPrincipal value)

First party (Google) identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;

Parameter
NameDescription
valueServiceAccountDelegationInfo.FirstPartyPrincipal
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder

mergeFrom(ServiceAccountDelegationInfo other)

public ServiceAccountDelegationInfo.Builder mergeFrom(ServiceAccountDelegationInfo other)
Parameter
NameDescription
otherServiceAccountDelegationInfo
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ServiceAccountDelegationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ServiceAccountDelegationInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder
Overrides

mergeThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal value)

public ServiceAccountDelegationInfo.Builder mergeThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal value)

Third party identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;

Parameter
NameDescription
valueServiceAccountDelegationInfo.ThirdPartyPrincipal
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ServiceAccountDelegationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ServiceAccountDelegationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder
Overrides

setFirstPartyPrincipal(ServiceAccountDelegationInfo.FirstPartyPrincipal value)

public ServiceAccountDelegationInfo.Builder setFirstPartyPrincipal(ServiceAccountDelegationInfo.FirstPartyPrincipal value)

First party (Google) identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;

Parameter
NameDescription
valueServiceAccountDelegationInfo.FirstPartyPrincipal
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder

setFirstPartyPrincipal(ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder builderForValue)

public ServiceAccountDelegationInfo.Builder setFirstPartyPrincipal(ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder builderForValue)

First party (Google) identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;

Parameter
NameDescription
builderForValueServiceAccountDelegationInfo.FirstPartyPrincipal.Builder
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ServiceAccountDelegationInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder
Overrides

setThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal value)

public ServiceAccountDelegationInfo.Builder setThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal value)

Third party identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;

Parameter
NameDescription
valueServiceAccountDelegationInfo.ThirdPartyPrincipal
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder

setThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder builderForValue)

public ServiceAccountDelegationInfo.Builder setThirdPartyPrincipal(ServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder builderForValue)

Third party identity as the real authority.

.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;

Parameter
NameDescription
builderForValueServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ServiceAccountDelegationInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ServiceAccountDelegationInfo.Builder
Overrides