Package com.google.cloud.osconfig.v1beta
Class GuestPolicies.GuestPolicy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GuestPolicies.GuestPolicy.Builder>
com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder
- All Implemented Interfaces:
GuestPolicies.GuestPolicyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GuestPolicies.GuestPolicy
public static final class GuestPolicies.GuestPolicy.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GuestPolicies.GuestPolicy.Builder>
implements GuestPolicies.GuestPolicyOrBuilder
An OS Config resource representing a guest configuration policy. These policies represent the desired state for VM instance guest environments including packages to install or remove, package repository configurations, and software to install.Protobuf type
google.cloud.osconfig.v1beta.GuestPolicy-
Method Summary
Modifier and TypeMethodDescriptionaddAllPackageRepositories(Iterable<? extends GuestPolicies.PackageRepository> values) A list of package repositories to configure on the VM instance.addAllPackages(Iterable<? extends GuestPolicies.Package> values) The software packages to be managed by this policy.addAllRecipes(Iterable<? extends GuestPolicies.SoftwareRecipe> values) A list of Recipes to install on the VM instance.addPackageRepositories(int index, GuestPolicies.PackageRepository value) A list of package repositories to configure on the VM instance.addPackageRepositories(int index, GuestPolicies.PackageRepository.Builder builderForValue) A list of package repositories to configure on the VM instance.A list of package repositories to configure on the VM instance.addPackageRepositories(GuestPolicies.PackageRepository.Builder builderForValue) A list of package repositories to configure on the VM instance.A list of package repositories to configure on the VM instance.addPackageRepositoriesBuilder(int index) A list of package repositories to configure on the VM instance.addPackages(int index, GuestPolicies.Package value) The software packages to be managed by this policy.addPackages(int index, GuestPolicies.Package.Builder builderForValue) The software packages to be managed by this policy.addPackages(GuestPolicies.Package value) The software packages to be managed by this policy.addPackages(GuestPolicies.Package.Builder builderForValue) The software packages to be managed by this policy.The software packages to be managed by this policy.addPackagesBuilder(int index) The software packages to be managed by this policy.addRecipes(int index, GuestPolicies.SoftwareRecipe value) A list of Recipes to install on the VM instance.addRecipes(int index, GuestPolicies.SoftwareRecipe.Builder builderForValue) A list of Recipes to install on the VM instance.A list of Recipes to install on the VM instance.addRecipes(GuestPolicies.SoftwareRecipe.Builder builderForValue) A list of Recipes to install on the VM instance.A list of Recipes to install on the VM instance.addRecipesBuilder(int index) A list of Recipes to install on the VM instance.build()clear()Required.Output only.Description of the guest policy.The etag for this guest policy.Required.A list of package repositories to configure on the VM instance.The software packages to be managed by this policy.A list of Recipes to install on the VM instance.Output only.Required.Required.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Description of the guest policy.com.google.protobuf.ByteStringDescription of the guest policy.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEtag()The etag for this guest policy.com.google.protobuf.ByteStringThe etag for this guest policy.getName()Required.com.google.protobuf.ByteStringRequired.getPackageRepositories(int index) A list of package repositories to configure on the VM instance.getPackageRepositoriesBuilder(int index) A list of package repositories to configure on the VM instance.A list of package repositories to configure on the VM instance.intA list of package repositories to configure on the VM instance.A list of package repositories to configure on the VM instance.getPackageRepositoriesOrBuilder(int index) A list of package repositories to configure on the VM instance.List<? extends GuestPolicies.PackageRepositoryOrBuilder>A list of package repositories to configure on the VM instance.getPackages(int index) The software packages to be managed by this policy.getPackagesBuilder(int index) The software packages to be managed by this policy.The software packages to be managed by this policy.intThe software packages to be managed by this policy.The software packages to be managed by this policy.getPackagesOrBuilder(int index) The software packages to be managed by this policy.List<? extends GuestPolicies.PackageOrBuilder>The software packages to be managed by this policy.getRecipes(int index) A list of Recipes to install on the VM instance.getRecipesBuilder(int index) A list of Recipes to install on the VM instance.A list of Recipes to install on the VM instance.intA list of Recipes to install on the VM instance.A list of Recipes to install on the VM instance.getRecipesOrBuilder(int index) A list of Recipes to install on the VM instance.List<? extends GuestPolicies.SoftwareRecipeOrBuilder>A list of Recipes to install on the VM instance.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanRequired.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanRequired.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.removePackageRepositories(int index) A list of package repositories to configure on the VM instance.removePackages(int index) The software packages to be managed by this policy.removeRecipes(int index) A list of Recipes to install on the VM instance.Required.setAssignment(GuestPolicies.Assignment.Builder builderForValue) Required.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) Description of the guest policy.setDescriptionBytes(com.google.protobuf.ByteString value) Description of the guest policy.The etag for this guest policy.setEtagBytes(com.google.protobuf.ByteString value) The etag for this guest policy.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setPackageRepositories(int index, GuestPolicies.PackageRepository value) A list of package repositories to configure on the VM instance.setPackageRepositories(int index, GuestPolicies.PackageRepository.Builder builderForValue) A list of package repositories to configure on the VM instance.setPackages(int index, GuestPolicies.Package value) The software packages to be managed by this policy.setPackages(int index, GuestPolicies.Package.Builder builderForValue) The software packages to be managed by this policy.setRecipes(int index, GuestPolicies.SoftwareRecipe value) A list of Recipes to install on the VM instance.setRecipes(int index, GuestPolicies.SoftwareRecipe.Builder builderForValue) A list of Recipes to install on the VM instance.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.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<GuestPolicies.GuestPolicy.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<GuestPolicies.GuestPolicy.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<GuestPolicies.GuestPolicy.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<GuestPolicies.GuestPolicy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GuestPolicies.GuestPolicy.Builder>
-
mergeFrom
public GuestPolicies.GuestPolicy.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<GuestPolicies.GuestPolicy.Builder>- Throws:
IOException
-
getName
Required. Unique name of the resource in this project using one of the following forms: `projects/{project_number}/guestPolicies/{guest_policy_id}`.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamein interfaceGuestPolicies.GuestPolicyOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. Unique name of the resource in this project using one of the following forms: `projects/{project_number}/guestPolicies/{guest_policy_id}`.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameBytesin interfaceGuestPolicies.GuestPolicyOrBuilder- Returns:
- The bytes for name.
-
setName
Required. Unique name of the resource in this project using one of the following forms: `projects/{project_number}/guestPolicies/{guest_policy_id}`.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. Unique name of the resource in this project using one of the following forms: `projects/{project_number}/guestPolicies/{guest_policy_id}`.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNameBytes
Required. Unique name of the resource in this project using one of the following forms: `projects/{project_number}/guestPolicies/{guest_policy_id}`.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
Description of the guest policy. Length of the description is limited to 1024 characters.
string description = 2;- Specified by:
getDescriptionin interfaceGuestPolicies.GuestPolicyOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of the guest policy. Length of the description is limited to 1024 characters.
string description = 2;- Specified by:
getDescriptionBytesin interfaceGuestPolicies.GuestPolicyOrBuilder- Returns:
- The bytes for description.
-
setDescription
Description of the guest policy. Length of the description is limited to 1024 characters.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Description of the guest policy. Length of the description is limited to 1024 characters.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Description of the guest policy. Length of the description is limited to 1024 characters.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. Time this guest policy was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceGuestPolicies.GuestPolicyOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Time this guest policy was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceGuestPolicies.GuestPolicyOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Time this guest policy was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public GuestPolicies.GuestPolicy.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Time this guest policy was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Time this guest policy was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Time this guest policy was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Time this guest policy was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time this guest policy was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceGuestPolicies.GuestPolicyOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Last time this guest policy was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceGuestPolicies.GuestPolicyOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Last time this guest policy was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceGuestPolicies.GuestPolicyOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Last time this guest policy was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
public GuestPolicies.GuestPolicy.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Last time this guest policy was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Last time this guest policy was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Last time this guest policy was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Last time this guest policy was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last time this guest policy was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceGuestPolicies.GuestPolicyOrBuilder
-
hasAssignment
public boolean hasAssignment()Required. Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service [handles assignment conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
.google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasAssignmentin interfaceGuestPolicies.GuestPolicyOrBuilder- Returns:
- Whether the assignment field is set.
-
getAssignment
Required. Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service [handles assignment conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
.google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAssignmentin interfaceGuestPolicies.GuestPolicyOrBuilder- Returns:
- The assignment.
-
setAssignment
Required. Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service [handles assignment conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
.google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; -
setAssignment
public GuestPolicies.GuestPolicy.Builder setAssignment(GuestPolicies.Assignment.Builder builderForValue) Required. Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service [handles assignment conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
.google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; -
mergeAssignment
Required. Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service [handles assignment conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
.google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; -
clearAssignment
Required. Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service [handles assignment conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
.google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; -
getAssignmentBuilder
Required. Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service [handles assignment conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
.google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; -
getAssignmentOrBuilder
Required. Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service [handles assignment conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
.google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAssignmentOrBuilderin interfaceGuestPolicies.GuestPolicyOrBuilder
-
getPackagesList
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;- Specified by:
getPackagesListin interfaceGuestPolicies.GuestPolicyOrBuilder
-
getPackagesCount
public int getPackagesCount()The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;- Specified by:
getPackagesCountin interfaceGuestPolicies.GuestPolicyOrBuilder
-
getPackages
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;- Specified by:
getPackagesin interfaceGuestPolicies.GuestPolicyOrBuilder
-
setPackages
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7; -
setPackages
public GuestPolicies.GuestPolicy.Builder setPackages(int index, GuestPolicies.Package.Builder builderForValue) The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7; -
addPackages
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7; -
addPackages
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7; -
addPackages
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7; -
addPackages
public GuestPolicies.GuestPolicy.Builder addPackages(int index, GuestPolicies.Package.Builder builderForValue) The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7; -
addAllPackages
public GuestPolicies.GuestPolicy.Builder addAllPackages(Iterable<? extends GuestPolicies.Package> values) The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7; -
clearPackages
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7; -
removePackages
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7; -
getPackagesBuilder
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7; -
getPackagesOrBuilder
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;- Specified by:
getPackagesOrBuilderin interfaceGuestPolicies.GuestPolicyOrBuilder
-
getPackagesOrBuilderList
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;- Specified by:
getPackagesOrBuilderListin interfaceGuestPolicies.GuestPolicyOrBuilder
-
addPackagesBuilder
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7; -
addPackagesBuilder
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7; -
getPackagesBuilderList
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7; -
getPackageRepositoriesList
A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8;- Specified by:
getPackageRepositoriesListin interfaceGuestPolicies.GuestPolicyOrBuilder
-
getPackageRepositoriesCount
public int getPackageRepositoriesCount()A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8;- Specified by:
getPackageRepositoriesCountin interfaceGuestPolicies.GuestPolicyOrBuilder
-
getPackageRepositories
A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8;- Specified by:
getPackageRepositoriesin interfaceGuestPolicies.GuestPolicyOrBuilder
-
setPackageRepositories
public GuestPolicies.GuestPolicy.Builder setPackageRepositories(int index, GuestPolicies.PackageRepository value) A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; -
setPackageRepositories
public GuestPolicies.GuestPolicy.Builder setPackageRepositories(int index, GuestPolicies.PackageRepository.Builder builderForValue) A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; -
addPackageRepositories
public GuestPolicies.GuestPolicy.Builder addPackageRepositories(GuestPolicies.PackageRepository value) A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; -
addPackageRepositories
public GuestPolicies.GuestPolicy.Builder addPackageRepositories(int index, GuestPolicies.PackageRepository value) A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; -
addPackageRepositories
public GuestPolicies.GuestPolicy.Builder addPackageRepositories(GuestPolicies.PackageRepository.Builder builderForValue) A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; -
addPackageRepositories
public GuestPolicies.GuestPolicy.Builder addPackageRepositories(int index, GuestPolicies.PackageRepository.Builder builderForValue) A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; -
addAllPackageRepositories
public GuestPolicies.GuestPolicy.Builder addAllPackageRepositories(Iterable<? extends GuestPolicies.PackageRepository> values) A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; -
clearPackageRepositories
A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; -
removePackageRepositories
A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; -
getPackageRepositoriesBuilder
A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; -
getPackageRepositoriesOrBuilder
A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8;- Specified by:
getPackageRepositoriesOrBuilderin interfaceGuestPolicies.GuestPolicyOrBuilder
-
getPackageRepositoriesOrBuilderList
public List<? extends GuestPolicies.PackageRepositoryOrBuilder> getPackageRepositoriesOrBuilderList()A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8;- Specified by:
getPackageRepositoriesOrBuilderListin interfaceGuestPolicies.GuestPolicyOrBuilder
-
addPackageRepositoriesBuilder
A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; -
addPackageRepositoriesBuilder
A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; -
getPackageRepositoriesBuilderList
A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; -
getRecipesList
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9;- Specified by:
getRecipesListin interfaceGuestPolicies.GuestPolicyOrBuilder
-
getRecipesCount
public int getRecipesCount()A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9;- Specified by:
getRecipesCountin interfaceGuestPolicies.GuestPolicyOrBuilder
-
getRecipes
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9;- Specified by:
getRecipesin interfaceGuestPolicies.GuestPolicyOrBuilder
-
setRecipes
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; -
setRecipes
public GuestPolicies.GuestPolicy.Builder setRecipes(int index, GuestPolicies.SoftwareRecipe.Builder builderForValue) A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; -
addRecipes
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; -
addRecipes
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; -
addRecipes
public GuestPolicies.GuestPolicy.Builder addRecipes(GuestPolicies.SoftwareRecipe.Builder builderForValue) A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; -
addRecipes
public GuestPolicies.GuestPolicy.Builder addRecipes(int index, GuestPolicies.SoftwareRecipe.Builder builderForValue) A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; -
addAllRecipes
public GuestPolicies.GuestPolicy.Builder addAllRecipes(Iterable<? extends GuestPolicies.SoftwareRecipe> values) A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; -
clearRecipes
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; -
removeRecipes
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; -
getRecipesBuilder
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; -
getRecipesOrBuilder
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9;- Specified by:
getRecipesOrBuilderin interfaceGuestPolicies.GuestPolicyOrBuilder
-
getRecipesOrBuilderList
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9;- Specified by:
getRecipesOrBuilderListin interfaceGuestPolicies.GuestPolicyOrBuilder
-
addRecipesBuilder
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; -
addRecipesBuilder
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; -
getRecipesBuilderList
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; -
getEtag
The etag for this guest policy. If this is provided on update, it must match the server's etag.
string etag = 10;- Specified by:
getEtagin interfaceGuestPolicies.GuestPolicyOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()The etag for this guest policy. If this is provided on update, it must match the server's etag.
string etag = 10;- Specified by:
getEtagBytesin interfaceGuestPolicies.GuestPolicyOrBuilder- Returns:
- The bytes for etag.
-
setEtag
The etag for this guest policy. If this is provided on update, it must match the server's etag.
string etag = 10;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
The etag for this guest policy. If this is provided on update, it must match the server's etag.
string etag = 10;- Returns:
- This builder for chaining.
-
setEtagBytes
The etag for this guest policy. If this is provided on update, it must match the server's etag.
string etag = 10;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-