public static final class GetDocumentResponse.Builder extends GeneratedMessageV3.Builder<GetDocumentResponse.Builder> implements GetDocumentResponseOrBuilder
Protobuf type google.cloud.documentai.v1beta3.GetDocumentResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetDocumentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GetDocumentResponse build()
buildPartial()
public GetDocumentResponse buildPartial()
clear()
public GetDocumentResponse.Builder clear()
Overrides
clearDocument()
public GetDocumentResponse.Builder clearDocument()
.google.cloud.documentai.v1beta3.Document document = 1;
clearField(Descriptors.FieldDescriptor field)
public GetDocumentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GetDocumentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GetDocumentResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public GetDocumentResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDocument()
public Document getDocument()
.google.cloud.documentai.v1beta3.Document document = 1;
Returns |
---|
Type | Description |
Document | The document.
|
getDocumentBuilder()
public Document.Builder getDocumentBuilder()
.google.cloud.documentai.v1beta3.Document document = 1;
getDocumentOrBuilder()
public DocumentOrBuilder getDocumentOrBuilder()
.google.cloud.documentai.v1beta3.Document document = 1;
hasDocument()
public boolean hasDocument()
.google.cloud.documentai.v1beta3.Document document = 1;
Returns |
---|
Type | Description |
boolean | Whether the document field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDocument(Document value)
public GetDocumentResponse.Builder mergeDocument(Document value)
.google.cloud.documentai.v1beta3.Document document = 1;
mergeFrom(GetDocumentResponse other)
public GetDocumentResponse.Builder mergeFrom(GetDocumentResponse other)
public GetDocumentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GetDocumentResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetDocumentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDocument(Document value)
public GetDocumentResponse.Builder setDocument(Document value)
.google.cloud.documentai.v1beta3.Document document = 1;
setDocument(Document.Builder builderForValue)
public GetDocumentResponse.Builder setDocument(Document.Builder builderForValue)
.google.cloud.documentai.v1beta3.Document document = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public GetDocumentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetDocumentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetDocumentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides