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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Document.Page.Dimension.BuilderImplements
Document.Page.DimensionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document.Page.Dimension.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Document.Page.Dimension.Builder |
build()
public Document.Page.Dimension build()
Type | Description |
Document.Page.Dimension |
buildPartial()
public Document.Page.Dimension buildPartial()
Type | Description |
Document.Page.Dimension |
clear()
public Document.Page.Dimension.Builder clear()
Type | Description |
Document.Page.Dimension.Builder |
clearField(Descriptors.FieldDescriptor field)
public Document.Page.Dimension.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Document.Page.Dimension.Builder |
clearHeight()
public Document.Page.Dimension.Builder clearHeight()
Page height.
float height = 2;
Type | Description |
Document.Page.Dimension.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Document.Page.Dimension.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Document.Page.Dimension.Builder |
clearUnit()
public Document.Page.Dimension.Builder clearUnit()
Dimension unit.
string unit = 3;
Type | Description |
Document.Page.Dimension.Builder | This builder for chaining. |
clearWidth()
public Document.Page.Dimension.Builder clearWidth()
Page width.
float width = 1;
Type | Description |
Document.Page.Dimension.Builder | This builder for chaining. |
clone()
public Document.Page.Dimension.Builder clone()
Type | Description |
Document.Page.Dimension.Builder |
getDefaultInstanceForType()
public Document.Page.Dimension getDefaultInstanceForType()
Type | Description |
Document.Page.Dimension |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getHeight()
public float getHeight()
Page height.
float height = 2;
Type | Description |
float | The height. |
getUnit()
public String getUnit()
Dimension unit.
string unit = 3;
Type | Description |
String | The unit. |
getUnitBytes()
public ByteString getUnitBytes()
Dimension unit.
string unit = 3;
Type | Description |
ByteString | The bytes for unit. |
getWidth()
public float getWidth()
Page width.
float width = 1;
Type | Description |
float | The width. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Document.Page.Dimension other)
public Document.Page.Dimension.Builder mergeFrom(Document.Page.Dimension other)
Name | Description |
other | Document.Page.Dimension |
Type | Description |
Document.Page.Dimension.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Document.Page.Dimension.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Document.Page.Dimension.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Document.Page.Dimension.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Document.Page.Dimension.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document.Page.Dimension.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Document.Page.Dimension.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Document.Page.Dimension.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Document.Page.Dimension.Builder |
setHeight(float value)
public Document.Page.Dimension.Builder setHeight(float value)
Page height.
float height = 2;
Name | Description |
value | float The height to set. |
Type | Description |
Document.Page.Dimension.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document.Page.Dimension.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Document.Page.Dimension.Builder |
setUnit(String value)
public Document.Page.Dimension.Builder setUnit(String value)
Dimension unit.
string unit = 3;
Name | Description |
value | String The unit to set. |
Type | Description |
Document.Page.Dimension.Builder | This builder for chaining. |
setUnitBytes(ByteString value)
public Document.Page.Dimension.Builder setUnitBytes(ByteString value)
Dimension unit.
string unit = 3;
Name | Description |
value | ByteString The bytes for unit to set. |
Type | Description |
Document.Page.Dimension.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Document.Page.Dimension.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Document.Page.Dimension.Builder |
setWidth(float value)
public Document.Page.Dimension.Builder setWidth(float value)
Page width.
float width = 1;
Name | Description |
value | float The width to set. |
Type | Description |
Document.Page.Dimension.Builder | This builder for chaining. |