Package com.google.cloud.osconfig.v1
Class OSPolicy.ResourceGroup.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.ResourceGroup.Builder>
-
- com.google.cloud.osconfig.v1.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.GeneratedMessageV3.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 typegoogle.cloud.osconfig.v1.OSPolicy.ResourceGroup
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.ResourceGroup.Builder>
-
clear
public OSPolicy.ResourceGroup.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.ResourceGroup.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.ResourceGroup.Builder>
-
getDefaultInstanceForType
public OSPolicy.ResourceGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public OSPolicy.ResourceGroup build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OSPolicy.ResourceGroup buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OSPolicy.ResourceGroup.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.ResourceGroup.Builder>
-
setField
public OSPolicy.ResourceGroup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.ResourceGroup.Builder>
-
clearField
public OSPolicy.ResourceGroup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.ResourceGroup.Builder>
-
clearOneof
public OSPolicy.ResourceGroup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.ResourceGroup.Builder>
-
setRepeatedField
public OSPolicy.ResourceGroup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.ResourceGroup.Builder>
-
addRepeatedField
public OSPolicy.ResourceGroup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.ResourceGroup.Builder>
-
mergeFrom
public OSPolicy.ResourceGroup.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<OSPolicy.ResourceGroup.Builder>
-
mergeFrom
public OSPolicy.ResourceGroup.Builder mergeFrom(OSPolicy.ResourceGroup other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.ResourceGroup.Builder>
-
mergeFrom
public OSPolicy.ResourceGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<OSPolicy.ResourceGroup.Builder>
- Throws:
IOException
-
getInventoryFiltersList
public List<OSPolicy.InventoryFilter> 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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
- Specified by:
getInventoryFiltersList
in 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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
- Specified by:
getInventoryFiltersCount
in interfaceOSPolicy.ResourceGroupOrBuilder
-
getInventoryFilters
public OSPolicy.InventoryFilter getInventoryFilters(int index)
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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
- Specified by:
getInventoryFilters
in 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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
-
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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
-
addInventoryFilters
public OSPolicy.ResourceGroup.Builder addInventoryFilters(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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
-
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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
-
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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
-
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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
-
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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
-
clearInventoryFilters
public OSPolicy.ResourceGroup.Builder 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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
-
removeInventoryFilters
public OSPolicy.ResourceGroup.Builder removeInventoryFilters(int index)
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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
-
getInventoryFiltersBuilder
public OSPolicy.InventoryFilter.Builder getInventoryFiltersBuilder(int index)
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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
-
getInventoryFiltersOrBuilder
public OSPolicy.InventoryFilterOrBuilder getInventoryFiltersOrBuilder(int index)
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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
- Specified by:
getInventoryFiltersOrBuilder
in interfaceOSPolicy.ResourceGroupOrBuilder
-
getInventoryFiltersOrBuilderList
public List<? extends OSPolicy.InventoryFilterOrBuilder> 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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
- Specified by:
getInventoryFiltersOrBuilderList
in interfaceOSPolicy.ResourceGroupOrBuilder
-
addInventoryFiltersBuilder
public OSPolicy.InventoryFilter.Builder 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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
-
addInventoryFiltersBuilder
public OSPolicy.InventoryFilter.Builder addInventoryFiltersBuilder(int index)
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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
-
getInventoryFiltersBuilderList
public List<OSPolicy.InventoryFilter.Builder> 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.v1.OSPolicy.InventoryFilter inventory_filters = 1;
-
getResourcesList
public List<OSPolicy.Resource> getResourcesList()
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getResourcesList
in 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.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getResourcesCount
in interfaceOSPolicy.ResourceGroupOrBuilder
-
getResources
public OSPolicy.Resource getResources(int index)
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getResources
in interfaceOSPolicy.ResourceGroupOrBuilder
-
setResources
public OSPolicy.ResourceGroup.Builder setResources(int index, OSPolicy.Resource value)
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1.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.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
-
addResources
public OSPolicy.ResourceGroup.Builder addResources(OSPolicy.Resource value)
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
-
addResources
public OSPolicy.ResourceGroup.Builder addResources(int index, OSPolicy.Resource value)
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
-
addResources
public OSPolicy.ResourceGroup.Builder addResources(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.v1.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.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
-
addAllResources
public OSPolicy.ResourceGroup.Builder addAllResources(Iterable<? extends OSPolicy.Resource> values)
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
-
clearResources
public OSPolicy.ResourceGroup.Builder clearResources()
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
-
removeResources
public OSPolicy.ResourceGroup.Builder removeResources(int index)
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
-
getResourcesBuilder
public OSPolicy.Resource.Builder getResourcesBuilder(int index)
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
-
getResourcesOrBuilder
public OSPolicy.ResourceOrBuilder getResourcesOrBuilder(int index)
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getResourcesOrBuilder
in interfaceOSPolicy.ResourceGroupOrBuilder
-
getResourcesOrBuilderList
public List<? extends OSPolicy.ResourceOrBuilder> getResourcesOrBuilderList()
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getResourcesOrBuilderList
in interfaceOSPolicy.ResourceGroupOrBuilder
-
addResourcesBuilder
public OSPolicy.Resource.Builder addResourcesBuilder()
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
-
addResourcesBuilder
public OSPolicy.Resource.Builder addResourcesBuilder(int index)
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
-
getResourcesBuilderList
public List<OSPolicy.Resource.Builder> getResourcesBuilderList()
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
-
setUnknownFields
public final OSPolicy.ResourceGroup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.ResourceGroup.Builder>
-
mergeUnknownFields
public final OSPolicy.ResourceGroup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.ResourceGroup.Builder>
-
-