Interface Bootstrap.ApplicationLogConfig.LogFormatOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Bootstrap.ApplicationLogConfig.LogFormat
,Bootstrap.ApplicationLogConfig.LogFormat.Builder
- Enclosing class:
Bootstrap.ApplicationLogConfig
public static interface Bootstrap.ApplicationLogConfig.LogFormatOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Struct
Flush application logs in JSON format.com.google.protobuf.StructOrBuilder
Flush application logs in JSON format.Flush application log in a format defined by a string.com.google.protobuf.ByteString
Flush application log in a format defined by a string.boolean
Flush application logs in JSON format.boolean
Flush application log in a format defined by a string.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasJsonFormat
boolean hasJsonFormat()Flush application logs in JSON format. The configured JSON struct can support all the format flags specified in the :option:`--log-format` command line options section, except for the ``%v`` and ``%_`` flags.
.google.protobuf.Struct json_format = 1;
- Returns:
- Whether the jsonFormat field is set.
-
getJsonFormat
com.google.protobuf.Struct getJsonFormat()Flush application logs in JSON format. The configured JSON struct can support all the format flags specified in the :option:`--log-format` command line options section, except for the ``%v`` and ``%_`` flags.
.google.protobuf.Struct json_format = 1;
- Returns:
- The jsonFormat.
-
getJsonFormatOrBuilder
com.google.protobuf.StructOrBuilder getJsonFormatOrBuilder()Flush application logs in JSON format. The configured JSON struct can support all the format flags specified in the :option:`--log-format` command line options section, except for the ``%v`` and ``%_`` flags.
.google.protobuf.Struct json_format = 1;
-
hasTextFormat
boolean hasTextFormat()Flush application log in a format defined by a string. The text format can support all the format flags specified in the :option:`--log-format` command line option section.
string text_format = 2;
- Returns:
- Whether the textFormat field is set.
-
getTextFormat
String getTextFormat()Flush application log in a format defined by a string. The text format can support all the format flags specified in the :option:`--log-format` command line option section.
string text_format = 2;
- Returns:
- The textFormat.
-
getTextFormatBytes
com.google.protobuf.ByteString getTextFormatBytes()Flush application log in a format defined by a string. The text format can support all the format flags specified in the :option:`--log-format` command line option section.
string text_format = 2;
- Returns:
- The bytes for textFormat.
-
getLogFormatCase
Bootstrap.ApplicationLogConfig.LogFormat.LogFormatCase getLogFormatCase()
-