public static final class ReviewDocumentResponse.Builder extends GeneratedMessageV3.Builder<ReviewDocumentResponse.Builder> implements ReviewDocumentResponseOrBuilder
Response message for review document method.
Protobuf type google.cloud.documentai.v1beta3.ReviewDocumentResponse
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReviewDocumentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ReviewDocumentResponse build()
Returns
buildPartial()
public ReviewDocumentResponse buildPartial()
Returns
clear()
public ReviewDocumentResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReviewDocumentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGcsDestination()
public ReviewDocumentResponse.Builder clearGcsDestination()
The Cloud Storage uri for the human reviewed document.
string gcs_destination = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ReviewDocumentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ReviewDocumentResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ReviewDocumentResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGcsDestination()
public String getGcsDestination()
The Cloud Storage uri for the human reviewed document.
string gcs_destination = 1;
Returns
Type | Description |
String | The gcsDestination.
|
getGcsDestinationBytes()
public ByteString getGcsDestinationBytes()
The Cloud Storage uri for the human reviewed document.
string gcs_destination = 1;
Returns
Type | Description |
ByteString | The bytes for gcsDestination.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ReviewDocumentResponse other)
public ReviewDocumentResponse.Builder mergeFrom(ReviewDocumentResponse other)
Parameter
Returns
public ReviewDocumentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReviewDocumentResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReviewDocumentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ReviewDocumentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGcsDestination(String value)
public ReviewDocumentResponse.Builder setGcsDestination(String value)
The Cloud Storage uri for the human reviewed document.
string gcs_destination = 1;
Parameter
Name | Description |
value | String
The gcsDestination to set.
|
Returns
setGcsDestinationBytes(ByteString value)
public ReviewDocumentResponse.Builder setGcsDestinationBytes(ByteString value)
The Cloud Storage uri for the human reviewed document.
string gcs_destination = 1;
Parameter
Name | Description |
value | ByteString
The bytes for gcsDestination to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReviewDocumentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReviewDocumentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides