Class DeleteJobTemplateRequest.Builder (1.21.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteJobTemplateRequest build()
Returns
TypeDescription
DeleteJobTemplateRequest

buildPartial()

public DeleteJobTemplateRequest buildPartial()
Returns
TypeDescription
DeleteJobTemplateRequest

clear()

public DeleteJobTemplateRequest.Builder clear()
Returns
TypeDescription
DeleteJobTemplateRequest.Builder
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
TypeDescription
DeleteJobTemplateRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DeleteJobTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteJobTemplateRequest.Builder
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
TypeDescription
DeleteJobTemplateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DeleteJobTemplateRequest.Builder clone()
Returns
TypeDescription
DeleteJobTemplateRequest.Builder
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
TypeDescription
boolean

The allowMissing.

getDefaultInstanceForType()

public DeleteJobTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteJobTemplateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String 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
TypeDescription
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
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(DeleteJobTemplateRequest other)

public DeleteJobTemplateRequest.Builder mergeFrom(DeleteJobTemplateRequest other)
Parameter
NameDescription
otherDeleteJobTemplateRequest
Returns
TypeDescription
DeleteJobTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DeleteJobTemplateRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteJobTemplateRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteJobTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteJobTemplateRequest.Builder
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
NameDescription
valueboolean

The allowMissing to set.

Returns
TypeDescription
DeleteJobTemplateRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteJobTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteJobTemplateRequest.Builder
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteJobTemplateRequest.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteJobTemplateRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteJobTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteJobTemplateRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteJobTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteJobTemplateRequest.Builder
Overrides