Send feedback
Class AwsMetadata (2.56.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.56.0 keyboard_arrow_down
public final class AwsMetadata extends GeneratedMessageV3 implements AwsMetadataOrBuilder
AWS metadata associated with the resource, only applicable if the finding's
cloud provider is Amazon Web Services.
Protobuf type google.cloud.securitycenter.v2.AwsMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ACCOUNT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ORGANIZATIONAL_UNITS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ORGANIZATION_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static AwsMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static AwsMetadata . Builder newBuilder ()
public static AwsMetadata . Builder newBuilder ( AwsMetadata prototype )
public static AwsMetadata parseDelimitedFrom ( InputStream input )
public static AwsMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static AwsMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static AwsMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static AwsMetadata parseFrom ( ByteString data )
public static AwsMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AwsMetadata parseFrom ( CodedInputStream input )
public static AwsMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AwsMetadata parseFrom ( InputStream input )
public static AwsMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static AwsMetadata parseFrom ( ByteBuffer data )
public static AwsMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<AwsMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public AwsMetadata . AwsAccount getAccount ()
The AWS account associated with the resource.
.google.cloud.securitycenter.v2.AwsMetadata.AwsAccount account = 3;
public AwsMetadata . AwsAccountOrBuilder getAccountOrBuilder ()
The AWS account associated with the resource.
.google.cloud.securitycenter.v2.AwsMetadata.AwsAccount account = 3;
public AwsMetadata getDefaultInstanceForType ()
public AwsMetadata . AwsOrganization getOrganization ()
The AWS organization associated with the resource.
.google.cloud.securitycenter.v2.AwsMetadata.AwsOrganization organization = 1;
public AwsMetadata . AwsOrganizationOrBuilder getOrganizationOrBuilder ()
The AWS organization associated with the resource.
.google.cloud.securitycenter.v2.AwsMetadata.AwsOrganization organization = 1;
public AwsMetadata . AwsOrganizationalUnit getOrganizationalUnits ( int index )
A list of AWS organizational units associated with the resource, ordered
from lowest level (closest to the account) to highest level.
repeated .google.cloud.securitycenter.v2.AwsMetadata.AwsOrganizationalUnit organizational_units = 2;
Parameter
Name
Description
index
int
public int getOrganizationalUnitsCount ()
A list of AWS organizational units associated with the resource, ordered
from lowest level (closest to the account) to highest level.
repeated .google.cloud.securitycenter.v2.AwsMetadata.AwsOrganizationalUnit organizational_units = 2;
Returns
Type
Description
int
public List<AwsMetadata . AwsOrganizationalUnit > getOrganizationalUnitsList ()
A list of AWS organizational units associated with the resource, ordered
from lowest level (closest to the account) to highest level.
repeated .google.cloud.securitycenter.v2.AwsMetadata.AwsOrganizationalUnit organizational_units = 2;
public AwsMetadata . AwsOrganizationalUnitOrBuilder getOrganizationalUnitsOrBuilder ( int index )
A list of AWS organizational units associated with the resource, ordered
from lowest level (closest to the account) to highest level.
repeated .google.cloud.securitycenter.v2.AwsMetadata.AwsOrganizationalUnit organizational_units = 2;
Parameter
Name
Description
index
int
public List <? extends AwsMetadata . AwsOrganizationalUnitOrBuilder > getOrganizationalUnitsOrBuilderList ()
A list of AWS organizational units associated with the resource, ordered
from lowest level (closest to the account) to highest level.
repeated .google.cloud.securitycenter.v2.AwsMetadata.AwsOrganizationalUnit organizational_units = 2;
Returns
Type
Description
List <? extends com.google.cloud.securitycenter.v2.AwsMetadata.AwsOrganizationalUnitOrBuilder >
public Parser<AwsMetadata> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public boolean hasAccount ()
The AWS account associated with the resource.
.google.cloud.securitycenter.v2.AwsMetadata.AwsAccount account = 3;
Returns
Type
Description
boolean
Whether the account field is set.
public boolean hasOrganization ()
The AWS organization associated with the resource.
.google.cloud.securitycenter.v2.AwsMetadata.AwsOrganization organization = 1;
Returns
Type
Description
boolean
Whether the organization field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public AwsMetadata . Builder newBuilderForType ()
protected AwsMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public AwsMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]