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.v1beta3.Document.Page.Dimension
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 Document.Page.Dimension.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Document.Page.Dimension build()
buildPartial()
public Document.Page.Dimension buildPartial()
clear()
public Document.Page.Dimension.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Document.Page.Dimension.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHeight()
public Document.Page.Dimension.Builder clearHeight()
Page height.
float height = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public Document.Page.Dimension.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUnit()
public Document.Page.Dimension.Builder clearUnit()
Dimension unit.
string unit = 3;
clearWidth()
public Document.Page.Dimension.Builder clearWidth()
Page width.
float width = 1;
clone()
public Document.Page.Dimension.Builder clone()
Overrides
getDefaultInstanceForType()
public Document.Page.Dimension getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for unit.
|
getWidth()
Page width.
float width = 1;
Returns |
---|
Type | Description |
float | The width.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Document.Page.Dimension other)
public Document.Page.Dimension.Builder mergeFrom(Document.Page.Dimension other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Document.Page.Dimension.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Document.Page.Dimension.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document.Page.Dimension.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Document.Page.Dimension.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document.Page.Dimension.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Document.Page.Dimension.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|