Class FeedServiceAccount.Builder (0.37.0)

public static final class FeedServiceAccount.Builder extends GeneratedMessage.Builder<FeedServiceAccount.Builder> implements FeedServiceAccountOrBuilder

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

Protobuf type google.cloud.chronicle.v1.FeedServiceAccount

Static Methods

getDescriptor()

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

Methods

build()

public FeedServiceAccount build()
Returns
Type Description
FeedServiceAccount

buildPartial()

public FeedServiceAccount buildPartial()
Returns
Type Description
FeedServiceAccount

clear()

public FeedServiceAccount.Builder clear()
Returns
Type Description
FeedServiceAccount.Builder
Overrides

clearName()

public FeedServiceAccount.Builder clearName()

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

string name = 1;

Returns
Type Description
FeedServiceAccount.Builder

This builder for chaining.

clearSubjectId()

public FeedServiceAccount.Builder clearSubjectId()

Unique identifier for the service account.

string subject_id = 2;

Returns
Type Description
FeedServiceAccount.Builder

This builder for chaining.

getDefaultInstanceForType()

public FeedServiceAccount getDefaultInstanceForType()
Returns
Type Description
FeedServiceAccount

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeedServiceAccount other)

public FeedServiceAccount.Builder mergeFrom(FeedServiceAccount other)
Parameter
Name Description
other FeedServiceAccount
Returns
Type Description
FeedServiceAccount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeedServiceAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeedServiceAccount.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FeedServiceAccount.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FeedServiceAccount.Builder
Overrides

setName(String value)

public FeedServiceAccount.Builder setName(String value)

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

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FeedServiceAccount.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FeedServiceAccount.Builder setNameBytes(ByteString value)

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

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FeedServiceAccount.Builder

This builder for chaining.

setSubjectId(String value)

public FeedServiceAccount.Builder setSubjectId(String value)

Unique identifier for the service account.

string subject_id = 2;

Parameter
Name Description
value String

The subjectId to set.

Returns
Type Description
FeedServiceAccount.Builder

This builder for chaining.

setSubjectIdBytes(ByteString value)

public FeedServiceAccount.Builder setSubjectIdBytes(ByteString value)

Unique identifier for the service account.

string subject_id = 2;

Parameter
Name Description
value ByteString

The bytes for subjectId to set.

Returns
Type Description
FeedServiceAccount.Builder

This builder for chaining.