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
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 MANAGEMENT_GROUPS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int RESOURCE_GROUP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SUBSCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static AzureMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static AzureMetadata.Builder newBuilder()
public static AzureMetadata.Builder newBuilder(AzureMetadata prototype)
public static AzureMetadata parseDelimitedFrom(InputStream input)
public static AzureMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AzureMetadata parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static AzureMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AzureMetadata parseFrom(ByteString data)
public static AzureMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AzureMetadata parseFrom(CodedInputStream input)
public static AzureMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AzureMetadata parseFrom(InputStream input)
public static AzureMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AzureMetadata parseFrom(ByteBuffer data)
public static AzureMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<AzureMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public AzureMetadata getDefaultInstanceForType()
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
|
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 |
|
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;
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
|
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> |
|
public Parser<AzureMetadata> getParserForType()
Overrides
public AzureMetadata.AzureResourceGroup getResourceGroup()
The Azure resource group associated with the resource.
.google.cloud.securitycenter.v2.AzureMetadata.AzureResourceGroup resource_group = 3;
public AzureMetadata.AzureResourceGroupOrBuilder getResourceGroupOrBuilder()
The Azure resource group associated with the resource.
.google.cloud.securitycenter.v2.AzureMetadata.AzureResourceGroup resource_group = 3;
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public AzureMetadata.AzureSubscription getSubscription()
The Azure subscription associated with the resource.
.google.cloud.securitycenter.v2.AzureMetadata.AzureSubscription subscription = 2;
public AzureMetadata.AzureSubscriptionOrBuilder getSubscriptionOrBuilder()
The Azure subscription associated with the resource.
.google.cloud.securitycenter.v2.AzureMetadata.AzureSubscription subscription = 2;
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.
|
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AzureMetadata.Builder newBuilderForType()
protected AzureMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public AzureMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides