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.GeneratedMessageV3.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.GeneratedMessageV3.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 typegoogle.cloud.osconfig.v1beta.GuestPolicy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GuestPolicies.GuestPolicy.BuilderaddAllPackageRepositories(Iterable<? extends GuestPolicies.PackageRepository> values)A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.BuilderaddAllPackages(Iterable<? extends GuestPolicies.Package> values)The software packages to be managed by this policy.GuestPolicies.GuestPolicy.BuilderaddAllRecipes(Iterable<? extends GuestPolicies.SoftwareRecipe> values)A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.BuilderaddPackageRepositories(int index, GuestPolicies.PackageRepository value)A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.BuilderaddPackageRepositories(int index, GuestPolicies.PackageRepository.Builder builderForValue)A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.BuilderaddPackageRepositories(GuestPolicies.PackageRepository value)A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.BuilderaddPackageRepositories(GuestPolicies.PackageRepository.Builder builderForValue)A list of package repositories to configure on the VM instance.GuestPolicies.PackageRepository.BuilderaddPackageRepositoriesBuilder()A list of package repositories to configure on the VM instance.GuestPolicies.PackageRepository.BuilderaddPackageRepositoriesBuilder(int index)A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.BuilderaddPackages(int index, GuestPolicies.Package value)The software packages to be managed by this policy.GuestPolicies.GuestPolicy.BuilderaddPackages(int index, GuestPolicies.Package.Builder builderForValue)The software packages to be managed by this policy.GuestPolicies.GuestPolicy.BuilderaddPackages(GuestPolicies.Package value)The software packages to be managed by this policy.GuestPolicies.GuestPolicy.BuilderaddPackages(GuestPolicies.Package.Builder builderForValue)The software packages to be managed by this policy.GuestPolicies.Package.BuilderaddPackagesBuilder()The software packages to be managed by this policy.GuestPolicies.Package.BuilderaddPackagesBuilder(int index)The software packages to be managed by this policy.GuestPolicies.GuestPolicy.BuilderaddRecipes(int index, GuestPolicies.SoftwareRecipe value)A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.BuilderaddRecipes(int index, GuestPolicies.SoftwareRecipe.Builder builderForValue)A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.BuilderaddRecipes(GuestPolicies.SoftwareRecipe value)A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.BuilderaddRecipes(GuestPolicies.SoftwareRecipe.Builder builderForValue)A list of Recipes to install on the VM instance.GuestPolicies.SoftwareRecipe.BuilderaddRecipesBuilder()A list of Recipes to install on the VM instance.GuestPolicies.SoftwareRecipe.BuilderaddRecipesBuilder(int index)A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GuestPolicies.GuestPolicybuild()GuestPolicies.GuestPolicybuildPartial()GuestPolicies.GuestPolicy.Builderclear()GuestPolicies.GuestPolicy.BuilderclearAssignment()Required.GuestPolicies.GuestPolicy.BuilderclearCreateTime()Output only.GuestPolicies.GuestPolicy.BuilderclearDescription()Description of the guest policy.GuestPolicies.GuestPolicy.BuilderclearEtag()The etag for this guest policy.GuestPolicies.GuestPolicy.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GuestPolicies.GuestPolicy.BuilderclearName()Required.GuestPolicies.GuestPolicy.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GuestPolicies.GuestPolicy.BuilderclearPackageRepositories()A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.BuilderclearPackages()The software packages to be managed by this policy.GuestPolicies.GuestPolicy.BuilderclearRecipes()A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.BuilderclearUpdateTime()Output only.GuestPolicies.GuestPolicy.Builderclone()GuestPolicies.AssignmentgetAssignment()Required.GuestPolicies.Assignment.BuildergetAssignmentBuilder()Required.GuestPolicies.AssignmentOrBuildergetAssignmentOrBuilder()Required.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.GuestPolicies.GuestPolicygetDefaultInstanceForType()StringgetDescription()Description of the guest policy.com.google.protobuf.ByteStringgetDescriptionBytes()Description of the guest policy.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEtag()The etag for this guest policy.com.google.protobuf.ByteStringgetEtagBytes()The etag for this guest policy.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.GuestPolicies.PackageRepositorygetPackageRepositories(int index)A list of package repositories to configure on the VM instance.GuestPolicies.PackageRepository.BuildergetPackageRepositoriesBuilder(int index)A list of package repositories to configure on the VM instance.List<GuestPolicies.PackageRepository.Builder>getPackageRepositoriesBuilderList()A list of package repositories to configure on the VM instance.intgetPackageRepositoriesCount()A list of package repositories to configure on the VM instance.List<GuestPolicies.PackageRepository>getPackageRepositoriesList()A list of package repositories to configure on the VM instance.GuestPolicies.PackageRepositoryOrBuildergetPackageRepositoriesOrBuilder(int index)A list of package repositories to configure on the VM instance.List<? extends GuestPolicies.PackageRepositoryOrBuilder>getPackageRepositoriesOrBuilderList()A list of package repositories to configure on the VM instance.GuestPolicies.PackagegetPackages(int index)The software packages to be managed by this policy.GuestPolicies.Package.BuildergetPackagesBuilder(int index)The software packages to be managed by this policy.List<GuestPolicies.Package.Builder>getPackagesBuilderList()The software packages to be managed by this policy.intgetPackagesCount()The software packages to be managed by this policy.List<GuestPolicies.Package>getPackagesList()The software packages to be managed by this policy.GuestPolicies.PackageOrBuildergetPackagesOrBuilder(int index)The software packages to be managed by this policy.List<? extends GuestPolicies.PackageOrBuilder>getPackagesOrBuilderList()The software packages to be managed by this policy.GuestPolicies.SoftwareRecipegetRecipes(int index)A list of Recipes to install on the VM instance.GuestPolicies.SoftwareRecipe.BuildergetRecipesBuilder(int index)A list of Recipes to install on the VM instance.List<GuestPolicies.SoftwareRecipe.Builder>getRecipesBuilderList()A list of Recipes to install on the VM instance.intgetRecipesCount()A list of Recipes to install on the VM instance.List<GuestPolicies.SoftwareRecipe>getRecipesList()A list of Recipes to install on the VM instance.GuestPolicies.SoftwareRecipeOrBuildergetRecipesOrBuilder(int index)A list of Recipes to install on the VM instance.List<? extends GuestPolicies.SoftwareRecipeOrBuilder>getRecipesOrBuilderList()A list of Recipes to install on the VM instance.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasAssignment()Required.booleanhasCreateTime()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GuestPolicies.GuestPolicy.BuildermergeAssignment(GuestPolicies.Assignment value)Required.GuestPolicies.GuestPolicy.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.GuestPolicies.GuestPolicy.BuildermergeFrom(GuestPolicies.GuestPolicy other)GuestPolicies.GuestPolicy.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GuestPolicies.GuestPolicy.BuildermergeFrom(com.google.protobuf.Message other)GuestPolicies.GuestPolicy.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GuestPolicies.GuestPolicy.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.GuestPolicies.GuestPolicy.BuilderremovePackageRepositories(int index)A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.BuilderremovePackages(int index)The software packages to be managed by this policy.GuestPolicies.GuestPolicy.BuilderremoveRecipes(int index)A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.BuildersetAssignment(GuestPolicies.Assignment value)Required.GuestPolicies.GuestPolicy.BuildersetAssignment(GuestPolicies.Assignment.Builder builderForValue)Required.GuestPolicies.GuestPolicy.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.GuestPolicies.GuestPolicy.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.GuestPolicies.GuestPolicy.BuildersetDescription(String value)Description of the guest policy.GuestPolicies.GuestPolicy.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Description of the guest policy.GuestPolicies.GuestPolicy.BuildersetEtag(String value)The etag for this guest policy.GuestPolicies.GuestPolicy.BuildersetEtagBytes(com.google.protobuf.ByteString value)The etag for this guest policy.GuestPolicies.GuestPolicy.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GuestPolicies.GuestPolicy.BuildersetName(String value)Required.GuestPolicies.GuestPolicy.BuildersetNameBytes(com.google.protobuf.ByteString value)Required.GuestPolicies.GuestPolicy.BuildersetPackageRepositories(int index, GuestPolicies.PackageRepository value)A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.BuildersetPackageRepositories(int index, GuestPolicies.PackageRepository.Builder builderForValue)A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.BuildersetPackages(int index, GuestPolicies.Package value)The software packages to be managed by this policy.GuestPolicies.GuestPolicy.BuildersetPackages(int index, GuestPolicies.Package.Builder builderForValue)The software packages to be managed by this policy.GuestPolicies.GuestPolicy.BuildersetRecipes(int index, GuestPolicies.SoftwareRecipe value)A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.BuildersetRecipes(int index, GuestPolicies.SoftwareRecipe.Builder builderForValue)A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)GuestPolicies.GuestPolicy.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GuestPolicies.GuestPolicy.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.GuestPolicies.GuestPolicy.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.GuestPolicy.Builder>
-
clear
public 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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<GuestPolicies.GuestPolicy.Builder>
-
getDefaultInstanceForType
public GuestPolicies.GuestPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GuestPolicies.GuestPolicy build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GuestPolicies.GuestPolicy buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GuestPolicies.GuestPolicy.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.GuestPolicy.Builder>
-
setField
public GuestPolicies.GuestPolicy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.GuestPolicy.Builder>
-
clearField
public GuestPolicies.GuestPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.GuestPolicy.Builder>
-
clearOneof
public GuestPolicies.GuestPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.GuestPolicy.Builder>
-
setRepeatedField
public GuestPolicies.GuestPolicy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.GuestPolicy.Builder>
-
addRepeatedField
public GuestPolicies.GuestPolicy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.GuestPolicy.Builder>
-
mergeFrom
public GuestPolicies.GuestPolicy.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GuestPolicies.GuestPolicy.Builder>
-
mergeFrom
public GuestPolicies.GuestPolicy.Builder mergeFrom(GuestPolicies.GuestPolicy other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public GuestPolicies.GuestPolicy.Builder setName(String value)
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
public GuestPolicies.GuestPolicy.Builder 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
public GuestPolicies.GuestPolicy.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public String 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
public GuestPolicies.GuestPolicy.Builder setDescription(String value)
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
public GuestPolicies.GuestPolicy.Builder clearDescription()
Description of the guest policy. Length of the description is limited to 1024 characters.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public GuestPolicies.GuestPolicy.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
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
public GuestPolicies.GuestPolicy.Builder setCreateTime(com.google.protobuf.Timestamp value)
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
public GuestPolicies.GuestPolicy.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time this guest policy was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public GuestPolicies.GuestPolicy.Builder 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
public GuestPolicies.GuestPolicy.Builder setUpdateTime(com.google.protobuf.Timestamp value)
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
public GuestPolicies.GuestPolicy.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Last time this guest policy was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public GuestPolicies.GuestPolicy.Builder 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
public GuestPolicies.Assignment 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
public GuestPolicies.GuestPolicy.Builder setAssignment(GuestPolicies.Assignment value)
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
public GuestPolicies.GuestPolicy.Builder mergeAssignment(GuestPolicies.Assignment value)
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
public GuestPolicies.GuestPolicy.Builder 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
public GuestPolicies.Assignment.Builder 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
public GuestPolicies.AssignmentOrBuilder 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
public List<GuestPolicies.Package> 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
public GuestPolicies.Package getPackages(int index)
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;- Specified by:
getPackagesin interfaceGuestPolicies.GuestPolicyOrBuilder
-
setPackages
public GuestPolicies.GuestPolicy.Builder setPackages(int index, GuestPolicies.Package value)
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
public GuestPolicies.GuestPolicy.Builder addPackages(GuestPolicies.Package value)
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 value)
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;
-
addPackages
public GuestPolicies.GuestPolicy.Builder addPackages(GuestPolicies.Package.Builder builderForValue)
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
public GuestPolicies.GuestPolicy.Builder clearPackages()
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;
-
removePackages
public GuestPolicies.GuestPolicy.Builder removePackages(int index)
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;
-
getPackagesBuilder
public GuestPolicies.Package.Builder getPackagesBuilder(int index)
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;
-
getPackagesOrBuilder
public GuestPolicies.PackageOrBuilder getPackagesOrBuilder(int index)
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;- Specified by:
getPackagesOrBuilderin interfaceGuestPolicies.GuestPolicyOrBuilder
-
getPackagesOrBuilderList
public List<? extends GuestPolicies.PackageOrBuilder> getPackagesOrBuilderList()
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;- Specified by:
getPackagesOrBuilderListin interfaceGuestPolicies.GuestPolicyOrBuilder
-
addPackagesBuilder
public GuestPolicies.Package.Builder addPackagesBuilder()
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;
-
addPackagesBuilder
public GuestPolicies.Package.Builder addPackagesBuilder(int index)
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;
-
getPackagesBuilderList
public List<GuestPolicies.Package.Builder> getPackagesBuilderList()
The software packages to be managed by this policy.
repeated .google.cloud.osconfig.v1beta.Package packages = 7;
-
getPackageRepositoriesList
public List<GuestPolicies.PackageRepository> 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
public GuestPolicies.PackageRepository getPackageRepositories(int index)
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
public GuestPolicies.GuestPolicy.Builder 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
public GuestPolicies.GuestPolicy.Builder removePackageRepositories(int index)
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
public GuestPolicies.PackageRepository.Builder getPackageRepositoriesBuilder(int index)
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
public GuestPolicies.PackageRepositoryOrBuilder getPackageRepositoriesOrBuilder(int index)
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
public GuestPolicies.PackageRepository.Builder 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
public GuestPolicies.PackageRepository.Builder addPackageRepositoriesBuilder(int index)
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
public List<GuestPolicies.PackageRepository.Builder> 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
public List<GuestPolicies.SoftwareRecipe> 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
public GuestPolicies.SoftwareRecipe getRecipes(int index)
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9;- Specified by:
getRecipesin interfaceGuestPolicies.GuestPolicyOrBuilder
-
setRecipes
public GuestPolicies.GuestPolicy.Builder setRecipes(int index, GuestPolicies.SoftwareRecipe value)
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
public GuestPolicies.GuestPolicy.Builder addRecipes(GuestPolicies.SoftwareRecipe value)
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 value)
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
public GuestPolicies.GuestPolicy.Builder clearRecipes()
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9;
-
removeRecipes
public GuestPolicies.GuestPolicy.Builder removeRecipes(int index)
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9;
-
getRecipesBuilder
public GuestPolicies.SoftwareRecipe.Builder getRecipesBuilder(int index)
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9;
-
getRecipesOrBuilder
public GuestPolicies.SoftwareRecipeOrBuilder getRecipesOrBuilder(int index)
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9;- Specified by:
getRecipesOrBuilderin interfaceGuestPolicies.GuestPolicyOrBuilder
-
getRecipesOrBuilderList
public List<? extends GuestPolicies.SoftwareRecipeOrBuilder> 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
public GuestPolicies.SoftwareRecipe.Builder addRecipesBuilder()
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9;
-
addRecipesBuilder
public GuestPolicies.SoftwareRecipe.Builder addRecipesBuilder(int index)
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9;
-
getRecipesBuilderList
public List<GuestPolicies.SoftwareRecipe.Builder> getRecipesBuilderList()
A list of Recipes to install on the VM instance.
repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9;
-
getEtag
public String 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
public GuestPolicies.GuestPolicy.Builder setEtag(String value)
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
public GuestPolicies.GuestPolicy.Builder 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
public GuestPolicies.GuestPolicy.Builder setEtagBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final GuestPolicies.GuestPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.GuestPolicy.Builder>
-
mergeUnknownFields
public final GuestPolicies.GuestPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.GuestPolicy.Builder>
-
-