Class PatchJobs.CancelPatchJobRequest.Builder (2.24.0)

public static final class PatchJobs.CancelPatchJobRequest.Builder extends GeneratedMessageV3.Builder<PatchJobs.CancelPatchJobRequest.Builder> implements PatchJobs.CancelPatchJobRequestOrBuilder

Message for canceling a patch job.

Protobuf type google.cloud.osconfig.v1beta.CancelPatchJobRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PatchJobs.CancelPatchJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PatchJobs.CancelPatchJobRequest.Builder
Overrides

build()

public PatchJobs.CancelPatchJobRequest build()
Returns
TypeDescription
PatchJobs.CancelPatchJobRequest

buildPartial()

public PatchJobs.CancelPatchJobRequest buildPartial()
Returns
TypeDescription
PatchJobs.CancelPatchJobRequest

clear()

public PatchJobs.CancelPatchJobRequest.Builder clear()
Returns
TypeDescription
PatchJobs.CancelPatchJobRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PatchJobs.CancelPatchJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PatchJobs.CancelPatchJobRequest.Builder
Overrides

clearName()

public PatchJobs.CancelPatchJobRequest.Builder clearName()

Required. Name of the patch in the form projects/*/patchJobs/*

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchJobs.CancelPatchJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PatchJobs.CancelPatchJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PatchJobs.CancelPatchJobRequest.Builder
Overrides

clone()

public PatchJobs.CancelPatchJobRequest.Builder clone()
Returns
TypeDescription
PatchJobs.CancelPatchJobRequest.Builder
Overrides

getDefaultInstanceForType()

public PatchJobs.CancelPatchJobRequest getDefaultInstanceForType()
Returns
TypeDescription
PatchJobs.CancelPatchJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the patch in the form projects/*/patchJobs/*

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the patch in the form projects/*/patchJobs/*

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PatchJobs.CancelPatchJobRequest other)

public PatchJobs.CancelPatchJobRequest.Builder mergeFrom(PatchJobs.CancelPatchJobRequest other)
Parameter
NameDescription
otherPatchJobs.CancelPatchJobRequest
Returns
TypeDescription
PatchJobs.CancelPatchJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PatchJobs.CancelPatchJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.CancelPatchJobRequest.Builder
Overrides
Exceptions
TypeDescription