Class ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder (2.65.0)

public static final class ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder extends GeneratedMessage.Builder<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder> implements ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder

First party identity principal.

Protobuf type google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ServiceAccountDelegationInfo.FirstPartyPrincipal build()
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal

buildPartial()

public ServiceAccountDelegationInfo.FirstPartyPrincipal buildPartial()
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal

clear()

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder clear()
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder
Overrides

clearPrincipalEmail()

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder clearPrincipalEmail()

The email address of a Google account.

string principal_email = 1;

Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

This builder for chaining.

clearServiceMetadata()

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder clearServiceMetadata()

Metadata about the service that uses the service account.

.google.protobuf.Struct service_metadata = 2;

Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

getDefaultInstanceForType()

public ServiceAccountDelegationInfo.FirstPartyPrincipal getDefaultInstanceForType()
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPrincipalEmail()

public String getPrincipalEmail()

The email address of a Google account.

string principal_email = 1;

Returns
Type Description
String

The principalEmail.

getPrincipalEmailBytes()

public ByteString getPrincipalEmailBytes()

The email address of a Google account.

string principal_email = 1;

Returns
Type Description
ByteString

The bytes for principalEmail.

getServiceMetadata()

public Struct getServiceMetadata()

Metadata about the service that uses the service account.

.google.protobuf.Struct service_metadata = 2;

Returns
Type Description
Struct

The serviceMetadata.

getServiceMetadataBuilder()

public Struct.Builder getServiceMetadataBuilder()

Metadata about the service that uses the service account.

.google.protobuf.Struct service_metadata = 2;

Returns
Type Description
Builder

getServiceMetadataOrBuilder()

public StructOrBuilder getServiceMetadataOrBuilder()

Metadata about the service that uses the service account.

.google.protobuf.Struct service_metadata = 2;

Returns
Type Description
StructOrBuilder

hasServiceMetadata()

public boolean hasServiceMetadata()

Metadata about the service that uses the service account.

.google.protobuf.Struct service_metadata = 2;

Returns
Type Description
boolean

Whether the serviceMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ServiceAccountDelegationInfo.FirstPartyPrincipal other)

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder mergeFrom(ServiceAccountDelegationInfo.FirstPartyPrincipal other)
Parameter
Name Description
other ServiceAccountDelegationInfo.FirstPartyPrincipal
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder
Overrides

mergeServiceMetadata(Struct value)

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder mergeServiceMetadata(Struct value)

Metadata about the service that uses the service account.

.google.protobuf.Struct service_metadata = 2;

Parameter
Name Description
value Struct
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

setPrincipalEmail(String value)

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setPrincipalEmail(String value)

The email address of a Google account.

string principal_email = 1;

Parameter
Name Description
value String

The principalEmail to set.

Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

This builder for chaining.

setPrincipalEmailBytes(ByteString value)

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setPrincipalEmailBytes(ByteString value)

The email address of a Google account.

string principal_email = 1;

Parameter
Name Description
value ByteString

The bytes for principalEmail to set.

Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

This builder for chaining.

setServiceMetadata(Struct value)

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setServiceMetadata(Struct value)

Metadata about the service that uses the service account.

.google.protobuf.Struct service_metadata = 2;

Parameter
Name Description
value Struct
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

setServiceMetadata(Struct.Builder builderForValue)

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setServiceMetadata(Struct.Builder builderForValue)

Metadata about the service that uses the service account.

.google.protobuf.Struct service_metadata = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder