Class ReviewDocumentResponse.Builder (2.4.3)

public static final class ReviewDocumentResponse.Builder extends GeneratedMessageV3.Builder<ReviewDocumentResponse.Builder> implements ReviewDocumentResponseOrBuilder

Response message for review document method.

Protobuf type google.cloud.documentai.v1.ReviewDocumentResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReviewDocumentResponse build()
Returns
TypeDescription
ReviewDocumentResponse

buildPartial()

public ReviewDocumentResponse buildPartial()
Returns
TypeDescription
ReviewDocumentResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcsDestination()

public ReviewDocumentResponse.Builder clearGcsDestination()

The Cloud Storage uri for the human reviewed document.

string gcs_destination = 1;

Returns
TypeDescription
ReviewDocumentResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ReviewDocumentResponse getDefaultInstanceForType()
Returns
TypeDescription
ReviewDocumentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsDestination()

public String getGcsDestination()

The Cloud Storage uri for the human reviewed document.

string gcs_destination = 1;

Returns
TypeDescription
String

The gcsDestination.

getGcsDestinationBytes()

public ByteString getGcsDestinationBytes()

The Cloud Storage uri for the human reviewed document.

string gcs_destination = 1;

Returns
TypeDescription
ByteString

The bytes for gcsDestination.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReviewDocumentResponse other)

public ReviewDocumentResponse.Builder mergeFrom(ReviewDocumentResponse other)
Parameter
NameDescription
otherReviewDocumentResponse
Returns
TypeDescription
ReviewDocumentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsDestination(String value)

public ReviewDocumentResponse.Builder setGcsDestination(String value)

The Cloud Storage uri for the human reviewed document.

string gcs_destination = 1;

Parameter
NameDescription
valueString

The gcsDestination to set.

Returns
TypeDescription
ReviewDocumentResponse.Builder

This builder for chaining.

setGcsDestinationBytes(ByteString value)

public ReviewDocumentResponse.Builder setGcsDestinationBytes(ByteString value)

The Cloud Storage uri for the human reviewed document.

string gcs_destination = 1;

Parameter
NameDescription
valueByteString

The bytes for gcsDestination to set.

Returns
TypeDescription
ReviewDocumentResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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