Class FeedServiceAccount (0.37.0)

public final class FeedServiceAccount extends GeneratedMessage implements FeedServiceAccountOrBuilder

FeedServiceAccount is a resource that wraps the feed service account's name.

Protobuf type google.cloud.chronicle.v1.FeedServiceAccount

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_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 FeedServiceAccount getDefaultInstance()
Returns
Type Description
FeedServiceAccount

getDescriptor()

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

newBuilder()

public static FeedServiceAccount.Builder newBuilder()
Returns
Type Description
FeedServiceAccount.Builder

newBuilder(FeedServiceAccount prototype)

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

parseDelimitedFrom(InputStream input)

public static FeedServiceAccount parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeedServiceAccount
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static FeedServiceAccount parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FeedServiceAccount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static FeedServiceAccount parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FeedServiceAccount
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static FeedServiceAccount parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeedServiceAccount
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static FeedServiceAccount parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FeedServiceAccount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<FeedServiceAccount> parser()
Returns
Type Description
Parser<FeedServiceAccount>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FeedServiceAccount getDefaultInstanceForType()
Returns
Type Description
FeedServiceAccount

getName()

public String getName()

The resource name of the feedServiceAccount. Format: projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feedserviceaccount}

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the feedServiceAccount. Format: projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feedserviceaccount}

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<FeedServiceAccount> getParserForType()
Returns
Type Description
Parser<FeedServiceAccount>
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FeedServiceAccount.Builder newBuilderForType()
Returns
Type Description
FeedServiceAccount.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected FeedServiceAccount.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FeedServiceAccount.Builder
Overrides

toBuilder()

public FeedServiceAccount.Builder toBuilder()
Returns
Type Description
FeedServiceAccount.Builder

writeTo(CodedOutputStream output)

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