Class AppConnector.PrincipalInfo (0.8.0)

public static final class AppConnector.PrincipalInfo extends GeneratedMessageV3 implements AppConnector.PrincipalInfoOrBuilder

PrincipalInfo represents an Identity oneof.

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

Static Fields

SERVICE_ACCOUNT_FIELD_NUMBER

public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(AppConnector.PrincipalInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceAccount()

public AppConnector.PrincipalInfo.ServiceAccount getServiceAccount()

A GCP service account.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;

Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount

The serviceAccount.

getServiceAccountOrBuilder()

public AppConnector.PrincipalInfo.ServiceAccountOrBuilder getServiceAccountOrBuilder()

A GCP service account.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;

Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccountOrBuilder

getTypeCase()

public AppConnector.PrincipalInfo.TypeCase getTypeCase()
Returns
TypeDescription
AppConnector.PrincipalInfo.TypeCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasServiceAccount()

public boolean hasServiceAccount()

A GCP service account.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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