Class ServiceAccountDelegationInfo.FirstPartyPrincipal (2.11.0)

public static final class ServiceAccountDelegationInfo.FirstPartyPrincipal extends GeneratedMessageV3 implements ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder

First party identity principal.

Protobuf type google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal

Inheritance

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

Static Fields

PRINCIPAL_EMAIL_FIELD_NUMBER

public static final int PRINCIPAL_EMAIL_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_METADATA_FIELD_NUMBER

public static final int SERVICE_METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ServiceAccountDelegationInfo.FirstPartyPrincipal getDefaultInstance()
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal

getDescriptor()

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

newBuilder()

public static ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder newBuilder()
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

newBuilder(ServiceAccountDelegationInfo.FirstPartyPrincipal prototype)

public static ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder newBuilder(ServiceAccountDelegationInfo.FirstPartyPrincipal prototype)
Parameter
NameDescription
prototypeServiceAccountDelegationInfo.FirstPartyPrincipal
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

parseDelimitedFrom(InputStream input)

public static ServiceAccountDelegationInfo.FirstPartyPrincipal parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceAccountDelegationInfo.FirstPartyPrincipal parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ServiceAccountDelegationInfo.FirstPartyPrincipal parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ServiceAccountDelegationInfo.FirstPartyPrincipal parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ServiceAccountDelegationInfo.FirstPartyPrincipal parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ServiceAccountDelegationInfo.FirstPartyPrincipal parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ServiceAccountDelegationInfo.FirstPartyPrincipal parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceAccountDelegationInfo.FirstPartyPrincipal parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ServiceAccountDelegationInfo.FirstPartyPrincipal parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceAccountDelegationInfo.FirstPartyPrincipal parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ServiceAccountDelegationInfo.FirstPartyPrincipal parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ServiceAccountDelegationInfo.FirstPartyPrincipal parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ServiceAccountDelegationInfo.FirstPartyPrincipal> parser()
Returns
TypeDescription
Parser<FirstPartyPrincipal>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<ServiceAccountDelegationInfo.FirstPartyPrincipal> getParserForType()
Returns
TypeDescription
Parser<FirstPartyPrincipal>
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceMetadata()

public Struct getServiceMetadata()

Metadata about the service that uses the service account.

.google.protobuf.Struct service_metadata = 2;

Returns
TypeDescription
Struct

The serviceMetadata.

getServiceMetadataOrBuilder()

public StructOrBuilder getServiceMetadataOrBuilder()

Metadata about the service that uses the service account.

.google.protobuf.Struct service_metadata = 2;

Returns
TypeDescription
StructOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder newBuilderForType()
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder toBuilder()
Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException