Class ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder (2.41.0)

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

First party identity principal.

Protobuf type google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder
Overrides

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.

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

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder
Overrides