Class FetchProcessorTypesRequest.Builder (2.92.0)

public static final class FetchProcessorTypesRequest.Builder extends GeneratedMessage.Builder<FetchProcessorTypesRequest.Builder> implements FetchProcessorTypesRequestOrBuilder

Request message for the FetchProcessorTypes method. Some processor types may require the project be added to an allowlist.

Protobuf type google.cloud.documentai.v1beta3.FetchProcessorTypesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public FetchProcessorTypesRequest build()
Returns
Type Description
FetchProcessorTypesRequest

buildPartial()

public FetchProcessorTypesRequest buildPartial()
Returns
Type Description
FetchProcessorTypesRequest

clear()

public FetchProcessorTypesRequest.Builder clear()
Returns
Type Description
FetchProcessorTypesRequest.Builder
Overrides

clearParent()

public FetchProcessorTypesRequest.Builder clearParent()

Required. The location of processor types to list. Format: projects/{project}/locations/{location}.

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

Returns
Type Description
FetchProcessorTypesRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public FetchProcessorTypesRequest getDefaultInstanceForType()
Returns
Type Description
FetchProcessorTypesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The location of processor types to list. Format: projects/{project}/locations/{location}.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The location of processor types to list. Format: projects/{project}/locations/{location}.

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchProcessorTypesRequest other)

public FetchProcessorTypesRequest.Builder mergeFrom(FetchProcessorTypesRequest other)
Parameter
Name Description
other FetchProcessorTypesRequest
Returns
Type Description
FetchProcessorTypesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchProcessorTypesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchProcessorTypesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FetchProcessorTypesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FetchProcessorTypesRequest.Builder
Overrides

setParent(String value)

public FetchProcessorTypesRequest.Builder setParent(String value)

Required. The location of processor types to list. Format: projects/{project}/locations/{location}.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
FetchProcessorTypesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public FetchProcessorTypesRequest.Builder setParentBytes(ByteString value)

Required. The location of processor types to list. Format: projects/{project}/locations/{location}.

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
FetchProcessorTypesRequest.Builder

This builder for chaining.