Class UndeployProcessorVersionRequest.Builder (2.25.0)

public static final class UndeployProcessorVersionRequest.Builder extends GeneratedMessageV3.Builder<UndeployProcessorVersionRequest.Builder> implements UndeployProcessorVersionRequestOrBuilder

Request message for the UndeployProcessorVersion method.

Protobuf type google.cloud.documentai.v1.UndeployProcessorVersionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UndeployProcessorVersionRequest build()
Returns
TypeDescription
UndeployProcessorVersionRequest

buildPartial()

public UndeployProcessorVersionRequest buildPartial()
Returns
TypeDescription
UndeployProcessorVersionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public UndeployProcessorVersionRequest.Builder clearName()

Required. The processor version resource name to be undeployed.

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

Returns
TypeDescription
UndeployProcessorVersionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UndeployProcessorVersionRequest getDefaultInstanceForType()
Returns
TypeDescription
UndeployProcessorVersionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The processor version resource name to be undeployed.

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 undeployed.

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

public UndeployProcessorVersionRequest.Builder mergeFrom(UndeployProcessorVersionRequest other)
Parameter
NameDescription
otherUndeployProcessorVersionRequest
Returns
TypeDescription
UndeployProcessorVersionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public UndeployProcessorVersionRequest.Builder setName(String value)

Required. The processor version resource name to be undeployed.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
UndeployProcessorVersionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UndeployProcessorVersionRequest.Builder setNameBytes(ByteString value)

Required. The processor version resource name to be undeployed.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
UndeployProcessorVersionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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