Package com.google.cloud.osconfig.v1beta
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
Modifier and TypeMethodDescriptionDescription of the patch job.com.google.protobuf.ByteStringDescription of the patch job.Display name for this patch job.com.google.protobuf.ByteStringDisplay name for this patch job.booleanIf this patch is a dry-run only, instances are contacted but will do nothing.com.google.protobuf.DurationDuration of the patch job.com.google.protobuf.DurationOrBuilderDuration of the patch job.Required.Required.Required.com.google.protobuf.ByteStringRequired.Patch configuration being applied.Patch configuration being applied.Rollout strategy of the patch job.Rollout strategy of the patch job.booleanDuration of the patch job.booleanRequired.booleanPatch configuration being applied.booleanRollout strategy of the patch job.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The project in which to run this patch in the form `projects/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];- 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];- 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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.PatchRollout rollout = 9;- Returns:
- Whether the rollout field is set.
-
getRollout
PatchJobs.PatchRollout getRollout()Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 9;- Returns:
- The rollout.
-
getRolloutOrBuilder
PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder()Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 9;
-