Class Bootstrap.ApplicationLogConfig.LogFormat.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
com.google.protobuf.GeneratedMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Bootstrap.ApplicationLogConfig.LogFormatOrBuilder, Cloneable
Enclosing class:
Bootstrap.ApplicationLogConfig.LogFormat

public static final class Bootstrap.ApplicationLogConfig.LogFormat.Builder extends com.google.protobuf.GeneratedMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder> implements Bootstrap.ApplicationLogConfig.LogFormatOrBuilder
Protobuf type envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat
  • Field Details

    • logFormatCase_

      private int logFormatCase_
    • logFormat_

      private Object logFormat_
    • bitField0_

      private int bitField0_
    • jsonFormatBuilder_

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder> jsonFormatBuilder_
  • Constructor Details

    • Builder

      private Builder()
    • Builder

      private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
    • getDefaultInstanceForType

      public Bootstrap.ApplicationLogConfig.LogFormat getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • buildPartial0

      private void buildPartial0(Bootstrap.ApplicationLogConfig.LogFormat result)
    • buildPartialOneofs

      private void buildPartialOneofs(Bootstrap.ApplicationLogConfig.LogFormat result)
    • mergeFrom

      public Bootstrap.ApplicationLogConfig.LogFormat.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
    • mergeFrom

      public Bootstrap.ApplicationLogConfig.LogFormat.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
      Throws:
      IOException
    • getLogFormatCase

      Specified by:
      getLogFormatCase in interface Bootstrap.ApplicationLogConfig.LogFormatOrBuilder
    • clearLogFormat

    • hasJsonFormat

      public 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;
      Specified by:
      hasJsonFormat in interface Bootstrap.ApplicationLogConfig.LogFormatOrBuilder
      Returns:
      Whether the jsonFormat field is set.
    • getJsonFormat

      public 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;
      Specified by:
      getJsonFormat in interface Bootstrap.ApplicationLogConfig.LogFormatOrBuilder
      Returns:
      The jsonFormat.
    • setJsonFormat

      public Bootstrap.ApplicationLogConfig.LogFormat.Builder setJsonFormat(com.google.protobuf.Struct value)
       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;
    • setJsonFormat

      public Bootstrap.ApplicationLogConfig.LogFormat.Builder setJsonFormat(com.google.protobuf.Struct.Builder builderForValue)
       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;
    • mergeJsonFormat

      public Bootstrap.ApplicationLogConfig.LogFormat.Builder mergeJsonFormat(com.google.protobuf.Struct value)
       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;
    • clearJsonFormat

       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;
    • getJsonFormatBuilder

      public com.google.protobuf.Struct.Builder getJsonFormatBuilder()
       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;
    • getJsonFormatOrBuilder

      public 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;
      Specified by:
      getJsonFormatOrBuilder in interface Bootstrap.ApplicationLogConfig.LogFormatOrBuilder
    • internalGetJsonFormatFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder> internalGetJsonFormatFieldBuilder()
       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

      public 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;
      Specified by:
      hasTextFormat in interface Bootstrap.ApplicationLogConfig.LogFormatOrBuilder
      Returns:
      Whether the textFormat field is set.
    • getTextFormat

      public 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;
      Specified by:
      getTextFormat in interface Bootstrap.ApplicationLogConfig.LogFormatOrBuilder
      Returns:
      The textFormat.
    • getTextFormatBytes

      public 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;
      Specified by:
      getTextFormatBytes in interface Bootstrap.ApplicationLogConfig.LogFormatOrBuilder
      Returns:
      The bytes for textFormat.
    • setTextFormat

       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;
      Parameters:
      value - The textFormat to set.
      Returns:
      This builder for chaining.
    • clearTextFormat

       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:
      This builder for chaining.
    • setTextFormatBytes

      public Bootstrap.ApplicationLogConfig.LogFormat.Builder setTextFormatBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for textFormat to set.
      Returns:
      This builder for chaining.