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.v1.CancelPatchJobRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.CancelPatchJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PatchJobs.CancelPatchJobRequest build()
Returns
buildPartial()
public PatchJobs.CancelPatchJobRequest buildPartial()
Returns
clear()
public PatchJobs.CancelPatchJobRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PatchJobs.CancelPatchJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public PatchJobs.CancelPatchJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public PatchJobs.CancelPatchJobRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PatchJobs.CancelPatchJobRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Required. Name of the patch in the form projects/*/patchJobs/*
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
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, (.google.api.resource_reference) = { ... }
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PatchJobs.CancelPatchJobRequest other)
public PatchJobs.CancelPatchJobRequest.Builder mergeFrom(PatchJobs.CancelPatchJobRequest other)
Parameter
Returns
public PatchJobs.CancelPatchJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PatchJobs.CancelPatchJobRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PatchJobs.CancelPatchJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.CancelPatchJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public PatchJobs.CancelPatchJobRequest.Builder setName(String value)
Required. Name of the patch in the form projects/*/patchJobs/*
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public PatchJobs.CancelPatchJobRequest.Builder setNameBytes(ByteString value)
Required. Name of the patch in the form projects/*/patchJobs/*
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PatchJobs.CancelPatchJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PatchJobs.CancelPatchJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides