Class PatchJobs.AptSettings (2.20.0)

public static final class PatchJobs.AptSettings extends 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.v1beta.AptSettings

Static Fields

EXCLUDES_FIELD_NUMBER

public static final int EXCLUDES_FIELD_NUMBER
Field Value
TypeDescription
int

EXCLUSIVE_PACKAGES_FIELD_NUMBER

public static final int EXCLUSIVE_PACKAGES_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PatchJobs.AptSettings getDefaultInstance()
Returns
TypeDescription
PatchJobs.AptSettings

getDescriptor()

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

newBuilder()

public static PatchJobs.AptSettings.Builder newBuilder()
Returns
TypeDescription
PatchJobs.AptSettings.Builder

newBuilder(PatchJobs.AptSettings prototype)

public static PatchJobs.AptSettings.Builder newBuilder(PatchJobs.AptSettings prototype)
Parameter
NameDescription
prototypePatchJobs.AptSettings
Returns
TypeDescription
PatchJobs.AptSettings.Builder

parseDelimitedFrom(InputStream input)

public static PatchJobs.AptSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PatchJobs.AptSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static PatchJobs.AptSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PatchJobs.AptSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static PatchJobs.AptSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PatchJobs.AptSettings
Exceptions
TypeDescription
IOException