Class GuestPolicies.EffectiveGuestPolicy (2.21.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GuestPolicies.EffectiveGuestPolicy

Static Fields

PACKAGES_FIELD_NUMBER

public static final int PACKAGES_FIELD_NUMBER
Field Value
TypeDescription
int

PACKAGE_REPOSITORIES_FIELD_NUMBER

public static final int PACKAGE_REPOSITORIES_FIELD_NUMBER
Field Value
TypeDescription
int

SOFTWARE_RECIPES_FIELD_NUMBER

public static final int SOFTWARE_RECIPES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GuestPolicies.EffectiveGuestPolicy getDefaultInstance()
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GuestPolicies.EffectiveGuestPolicy.Builder newBuilder()
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.Builder

newBuilder(GuestPolicies.EffectiveGuestPolicy prototype)

public static GuestPolicies.EffectiveGuestPolicy.Builder newBuilder(GuestPolicies.EffectiveGuestPolicy prototype)
Parameter
NameDescription
prototypeGuestPolicies.EffectiveGuestPolicy
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.Builder

parseDelimitedFrom(InputStream input)

public static GuestPolicies.EffectiveGuestPolicy parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.EffectiveGuestPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GuestPolicies.EffectiveGuestPolicy parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.EffectiveGuestPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GuestPolicies.EffectiveGuestPolicy parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.EffectiveGuestPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GuestPolicies.EffectiveGuestPolicy parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.EffectiveGuestPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GuestPolicies.EffectiveGuestPolicy parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.EffectiveGuestPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GuestPolicies.EffectiveGuestPolicy parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.EffectiveGuestPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GuestPolicies.EffectiveGuestPolicy> parser()
Returns
TypeDescription
Parser<EffectiveGuestPolicy>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GuestPolicies.EffectiveGuestPolicy getDefaultInstanceForType()
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy

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
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository

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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder

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
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedPackage

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
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder

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>

getParserForType()

public Parser<GuestPolicies.EffectiveGuestPolicy> getParserForType()
Returns
TypeDescription
Parser<EffectiveGuestPolicy>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
NameDescription
indexint
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe

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
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder

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>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GuestPolicies.EffectiveGuestPolicy.Builder newBuilderForType()
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GuestPolicies.EffectiveGuestPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GuestPolicies.EffectiveGuestPolicy.Builder toBuilder()
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException