public static final class Document.Style.FontSize extends GeneratedMessageV3 implements Document.Style.FontSizeOrBuilder
Font size with unit.
Protobuf type google.cloud.documentai.v1beta1.Document.Style.FontSize
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
SIZE_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UNIT_FIELD_NUMBER
public static final int UNIT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Document.Style.FontSize getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Document.Style.FontSize.Builder newBuilder()
newBuilder(Document.Style.FontSize prototype)
public static Document.Style.FontSize.Builder newBuilder(Document.Style.FontSize prototype)
public static Document.Style.FontSize parseDelimitedFrom(InputStream input)
public static Document.Style.FontSize parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Document.Style.FontSize parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Document.Style.FontSize parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Document.Style.FontSize parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Document.Style.FontSize parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Document.Style.FontSize parseFrom(CodedInputStream input)
public static Document.Style.FontSize parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Document.Style.FontSize parseFrom(InputStream input)
public static Document.Style.FontSize parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Document.Style.FontSize parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Document.Style.FontSize parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Document.Style.FontSize> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Document.Style.FontSize getDefaultInstanceForType()
getParserForType()
public Parser<Document.Style.FontSize> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSize()
Font size for the text.
float size = 1;
Returns |
---|
Type | Description |
float | The size.
|
getUnit()
Unit for the font size. Follows CSS naming (in, px, pt, etc.).
string unit = 2;
Returns |
---|
Type | Description |
String | The unit.
|
getUnitBytes()
public ByteString getUnitBytes()
Unit for the font size. Follows CSS naming (in, px, pt, etc.).
string unit = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for unit.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Document.Style.FontSize.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Document.Style.FontSize.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Document.Style.FontSize.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides