public static final class PatchJobs.ExecutePatchJobRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ExecutePatchJobRequest.Builder> implements PatchJobs.ExecutePatchJobRequestOrBuilder
A request message to initiate patching across Compute Engine instances.Protobuf type
google.cloud.osconfig.v1.ExecutePatchJobRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ExecutePatchJobRequest.Builder>public PatchJobs.ExecutePatchJobRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ExecutePatchJobRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ExecutePatchJobRequest.Builder>public PatchJobs.ExecutePatchJobRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PatchJobs.ExecutePatchJobRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.ExecutePatchJobRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.ExecutePatchJobRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ExecutePatchJobRequest.Builder>public PatchJobs.ExecutePatchJobRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ExecutePatchJobRequest.Builder>public PatchJobs.ExecutePatchJobRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ExecutePatchJobRequest.Builder>public PatchJobs.ExecutePatchJobRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ExecutePatchJobRequest.Builder>public PatchJobs.ExecutePatchJobRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ExecutePatchJobRequest.Builder>public PatchJobs.ExecutePatchJobRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ExecutePatchJobRequest.Builder>public PatchJobs.ExecutePatchJobRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchJobs.ExecutePatchJobRequest.Builder>public PatchJobs.ExecutePatchJobRequest.Builder mergeFrom(PatchJobs.ExecutePatchJobRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ExecutePatchJobRequest.Builder>public PatchJobs.ExecutePatchJobRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchJobs.ExecutePatchJobRequest.Builder>IOExceptionpublic 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) = { ... }
getParent in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic 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) = { ... }
getParentBytes in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic PatchJobs.ExecutePatchJobRequest.Builder setParent(String value)
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) = { ... }
value - The parent to set.public PatchJobs.ExecutePatchJobRequest.Builder clearParent()
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) = { ... }
public PatchJobs.ExecutePatchJobRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for parent to set.public String getDescription()
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;getDescription in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;getDescriptionBytes in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic PatchJobs.ExecutePatchJobRequest.Builder setDescription(String value)
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;value - The description to set.public PatchJobs.ExecutePatchJobRequest.Builder clearDescription()
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;public PatchJobs.ExecutePatchJobRequest.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;value - The bytes for description to set.public 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];
hasInstanceFilter in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic 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];
getInstanceFilter in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic PatchJobs.ExecutePatchJobRequest.Builder setInstanceFilter(PatchJobs.PatchInstanceFilter value)
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];
public PatchJobs.ExecutePatchJobRequest.Builder setInstanceFilter(PatchJobs.PatchInstanceFilter.Builder builderForValue)
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];
public PatchJobs.ExecutePatchJobRequest.Builder mergeInstanceFilter(PatchJobs.PatchInstanceFilter value)
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];
public PatchJobs.ExecutePatchJobRequest.Builder clearInstanceFilter()
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];
public PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder()
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];
public 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];
getInstanceFilterOrBuilder in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic boolean hasPatchConfig()
Patch configuration being applied. If omitted, instances are patched using the default configurations.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4;hasPatchConfig in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic PatchJobs.PatchConfig getPatchConfig()
Patch configuration being applied. If omitted, instances are patched using the default configurations.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4;getPatchConfig in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic PatchJobs.ExecutePatchJobRequest.Builder setPatchConfig(PatchJobs.PatchConfig value)
Patch configuration being applied. If omitted, instances are patched using the default configurations.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4;public PatchJobs.ExecutePatchJobRequest.Builder setPatchConfig(PatchJobs.PatchConfig.Builder builderForValue)
Patch configuration being applied. If omitted, instances are patched using the default configurations.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4;public PatchJobs.ExecutePatchJobRequest.Builder mergePatchConfig(PatchJobs.PatchConfig value)
Patch configuration being applied. If omitted, instances are patched using the default configurations.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4;public PatchJobs.ExecutePatchJobRequest.Builder clearPatchConfig()
Patch configuration being applied. If omitted, instances are patched using the default configurations.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4;public PatchJobs.PatchConfig.Builder getPatchConfigBuilder()
Patch configuration being applied. If omitted, instances are patched using the default configurations.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4;public PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder()
Patch configuration being applied. If omitted, instances are patched using the default configurations.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4;getPatchConfigOrBuilder in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic boolean hasDuration()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 5;hasDuration in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic com.google.protobuf.Duration getDuration()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 5;getDuration in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic PatchJobs.ExecutePatchJobRequest.Builder setDuration(com.google.protobuf.Duration value)
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 5;public PatchJobs.ExecutePatchJobRequest.Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 5;public PatchJobs.ExecutePatchJobRequest.Builder mergeDuration(com.google.protobuf.Duration value)
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 5;public PatchJobs.ExecutePatchJobRequest.Builder clearDuration()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 5;public com.google.protobuf.Duration.Builder getDurationBuilder()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 5;public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 5;getDurationOrBuilder in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic boolean getDryRun()
If this patch is a dry-run only, instances are contacted but will do nothing.
bool dry_run = 6;getDryRun in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic PatchJobs.ExecutePatchJobRequest.Builder setDryRun(boolean value)
If this patch is a dry-run only, instances are contacted but will do nothing.
bool dry_run = 6;value - The dryRun to set.public PatchJobs.ExecutePatchJobRequest.Builder clearDryRun()
If this patch is a dry-run only, instances are contacted but will do nothing.
bool dry_run = 6;public String getDisplayName()
Display name for this patch job. This does not have to be unique.
string display_name = 8;getDisplayName in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Display name for this patch job. This does not have to be unique.
string display_name = 8;getDisplayNameBytes in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic PatchJobs.ExecutePatchJobRequest.Builder setDisplayName(String value)
Display name for this patch job. This does not have to be unique.
string display_name = 8;value - The displayName to set.public PatchJobs.ExecutePatchJobRequest.Builder clearDisplayName()
Display name for this patch job. This does not have to be unique.
string display_name = 8;public PatchJobs.ExecutePatchJobRequest.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Display name for this patch job. This does not have to be unique.
string display_name = 8;value - The bytes for displayName to set.public boolean hasRollout()
Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 9;hasRollout in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic PatchJobs.PatchRollout getRollout()
Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 9;getRollout in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic PatchJobs.ExecutePatchJobRequest.Builder setRollout(PatchJobs.PatchRollout value)
Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 9;public PatchJobs.ExecutePatchJobRequest.Builder setRollout(PatchJobs.PatchRollout.Builder builderForValue)
Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 9;public PatchJobs.ExecutePatchJobRequest.Builder mergeRollout(PatchJobs.PatchRollout value)
Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 9;public PatchJobs.ExecutePatchJobRequest.Builder clearRollout()
Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 9;public PatchJobs.PatchRollout.Builder getRolloutBuilder()
Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 9;public PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder()
Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 9;getRolloutOrBuilder in interface PatchJobs.ExecutePatchJobRequestOrBuilderpublic final PatchJobs.ExecutePatchJobRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ExecutePatchJobRequest.Builder>public final PatchJobs.ExecutePatchJobRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ExecutePatchJobRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.