Class DeleteProcessorVersionRequest.Builder (2.41.0)

public static final class DeleteProcessorVersionRequest.Builder extends GeneratedMessageV3.Builder<DeleteProcessorVersionRequest.Builder> implements DeleteProcessorVersionRequestOrBuilder

Request message for the DeleteProcessorVersion method.

Protobuf type google.cloud.documentai.v1.DeleteProcessorVersionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteProcessorVersionRequest build()
Returns
TypeDescription
DeleteProcessorVersionRequest

buildPartial()

public DeleteProcessorVersionRequest buildPartial()
Returns
TypeDescription
DeleteProcessorVersionRequest

clear()

public DeleteProcessorVersionRequest.Builder clear()
Returns
TypeDescription
DeleteProcessorVersionRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteProcessorVersionRequest.Builder clearName()

Required. The processor version resource name to be deleted.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
DeleteProcessorVersionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DeleteProcessorVersionRequest.Builder clone()
Returns
TypeDescription
DeleteProcessorVersionRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteProcessorVersionRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteProcessorVersionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The processor version resource name to be deleted.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The processor version resource name to be deleted.

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(DeleteProcessorVersionRequest other)

public DeleteProcessorVersionRequest.Builder mergeFrom(DeleteProcessorVersionRequest other)
Parameter
NameDescription
otherDeleteProcessorVersionRequest
Returns
TypeDescription
DeleteProcessorVersionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteProcessorVersionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteProcessorVersionRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteProcessorVersionRequest.Builder setName(String value)

Required. The processor version resource name to be deleted.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteProcessorVersionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteProcessorVersionRequest.Builder setNameBytes(ByteString value)

Required. The processor version resource name to be deleted.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteProcessorVersionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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