public static final class AwsMetadata.AwsAccount.Builder extends GeneratedMessage.Builder<AwsMetadata.AwsAccount.Builder> implements AwsMetadata.AwsAccountOrBuilderAn AWS account that is a member of an organization.
Protobuf type google.cloud.securitycenter.v2.AwsMetadata.AwsAccount
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AwsMetadata.AwsAccount.BuilderImplements
AwsMetadata.AwsAccountOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AwsMetadata.AwsAccount build()| Returns | |
|---|---|
| Type | Description |
AwsMetadata.AwsAccount |
|
buildPartial()
public AwsMetadata.AwsAccount buildPartial()| Returns | |
|---|---|
| Type | Description |
AwsMetadata.AwsAccount |
|
clear()
public AwsMetadata.AwsAccount.Builder clear()| Returns | |
|---|---|
| Type | Description |
AwsMetadata.AwsAccount.Builder |
|
clearId()
public AwsMetadata.AwsAccount.Builder clearId()The unique identifier (ID) of the account, containing exactly 12 digits.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
AwsMetadata.AwsAccount.Builder |
This builder for chaining. |
clearName()
public AwsMetadata.AwsAccount.Builder clearName()The friendly name of this account.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
AwsMetadata.AwsAccount.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AwsMetadata.AwsAccount getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AwsMetadata.AwsAccount |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public String getId()The unique identifier (ID) of the account, containing exactly 12 digits.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()The unique identifier (ID) of the account, containing exactly 12 digits.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getName()
public String getName()The friendly name of this account.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The friendly name of this account.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AwsMetadata.AwsAccount other)
public AwsMetadata.AwsAccount.Builder mergeFrom(AwsMetadata.AwsAccount other)| Parameter | |
|---|---|
| Name | Description |
other |
AwsMetadata.AwsAccount |
| Returns | |
|---|---|
| Type | Description |
AwsMetadata.AwsAccount.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AwsMetadata.AwsAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AwsMetadata.AwsAccount.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AwsMetadata.AwsAccount.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AwsMetadata.AwsAccount.Builder |
|
setId(String value)
public AwsMetadata.AwsAccount.Builder setId(String value)The unique identifier (ID) of the account, containing exactly 12 digits.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
AwsMetadata.AwsAccount.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public AwsMetadata.AwsAccount.Builder setIdBytes(ByteString value)The unique identifier (ID) of the account, containing exactly 12 digits.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
AwsMetadata.AwsAccount.Builder |
This builder for chaining. |
setName(String value)
public AwsMetadata.AwsAccount.Builder setName(String value)The friendly name of this account.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
AwsMetadata.AwsAccount.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AwsMetadata.AwsAccount.Builder setNameBytes(ByteString value)The friendly name of this account.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
AwsMetadata.AwsAccount.Builder |
This builder for chaining. |