Class OSPolicy.ResourceGroup.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OSPolicy.ResourceGroup.Builder>
com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder
- All Implemented Interfaces:
OSPolicy.ResourceGroupOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OSPolicy.ResourceGroup
public static final class OSPolicy.ResourceGroup.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OSPolicy.ResourceGroup.Builder>
implements OSPolicy.ResourceGroupOrBuilder
Resource groups provide a mechanism to group OS policy resources. Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems. When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the `OSFilter` specified within the resource group.Protobuf type
google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup-
Method Summary
Modifier and TypeMethodDescriptionaddAllInventoryFilters(Iterable<? extends OSPolicy.InventoryFilter> values) List of inventory filters for the resource group.addAllResources(Iterable<? extends OSPolicy.Resource> values) Required.addInventoryFilters(int index, OSPolicy.InventoryFilter value) List of inventory filters for the resource group.addInventoryFilters(int index, OSPolicy.InventoryFilter.Builder builderForValue) List of inventory filters for the resource group.List of inventory filters for the resource group.addInventoryFilters(OSPolicy.InventoryFilter.Builder builderForValue) List of inventory filters for the resource group.List of inventory filters for the resource group.addInventoryFiltersBuilder(int index) List of inventory filters for the resource group.addResources(int index, OSPolicy.Resource value) Required.addResources(int index, OSPolicy.Resource.Builder builderForValue) Required.addResources(OSPolicy.Resource value) Required.addResources(OSPolicy.Resource.Builder builderForValue) Required.Required.addResourcesBuilder(int index) Required.build()clear()List of inventory filters for the resource group.Deprecated.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInventoryFilters(int index) List of inventory filters for the resource group.getInventoryFiltersBuilder(int index) List of inventory filters for the resource group.List of inventory filters for the resource group.intList of inventory filters for the resource group.List of inventory filters for the resource group.getInventoryFiltersOrBuilder(int index) List of inventory filters for the resource group.List<? extends OSPolicy.InventoryFilterOrBuilder>List of inventory filters for the resource group.Deprecated.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated.Deprecated.Deprecated.getResources(int index) Required.getResourcesBuilder(int index) Required.Required.intRequired.Required.getResourcesOrBuilder(int index) Required.List<? extends OSPolicy.ResourceOrBuilder>Required.booleanDeprecated.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(OSPolicy.ResourceGroup other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOsFilter(OSPolicy.OSFilter value) Deprecated.removeInventoryFilters(int index) List of inventory filters for the resource group.removeResources(int index) Required.setInventoryFilters(int index, OSPolicy.InventoryFilter value) List of inventory filters for the resource group.setInventoryFilters(int index, OSPolicy.InventoryFilter.Builder builderForValue) List of inventory filters for the resource group.setOsFilter(OSPolicy.OSFilter value) Deprecated.setOsFilter(OSPolicy.OSFilter.Builder builderForValue) Deprecated.setResources(int index, OSPolicy.Resource value) Required.setResources(int index, OSPolicy.Resource.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OSPolicy.ResourceGroup.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OSPolicy.ResourceGroup.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OSPolicy.ResourceGroup.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OSPolicy.ResourceGroup.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OSPolicy.ResourceGroup.Builder>
-
mergeFrom
public OSPolicy.ResourceGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OSPolicy.ResourceGroup.Builder>- Throws:
IOException
-
hasOsFilter
Deprecated.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. See google/cloud/osconfig/v1alpha/os_policy.proto;l=511Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true];- Specified by:
hasOsFilterin interfaceOSPolicy.ResourceGroupOrBuilder- Returns:
- Whether the osFilter field is set.
-
getOsFilter
Deprecated.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. See google/cloud/osconfig/v1alpha/os_policy.proto;l=511Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true];- Specified by:
getOsFilterin interfaceOSPolicy.ResourceGroupOrBuilder- Returns:
- The osFilter.
-
setOsFilter
Deprecated.Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; -
setOsFilter
@Deprecated public OSPolicy.ResourceGroup.Builder setOsFilter(OSPolicy.OSFilter.Builder builderForValue) Deprecated.Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; -
mergeOsFilter
Deprecated.Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; -
clearOsFilter
Deprecated.Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; -
getOsFilterBuilder
Deprecated.Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; -
getOsFilterOrBuilder
Deprecated.Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true];- Specified by:
getOsFilterOrBuilderin interfaceOSPolicy.ResourceGroupOrBuilder
-
getInventoryFiltersList
List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3;- Specified by:
getInventoryFiltersListin interfaceOSPolicy.ResourceGroupOrBuilder
-
getInventoryFiltersCount
public int getInventoryFiltersCount()List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3;- Specified by:
getInventoryFiltersCountin interfaceOSPolicy.ResourceGroupOrBuilder
-
getInventoryFilters
List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3;- Specified by:
getInventoryFiltersin interfaceOSPolicy.ResourceGroupOrBuilder
-
setInventoryFilters
public OSPolicy.ResourceGroup.Builder setInventoryFilters(int index, OSPolicy.InventoryFilter value) List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
setInventoryFilters
public OSPolicy.ResourceGroup.Builder setInventoryFilters(int index, OSPolicy.InventoryFilter.Builder builderForValue) List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
addInventoryFilters
List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
addInventoryFilters
public OSPolicy.ResourceGroup.Builder addInventoryFilters(int index, OSPolicy.InventoryFilter value) List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
addInventoryFilters
public OSPolicy.ResourceGroup.Builder addInventoryFilters(OSPolicy.InventoryFilter.Builder builderForValue) List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
addInventoryFilters
public OSPolicy.ResourceGroup.Builder addInventoryFilters(int index, OSPolicy.InventoryFilter.Builder builderForValue) List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
addAllInventoryFilters
public OSPolicy.ResourceGroup.Builder addAllInventoryFilters(Iterable<? extends OSPolicy.InventoryFilter> values) List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
clearInventoryFilters
List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
removeInventoryFilters
List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
getInventoryFiltersBuilder
List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
getInventoryFiltersOrBuilder
List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3;- Specified by:
getInventoryFiltersOrBuilderin interfaceOSPolicy.ResourceGroupOrBuilder
-
getInventoryFiltersOrBuilderList
List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3;- Specified by:
getInventoryFiltersOrBuilderListin interfaceOSPolicy.ResourceGroupOrBuilder
-
addInventoryFiltersBuilder
List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
addInventoryFiltersBuilder
List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
getInventoryFiltersBuilderList
List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
getResourcesList
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getResourcesListin interfaceOSPolicy.ResourceGroupOrBuilder
-
getResourcesCount
public int getResourcesCount()Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getResourcesCountin interfaceOSPolicy.ResourceGroupOrBuilder
-
getResources
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getResourcesin interfaceOSPolicy.ResourceGroupOrBuilder
-
setResources
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
setResources
public OSPolicy.ResourceGroup.Builder setResources(int index, OSPolicy.Resource.Builder builderForValue) Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
addResources
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
addResources
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
addResources
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
addResources
public OSPolicy.ResourceGroup.Builder addResources(int index, OSPolicy.Resource.Builder builderForValue) Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
addAllResources
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
clearResources
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
removeResources
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
getResourcesBuilder
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
getResourcesOrBuilder
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getResourcesOrBuilderin interfaceOSPolicy.ResourceGroupOrBuilder
-
getResourcesOrBuilderList
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getResourcesOrBuilderListin interfaceOSPolicy.ResourceGroupOrBuilder
-
addResourcesBuilder
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
addResourcesBuilder
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
getResourcesBuilderList
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
-