public static final class GuestPolicies.EffectiveGuestPolicy extends GeneratedMessageV3 implements GuestPolicies.EffectiveGuestPolicyOrBuilder
The effective guest policy that applies to a VM instance.
Protobuf type google.cloud.osconfig.v1beta.EffectiveGuestPolicy
Static Fields
PACKAGES_FIELD_NUMBER
public static final int PACKAGES_FIELD_NUMBER
Field Value
PACKAGE_REPOSITORIES_FIELD_NUMBER
public static final int PACKAGE_REPOSITORIES_FIELD_NUMBER
Field Value
SOFTWARE_RECIPES_FIELD_NUMBER
public static final int SOFTWARE_RECIPES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GuestPolicies.EffectiveGuestPolicy getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GuestPolicies.EffectiveGuestPolicy.Builder newBuilder()
Returns
newBuilder(GuestPolicies.EffectiveGuestPolicy prototype)
public static GuestPolicies.EffectiveGuestPolicy.Builder newBuilder(GuestPolicies.EffectiveGuestPolicy prototype)
Parameter
Returns
public static GuestPolicies.EffectiveGuestPolicy parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.EffectiveGuestPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GuestPolicies.EffectiveGuestPolicy parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.EffectiveGuestPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GuestPolicies.EffectiveGuestPolicy parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.EffectiveGuestPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GuestPolicies.EffectiveGuestPolicy> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public GuestPolicies.EffectiveGuestPolicy getDefaultInstanceForType()
Returns
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
Returns
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
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
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
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
Returns
getPackagesCount()
public int getPackagesCount()
List of package configurations assigned to the VM instance.
repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;
Returns
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
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
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
Type | Description |
List<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder> | |
getParserForType()
public Parser<GuestPolicies.EffectiveGuestPolicy> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
Returns
getSoftwareRecipesCount()
public int getSoftwareRecipesCount()
List of recipes assigned to the VM instance.
repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;
Returns
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
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
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
Type | Description |
List<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GuestPolicies.EffectiveGuestPolicy.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GuestPolicies.EffectiveGuestPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GuestPolicies.EffectiveGuestPolicy.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions