Interface TextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Text,Text.Builder
@Generated
public interface TextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe text content to be displayed.com.google.protobuf.ByteStringThe text content to be displayed.How the text content is formatted.intHow the text content is formatted.getStyle()How the text is styledHow the text is styledbooleanhasStyle()How the text is styledMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getContent
String getContent()The text content to be displayed.
string content = 1;- Returns:
- The content.
-
getContentBytes
com.google.protobuf.ByteString getContentBytes()The text content to be displayed.
string content = 1;- Returns:
- The bytes for content.
-
getFormatValue
int getFormatValue()How the text content is formatted.
.google.monitoring.dashboard.v1.Text.Format format = 2;- Returns:
- The enum numeric value on the wire for format.
-
getFormat
Text.Format getFormat()How the text content is formatted.
.google.monitoring.dashboard.v1.Text.Format format = 2;- Returns:
- The format.
-
hasStyle
boolean hasStyle()How the text is styled
.google.monitoring.dashboard.v1.Text.TextStyle style = 3;- Returns:
- Whether the style field is set.
-
getStyle
Text.TextStyle getStyle()How the text is styled
.google.monitoring.dashboard.v1.Text.TextStyle style = 3;- Returns:
- The style.
-
getStyleOrBuilder
Text.TextStyleOrBuilder getStyleOrBuilder()How the text is styled
.google.monitoring.dashboard.v1.Text.TextStyle style = 3;
-