Class AzureMetadata (2.60.0)

public final class AzureMetadata extends GeneratedMessageV3 implements AzureMetadataOrBuilder

Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.

Protobuf type google.cloud.securitycenter.v2.AzureMetadata

Static Fields

MANAGEMENT_GROUPS_FIELD_NUMBER

public static final int MANAGEMENT_GROUPS_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_GROUP_FIELD_NUMBER

public static final int RESOURCE_GROUP_FIELD_NUMBER
Field Value
Type Description
int

SUBSCRIPTION_FIELD_NUMBER

public static final int SUBSCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AzureMetadata getDefaultInstance()
Returns
Type Description
AzureMetadata

getDescriptor()

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

newBuilder()

public static AzureMetadata.Builder newBuilder()
Returns
Type Description
AzureMetadata.Builder

newBuilder(AzureMetadata prototype)

public static AzureMetadata.Builder newBuilder(AzureMetadata prototype)
Parameter
Name Description
prototype AzureMetadata
Returns
Type Description
AzureMetadata.Builder

parseDelimitedFrom(InputStream input)

public static AzureMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AzureMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AzureMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AzureMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AzureMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AzureMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AzureMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AzureMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AzureMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AzureMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AzureMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AzureMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AzureMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AzureMetadata> parser()
Returns
Type Description
Parser<AzureMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AzureMetadata getDefaultInstanceForType()
Returns
Type Description
AzureMetadata

getManagementGroups(int index)

public AzureMetadata.AzureManagementGroup getManagementGroups(int index)

A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.

repeated .google.cloud.securitycenter.v2.AzureMetadata.AzureManagementGroup management_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
AzureMetadata.AzureManagementGroup

getManagementGroupsCount()

public int getManagementGroupsCount()

A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.

repeated .google.cloud.securitycenter.v2.AzureMetadata.AzureManagementGroup management_groups = 1;

Returns
Type Description
int

getManagementGroupsList()

public List<AzureMetadata.AzureManagementGroup> getManagementGroupsList()

A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.

repeated .google.cloud.securitycenter.v2.AzureMetadata.AzureManagementGroup management_groups = 1;

Returns
Type Description
List<AzureManagementGroup>

getManagementGroupsOrBuilder(int index)

public AzureMetadata.AzureManagementGroupOrBuilder getManagementGroupsOrBuilder(int index)

A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.

repeated .google.cloud.securitycenter.v2.AzureMetadata.AzureManagementGroup management_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
AzureMetadata.AzureManagementGroupOrBuilder

getManagementGroupsOrBuilderList()

public List<? extends AzureMetadata.AzureManagementGroupOrBuilder> getManagementGroupsOrBuilderList()

A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.

repeated .google.cloud.securitycenter.v2.AzureMetadata.AzureManagementGroup management_groups = 1;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v2.AzureMetadata.AzureManagementGroupOrBuilder>

getParserForType()

public Parser<AzureMetadata> getParserForType()
Returns
Type Description
Parser<AzureMetadata>
Overrides

getResourceGroup()

public AzureMetadata.AzureResourceGroup getResourceGroup()

The Azure resource group associated with the resource.

.google.cloud.securitycenter.v2.AzureMetadata.AzureResourceGroup resource_group = 3;

Returns
Type Description
AzureMetadata.AzureResourceGroup

The resourceGroup.

getResourceGroupOrBuilder()

public AzureMetadata.AzureResourceGroupOrBuilder getResourceGroupOrBuilder()

The Azure resource group associated with the resource.

.google.cloud.securitycenter.v2.AzureMetadata.AzureResourceGroup resource_group = 3;

Returns
Type Description
AzureMetadata.AzureResourceGroupOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubscription()

public AzureMetadata.AzureSubscription getSubscription()

The Azure subscription associated with the resource.

.google.cloud.securitycenter.v2.AzureMetadata.AzureSubscription subscription = 2;

Returns
Type Description
AzureMetadata.AzureSubscription

The subscription.

getSubscriptionOrBuilder()

public AzureMetadata.AzureSubscriptionOrBuilder getSubscriptionOrBuilder()

The Azure subscription associated with the resource.

.google.cloud.securitycenter.v2.AzureMetadata.AzureSubscription subscription = 2;

Returns
Type Description
AzureMetadata.AzureSubscriptionOrBuilder

hasResourceGroup()

public boolean hasResourceGroup()

The Azure resource group associated with the resource.

.google.cloud.securitycenter.v2.AzureMetadata.AzureResourceGroup resource_group = 3;

Returns
Type Description
boolean

Whether the resourceGroup field is set.

hasSubscription()

public boolean hasSubscription()

The Azure subscription associated with the resource.

.google.cloud.securitycenter.v2.AzureMetadata.AzureSubscription subscription = 2;

Returns
Type Description
boolean

Whether the subscription field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AzureMetadata.Builder newBuilderForType()
Returns
Type Description
AzureMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AzureMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AzureMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AzureMetadata.Builder toBuilder()
Returns
Type Description
AzureMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException