Class GuestPolicies.EffectiveGuestPolicy.Builder (2.3.2)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository>
Returns

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
NameDescription
valuesIterable<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage>
Returns

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
NameDescription
valuesIterable<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe>
Returns

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;

Parameter Returns

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 Returns

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 Returns

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 Returns

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;

Returns

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
NameDescription
indexint
Returns

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 Returns

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 Returns

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 Returns

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 Returns

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;

Returns

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
NameDescription
indexint
Returns

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GuestPolicies.EffectiveGuestPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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;

Parameter Returns

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 Returns

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 Returns

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 Returns

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;

Returns

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
NameDescription
indexint
Returns

build()

public GuestPolicies.EffectiveGuestPolicy build()
Returns

buildPartial()

public GuestPolicies.EffectiveGuestPolicy buildPartial()
Returns

clear()

public GuestPolicies.EffectiveGuestPolicy.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

public GuestPolicies.EffectiveGuestPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GuestPolicies.EffectiveGuestPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns 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;

Returns

clearPackages()

public GuestPolicies.EffectiveGuestPolicy.Builder clearPackages()

List of package configurations assigned to the VM instance.

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

Returns

clearSoftwareRecipes()

public GuestPolicies.EffectiveGuestPolicy.Builder clearSoftwareRecipes()

List of recipes assigned to the VM instance.

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

Returns

clone()

public GuestPolicies.EffectiveGuestPolicy.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public GuestPolicies.EffectiveGuestPolicy getDefaultInstanceForType()
Returns

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns

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
NameDescription
indexint
Returns

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
TypeDescription
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
TypeDescription
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

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
NameDescription
indexint
Returns

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
TypeDescription
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
NameDescription
indexint
Returns

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
NameDescription
indexint
Returns

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns

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
TypeDescription
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
NameDescription
indexint
Returns

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
NameDescription
indexint
Returns

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns

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
TypeDescription
List<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GuestPolicies.EffectiveGuestPolicy other)

public GuestPolicies.EffectiveGuestPolicy.Builder mergeFrom(GuestPolicies.EffectiveGuestPolicy other)
Parameter Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GuestPolicies.EffectiveGuestPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GuestPolicies.EffectiveGuestPolicy.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GuestPolicies.EffectiveGuestPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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
NameDescription
indexint
Returns

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
NameDescription
indexint
Returns

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
NameDescription
indexint
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public GuestPolicies.EffectiveGuestPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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 Returns

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 Returns

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 Returns

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 Returns

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

public GuestPolicies.EffectiveGuestPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns 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 Returns

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 Returns

setUnknownFields(UnknownFieldSet unknownFields)

public final GuestPolicies.EffectiveGuestPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides