Interface PatchJobs.WindowsUpdateSettingsOrBuilder (2.25.0)

public static interface PatchJobs.WindowsUpdateSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClassifications(int index)

public abstract PatchJobs.WindowsUpdateSettings.Classification getClassifications(int index)

Only apply updates of these windows update classifications. If empty, all updates are applied.

repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
PatchJobs.WindowsUpdateSettings.Classification

The classifications at the given index.

getClassificationsCount()

public abstract int getClassificationsCount()

Only apply updates of these windows update classifications. If empty, all updates are applied.

repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;

Returns
TypeDescription
int

The count of classifications.

getClassificationsList()

public abstract List<PatchJobs.WindowsUpdateSettings.Classification> getClassificationsList()

Only apply updates of these windows update classifications. If empty, all updates are applied.

repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;

Returns
TypeDescription
List<Classification>

A list containing the classifications.

getClassificationsValue(int index)

public abstract int getClassificationsValue(int index)

Only apply updates of these windows update classifications. If empty, all updates are applied.

repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of classifications at the given index.

getClassificationsValueList()

public abstract List<Integer> getClassificationsValueList()

Only apply updates of these windows update classifications. If empty, all updates are applied.

repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for classifications.

getExcludes(int index)

public abstract String getExcludes(int index)

List of KBs to exclude from update.

repeated string excludes = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The excludes at the given index.

getExcludesBytes(int index)

public abstract ByteString getExcludesBytes(int index)

List of KBs to exclude from update.

repeated string excludes = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the excludes at the given index.

getExcludesCount()

public abstract int getExcludesCount()

List of KBs to exclude from update.

repeated string excludes = 2;

Returns
TypeDescription
int

The count of excludes.

getExcludesList()

public abstract List<String> getExcludesList()

List of KBs to exclude from update.

repeated string excludes = 2;

Returns
TypeDescription
List<String>

A list containing the excludes.

getExclusivePatches(int index)

public abstract String getExclusivePatches(int index)

An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.

repeated string exclusive_patches = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The exclusivePatches at the given index.

getExclusivePatchesBytes(int index)

public abstract ByteString getExclusivePatchesBytes(int index)

An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.

repeated string exclusive_patches = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the exclusivePatches at the given index.

getExclusivePatchesCount()

public abstract int getExclusivePatchesCount()

An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.

repeated string exclusive_patches = 3;

Returns
TypeDescription
int

The count of exclusivePatches.

getExclusivePatchesList()

public abstract List<String> getExclusivePatchesList()

An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.

repeated string exclusive_patches = 3;

Returns
TypeDescription
List<String>

A list containing the exclusivePatches.