Class FetchProcessorTypesRequest.Builder

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

Request message for fetch processor types.

Protobuf type google.cloud.documentai.v1beta3.FetchProcessorTypesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchProcessorTypesRequest build()
Returns
TypeDescription
FetchProcessorTypesRequest

buildPartial()

public FetchProcessorTypesRequest buildPartial()
Returns
TypeDescription
FetchProcessorTypesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public FetchProcessorTypesRequest.Builder clearParent()

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

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

Returns
TypeDescription
FetchProcessorTypesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FetchProcessorTypesRequest getDefaultInstanceForType()
Returns
TypeDescription
FetchProcessorTypesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

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

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchProcessorTypesRequest other)

public FetchProcessorTypesRequest.Builder mergeFrom(FetchProcessorTypesRequest other)
Parameter
NameDescription
otherFetchProcessorTypesRequest
Returns
TypeDescription
FetchProcessorTypesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public FetchProcessorTypesRequest.Builder setParent(String value)

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

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
FetchProcessorTypesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public FetchProcessorTypesRequest.Builder setParentBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
FetchProcessorTypesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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