Class Bootstrap.ApplicationLogConfig.LogFormat.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder> implements Bootstrap.ApplicationLogConfig.LogFormatOrBuilder
Protobuf typeenvoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Bootstrap.ApplicationLogConfig.LogFormat.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Bootstrap.ApplicationLogConfig.LogFormatbuild()Bootstrap.ApplicationLogConfig.LogFormatbuildPartial()Bootstrap.ApplicationLogConfig.LogFormat.Builderclear()Bootstrap.ApplicationLogConfig.LogFormat.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Bootstrap.ApplicationLogConfig.LogFormat.BuilderclearJsonFormat()Flush application logs in JSON format.Bootstrap.ApplicationLogConfig.LogFormat.BuilderclearLogFormat()Bootstrap.ApplicationLogConfig.LogFormat.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Bootstrap.ApplicationLogConfig.LogFormat.BuilderclearTextFormat()Flush application log in a format defined by a string.Bootstrap.ApplicationLogConfig.LogFormat.Builderclone()Bootstrap.ApplicationLogConfig.LogFormatgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.StructgetJsonFormat()Flush application logs in JSON format.com.google.protobuf.Struct.BuildergetJsonFormatBuilder()Flush application logs in JSON format.com.google.protobuf.StructOrBuildergetJsonFormatOrBuilder()Flush application logs in JSON format.Bootstrap.ApplicationLogConfig.LogFormat.LogFormatCasegetLogFormatCase()StringgetTextFormat()Flush application log in a format defined by a string.com.google.protobuf.ByteStringgetTextFormatBytes()Flush application log in a format defined by a string.booleanhasJsonFormat()Flush application logs in JSON format.booleanhasTextFormat()Flush application log in a format defined by a string.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Bootstrap.ApplicationLogConfig.LogFormat.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Bootstrap.ApplicationLogConfig.LogFormat.BuildermergeFrom(com.google.protobuf.Message other)Bootstrap.ApplicationLogConfig.LogFormat.BuildermergeFrom(Bootstrap.ApplicationLogConfig.LogFormat other)Bootstrap.ApplicationLogConfig.LogFormat.BuildermergeJsonFormat(com.google.protobuf.Struct value)Flush application logs in JSON format.Bootstrap.ApplicationLogConfig.LogFormat.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Bootstrap.ApplicationLogConfig.LogFormat.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Bootstrap.ApplicationLogConfig.LogFormat.BuildersetJsonFormat(com.google.protobuf.Struct value)Flush application logs in JSON format.Bootstrap.ApplicationLogConfig.LogFormat.BuildersetJsonFormat(com.google.protobuf.Struct.Builder builderForValue)Flush application logs in JSON format.Bootstrap.ApplicationLogConfig.LogFormat.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Bootstrap.ApplicationLogConfig.LogFormat.BuildersetTextFormat(String value)Flush application log in a format defined by a string.Bootstrap.ApplicationLogConfig.LogFormat.BuildersetTextFormatBytes(com.google.protobuf.ByteString value)Flush application log in a format defined by a string.Bootstrap.ApplicationLogConfig.LogFormat.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
clear
public Bootstrap.ApplicationLogConfig.LogFormat.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
getDefaultInstanceForType
public Bootstrap.ApplicationLogConfig.LogFormat getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Bootstrap.ApplicationLogConfig.LogFormat build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Bootstrap.ApplicationLogConfig.LogFormat buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Bootstrap.ApplicationLogConfig.LogFormat.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
setField
public Bootstrap.ApplicationLogConfig.LogFormat.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
clearField
public Bootstrap.ApplicationLogConfig.LogFormat.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
clearOneof
public Bootstrap.ApplicationLogConfig.LogFormat.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
setRepeatedField
public Bootstrap.ApplicationLogConfig.LogFormat.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
addRepeatedField
public Bootstrap.ApplicationLogConfig.LogFormat.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
mergeFrom
public Bootstrap.ApplicationLogConfig.LogFormat.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin 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:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>- Throws:
IOException
-
getLogFormatCase
public Bootstrap.ApplicationLogConfig.LogFormat.LogFormatCase getLogFormatCase()
- Specified by:
getLogFormatCasein 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:
hasJsonFormatin 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:
getJsonFormatin 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:
getJsonFormatOrBuilderin interfaceBootstrap.ApplicationLogConfig.LogFormatOrBuilder
-
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:
hasTextFormatin interfaceBootstrap.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:
getTextFormatin 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:
getTextFormatBytesin interfaceBootstrap.ApplicationLogConfig.LogFormatOrBuilder- Returns:
- The bytes for textFormat.
-
setTextFormat
public Bootstrap.ApplicationLogConfig.LogFormat.Builder setTextFormat(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.
-
setUnknownFields
public final Bootstrap.ApplicationLogConfig.LogFormat.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
mergeUnknownFields
public final Bootstrap.ApplicationLogConfig.LogFormat.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Bootstrap.ApplicationLogConfig.LogFormat.Builder>
-
-