Class ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder (2.7.4)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServiceAccountDelegationInfo.FirstPartyPrincipal build()
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal

buildPartial()

public ServiceAccountDelegationInfo.FirstPartyPrincipal buildPartial()
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrincipalEmail()

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder clearPrincipalEmail()

The email address of a Google account.

string principal_email = 1;

Returns
TypeDescription
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
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

clone()

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

getDefaultInstanceForType()

public ServiceAccountDelegationInfo.FirstPartyPrincipal getDefaultInstanceForType()
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPrincipalEmail()

public String getPrincipalEmail()

The email address of a Google account.

string principal_email = 1;

Returns
TypeDescription
String

The principalEmail.

getPrincipalEmailBytes()

public ByteString getPrincipalEmailBytes()

The email address of a Google account.

string principal_email = 1;

Returns
TypeDescription
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
TypeDescription
Struct

The serviceMetadata.

getServiceMetadataBuilder()

public Struct.Builder getServiceMetadataBuilder()

Metadata about the service that uses the service account.

.google.protobuf.Struct service_metadata = 2;

Returns
TypeDescription
Builder

getServiceMetadataOrBuilder()

public StructOrBuilder getServiceMetadataOrBuilder()

Metadata about the service that uses the service account.

.google.protobuf.Struct service_metadata = 2;

Returns
TypeDescription
StructOrBuilder

hasServiceMetadata()

public boolean hasServiceMetadata()

Metadata about the service that uses the service account.

.google.protobuf.Struct service_metadata = 2;

Returns
TypeDescription
boolean

Whether the serviceMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ServiceAccountDelegationInfo.FirstPartyPrincipal other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueStruct
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The principalEmail to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for principalEmail to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueStruct
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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