Class TransferTypes.GoogleServiceAccount (1.49.0)

public static final class TransferTypes.GoogleServiceAccount extends GeneratedMessageV3 implements TransferTypes.GoogleServiceAccountOrBuilder

Google service account

Protobuf type google.storagetransfer.v1.GoogleServiceAccount

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TransferTypes.GoogleServiceAccount

Static Fields

ACCOUNT_EMAIL_FIELD_NUMBER

public static final int ACCOUNT_EMAIL_FIELD_NUMBER
Field Value
Type Description
int

SUBJECT_ID_FIELD_NUMBER

public static final int SUBJECT_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransferTypes.GoogleServiceAccount getDefaultInstance()
Returns
Type Description
TransferTypes.GoogleServiceAccount

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TransferTypes.GoogleServiceAccount.Builder newBuilder()
Returns
Type Description
TransferTypes.GoogleServiceAccount.Builder

newBuilder(TransferTypes.GoogleServiceAccount prototype)

public static TransferTypes.GoogleServiceAccount.Builder newBuilder(TransferTypes.GoogleServiceAccount prototype)
Parameter
Name Description
prototype TransferTypes.GoogleServiceAccount
Returns
Type Description
TransferTypes.GoogleServiceAccount.Builder

parseDelimitedFrom(InputStream input)

public static TransferTypes.GoogleServiceAccount parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferTypes.GoogleServiceAccount
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.GoogleServiceAccount parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.GoogleServiceAccount
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TransferTypes.GoogleServiceAccount parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TransferTypes.GoogleServiceAccount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.GoogleServiceAccount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.GoogleServiceAccount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransferTypes.GoogleServiceAccount parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransferTypes.GoogleServiceAccount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.GoogleServiceAccount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.GoogleServiceAccount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransferTypes.GoogleServiceAccount parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransferTypes.GoogleServiceAccount
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.GoogleServiceAccount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.GoogleServiceAccount
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TransferTypes.GoogleServiceAccount parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferTypes.GoogleServiceAccount
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.GoogleServiceAccount parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.GoogleServiceAccount
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TransferTypes.GoogleServiceAccount parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransferTypes.GoogleServiceAccount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.GoogleServiceAccount parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.GoogleServiceAccount
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TransferTypes.GoogleServiceAccount> parser()
Returns
Type Description
Parser<GoogleServiceAccount>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAccountEmail()

public String getAccountEmail()

Email address of the service account.

string account_email = 1;

Returns
Type Description
String

The accountEmail.

getAccountEmailBytes()

public ByteString getAccountEmailBytes()

Email address of the service account.

string account_email = 1;

Returns
Type Description
ByteString

The bytes for accountEmail.

getDefaultInstanceForType()

public TransferTypes.GoogleServiceAccount getDefaultInstanceForType()
Returns
Type Description
TransferTypes.GoogleServiceAccount

getParserForType()

public Parser<TransferTypes.GoogleServiceAccount> getParserForType()
Returns
Type Description
Parser<GoogleServiceAccount>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubjectId()

public String getSubjectId()

Unique identifier for the service account.

string subject_id = 2;

Returns
Type Description
String

The subjectId.

getSubjectIdBytes()

public ByteString getSubjectIdBytes()

Unique identifier for the service account.

string subject_id = 2;

Returns
Type Description
ByteString

The bytes for subjectId.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TransferTypes.GoogleServiceAccount.Builder newBuilderForType()
Returns
Type Description
TransferTypes.GoogleServiceAccount.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferTypes.GoogleServiceAccount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TransferTypes.GoogleServiceAccount.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TransferTypes.GoogleServiceAccount.Builder toBuilder()
Returns
Type Description
TransferTypes.GoogleServiceAccount.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException