Send feedback
Class Document.Page.Dimension.Builder (2.1.9)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.1.9 keyboard_arrow_down
public static final class Document . Page . Dimension . Builder extends GeneratedMessageV3 . Builder<Document . Page . Dimension . Builder > implements Document . Page . DimensionOrBuilder
Dimension for the page.
Protobuf type google.cloud.documentai.v1.Document.Page.Dimension
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document . Page . Dimension . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public Document . Page . Dimension build ()
Returns
buildPartial()
public Document . Page . Dimension buildPartial ()
Returns
clear()
public Document . Page . Dimension . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Document . Page . Dimension . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearHeight()
public Document . Page . Dimension . Builder clearHeight ()
Page height.
float height = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Document . Page . Dimension . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearUnit()
public Document . Page . Dimension . Builder clearUnit ()
Dimension unit.
string unit = 3;
Returns
clearWidth()
public Document . Page . Dimension . Builder clearWidth ()
Page width.
float width = 1;
Returns
clone()
public Document . Page . Dimension . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public Document . Page . Dimension getDefaultInstanceForType ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getHeight()
Page height.
float height = 2;
Returns
Type Description float The height.
getUnit()
Dimension unit.
string unit = 3;
Returns
Type Description String The unit.
getUnitBytes()
public ByteString getUnitBytes ()
Dimension unit.
string unit = 3;
Returns
getWidth()
Page width.
float width = 1;
Returns
Type Description float The width.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(Document.Page.Dimension other)
public Document . Page . Dimension . Builder mergeFrom ( Document . Page . Dimension other )
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Document . Page . Dimension . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Document . Page . Dimension . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document . Page . Dimension . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Document . Page . Dimension . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setHeight(float value)
public Document . Page . Dimension . Builder setHeight ( float value )
Page height.
float height = 2;
Parameter
Name Description value float
The height to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document . Page . Dimension . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnit(String value)
public Document . Page . Dimension . Builder setUnit ( String value )
Dimension unit.
string unit = 3;
Parameter
Name Description value String
The unit to set.
Returns
setUnitBytes(ByteString value)
public Document . Page . Dimension . Builder setUnitBytes ( ByteString value )
Dimension unit.
string unit = 3;
Parameter
Name Description value ByteString
The bytes for unit to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Document . Page . Dimension . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setWidth(float value)
public Document . Page . Dimension . Builder setWidth ( float value )
Page width.
float width = 1;
Parameter
Name Description value float
The width to set.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]