Class AppConnector.PrincipalInfo.ServiceAccount (0.20.0)

public static final class AppConnector.PrincipalInfo.ServiceAccount extends GeneratedMessageV3 implements AppConnector.PrincipalInfo.ServiceAccountOrBuilder

ServiceAccount represents a GCP service account.

Protobuf type google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AppConnector.PrincipalInfo.ServiceAccount

Static Fields

EMAIL_FIELD_NUMBER

public static final int EMAIL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AppConnector.PrincipalInfo.ServiceAccount getDefaultInstance()
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount

getDescriptor()

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

newBuilder()

public static AppConnector.PrincipalInfo.ServiceAccount.Builder newBuilder()
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder

newBuilder(AppConnector.PrincipalInfo.ServiceAccount prototype)

public static AppConnector.PrincipalInfo.ServiceAccount.Builder newBuilder(AppConnector.PrincipalInfo.ServiceAccount prototype)
Parameter
NameDescription
prototypeAppConnector.PrincipalInfo.ServiceAccount
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder

parseDelimitedFrom(InputStream input)

public static AppConnector.PrincipalInfo.ServiceAccount parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnector.PrincipalInfo.ServiceAccount parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AppConnector.PrincipalInfo.ServiceAccount parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AppConnector.PrincipalInfo.ServiceAccount parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AppConnector.PrincipalInfo.ServiceAccount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AppConnector.PrincipalInfo.ServiceAccount parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnector.PrincipalInfo.ServiceAccount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AppConnector.PrincipalInfo.ServiceAccount parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnector.PrincipalInfo.ServiceAccount parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AppConnector.PrincipalInfo.ServiceAccount parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AppConnector.PrincipalInfo.ServiceAccount parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AppConnector.PrincipalInfo.ServiceAccount> parser()
Returns
TypeDescription
Parser<ServiceAccount>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AppConnector.PrincipalInfo.ServiceAccount getDefaultInstanceForType()
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount

getEmail()

public String getEmail()

Email address of the service account.

string email = 1;

Returns
TypeDescription
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Email address of the service account.

string email = 1;

Returns
TypeDescription
ByteString

The bytes for email.

getParserForType()

public Parser<AppConnector.PrincipalInfo.ServiceAccount> getParserForType()
Returns
TypeDescription
Parser<ServiceAccount>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 AppConnector.PrincipalInfo.ServiceAccount.Builder newBuilderForType()
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AppConnector.PrincipalInfo.ServiceAccount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AppConnector.PrincipalInfo.ServiceAccount.Builder toBuilder()
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder

writeTo(CodedOutputStream output)

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