public static interface Document.StyleOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.type.Color |
getBackgroundColor()
Text background color.
|
com.google.type.ColorOrBuilder |
getBackgroundColorOrBuilder()
Text background color.
|
com.google.type.Color |
getColor()
Text color.
|
com.google.type.ColorOrBuilder |
getColorOrBuilder()
Text color.
|
String |
getFontFamily()
Font family such as `Arial`, `Times New Roman`.
|
com.google.protobuf.ByteString |
getFontFamilyBytes()
Font family such as `Arial`, `Times New Roman`.
|
Document.Style.FontSize |
getFontSize()
Font size.
|
Document.Style.FontSizeOrBuilder |
getFontSizeOrBuilder()
Font size.
|
String |
getFontWeight()
[Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp).
|
com.google.protobuf.ByteString |
getFontWeightBytes()
[Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp).
|
Document.TextAnchor |
getTextAnchor()
Text anchor indexing into the
[Document.text][google.cloud.documentai.v1beta2.Document.text].
|
Document.TextAnchorOrBuilder |
getTextAnchorOrBuilder()
Text anchor indexing into the
[Document.text][google.cloud.documentai.v1beta2.Document.text].
|
String |
getTextDecoration()
[Text
decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp).
|
com.google.protobuf.ByteString |
getTextDecorationBytes()
[Text
decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp).
|
String |
getTextStyle()
[Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
|
com.google.protobuf.ByteString |
getTextStyleBytes()
[Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
|
boolean |
hasBackgroundColor()
Text background color.
|
boolean |
hasColor()
Text color.
|
boolean |
hasFontSize()
Font size.
|
boolean |
hasTextAnchor()
Text anchor indexing into the
[Document.text][google.cloud.documentai.v1beta2.Document.text].
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasTextAnchor()
Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta2.Document.text].
.google.cloud.documentai.v1beta2.Document.TextAnchor text_anchor = 1;Document.TextAnchor getTextAnchor()
Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta2.Document.text].
.google.cloud.documentai.v1beta2.Document.TextAnchor text_anchor = 1;Document.TextAnchorOrBuilder getTextAnchorOrBuilder()
Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta2.Document.text].
.google.cloud.documentai.v1beta2.Document.TextAnchor text_anchor = 1;boolean hasColor()
Text color.
.google.type.Color color = 2;com.google.type.Color getColor()
Text color.
.google.type.Color color = 2;com.google.type.ColorOrBuilder getColorOrBuilder()
Text color.
.google.type.Color color = 2;boolean hasBackgroundColor()
Text background color.
.google.type.Color background_color = 3;com.google.type.Color getBackgroundColor()
Text background color.
.google.type.Color background_color = 3;com.google.type.ColorOrBuilder getBackgroundColorOrBuilder()
Text background color.
.google.type.Color background_color = 3;String getFontWeight()
[Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible values are `normal`, `bold`, `bolder`, and `lighter`.
string font_weight = 4;com.google.protobuf.ByteString getFontWeightBytes()
[Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible values are `normal`, `bold`, `bolder`, and `lighter`.
string font_weight = 4;String getTextStyle()
[Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp). Possible values are `normal`, `italic`, and `oblique`.
string text_style = 5;com.google.protobuf.ByteString getTextStyleBytes()
[Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp). Possible values are `normal`, `italic`, and `oblique`.
string text_style = 5;String getTextDecoration()
[Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp). Follows CSS standard. <text-decoration-line> <text-decoration-color> <text-decoration-style>
string text_decoration = 6;com.google.protobuf.ByteString getTextDecorationBytes()
[Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp). Follows CSS standard. <text-decoration-line> <text-decoration-color> <text-decoration-style>
string text_decoration = 6;boolean hasFontSize()
Font size.
.google.cloud.documentai.v1beta2.Document.Style.FontSize font_size = 7;Document.Style.FontSize getFontSize()
Font size.
.google.cloud.documentai.v1beta2.Document.Style.FontSize font_size = 7;Document.Style.FontSizeOrBuilder getFontSizeOrBuilder()
Font size.
.google.cloud.documentai.v1beta2.Document.Style.FontSize font_size = 7;String getFontFamily()
Font family such as `Arial`, `Times New Roman`. https://www.w3schools.com/cssref/pr_font_font-family.asp
string font_family = 8;com.google.protobuf.ByteString getFontFamilyBytes()
Font family such as `Arial`, `Times New Roman`. https://www.w3schools.com/cssref/pr_font_font-family.asp
string font_family = 8;Copyright © 2023 Google LLC. All rights reserved.