Interface Bootstrap.ApplicationLogConfig.LogFormatOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.Struct getJsonFormat()
      Flush application logs in JSON format.
      com.google.protobuf.StructOrBuilder getJsonFormatOrBuilder()
      Flush application logs in JSON format.
      Bootstrap.ApplicationLogConfig.LogFormat.LogFormatCase getLogFormatCase()  
      java.lang.String getTextFormat()
      Flush application log in a format defined by a string.
      com.google.protobuf.ByteString getTextFormatBytes()
      Flush application log in a format defined by a string.
      boolean hasJsonFormat()
      Flush application logs in JSON format.
      boolean hasTextFormat()
      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 Detail

      • 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

        java.lang.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.