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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public FileAccessLog.AccessLogFormatCase getAccessLogFormatCase()
getAccessLogFormatCase in interface FileAccessLogOrBuilderpublic String getPath()
A path to a local file to which to write the access log entries.
string path = 1 [(.validate.rules) = { ... }getPath in interface FileAccessLogOrBuilderpublic 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 FileAccessLogOrBuilderpublic 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 FileAccessLogOrBuilderpublic 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 FileAccessLogOrBuilderpublic 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 FileAccessLogOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static FileAccessLog parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FileAccessLog parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FileAccessLog parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FileAccessLog parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FileAccessLog parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FileAccessLog parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FileAccessLog parseFrom(InputStream input) throws IOException
IOExceptionpublic static FileAccessLog parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FileAccessLog parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FileAccessLog parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FileAccessLog parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FileAccessLog parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FileAccessLog.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FileAccessLog.Builder newBuilder()
public static FileAccessLog.Builder newBuilder(FileAccessLog prototype)
public FileAccessLog.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FileAccessLog.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FileAccessLog getDefaultInstance()
public static com.google.protobuf.Parser<FileAccessLog> parser()
public com.google.protobuf.Parser<FileAccessLog> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FileAccessLog getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.