Class GuestPolicies.EffectiveGuestPolicy.Builder (2.60.0)

public static final class GuestPolicies.EffectiveGuestPolicy.Builder extends GeneratedMessageV3.Builder<GuestPolicies.EffectiveGuestPolicy.Builder> implements GuestPolicies.EffectiveGuestPolicyOrBuilder

The effective guest policy that applies to a VM instance.

Protobuf type google.cloud.osconfig.v1beta.EffectiveGuestPolicy

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllPackageRepositories(Iterable<? extends GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository> values)

public GuestPolicies.EffectiveGuestPolicy.Builder addAllPackageRepositories(Iterable<? extends GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository> values)

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository>

addAllPackages(Iterable<? extends GuestPolicies.EffectiveGuestPolicy.SourcedPackage> values)

public GuestPolicies.EffectiveGuestPolicy.Builder addAllPackages(Iterable<? extends GuestPolicies.EffectiveGuestPolicy.SourcedPackage> values)

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage>

addAllSoftwareRecipes(Iterable<? extends GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe> values)

public GuestPolicies.EffectiveGuestPolicy.Builder addAllSoftwareRecipes(Iterable<? extends GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe> values)

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe>

addPackageRepositories(GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository value)

public GuestPolicies.EffectiveGuestPolicy.Builder addPackageRepositories(GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository value)

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

addPackageRepositories(GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder builderForValue)

public GuestPolicies.EffectiveGuestPolicy.Builder addPackageRepositories(GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder builderForValue)

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Parameter
Name Description
builderForValue GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder

addPackageRepositories(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository value)

public GuestPolicies.EffectiveGuestPolicy.Builder addPackageRepositories(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository value)

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Parameters
Name Description
index int
value GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository

addPackageRepositories(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder builderForValue)

public GuestPolicies.EffectiveGuestPolicy.Builder addPackageRepositories(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder builderForValue)

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Parameters
Name Description
index int
builderForValue GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder

addPackageRepositoriesBuilder()

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder addPackageRepositoriesBuilder()

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

addPackageRepositoriesBuilder(int index)

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder addPackageRepositoriesBuilder(int index)

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Parameter
Name Description
index int

addPackages(GuestPolicies.EffectiveGuestPolicy.SourcedPackage value)

public GuestPolicies.EffectiveGuestPolicy.Builder addPackages(GuestPolicies.EffectiveGuestPolicy.SourcedPackage value)

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Parameter
Name Description
value GuestPolicies.EffectiveGuestPolicy.SourcedPackage

addPackages(GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder builderForValue)

public GuestPolicies.EffectiveGuestPolicy.Builder addPackages(GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder builderForValue)

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Parameter
Name Description
builderForValue GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder

addPackages(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackage value)

public GuestPolicies.EffectiveGuestPolicy.Builder addPackages(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackage value)

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Parameters
Name Description
index int
value GuestPolicies.EffectiveGuestPolicy.SourcedPackage

addPackages(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder builderForValue)

public GuestPolicies.EffectiveGuestPolicy.Builder addPackages(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder builderForValue)

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Parameters
Name Description
index int
builderForValue GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder

addPackagesBuilder()

public GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder addPackagesBuilder()

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

addPackagesBuilder(int index)

public GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder addPackagesBuilder(int index)

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Parameter
Name Description
index int

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GuestPolicies.EffectiveGuestPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

addSoftwareRecipes(GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe value)

public GuestPolicies.EffectiveGuestPolicy.Builder addSoftwareRecipes(GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe value)

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

addSoftwareRecipes(GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder builderForValue)

public GuestPolicies.EffectiveGuestPolicy.Builder addSoftwareRecipes(GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder builderForValue)

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Parameter
Name Description
builderForValue GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder

addSoftwareRecipes(int index, GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe value)

public GuestPolicies.EffectiveGuestPolicy.Builder addSoftwareRecipes(int index, GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe value)

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Parameters
Name Description
index int
value GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe

addSoftwareRecipes(int index, GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder builderForValue)

public GuestPolicies.EffectiveGuestPolicy.Builder addSoftwareRecipes(int index, GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder builderForValue)

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Parameters
Name Description
index int
builderForValue GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder

addSoftwareRecipesBuilder()

public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder addSoftwareRecipesBuilder()

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

addSoftwareRecipesBuilder(int index)

public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder addSoftwareRecipesBuilder(int index)

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Parameter
Name Description
index int

build()

public GuestPolicies.EffectiveGuestPolicy build()
Returns
Type Description
GuestPolicies.EffectiveGuestPolicy

buildPartial()

public GuestPolicies.EffectiveGuestPolicy buildPartial()
Returns
Type Description
GuestPolicies.EffectiveGuestPolicy

clear()

public GuestPolicies.EffectiveGuestPolicy.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public GuestPolicies.EffectiveGuestPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GuestPolicies.EffectiveGuestPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clearPackageRepositories()

public GuestPolicies.EffectiveGuestPolicy.Builder clearPackageRepositories()

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

clearPackages()

public GuestPolicies.EffectiveGuestPolicy.Builder clearPackages()

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

clearSoftwareRecipes()

public GuestPolicies.EffectiveGuestPolicy.Builder clearSoftwareRecipes()

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

clone()

public GuestPolicies.EffectiveGuestPolicy.Builder clone()
Overrides

getDefaultInstanceForType()

public GuestPolicies.EffectiveGuestPolicy getDefaultInstanceForType()
Returns
Type Description
GuestPolicies.EffectiveGuestPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPackageRepositories(int index)

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getPackageRepositories(int index)

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Parameter
Name Description
index int

getPackageRepositoriesBuilder(int index)

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder getPackageRepositoriesBuilder(int index)

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Parameter
Name Description
index int

getPackageRepositoriesBuilderList()

public List<GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder> getPackageRepositoriesBuilderList()

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Returns
Type Description
List<Builder>

getPackageRepositoriesCount()

public int getPackageRepositoriesCount()

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Returns
Type Description
int

getPackageRepositoriesList()

public List<GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository> getPackageRepositoriesList()

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Returns
Type Description
List<SourcedPackageRepository>

getPackageRepositoriesOrBuilder(int index)

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder getPackageRepositoriesOrBuilder(int index)

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Parameter
Name Description
index int

getPackageRepositoriesOrBuilderList()

public List<? extends GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder> getPackageRepositoriesOrBuilderList()

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Returns
Type Description
List<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder>

getPackages(int index)

public GuestPolicies.EffectiveGuestPolicy.SourcedPackage getPackages(int index)

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Parameter
Name Description
index int

getPackagesBuilder(int index)

public GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder getPackagesBuilder(int index)

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Parameter
Name Description
index int

getPackagesBuilderList()

public List<GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder> getPackagesBuilderList()

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Returns
Type Description
List<Builder>

getPackagesCount()

public int getPackagesCount()

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Returns
Type Description
int

getPackagesList()

public List<GuestPolicies.EffectiveGuestPolicy.SourcedPackage> getPackagesList()

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Returns
Type Description
List<SourcedPackage>

getPackagesOrBuilder(int index)

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder getPackagesOrBuilder(int index)

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Parameter
Name Description
index int

getPackagesOrBuilderList()

public List<? extends GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder> getPackagesOrBuilderList()

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Returns
Type Description
List<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder>

getSoftwareRecipes(int index)

public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe getSoftwareRecipes(int index)

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Parameter
Name Description
index int

getSoftwareRecipesBuilder(int index)

public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder getSoftwareRecipesBuilder(int index)

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Parameter
Name Description
index int

getSoftwareRecipesBuilderList()

public List<GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder> getSoftwareRecipesBuilderList()

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Returns
Type Description
List<Builder>

getSoftwareRecipesCount()

public int getSoftwareRecipesCount()

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Returns
Type Description
int

getSoftwareRecipesList()

public List<GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe> getSoftwareRecipesList()

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Returns
Type Description
List<SourcedSoftwareRecipe>

getSoftwareRecipesOrBuilder(int index)

public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder getSoftwareRecipesOrBuilder(int index)

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Parameter
Name Description
index int

getSoftwareRecipesOrBuilderList()

public List<? extends GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder> getSoftwareRecipesOrBuilderList()

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Returns
Type Description
List<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GuestPolicies.EffectiveGuestPolicy other)

public GuestPolicies.EffectiveGuestPolicy.Builder mergeFrom(GuestPolicies.EffectiveGuestPolicy other)
Parameter
Name Description
other GuestPolicies.EffectiveGuestPolicy

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GuestPolicies.EffectiveGuestPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GuestPolicies.EffectiveGuestPolicy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GuestPolicies.EffectiveGuestPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

removePackageRepositories(int index)

public GuestPolicies.EffectiveGuestPolicy.Builder removePackageRepositories(int index)

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Parameter
Name Description
index int

removePackages(int index)

public GuestPolicies.EffectiveGuestPolicy.Builder removePackages(int index)

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Parameter
Name Description
index int

removeSoftwareRecipes(int index)

public GuestPolicies.EffectiveGuestPolicy.Builder removeSoftwareRecipes(int index)

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Parameter
Name Description
index int

setField(Descriptors.FieldDescriptor field, Object value)

public GuestPolicies.EffectiveGuestPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

setPackageRepositories(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository value)

public GuestPolicies.EffectiveGuestPolicy.Builder setPackageRepositories(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository value)

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Parameters
Name Description
index int
value GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository

setPackageRepositories(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder builderForValue)

public GuestPolicies.EffectiveGuestPolicy.Builder setPackageRepositories(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder builderForValue)

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Parameters
Name Description
index int
builderForValue GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder

setPackages(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackage value)

public GuestPolicies.EffectiveGuestPolicy.Builder setPackages(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackage value)

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Parameters
Name Description
index int
value GuestPolicies.EffectiveGuestPolicy.SourcedPackage

setPackages(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder builderForValue)

public GuestPolicies.EffectiveGuestPolicy.Builder setPackages(int index, GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder builderForValue)

List of package configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;

Parameters
Name Description
index int
builderForValue GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GuestPolicies.EffectiveGuestPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setSoftwareRecipes(int index, GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe value)

public GuestPolicies.EffectiveGuestPolicy.Builder setSoftwareRecipes(int index, GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe value)

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Parameters
Name Description
index int
value GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe

setSoftwareRecipes(int index, GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder builderForValue)

public GuestPolicies.EffectiveGuestPolicy.Builder setSoftwareRecipes(int index, GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder builderForValue)

List of recipes assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;

Parameters
Name Description
index int
builderForValue GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final GuestPolicies.EffectiveGuestPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides