public final class FileAccessLog extends com.google.protobuf.GeneratedMessageV3 implements FileAccessLogOrBuilder
Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.filter.accesslog.v2.AccessLog>` that writes log entries directly to a file. Configures the built-in *envoy.access_loggers.file* AccessLog.Protobuf type
envoy.config.accesslog.v2.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.filter.accesslog.v2.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 |
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()
Access log :ref:`format string<config_access_log_format_strings>`.
|
com.google.protobuf.ByteString |
getFormatBytes()
Access log :ref:`format string<config_access_log_format_strings>`.
|
com.google.protobuf.Struct |
getJsonFormat()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`.
|
com.google.protobuf.StructOrBuilder |
getJsonFormatOrBuilder()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`.
|
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()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`.
|
com.google.protobuf.StructOrBuilder |
getTypedJsonFormatOrBuilder()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasJsonFormat()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`.
|
boolean |
hasTypedJsonFormat()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`.
|
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
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 FileAccessLogOrBuilderpublic 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>`.
string format = 2;getFormat in interface FileAccessLogOrBuilderpublic 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>`.
string format = 2;getFormatBytes in interface FileAccessLogOrBuilderpublic boolean hasJsonFormat()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`. All values are rendered as strings.
.google.protobuf.Struct json_format = 3;hasJsonFormat in interface FileAccessLogOrBuilderpublic com.google.protobuf.Struct getJsonFormat()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`. All values are rendered as strings.
.google.protobuf.Struct json_format = 3;getJsonFormat in interface FileAccessLogOrBuilderpublic com.google.protobuf.StructOrBuilder getJsonFormatOrBuilder()
Access log :ref:`format dictionary<config_access_log_format_dictionaries>`. All values are rendered as strings.
.google.protobuf.Struct json_format = 3;getJsonFormatOrBuilder in interface FileAccessLogOrBuilderpublic 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.
.google.protobuf.Struct typed_json_format = 4;hasTypedJsonFormat in interface FileAccessLogOrBuilderpublic 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.
.google.protobuf.Struct typed_json_format = 4;getTypedJsonFormat in interface FileAccessLogOrBuilderpublic 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.
.google.protobuf.Struct typed_json_format = 4;getTypedJsonFormatOrBuilder 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.