Interface PatchJobs.ExecutePatchJobRequestOrBuilder (2.17.0)

public static interface PatchJobs.ExecutePatchJobRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

Description of the patch job. Length of the description is limited to 1024 characters.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Description of the patch job. Length of the description is limited to 1024 characters.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getDisplayName()

public abstract String getDisplayName()

Display name for this patch job. This does not have to be unique.

string display_name = 8;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Display name for this patch job. This does not have to be unique.

string display_name = 8;

Returns
TypeDescription
ByteString

The bytes for displayName.

getDryRun()

public abstract boolean getDryRun()

If this patch is a dry-run only, instances are contacted but will do nothing.

bool dry_run = 6;

Returns
TypeDescription
boolean

The dryRun.

getDuration()

public abstract Duration getDuration()

Duration of the patch job. After the duration ends, the patch job times out.

.google.protobuf.Duration duration = 5;

Returns
TypeDescription
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

Duration of the patch job. After the duration ends, the patch job times out.

.google.protobuf.Duration duration = 5;

Returns
TypeDescription
DurationOrBuilder

getInstanceFilter()

public abstract PatchJobs.PatchInstanceFilter getInstanceFilter()

Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.

.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchJobs.PatchInstanceFilter

The instanceFilter.

getInstanceFilterOrBuilder()

public abstract PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder()

Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.

.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchJobs.PatchInstanceFilterOrBuilder

getParent()

public abstract String getParent()

Required. The project in which to run this patch in the form projects/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The project in which to run this patch in the form projects/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for parent.

getPatchConfig()

public abstract PatchJobs.PatchConfig getPatchConfig()

Patch configuration being applied. If omitted, instances are patched using the default configurations.

.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;

Returns
TypeDescription
PatchJobs.PatchConfig

The patchConfig.

getPatchConfigOrBuilder()

public abstract PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder()

Patch configuration being applied. If omitted, instances are patched using the default configurations.

.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;

Returns
TypeDescription
PatchJobs.PatchConfigOrBuilder

getRollout()

public abstract PatchJobs.PatchRollout getRollout()

Rollout strategy of the patch job.

.google.cloud.osconfig.v1beta.PatchRollout rollout = 9;

Returns
TypeDescription
PatchJobs.PatchRollout

The rollout.

getRolloutOrBuilder()

public abstract PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder()

Rollout strategy of the patch job.

.google.cloud.osconfig.v1beta.PatchRollout rollout = 9;

Returns
TypeDescription
PatchJobs.PatchRolloutOrBuilder

hasDuration()

public abstract boolean hasDuration()

Duration of the patch job. After the duration ends, the patch job times out.

.google.protobuf.Duration duration = 5;

Returns
TypeDescription
boolean

Whether the duration field is set.

hasInstanceFilter()

public abstract boolean hasInstanceFilter()

Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.

.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the instanceFilter field is set.

hasPatchConfig()

public abstract boolean hasPatchConfig()

Patch configuration being applied. If omitted, instances are patched using the default configurations.

.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;

Returns
TypeDescription
boolean

Whether the patchConfig field is set.

hasRollout()

public abstract boolean hasRollout()

Rollout strategy of the patch job.

.google.cloud.osconfig.v1beta.PatchRollout rollout = 9;

Returns
TypeDescription
boolean

Whether the rollout field is set.