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.Builder
addAllPackageRepositories(Iterable<? extends GuestPolicies.PackageRepository> values)
A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.Builder
addAllPackages(Iterable<? extends GuestPolicies.Package> values)
The software packages to be managed by this policy.GuestPolicies.GuestPolicy.Builder
addAllRecipes(Iterable<? extends GuestPolicies.SoftwareRecipe> values)
A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.Builder
addPackageRepositories(int index, GuestPolicies.PackageRepository value)
A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.Builder
addPackageRepositories(int index, GuestPolicies.PackageRepository.Builder builderForValue)
A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.Builder
addPackageRepositories(GuestPolicies.PackageRepository value)
A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.Builder
addPackageRepositories(GuestPolicies.PackageRepository.Builder builderForValue)
A list of package repositories to configure on the VM instance.GuestPolicies.PackageRepository.Builder
addPackageRepositoriesBuilder()
A list of package repositories to configure on the VM instance.GuestPolicies.PackageRepository.Builder
addPackageRepositoriesBuilder(int index)
A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.Builder
addPackages(int index, GuestPolicies.Package value)
The software packages to be managed by this policy.GuestPolicies.GuestPolicy.Builder
addPackages(int index, GuestPolicies.Package.Builder builderForValue)
The software packages to be managed by this policy.GuestPolicies.GuestPolicy.Builder
addPackages(GuestPolicies.Package value)
The software packages to be managed by this policy.GuestPolicies.GuestPolicy.Builder
addPackages(GuestPolicies.Package.Builder builderForValue)
The software packages to be managed by this policy.GuestPolicies.Package.Builder
addPackagesBuilder()
The software packages to be managed by this policy.GuestPolicies.Package.Builder
addPackagesBuilder(int index)
The software packages to be managed by this policy.GuestPolicies.GuestPolicy.Builder
addRecipes(int index, GuestPolicies.SoftwareRecipe value)
A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.Builder
addRecipes(int index, GuestPolicies.SoftwareRecipe.Builder builderForValue)
A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.Builder
addRecipes(GuestPolicies.SoftwareRecipe value)
A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.Builder
addRecipes(GuestPolicies.SoftwareRecipe.Builder builderForValue)
A list of Recipes to install on the VM instance.GuestPolicies.SoftwareRecipe.Builder
addRecipesBuilder()
A list of Recipes to install on the VM instance.GuestPolicies.SoftwareRecipe.Builder
addRecipesBuilder(int index)
A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GuestPolicies.GuestPolicy
build()
GuestPolicies.GuestPolicy
buildPartial()
GuestPolicies.GuestPolicy.Builder
clear()
GuestPolicies.GuestPolicy.Builder
clearAssignment()
Required.GuestPolicies.GuestPolicy.Builder
clearCreateTime()
Output only.GuestPolicies.GuestPolicy.Builder
clearDescription()
Description of the guest policy.GuestPolicies.GuestPolicy.Builder
clearEtag()
The etag for this guest policy.GuestPolicies.GuestPolicy.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GuestPolicies.GuestPolicy.Builder
clearName()
Required.GuestPolicies.GuestPolicy.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GuestPolicies.GuestPolicy.Builder
clearPackageRepositories()
A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.Builder
clearPackages()
The software packages to be managed by this policy.GuestPolicies.GuestPolicy.Builder
clearRecipes()
A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.Builder
clearUpdateTime()
Output only.GuestPolicies.GuestPolicy.Builder
clone()
GuestPolicies.Assignment
getAssignment()
Required.GuestPolicies.Assignment.Builder
getAssignmentBuilder()
Required.GuestPolicies.AssignmentOrBuilder
getAssignmentOrBuilder()
Required.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.GuestPolicies.GuestPolicy
getDefaultInstanceForType()
String
getDescription()
Description of the guest policy.com.google.protobuf.ByteString
getDescriptionBytes()
Description of the guest policy.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEtag()
The etag for this guest policy.com.google.protobuf.ByteString
getEtagBytes()
The etag for this guest policy.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.GuestPolicies.PackageRepository
getPackageRepositories(int index)
A list of package repositories to configure on the VM instance.GuestPolicies.PackageRepository.Builder
getPackageRepositoriesBuilder(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.int
getPackageRepositoriesCount()
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.PackageRepositoryOrBuilder
getPackageRepositoriesOrBuilder(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.Package
getPackages(int index)
The software packages to be managed by this policy.GuestPolicies.Package.Builder
getPackagesBuilder(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.int
getPackagesCount()
The software packages to be managed by this policy.List<GuestPolicies.Package>
getPackagesList()
The software packages to be managed by this policy.GuestPolicies.PackageOrBuilder
getPackagesOrBuilder(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.SoftwareRecipe
getRecipes(int index)
A list of Recipes to install on the VM instance.GuestPolicies.SoftwareRecipe.Builder
getRecipesBuilder(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.int
getRecipesCount()
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.SoftwareRecipeOrBuilder
getRecipesOrBuilder(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.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasAssignment()
Required.boolean
hasCreateTime()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GuestPolicies.GuestPolicy.Builder
mergeAssignment(GuestPolicies.Assignment value)
Required.GuestPolicies.GuestPolicy.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.GuestPolicies.GuestPolicy.Builder
mergeFrom(GuestPolicies.GuestPolicy other)
GuestPolicies.GuestPolicy.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GuestPolicies.GuestPolicy.Builder
mergeFrom(com.google.protobuf.Message other)
GuestPolicies.GuestPolicy.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GuestPolicies.GuestPolicy.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.GuestPolicies.GuestPolicy.Builder
removePackageRepositories(int index)
A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.Builder
removePackages(int index)
The software packages to be managed by this policy.GuestPolicies.GuestPolicy.Builder
removeRecipes(int index)
A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.Builder
setAssignment(GuestPolicies.Assignment value)
Required.GuestPolicies.GuestPolicy.Builder
setAssignment(GuestPolicies.Assignment.Builder builderForValue)
Required.GuestPolicies.GuestPolicy.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.GuestPolicies.GuestPolicy.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.GuestPolicies.GuestPolicy.Builder
setDescription(String value)
Description of the guest policy.GuestPolicies.GuestPolicy.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the guest policy.GuestPolicies.GuestPolicy.Builder
setEtag(String value)
The etag for this guest policy.GuestPolicies.GuestPolicy.Builder
setEtagBytes(com.google.protobuf.ByteString value)
The etag for this guest policy.GuestPolicies.GuestPolicy.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GuestPolicies.GuestPolicy.Builder
setName(String value)
Required.GuestPolicies.GuestPolicy.Builder
setNameBytes(com.google.protobuf.ByteString value)
Required.GuestPolicies.GuestPolicy.Builder
setPackageRepositories(int index, GuestPolicies.PackageRepository value)
A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.Builder
setPackageRepositories(int index, GuestPolicies.PackageRepository.Builder builderForValue)
A list of package repositories to configure on the VM instance.GuestPolicies.GuestPolicy.Builder
setPackages(int index, GuestPolicies.Package value)
The software packages to be managed by this policy.GuestPolicies.GuestPolicy.Builder
setPackages(int index, GuestPolicies.Package.Builder builderForValue)
The software packages to be managed by this policy.GuestPolicies.GuestPolicy.Builder
setRecipes(int index, GuestPolicies.SoftwareRecipe value)
A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.Builder
setRecipes(int index, GuestPolicies.SoftwareRecipe.Builder builderForValue)
A list of Recipes to install on the VM instance.GuestPolicies.GuestPolicy.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
GuestPolicies.GuestPolicy.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GuestPolicies.GuestPolicy.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.GuestPolicies.GuestPolicy.Builder
setUpdateTime(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.GuestPolicy.Builder>
-
clear
public GuestPolicies.GuestPolicy.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<GuestPolicies.GuestPolicy.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<GuestPolicies.GuestPolicy.Builder>
-
getDefaultInstanceForType
public GuestPolicies.GuestPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GuestPolicies.GuestPolicy build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GuestPolicies.GuestPolicy buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GuestPolicies.GuestPolicy.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<GuestPolicies.GuestPolicy.Builder>
-
setField
public GuestPolicies.GuestPolicy.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<GuestPolicies.GuestPolicy.Builder>
-
clearField
public GuestPolicies.GuestPolicy.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<GuestPolicies.GuestPolicy.Builder>
-
clearOneof
public GuestPolicies.GuestPolicy.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<GuestPolicies.GuestPolicy.Builder>
-
setRepeatedField
public GuestPolicies.GuestPolicy.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<GuestPolicies.GuestPolicy.Builder>
-
addRepeatedField
public GuestPolicies.GuestPolicy.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<GuestPolicies.GuestPolicy.Builder>
-
mergeFrom
public GuestPolicies.GuestPolicy.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GuestPolicies.GuestPolicy.Builder>
-
mergeFrom
public GuestPolicies.GuestPolicy.Builder mergeFrom(GuestPolicies.GuestPolicy other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
hasAssignment
in 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:
getAssignment
in 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:
getAssignmentOrBuilder
in 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:
getPackagesList
in 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:
getPackagesCount
in 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:
getPackages
in 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:
getPackagesOrBuilder
in 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:
getPackagesOrBuilderList
in 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:
getPackageRepositoriesList
in 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:
getPackageRepositoriesCount
in 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:
getPackageRepositories
in 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:
getPackageRepositoriesOrBuilder
in 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:
getPackageRepositoriesOrBuilderList
in 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:
getRecipesList
in 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:
getRecipesCount
in 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:
getRecipes
in 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:
getRecipesOrBuilder
in 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:
getRecipesOrBuilderList
in 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:
getEtag
in 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:
getEtagBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.GuestPolicy.Builder>
-
mergeUnknownFields
public final GuestPolicies.GuestPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.GuestPolicy.Builder>
-
-