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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PACKAGES_FIELD_NUMBER
public static final int PACKAGES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PACKAGE_REPOSITORIES_FIELD_NUMBER
public static final int PACKAGE_REPOSITORIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SOFTWARE_RECIPES_FIELD_NUMBER
public static final int SOFTWARE_RECIPES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GuestPolicies.EffectiveGuestPolicy getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GuestPolicies.EffectiveGuestPolicy.Builder newBuilder()
newBuilder(GuestPolicies.EffectiveGuestPolicy prototype)
public static GuestPolicies.EffectiveGuestPolicy.Builder newBuilder(GuestPolicies.EffectiveGuestPolicy prototype)
public static GuestPolicies.EffectiveGuestPolicy parseDelimitedFrom(InputStream input)
public static GuestPolicies.EffectiveGuestPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(CodedInputStream input)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(InputStream input)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.EffectiveGuestPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GuestPolicies.EffectiveGuestPolicy> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public GuestPolicies.EffectiveGuestPolicy getDefaultInstanceForType()
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
|
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;
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
|
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;
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> |
|
getParserForType()
public Parser<GuestPolicies.EffectiveGuestPolicy> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
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 |
Name |
Description |
index |
int
|
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;
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> |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GuestPolicies.EffectiveGuestPolicy.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GuestPolicies.EffectiveGuestPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public GuestPolicies.EffectiveGuestPolicy.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides