public static final class PatchJobs.ExecutePatchJobRequest extends GeneratedMessageV3 implements PatchJobs.ExecutePatchJobRequestOrBuilder
A request message to initiate patching across Compute Engine
instances.
Protobuf type google.cloud.osconfig.v1.ExecutePatchJobRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DRY_RUN_FIELD_NUMBER
public static final int DRY_RUN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
INSTANCE_FILTER_FIELD_NUMBER
public static final int INSTANCE_FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PATCH_CONFIG_FIELD_NUMBER
public static final int PATCH_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ROLLOUT_FIELD_NUMBER
public static final int ROLLOUT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static PatchJobs.ExecutePatchJobRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PatchJobs.ExecutePatchJobRequest.Builder newBuilder()
newBuilder(PatchJobs.ExecutePatchJobRequest prototype)
public static PatchJobs.ExecutePatchJobRequest.Builder newBuilder(PatchJobs.ExecutePatchJobRequest prototype)
public static PatchJobs.ExecutePatchJobRequest parseDelimitedFrom(InputStream input)
public static PatchJobs.ExecutePatchJobRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PatchJobs.ExecutePatchJobRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.ExecutePatchJobRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PatchJobs.ExecutePatchJobRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.ExecutePatchJobRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.ExecutePatchJobRequest parseFrom(CodedInputStream input)
public static PatchJobs.ExecutePatchJobRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.ExecutePatchJobRequest parseFrom(InputStream input)
public static PatchJobs.ExecutePatchJobRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PatchJobs.ExecutePatchJobRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.ExecutePatchJobRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PatchJobs.ExecutePatchJobRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public PatchJobs.ExecutePatchJobRequest getDefaultInstanceForType()
getDescription()
public String getDescription()
Description of the patch job. Length of the description is limited
to 1024 characters.
string description = 2;
Returns |
---|
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the patch job. Length of the description is limited
to 1024 characters.
string description = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for description.
|
getDisplayName()
public String getDisplayName()
Display name for this patch job. This does not have to be unique.
string display_name = 8;
Returns |
---|
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Display name for this patch job. This does not have to be unique.
string display_name = 8;
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
getDryRun()
public boolean getDryRun()
If this patch is a dry-run only, instances are contacted but
will do nothing.
bool dry_run = 6;
Returns |
---|
Type | Description |
boolean | The dryRun.
|
getDuration()
public Duration getDuration()
Duration of the patch job. After the duration ends, the patch job
times out.
.google.protobuf.Duration duration = 5;
Returns |
---|
Type | Description |
Duration | The duration.
|
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
Duration of the patch job. After the duration ends, the patch job
times out.
.google.protobuf.Duration duration = 5;
getInstanceFilter()
public 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];
getInstanceFilterOrBuilder()
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];
getParent()
public 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 |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public 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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
getParserForType()
public Parser<PatchJobs.ExecutePatchJobRequest> getParserForType()
Overrides
getPatchConfig()
public PatchJobs.PatchConfig getPatchConfig()
Patch configuration being applied. If omitted, instances are
patched using the default configurations.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4;
getPatchConfigOrBuilder()
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;
getRollout()
public PatchJobs.PatchRollout getRollout()
Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 9;
getRolloutOrBuilder()
public PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder()
Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 9;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasDuration()
public boolean hasDuration()
Duration of the patch job. After the duration ends, the patch job
times out.
.google.protobuf.Duration duration = 5;
Returns |
---|
Type | Description |
boolean | Whether the duration field is set.
|
hasInstanceFilter()
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];
Returns |
---|
Type | Description |
boolean | Whether the instanceFilter field is set.
|
hasPatchConfig()
public boolean hasPatchConfig()
Patch configuration being applied. If omitted, instances are
patched using the default configurations.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4;
Returns |
---|
Type | Description |
boolean | Whether the patchConfig field is set.
|
hasRollout()
public boolean hasRollout()
Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 9;
Returns |
---|
Type | Description |
boolean | Whether the rollout field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PatchJobs.ExecutePatchJobRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PatchJobs.ExecutePatchJobRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public PatchJobs.ExecutePatchJobRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides