Class Bootstrap.ApplicationLogConfig.LogFormat.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
,java.lang.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 typeenvoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder>
jsonFormatBuilder_
private java.lang.Object
logFormat_
private int
logFormatCase_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Bootstrap.ApplicationLogConfig.LogFormat
build()
Bootstrap.ApplicationLogConfig.LogFormat
buildPartial()
private void
buildPartial0(Bootstrap.ApplicationLogConfig.LogFormat result)
private void
buildPartialOneofs(Bootstrap.ApplicationLogConfig.LogFormat result)
Bootstrap.ApplicationLogConfig.LogFormat.Builder
clear()
Bootstrap.ApplicationLogConfig.LogFormat.Builder
clearJsonFormat()
Flush application logs in JSON format.Bootstrap.ApplicationLogConfig.LogFormat.Builder
clearLogFormat()
Bootstrap.ApplicationLogConfig.LogFormat.Builder
clearTextFormat()
Flush application log in a format defined by a string.Bootstrap.ApplicationLogConfig.LogFormat
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Struct
getJsonFormat()
Flush application logs in JSON format.com.google.protobuf.Struct.Builder
getJsonFormatBuilder()
Flush application logs in JSON format.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder>
getJsonFormatFieldBuilder()
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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Bootstrap.ApplicationLogConfig.LogFormat.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Bootstrap.ApplicationLogConfig.LogFormat.Builder
mergeFrom(com.google.protobuf.Message other)
Bootstrap.ApplicationLogConfig.LogFormat.Builder
mergeFrom(Bootstrap.ApplicationLogConfig.LogFormat other)
Bootstrap.ApplicationLogConfig.LogFormat.Builder
mergeJsonFormat(com.google.protobuf.Struct value)
Flush application logs in JSON format.Bootstrap.ApplicationLogConfig.LogFormat.Builder
setJsonFormat(com.google.protobuf.Struct value)
Flush application logs in JSON format.Bootstrap.ApplicationLogConfig.LogFormat.Builder
setJsonFormat(com.google.protobuf.Struct.Builder builderForValue)
Flush application logs in JSON format.Bootstrap.ApplicationLogConfig.LogFormat.Builder
setTextFormat(java.lang.String value)
Flush application log in a format defined by a string.Bootstrap.ApplicationLogConfig.LogFormat.Builder
setTextFormatBytes(com.google.protobuf.ByteString value)
Flush application log in a format defined by a string.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
logFormatCase_
private int logFormatCase_
-
logFormat_
private java.lang.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_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
clear
public Bootstrap.ApplicationLogConfig.LogFormat.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
getDefaultInstanceForType
public Bootstrap.ApplicationLogConfig.LogFormat getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Bootstrap.ApplicationLogConfig.LogFormat build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Bootstrap.ApplicationLogConfig.LogFormat buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
mergeFrom
public Bootstrap.ApplicationLogConfig.LogFormat.Builder mergeFrom(Bootstrap.ApplicationLogConfig.LogFormat other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
- Throws:
java.io.IOException
-
getLogFormatCase
public Bootstrap.ApplicationLogConfig.LogFormat.LogFormatCase getLogFormatCase()
- Specified by:
getLogFormatCase
in interfaceBootstrap.ApplicationLogConfig.LogFormatOrBuilder
-
clearLogFormat
public Bootstrap.ApplicationLogConfig.LogFormat.Builder 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 interfaceBootstrap.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 interfaceBootstrap.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
public Bootstrap.ApplicationLogConfig.LogFormat.Builder 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 interfaceBootstrap.ApplicationLogConfig.LogFormatOrBuilder
-
getJsonFormatFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder> getJsonFormatFieldBuilder()
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 interfaceBootstrap.ApplicationLogConfig.LogFormatOrBuilder
- Returns:
- Whether the textFormat field is set.
-
getTextFormat
public 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;
- Specified by:
getTextFormat
in interfaceBootstrap.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 interfaceBootstrap.ApplicationLogConfig.LogFormatOrBuilder
- Returns:
- The bytes for textFormat.
-
setTextFormat
public Bootstrap.ApplicationLogConfig.LogFormat.Builder setTextFormat(java.lang.String 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 textFormat to set.- Returns:
- This builder for chaining.
-
clearTextFormat
public Bootstrap.ApplicationLogConfig.LogFormat.Builder 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.
-
-