public static final class AwsMetadata.AwsAccount.Builder extends GeneratedMessageV3.Builder<AwsMetadata.AwsAccount.Builder> implements AwsMetadata.AwsAccountOrBuilder
An AWS account that is a member of an organization.
Protobuf type google.cloud.securitycenter.v1.AwsMetadata.AwsAccount
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public AwsMetadata.AwsAccount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AwsMetadata.AwsAccount build()
public AwsMetadata.AwsAccount buildPartial()
public AwsMetadata.AwsAccount.Builder clear()
Overrides
public AwsMetadata.AwsAccount.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AwsMetadata.AwsAccount.Builder clearId()
The unique identifier (ID) of the account, containing exactly 12 digits.
string id = 1;
public AwsMetadata.AwsAccount.Builder clearName()
The friendly name of this account.
string name = 2;
public AwsMetadata.AwsAccount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AwsMetadata.AwsAccount.Builder clone()
Overrides
public AwsMetadata.AwsAccount getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
The unique identifier (ID) of the account, containing exactly 12 digits.
string id = 1;
Returns |
Type |
Description |
String |
The id.
|
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.
|
The friendly name of this account.
string name = 2;
Returns |
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
The friendly name of this account.
string name = 2;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AwsMetadata.AwsAccount.Builder mergeFrom(AwsMetadata.AwsAccount other)
public AwsMetadata.AwsAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AwsMetadata.AwsAccount.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final AwsMetadata.AwsAccount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AwsMetadata.AwsAccount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The id to set.
|
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 |
ByteString
The bytes for id to set.
|
public AwsMetadata.AwsAccount.Builder setName(String value)
The friendly name of this account.
string name = 2;
Parameter |
Name |
Description |
value |
String
The name to set.
|
public AwsMetadata.AwsAccount.Builder setNameBytes(ByteString value)
The friendly name of this account.
string name = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
public AwsMetadata.AwsAccount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AwsMetadata.AwsAccount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides