Class AwsMetadata.AwsOrganization.Builder (2.59.0)

public static final class AwsMetadata.AwsOrganization.Builder extends GeneratedMessageV3.Builder<AwsMetadata.AwsOrganization.Builder> implements AwsMetadata.AwsOrganizationOrBuilder

An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies.

Protobuf type google.cloud.securitycenter.v2.AwsMetadata.AwsOrganization

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsMetadata.AwsOrganization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsMetadata.AwsOrganization.Builder
Overrides

build()

public AwsMetadata.AwsOrganization build()
Returns
Type Description
AwsMetadata.AwsOrganization

buildPartial()

public AwsMetadata.AwsOrganization buildPartial()
Returns
Type Description
AwsMetadata.AwsOrganization

clear()

public AwsMetadata.AwsOrganization.Builder clear()
Returns
Type Description
AwsMetadata.AwsOrganization.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AwsMetadata.AwsOrganization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AwsMetadata.AwsOrganization.Builder
Overrides

clearId()

public AwsMetadata.AwsOrganization.Builder clearId()

The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.

string id = 1;

Returns
Type Description
AwsMetadata.AwsOrganization.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsMetadata.AwsOrganization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AwsMetadata.AwsOrganization.Builder
Overrides

clone()

public AwsMetadata.AwsOrganization.Builder clone()
Returns
Type Description
AwsMetadata.AwsOrganization.Builder
Overrides

getDefaultInstanceForType()

public AwsMetadata.AwsOrganization getDefaultInstanceForType()
Returns
Type Description
AwsMetadata.AwsOrganization

getDescriptorForType()

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

getId()

public String getId()

The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsMetadata.AwsOrganization other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsMetadata.AwsOrganization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsMetadata.AwsOrganization.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AwsMetadata.AwsOrganization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsMetadata.AwsOrganization.Builder
Overrides

setId(String value)

public AwsMetadata.AwsOrganization.Builder setId(String value)

The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
AwsMetadata.AwsOrganization.Builder

This builder for chaining.

setIdBytes(ByteString value)

public AwsMetadata.AwsOrganization.Builder setIdBytes(ByteString value)

The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
AwsMetadata.AwsOrganization.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AwsMetadata.AwsOrganization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AwsMetadata.AwsOrganization.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsMetadata.AwsOrganization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsMetadata.AwsOrganization.Builder
Overrides