public static final class FeedServiceAccount.Builder extends GeneratedMessage.Builder<FeedServiceAccount.Builder> implements FeedServiceAccountOrBuilderFeedServiceAccount is a resource that wraps the feed service account's name.
Protobuf type google.cloud.chronicle.v1.FeedServiceAccount
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FeedServiceAccount.BuilderImplements
FeedServiceAccountOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FeedServiceAccount.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FeedServiceAccount.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for subjectId to set. |
| Returns | |
|---|---|
| Type | Description |
FeedServiceAccount.Builder |
This builder for chaining. |