Class AzureMetadata.Builder (2.57.0)

public static final class AzureMetadata.Builder extends GeneratedMessageV3.Builder<AzureMetadata.Builder> implements AzureMetadataOrBuilder

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

Protobuf type google.cloud.securitycenter.v1.AzureMetadata

Static Methods

getDescriptor()

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

Methods

addAllManagementGroups(Iterable<? extends AzureMetadata.AzureManagementGroup> values)

public AzureMetadata.Builder addAllManagementGroups(Iterable<? extends AzureMetadata.AzureManagementGroup> values)

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.AzureMetadata.AzureManagementGroup>
Returns
Type Description
AzureMetadata.Builder

addManagementGroups(AzureMetadata.AzureManagementGroup value)

public AzureMetadata.Builder addManagementGroups(AzureMetadata.AzureManagementGroup value)

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

Parameter
Name Description
value AzureMetadata.AzureManagementGroup
Returns
Type Description
AzureMetadata.Builder

addManagementGroups(AzureMetadata.AzureManagementGroup.Builder builderForValue)

public AzureMetadata.Builder addManagementGroups(AzureMetadata.AzureManagementGroup.Builder builderForValue)

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

Parameter
Name Description
builderForValue AzureMetadata.AzureManagementGroup.Builder
Returns
Type Description
AzureMetadata.Builder

addManagementGroups(int index, AzureMetadata.AzureManagementGroup value)

public AzureMetadata.Builder addManagementGroups(int index, AzureMetadata.AzureManagementGroup value)

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

Parameters
Name Description
index int
value AzureMetadata.AzureManagementGroup
Returns
Type Description
AzureMetadata.Builder

addManagementGroups(int index, AzureMetadata.AzureManagementGroup.Builder builderForValue)

public AzureMetadata.Builder addManagementGroups(int index, AzureMetadata.AzureManagementGroup.Builder builderForValue)

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

Parameters
Name Description
index int
builderForValue AzureMetadata.AzureManagementGroup.Builder
Returns
Type Description
AzureMetadata.Builder

addManagementGroupsBuilder()

public AzureMetadata.AzureManagementGroup.Builder addManagementGroupsBuilder()

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

Returns
Type Description
AzureMetadata.AzureManagementGroup.Builder

addManagementGroupsBuilder(int index)

public AzureMetadata.AzureManagementGroup.Builder addManagementGroupsBuilder(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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

Parameter
Name Description
index int
Returns
Type Description
AzureMetadata.AzureManagementGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AzureMetadata build()
Returns
Type Description
AzureMetadata

buildPartial()

public AzureMetadata buildPartial()
Returns
Type Description
AzureMetadata

clear()

public AzureMetadata.Builder clear()
Returns
Type Description
AzureMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearManagementGroups()

public AzureMetadata.Builder clearManagementGroups()

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

Returns
Type Description
AzureMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResourceGroup()

public AzureMetadata.Builder clearResourceGroup()

The Azure resource group associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup resource_group = 6;

Returns
Type Description
AzureMetadata.Builder

clearSubscription()

public AzureMetadata.Builder clearSubscription()

The Azure subscription associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;

Returns
Type Description
AzureMetadata.Builder

clone()

public AzureMetadata.Builder clone()
Returns
Type Description
AzureMetadata.Builder
Overrides

getDefaultInstanceForType()

public AzureMetadata getDefaultInstanceForType()
Returns
Type Description
AzureMetadata

getDescriptorForType()

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

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

Parameter
Name Description
index int
Returns
Type Description
AzureMetadata.AzureManagementGroup

getManagementGroupsBuilder(int index)

public AzureMetadata.AzureManagementGroup.Builder getManagementGroupsBuilder(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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

Parameter
Name Description
index int
Returns
Type Description
AzureMetadata.AzureManagementGroup.Builder

getManagementGroupsBuilderList()

public List<AzureMetadata.AzureManagementGroup.Builder> getManagementGroupsBuilderList()

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

Returns
Type Description
List<Builder>

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

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

getResourceGroup()

public AzureMetadata.AzureResourceGroup getResourceGroup()

The Azure resource group associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup resource_group = 6;

Returns
Type Description
AzureMetadata.AzureResourceGroup

The resourceGroup.

getResourceGroupBuilder()

public AzureMetadata.AzureResourceGroup.Builder getResourceGroupBuilder()

The Azure resource group associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup resource_group = 6;

Returns
Type Description
AzureMetadata.AzureResourceGroup.Builder

getResourceGroupOrBuilder()

public AzureMetadata.AzureResourceGroupOrBuilder getResourceGroupOrBuilder()

The Azure resource group associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup resource_group = 6;

Returns
Type Description
AzureMetadata.AzureResourceGroupOrBuilder

getSubscription()

public AzureMetadata.AzureSubscription getSubscription()

The Azure subscription associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;

Returns
Type Description
AzureMetadata.AzureSubscription

The subscription.

getSubscriptionBuilder()

public AzureMetadata.AzureSubscription.Builder getSubscriptionBuilder()

The Azure subscription associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;

Returns
Type Description
AzureMetadata.AzureSubscription.Builder

getSubscriptionOrBuilder()

public AzureMetadata.AzureSubscriptionOrBuilder getSubscriptionOrBuilder()

The Azure subscription associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;

Returns
Type Description
AzureMetadata.AzureSubscriptionOrBuilder

hasResourceGroup()

public boolean hasResourceGroup()

The Azure resource group associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup resource_group = 6;

Returns
Type Description
boolean

Whether the resourceGroup field is set.

hasSubscription()

public boolean hasSubscription()

The Azure subscription associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;

Returns
Type Description
boolean

Whether the subscription field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AzureMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResourceGroup(AzureMetadata.AzureResourceGroup value)

public AzureMetadata.Builder mergeResourceGroup(AzureMetadata.AzureResourceGroup value)

The Azure resource group associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup resource_group = 6;

Parameter
Name Description
value AzureMetadata.AzureResourceGroup
Returns
Type Description
AzureMetadata.Builder

mergeSubscription(AzureMetadata.AzureSubscription value)

public AzureMetadata.Builder mergeSubscription(AzureMetadata.AzureSubscription value)

The Azure subscription associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;

Parameter
Name Description
value AzureMetadata.AzureSubscription
Returns
Type Description
AzureMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeManagementGroups(int index)

public AzureMetadata.Builder removeManagementGroups(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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

Parameter
Name Description
index int
Returns
Type Description
AzureMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setManagementGroups(int index, AzureMetadata.AzureManagementGroup value)

public AzureMetadata.Builder setManagementGroups(int index, AzureMetadata.AzureManagementGroup value)

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

Parameters
Name Description
index int
value AzureMetadata.AzureManagementGroup
Returns
Type Description
AzureMetadata.Builder

setManagementGroups(int index, AzureMetadata.AzureManagementGroup.Builder builderForValue)

public AzureMetadata.Builder setManagementGroups(int index, AzureMetadata.AzureManagementGroup.Builder builderForValue)

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.v1.AzureMetadata.AzureManagementGroup management_groups = 4;

Parameters
Name Description
index int
builderForValue AzureMetadata.AzureManagementGroup.Builder
Returns
Type Description
AzureMetadata.Builder

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

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

setResourceGroup(AzureMetadata.AzureResourceGroup value)

public AzureMetadata.Builder setResourceGroup(AzureMetadata.AzureResourceGroup value)

The Azure resource group associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup resource_group = 6;

Parameter
Name Description
value AzureMetadata.AzureResourceGroup
Returns
Type Description
AzureMetadata.Builder

setResourceGroup(AzureMetadata.AzureResourceGroup.Builder builderForValue)

public AzureMetadata.Builder setResourceGroup(AzureMetadata.AzureResourceGroup.Builder builderForValue)

The Azure resource group associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup resource_group = 6;

Parameter
Name Description
builderForValue AzureMetadata.AzureResourceGroup.Builder
Returns
Type Description
AzureMetadata.Builder

setSubscription(AzureMetadata.AzureSubscription value)

public AzureMetadata.Builder setSubscription(AzureMetadata.AzureSubscription value)

The Azure subscription associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;

Parameter
Name Description
value AzureMetadata.AzureSubscription
Returns
Type Description
AzureMetadata.Builder

setSubscription(AzureMetadata.AzureSubscription.Builder builderForValue)

public AzureMetadata.Builder setSubscription(AzureMetadata.AzureSubscription.Builder builderForValue)

The Azure subscription associated with the resource.

.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;

Parameter
Name Description
builderForValue AzureMetadata.AzureSubscription.Builder
Returns
Type Description
AzureMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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