Package com.google.cloud.osconfig.v1
Interface PatchJobs.ExecutePatchJobRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PatchJobs.ExecutePatchJobRequest
,PatchJobs.ExecutePatchJobRequest.Builder
- Enclosing class:
- PatchJobs
public static interface PatchJobs.ExecutePatchJobRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
Description of the patch job.com.google.protobuf.ByteString
getDescriptionBytes()
Description of the patch job.String
getDisplayName()
Display name for this patch job.com.google.protobuf.ByteString
getDisplayNameBytes()
Display name for this patch job.boolean
getDryRun()
If this patch is a dry-run only, instances are contacted but will do nothing.com.google.protobuf.Duration
getDuration()
Duration of the patch job.com.google.protobuf.DurationOrBuilder
getDurationOrBuilder()
Duration of the patch job.PatchJobs.PatchInstanceFilter
getInstanceFilter()
Required.PatchJobs.PatchInstanceFilterOrBuilder
getInstanceFilterOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.PatchJobs.PatchConfig
getPatchConfig()
Patch configuration being applied.PatchJobs.PatchConfigOrBuilder
getPatchConfigOrBuilder()
Patch configuration being applied.PatchJobs.PatchRollout
getRollout()
Rollout strategy of the patch job.PatchJobs.PatchRolloutOrBuilder
getRolloutOrBuilder()
Rollout strategy of the patch job.boolean
hasDuration()
Duration of the patch job.boolean
hasInstanceFilter()
Required.boolean
hasPatchConfig()
Patch configuration being applied.boolean
hasRollout()
Rollout strategy of the patch job.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The project in which to run this patch in the form `projects/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The project in which to run this patch in the form `projects/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
getDescription
String getDescription()
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;
- Returns:
- The bytes for description.
-
hasInstanceFilter
boolean hasInstanceFilter()
Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the instanceFilter field is set.
-
getInstanceFilter
PatchJobs.PatchInstanceFilter getInstanceFilter()
Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The instanceFilter.
-
getInstanceFilterOrBuilder
PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder()
Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED];
-
hasPatchConfig
boolean hasPatchConfig()
Patch configuration being applied. If omitted, instances are patched using the default configurations.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4;
- Returns:
- Whether the patchConfig field is set.
-
getPatchConfig
PatchJobs.PatchConfig getPatchConfig()
Patch configuration being applied. If omitted, instances are patched using the default configurations.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4;
- Returns:
- The patchConfig.
-
getPatchConfigOrBuilder
PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder()
Patch configuration being applied. If omitted, instances are patched using the default configurations.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4;
-
hasDuration
boolean hasDuration()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 5;
- Returns:
- Whether the duration field is set.
-
getDuration
com.google.protobuf.Duration getDuration()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 5;
- Returns:
- The duration.
-
getDurationOrBuilder
com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 5;
-
getDryRun
boolean getDryRun()
If this patch is a dry-run only, instances are contacted but will do nothing.
bool dry_run = 6;
- Returns:
- The dryRun.
-
getDisplayName
String getDisplayName()
Display name for this patch job. This does not have to be unique.
string display_name = 8;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Display name for this patch job. This does not have to be unique.
string display_name = 8;
- Returns:
- The bytes for displayName.
-
hasRollout
boolean hasRollout()
Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 9;
- Returns:
- Whether the rollout field is set.
-
getRollout
PatchJobs.PatchRollout getRollout()
Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 9;
- Returns:
- The rollout.
-
getRolloutOrBuilder
PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder()
Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 9;
-
-