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 StringgetDescription()Description of the patch job.com.google.protobuf.ByteStringgetDescriptionBytes()Description of the patch job.StringgetDisplayName()Display name for this patch job.com.google.protobuf.ByteStringgetDisplayNameBytes()Display name for this patch job.booleangetDryRun()If this patch is a dry-run only, instances are contacted but will do nothing.com.google.protobuf.DurationgetDuration()Duration of the patch job.com.google.protobuf.DurationOrBuildergetDurationOrBuilder()Duration of the patch job.PatchJobs.PatchInstanceFiltergetInstanceFilter()Required.PatchJobs.PatchInstanceFilterOrBuildergetInstanceFilterOrBuilder()Required.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.PatchJobs.PatchConfiggetPatchConfig()Patch configuration being applied.PatchJobs.PatchConfigOrBuildergetPatchConfigOrBuilder()Patch configuration being applied.PatchJobs.PatchRolloutgetRollout()Rollout strategy of the patch job.PatchJobs.PatchRolloutOrBuildergetRolloutOrBuilder()Rollout strategy of the patch job.booleanhasDuration()Duration of the patch job.booleanhasInstanceFilter()Required.booleanhasPatchConfig()Patch configuration being applied.booleanhasRollout()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;
-
-