public static final class PatchJobs.AptSettings extends com.google.protobuf.GeneratedMessageV3 implements PatchJobs.AptSettingsOrBuilder
Apt patching is completed by executing `apt-get update && apt-get upgrade`. Additional options can be set to control how this is executed.Protobuf type
google.cloud.osconfig.v1.AptSettings| Modifier and Type | Class and Description |
|---|---|
static class |
PatchJobs.AptSettings.Builder
Apt patching is completed by executing `apt-get update && apt-get
upgrade`.
|
static class |
PatchJobs.AptSettings.Type
Apt patch type.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
EXCLUDES_FIELD_NUMBER |
static int |
EXCLUSIVE_PACKAGES_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static PatchJobs.AptSettings |
getDefaultInstance() |
PatchJobs.AptSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getExcludes(int index)
List of packages to exclude from update.
|
com.google.protobuf.ByteString |
getExcludesBytes(int index)
List of packages to exclude from update.
|
int |
getExcludesCount()
List of packages to exclude from update.
|
com.google.protobuf.ProtocolStringList |
getExcludesList()
List of packages to exclude from update.
|
String |
getExclusivePackages(int index)
An exclusive list of packages to be updated.
|
com.google.protobuf.ByteString |
getExclusivePackagesBytes(int index)
An exclusive list of packages to be updated.
|
int |
getExclusivePackagesCount()
An exclusive list of packages to be updated.
|
com.google.protobuf.ProtocolStringList |
getExclusivePackagesList()
An exclusive list of packages to be updated.
|
com.google.protobuf.Parser<PatchJobs.AptSettings> |
getParserForType() |
int |
getSerializedSize() |
PatchJobs.AptSettings.Type |
getType()
By changing the type to DIST, the patching is performed
using `apt-get dist-upgrade` instead.
|
int |
getTypeValue()
By changing the type to DIST, the patching is performed
using `apt-get dist-upgrade` instead.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PatchJobs.AptSettings.Builder |
newBuilder() |
static PatchJobs.AptSettings.Builder |
newBuilder(PatchJobs.AptSettings prototype) |
PatchJobs.AptSettings.Builder |
newBuilderForType() |
protected PatchJobs.AptSettings.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PatchJobs.AptSettings |
parseDelimitedFrom(InputStream input) |
static PatchJobs.AptSettings |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.AptSettings |
parseFrom(byte[] data) |
static PatchJobs.AptSettings |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.AptSettings |
parseFrom(ByteBuffer data) |
static PatchJobs.AptSettings |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.AptSettings |
parseFrom(com.google.protobuf.ByteString data) |
static PatchJobs.AptSettings |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.AptSettings |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PatchJobs.AptSettings |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.AptSettings |
parseFrom(InputStream input) |
static PatchJobs.AptSettings |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PatchJobs.AptSettings> |
parser() |
PatchJobs.AptSettings.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TYPE_FIELD_NUMBER
public static final int EXCLUDES_FIELD_NUMBER
public static final int EXCLUSIVE_PACKAGES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getTypeValue()
By changing the type to DIST, the patching is performed using `apt-get dist-upgrade` instead.
.google.cloud.osconfig.v1.AptSettings.Type type = 1;getTypeValue in interface PatchJobs.AptSettingsOrBuilderpublic PatchJobs.AptSettings.Type getType()
By changing the type to DIST, the patching is performed using `apt-get dist-upgrade` instead.
.google.cloud.osconfig.v1.AptSettings.Type type = 1;getType in interface PatchJobs.AptSettingsOrBuilderpublic com.google.protobuf.ProtocolStringList getExcludesList()
List of packages to exclude from update. These packages will be excluded
repeated string excludes = 2;getExcludesList in interface PatchJobs.AptSettingsOrBuilderpublic int getExcludesCount()
List of packages to exclude from update. These packages will be excluded
repeated string excludes = 2;getExcludesCount in interface PatchJobs.AptSettingsOrBuilderpublic String getExcludes(int index)
List of packages to exclude from update. These packages will be excluded
repeated string excludes = 2;getExcludes in interface PatchJobs.AptSettingsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExcludesBytes(int index)
List of packages to exclude from update. These packages will be excluded
repeated string excludes = 2;getExcludesBytes in interface PatchJobs.AptSettingsOrBuilderindex - The index of the value to return.public com.google.protobuf.ProtocolStringList getExclusivePackagesList()
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field cannot be specified with any other patch configuration fields.
repeated string exclusive_packages = 3;getExclusivePackagesList in interface PatchJobs.AptSettingsOrBuilderpublic int getExclusivePackagesCount()
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field cannot be specified with any other patch configuration fields.
repeated string exclusive_packages = 3;getExclusivePackagesCount in interface PatchJobs.AptSettingsOrBuilderpublic String getExclusivePackages(int index)
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field cannot be specified with any other patch configuration fields.
repeated string exclusive_packages = 3;getExclusivePackages in interface PatchJobs.AptSettingsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExclusivePackagesBytes(int index)
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field cannot be specified with any other patch configuration fields.
repeated string exclusive_packages = 3;getExclusivePackagesBytes in interface PatchJobs.AptSettingsOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PatchJobs.AptSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.AptSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.AptSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.AptSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.AptSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.AptSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.AptSettings parseFrom(InputStream input) throws IOException
IOExceptionpublic static PatchJobs.AptSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PatchJobs.AptSettings parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PatchJobs.AptSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PatchJobs.AptSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PatchJobs.AptSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PatchJobs.AptSettings.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PatchJobs.AptSettings.Builder newBuilder()
public static PatchJobs.AptSettings.Builder newBuilder(PatchJobs.AptSettings prototype)
public PatchJobs.AptSettings.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PatchJobs.AptSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PatchJobs.AptSettings getDefaultInstance()
public static com.google.protobuf.Parser<PatchJobs.AptSettings> parser()
public com.google.protobuf.Parser<PatchJobs.AptSettings> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PatchJobs.AptSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.