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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
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;
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;
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;
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;
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;
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
|
public AzureMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AzureMetadata build()
public AzureMetadata buildPartial()
public AzureMetadata.Builder clear()
Overrides
public AzureMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
public AzureMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AzureMetadata.Builder clearResourceGroup()
The Azure resource group associated with the resource.
.google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup resource_group = 6;
public AzureMetadata.Builder clearSubscription()
The Azure subscription associated with the resource.
.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;
public AzureMetadata.Builder clone()
Overrides
public AzureMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
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;
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 |
|
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;
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
|
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> |
|
public AzureMetadata.AzureResourceGroup getResourceGroup()
The Azure resource group associated with the resource.
.google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup resource_group = 6;
public AzureMetadata.AzureResourceGroup.Builder getResourceGroupBuilder()
The Azure resource group associated with the resource.
.google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup resource_group = 6;
public AzureMetadata.AzureResourceGroupOrBuilder getResourceGroupOrBuilder()
The Azure resource group associated with the resource.
.google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup resource_group = 6;
public AzureMetadata.AzureSubscription getSubscription()
The Azure subscription associated with the resource.
.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;
public AzureMetadata.AzureSubscription.Builder getSubscriptionBuilder()
The Azure subscription associated with the resource.
.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;
public AzureMetadata.AzureSubscriptionOrBuilder getSubscriptionOrBuilder()
The Azure subscription associated with the resource.
.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AzureMetadata.Builder mergeFrom(AzureMetadata other)
public AzureMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AzureMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public AzureMetadata.Builder mergeResourceGroup(AzureMetadata.AzureResourceGroup value)
The Azure resource group associated with the resource.
.google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup resource_group = 6;
public AzureMetadata.Builder mergeSubscription(AzureMetadata.AzureSubscription value)
The Azure subscription associated with the resource.
.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;
public final AzureMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public AzureMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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;
public AzureMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public AzureMetadata.Builder setResourceGroup(AzureMetadata.AzureResourceGroup value)
The Azure resource group associated with the resource.
.google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup resource_group = 6;
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;
public AzureMetadata.Builder setSubscription(AzureMetadata.AzureSubscription value)
The Azure subscription associated with the resource.
.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;
public AzureMetadata.Builder setSubscription(AzureMetadata.AzureSubscription.Builder builderForValue)
The Azure subscription associated with the resource.
.google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription subscription = 5;
public final AzureMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides