public final class FileAccessLog extends com.google.protobuf.GeneratedMessageV3 implements FileAccessLogOrBuilder
Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.accesslog.v3.AccessLog>` that writes log entries directly to a file. Configures the built-in *envoy.access_loggers.file* AccessLog. [#next-free-field: 6]Protobuf type
envoy.extensions.access_loggers.file.v3.FileAccessLog
Modifier and Type | Class and Description |
---|---|
static class |
FileAccessLog.AccessLogFormatCase |
static class |
FileAccessLog.Builder
Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.accesslog.v3.AccessLog>`
that writes log entries directly to a file.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
FORMAT_FIELD_NUMBER |
static int |
JSON_FORMAT_FIELD_NUMBER |
static int |
LOG_FORMAT_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
static int |
TYPED_JSON_FORMAT_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
FileAccessLog.AccessLogFormatCase |
getAccessLogFormatCase() |
static FileAccessLog |
getDefaultInstance() |
FileAccessLog |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFormat()
Deprecated.
|
com.google.protobuf.ByteString |
getFormatBytes()
Deprecated.
|
com.google.protobuf.Struct |
getJsonFormat()
Deprecated.
|
com.google.protobuf.StructOrBuilder |
getJsonFormatOrBuilder()
Deprecated.
|
SubstitutionFormatString |
getLogFormat()
Configuration to form access log data and format.
|
SubstitutionFormatStringOrBuilder |
getLogFormatOrBuilder()
Configuration to form access log data and format.
|
com.google.protobuf.Parser<FileAccessLog> |
getParserForType() |
String |
getPath()
A path to a local file to which to write the access log entries.
|
com.google.protobuf.ByteString |
getPathBytes()
A path to a local file to which to write the access log entries.
|
int |
getSerializedSize() |
com.google.protobuf.Struct |
getTypedJsonFormat()
Deprecated.
|
com.google.protobuf.StructOrBuilder |
getTypedJsonFormatOrBuilder()
Deprecated.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasJsonFormat()
Deprecated.
|
boolean |
hasLogFormat()
Configuration to form access log data and format.
|
boolean |
hasTypedJsonFormat()
Deprecated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FileAccessLog.Builder |
newBuilder() |
static FileAccessLog.Builder |
newBuilder(FileAccessLog prototype) |
FileAccessLog.Builder |
newBuilderForType() |
protected FileAccessLog.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FileAccessLog |
parseDelimitedFrom(InputStream input) |
static FileAccessLog |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FileAccessLog |
parseFrom(byte[] data) |
static FileAccessLog |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FileAccessLog |
parseFrom(ByteBuffer data) |
static FileAccessLog |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FileAccessLog |
parseFrom(com.google.protobuf.ByteString data) |
static FileAccessLog |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FileAccessLog |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FileAccessLog |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FileAccessLog |
parseFrom(InputStream input) |
static FileAccessLog |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FileAccessLog> |
parser() |
FileAccessLog.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int PATH_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER
public static final int JSON_FORMAT_FIELD_NUMBER
public static final int TYPED_JSON_FORMAT_FIELD_NUMBER
public static final int LOG_FORMAT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public FileAccessLog.AccessLogFormatCase getAccessLogFormatCase()
getAccessLogFormatCase
in interface FileAccessLogOrBuilder
public String getPath()
A path to a local file to which to write the access log entries.
string path = 1 [(.validate.rules) = { ... }
getPath
in interface FileAccessLogOrBuilder
public com.google.protobuf.ByteString getPathBytes()
A path to a local file to which to write the access log entries.
string path = 1 [(.validate.rules) = { ... }
getPathBytes
in interface FileAccessLogOrBuilder
@Deprecated public String getFormat()
Access log :ref:`format string<config_access_log_format_strings>`. Envoy supports :ref:`custom access log formats <config_access_log_format>` as well as a :ref:`default format <config_access_log_default_format>`. This field is deprecated. Please use :ref:`log_format <envoy_v3_api_field_extensions.access_loggers.file.v3.FileAccessLog.log_format>`.
string format = 2 [deprecated = true];
getFormat
in interface FileAccessLogOrBuilder
@Deprecated public com.google.protobuf.ByteString getFormatBytes()
Access log :ref:`format string<config_access_log_format_strings>`. Envoy supports :ref:`custom access log formats <config_access_log_format>` as well as a :ref:`default format <config_access_log_default_format>`. This field is deprecated. Please use :ref:`log_format <envoy_v3_api_field_extensions.access_loggers.file.v3.FileAccessLog.log_format>`.
string format = 2 [deprecated = true];
getFormatBytes
in interface FileAccessLogOrBuilder
@Deprecated public boolean hasJsonFormat()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`. All values are rendered as strings. This field is deprecated. Please use :ref:`log_format <envoy_v3_api_field_extensions.access_loggers.file.v3.FileAccessLog.log_format>`.
.google.protobuf.Struct json_format = 3 [deprecated = true];
hasJsonFormat
in interface FileAccessLogOrBuilder
@Deprecated public com.google.protobuf.Struct getJsonFormat()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`. All values are rendered as strings. This field is deprecated. Please use :ref:`log_format <envoy_v3_api_field_extensions.access_loggers.file.v3.FileAccessLog.log_format>`.
.google.protobuf.Struct json_format = 3 [deprecated = true];
getJsonFormat
in interface FileAccessLogOrBuilder
@Deprecated public com.google.protobuf.StructOrBuilder getJsonFormatOrBuilder()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`. All values are rendered as strings. This field is deprecated. Please use :ref:`log_format <envoy_v3_api_field_extensions.access_loggers.file.v3.FileAccessLog.log_format>`.
.google.protobuf.Struct json_format = 3 [deprecated = true];
getJsonFormatOrBuilder
in interface FileAccessLogOrBuilder
@Deprecated public boolean hasTypedJsonFormat()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`. Values are rendered as strings, numbers, or boolean values as appropriate. Nested JSON objects may be produced by some command operators (e.g.FILTER_STATE or DYNAMIC_METADATA). See the documentation for a specific command operator for details. This field is deprecated. Please use :ref:`log_format <envoy_v3_api_field_extensions.access_loggers.file.v3.FileAccessLog.log_format>`.
.google.protobuf.Struct typed_json_format = 4 [deprecated = true];
hasTypedJsonFormat
in interface FileAccessLogOrBuilder
@Deprecated public com.google.protobuf.Struct getTypedJsonFormat()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`. Values are rendered as strings, numbers, or boolean values as appropriate. Nested JSON objects may be produced by some command operators (e.g.FILTER_STATE or DYNAMIC_METADATA). See the documentation for a specific command operator for details. This field is deprecated. Please use :ref:`log_format <envoy_v3_api_field_extensions.access_loggers.file.v3.FileAccessLog.log_format>`.
.google.protobuf.Struct typed_json_format = 4 [deprecated = true];
getTypedJsonFormat
in interface FileAccessLogOrBuilder
@Deprecated public com.google.protobuf.StructOrBuilder getTypedJsonFormatOrBuilder()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`. Values are rendered as strings, numbers, or boolean values as appropriate. Nested JSON objects may be produced by some command operators (e.g.FILTER_STATE or DYNAMIC_METADATA). See the documentation for a specific command operator for details. This field is deprecated. Please use :ref:`log_format <envoy_v3_api_field_extensions.access_loggers.file.v3.FileAccessLog.log_format>`.
.google.protobuf.Struct typed_json_format = 4 [deprecated = true];
getTypedJsonFormatOrBuilder
in interface FileAccessLogOrBuilder
public boolean hasLogFormat()
Configuration to form access log data and format. If not specified, use :ref:`default format <config_access_log_default_format>`.
.envoy.config.core.v3.SubstitutionFormatString log_format = 5 [(.validate.rules) = { ... }
hasLogFormat
in interface FileAccessLogOrBuilder
public SubstitutionFormatString getLogFormat()
Configuration to form access log data and format. If not specified, use :ref:`default format <config_access_log_default_format>`.
.envoy.config.core.v3.SubstitutionFormatString log_format = 5 [(.validate.rules) = { ... }
getLogFormat
in interface FileAccessLogOrBuilder
public SubstitutionFormatStringOrBuilder getLogFormatOrBuilder()
Configuration to form access log data and format. If not specified, use :ref:`default format <config_access_log_default_format>`.
.envoy.config.core.v3.SubstitutionFormatString log_format = 5 [(.validate.rules) = { ... }
getLogFormatOrBuilder
in interface FileAccessLogOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static FileAccessLog parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FileAccessLog parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FileAccessLog parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FileAccessLog parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FileAccessLog parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FileAccessLog parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FileAccessLog parseFrom(InputStream input) throws IOException
IOException
public static FileAccessLog parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FileAccessLog parseDelimitedFrom(InputStream input) throws IOException
IOException
public static FileAccessLog parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FileAccessLog parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static FileAccessLog parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public FileAccessLog.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static FileAccessLog.Builder newBuilder()
public static FileAccessLog.Builder newBuilder(FileAccessLog prototype)
public FileAccessLog.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected FileAccessLog.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static FileAccessLog getDefaultInstance()
public static com.google.protobuf.Parser<FileAccessLog> parser()
public com.google.protobuf.Parser<FileAccessLog> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public FileAccessLog getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018–2021 The Envoy Project. All rights reserved.