Class ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder (2.34.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
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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
Overrides

build()

public ServiceAccountDelegationInfo.FirstPartyPrincipal build()

buildPartial()

public ServiceAccountDelegationInfo.FirstPartyPrincipal buildPartial()

clear()

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder clone()
Overrides

getDefaultInstanceForType()

public ServiceAccountDelegationInfo.FirstPartyPrincipal getDefaultInstanceForType()

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)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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