public static final class DeleteJobTemplateRequest.Builder extends GeneratedMessageV3.Builder<DeleteJobTemplateRequest.Builder> implements DeleteJobTemplateRequestOrBuilder
Request message for TranscoderService.DeleteJobTemplate
.
Protobuf type google.cloud.video.transcoder.v1.DeleteJobTemplateRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteJobTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DeleteJobTemplateRequest build()
Returns
buildPartial()
public DeleteJobTemplateRequest buildPartial()
Returns
clear()
public DeleteJobTemplateRequest.Builder clear()
Returns
Overrides
clearAllowMissing()
public DeleteJobTemplateRequest.Builder clearAllowMissing()
If set to true, and the job template is not found, the request will succeed
but no action will be taken on the server.
bool allow_missing = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public DeleteJobTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public DeleteJobTemplateRequest.Builder clearName()
Required. The name of the job template to delete.
projects/{project}/locations/{location}/jobTemplates/{job_template}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteJobTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DeleteJobTemplateRequest.Builder clone()
Returns
Overrides
getAllowMissing()
public boolean getAllowMissing()
If set to true, and the job template is not found, the request will succeed
but no action will be taken on the server.
bool allow_missing = 2;
Returns
Type | Description |
boolean | The allowMissing.
|
getDefaultInstanceForType()
public DeleteJobTemplateRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Required. The name of the job template to delete.
projects/{project}/locations/{location}/jobTemplates/{job_template}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The name of the job template to delete.
projects/{project}/locations/{location}/jobTemplates/{job_template}
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(DeleteJobTemplateRequest other)
public DeleteJobTemplateRequest.Builder mergeFrom(DeleteJobTemplateRequest other)
Parameter
Returns
public DeleteJobTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DeleteJobTemplateRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteJobTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setAllowMissing(boolean value)
public DeleteJobTemplateRequest.Builder setAllowMissing(boolean value)
If set to true, and the job template is not found, the request will succeed
but no action will be taken on the server.
bool allow_missing = 2;
Parameter
Name | Description |
value | boolean
The allowMissing to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteJobTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public DeleteJobTemplateRequest.Builder setName(String value)
Required. The name of the job template to delete.
projects/{project}/locations/{location}/jobTemplates/{job_template}
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 DeleteJobTemplateRequest.Builder setNameBytes(ByteString value)
Required. The name of the job template to delete.
projects/{project}/locations/{location}/jobTemplates/{job_template}
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 DeleteJobTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteJobTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides