Package com.google.cloud.osconfig.v1beta
Class GuestPolicies.EffectiveGuestPolicy
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy
-
- All Implemented Interfaces:
GuestPolicies.EffectiveGuestPolicyOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- GuestPolicies
public static final class GuestPolicies.EffectiveGuestPolicy extends com.google.protobuf.GeneratedMessageV3 implements GuestPolicies.EffectiveGuestPolicyOrBuilder
The effective guest policy that applies to a VM instance.
Protobuf typegoogle.cloud.osconfig.v1beta.EffectiveGuestPolicy
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GuestPolicies.EffectiveGuestPolicy.Builder
The effective guest policy that applies to a VM instance.static class
GuestPolicies.EffectiveGuestPolicy.SourcedPackage
A guest policy package including its source.static interface
GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder
static class
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository
A guest policy package repository including its source.static interface
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder
static class
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe
A guest policy recipe including its source.static interface
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
PACKAGE_REPOSITORIES_FIELD_NUMBER
static int
PACKAGES_FIELD_NUMBER
static int
SOFTWARE_RECIPES_FIELD_NUMBER
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PACKAGES_FIELD_NUMBER
public static final int PACKAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PACKAGE_REPOSITORIES_FIELD_NUMBER
public static final int PACKAGE_REPOSITORIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOFTWARE_RECIPES_FIELD_NUMBER
public static final int SOFTWARE_RECIPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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;
- Specified by:
getPackagesList
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
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;
- Specified by:
getPackagesOrBuilderList
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
getPackagesCount
public int getPackagesCount()
List of package configurations assigned to the VM instance.
repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1;
- Specified by:
getPackagesCount
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
getPackages
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;
- Specified by:
getPackages
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
getPackagesOrBuilder
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;
- Specified by:
getPackagesOrBuilder
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
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;
- Specified by:
getPackageRepositoriesList
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
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;
- Specified by:
getPackageRepositoriesOrBuilderList
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
getPackageRepositoriesCount
public int getPackageRepositoriesCount()
List of package repository configurations assigned to the VM instance.
repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;
- Specified by:
getPackageRepositoriesCount
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
getPackageRepositories
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;
- Specified by:
getPackageRepositories
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
getPackageRepositoriesOrBuilder
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;
- Specified by:
getPackageRepositoriesOrBuilder
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
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;
- Specified by:
getSoftwareRecipesList
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
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;
- Specified by:
getSoftwareRecipesOrBuilderList
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
getSoftwareRecipesCount
public int getSoftwareRecipesCount()
List of recipes assigned to the VM instance.
repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3;
- Specified by:
getSoftwareRecipesCount
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
getSoftwareRecipes
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;
- Specified by:
getSoftwareRecipes
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
getSoftwareRecipesOrBuilder
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;
- Specified by:
getSoftwareRecipesOrBuilder
in interfaceGuestPolicies.EffectiveGuestPolicyOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GuestPolicies.EffectiveGuestPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.EffectiveGuestPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.EffectiveGuestPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.EffectiveGuestPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.EffectiveGuestPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.EffectiveGuestPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.EffectiveGuestPolicy parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GuestPolicies.EffectiveGuestPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GuestPolicies.EffectiveGuestPolicy parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GuestPolicies.EffectiveGuestPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GuestPolicies.EffectiveGuestPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GuestPolicies.EffectiveGuestPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GuestPolicies.EffectiveGuestPolicy.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GuestPolicies.EffectiveGuestPolicy.Builder newBuilder()
-
newBuilder
public static GuestPolicies.EffectiveGuestPolicy.Builder newBuilder(GuestPolicies.EffectiveGuestPolicy prototype)
-
toBuilder
public GuestPolicies.EffectiveGuestPolicy.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GuestPolicies.EffectiveGuestPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GuestPolicies.EffectiveGuestPolicy getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GuestPolicies.EffectiveGuestPolicy> parser()
-
getParserForType
public com.google.protobuf.Parser<GuestPolicies.EffectiveGuestPolicy> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GuestPolicies.EffectiveGuestPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-