public final class CommonGrpcAccessLogConfig extends com.google.protobuf.GeneratedMessageV3 implements CommonGrpcAccessLogConfigOrBuilder
Common configuration for gRPC access logs. [#next-free-field: 7]Protobuf type
envoy.extensions.access_loggers.grpc.v4alpha.CommonGrpcAccessLogConfig| Modifier and Type | Class and Description |
|---|---|
static class |
CommonGrpcAccessLogConfig.Builder
Common configuration for gRPC access logs.
|
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 |
BUFFER_FLUSH_INTERVAL_FIELD_NUMBER |
static int |
BUFFER_SIZE_BYTES_FIELD_NUMBER |
static int |
FILTER_STATE_OBJECTS_TO_LOG_FIELD_NUMBER |
static int |
GRPC_SERVICE_FIELD_NUMBER |
static int |
LOG_NAME_FIELD_NUMBER |
static int |
TRANSPORT_API_VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Duration |
getBufferFlushInterval()
Interval for flushing access logs to the gRPC stream.
|
com.google.protobuf.DurationOrBuilder |
getBufferFlushIntervalOrBuilder()
Interval for flushing access logs to the gRPC stream.
|
com.google.protobuf.UInt32Value |
getBufferSizeBytes()
Soft size limit in bytes for access log entries buffer.
|
com.google.protobuf.UInt32ValueOrBuilder |
getBufferSizeBytesOrBuilder()
Soft size limit in bytes for access log entries buffer.
|
static CommonGrpcAccessLogConfig |
getDefaultInstance() |
CommonGrpcAccessLogConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFilterStateObjectsToLog(int index)
Additional filter state objects to log in :ref:`filter_state_objects
<envoy_api_field_data.accesslog.v3.AccessLogCommon.filter_state_objects>`.
|
com.google.protobuf.ByteString |
getFilterStateObjectsToLogBytes(int index)
Additional filter state objects to log in :ref:`filter_state_objects
<envoy_api_field_data.accesslog.v3.AccessLogCommon.filter_state_objects>`.
|
int |
getFilterStateObjectsToLogCount()
Additional filter state objects to log in :ref:`filter_state_objects
<envoy_api_field_data.accesslog.v3.AccessLogCommon.filter_state_objects>`.
|
com.google.protobuf.ProtocolStringList |
getFilterStateObjectsToLogList()
Additional filter state objects to log in :ref:`filter_state_objects
<envoy_api_field_data.accesslog.v3.AccessLogCommon.filter_state_objects>`.
|
GrpcService |
getGrpcService()
The gRPC service for the access log service.
|
GrpcServiceOrBuilder |
getGrpcServiceOrBuilder()
The gRPC service for the access log service.
|
String |
getLogName()
The friendly name of the access log to be returned in :ref:`StreamAccessLogsMessage.Identifier
<envoy_api_msg_service.accesslog.v4alpha.StreamAccessLogsMessage.Identifier>`.
|
com.google.protobuf.ByteString |
getLogNameBytes()
The friendly name of the access log to be returned in :ref:`StreamAccessLogsMessage.Identifier
<envoy_api_msg_service.accesslog.v4alpha.StreamAccessLogsMessage.Identifier>`.
|
com.google.protobuf.Parser<CommonGrpcAccessLogConfig> |
getParserForType() |
int |
getSerializedSize() |
ApiVersion |
getTransportApiVersion()
API version for access logs service transport protocol.
|
int |
getTransportApiVersionValue()
API version for access logs service transport protocol.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBufferFlushInterval()
Interval for flushing access logs to the gRPC stream.
|
boolean |
hasBufferSizeBytes()
Soft size limit in bytes for access log entries buffer.
|
boolean |
hasGrpcService()
The gRPC service for the access log service.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CommonGrpcAccessLogConfig.Builder |
newBuilder() |
static CommonGrpcAccessLogConfig.Builder |
newBuilder(CommonGrpcAccessLogConfig prototype) |
CommonGrpcAccessLogConfig.Builder |
newBuilderForType() |
protected CommonGrpcAccessLogConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CommonGrpcAccessLogConfig |
parseDelimitedFrom(InputStream input) |
static CommonGrpcAccessLogConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommonGrpcAccessLogConfig |
parseFrom(byte[] data) |
static CommonGrpcAccessLogConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommonGrpcAccessLogConfig |
parseFrom(ByteBuffer data) |
static CommonGrpcAccessLogConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommonGrpcAccessLogConfig |
parseFrom(com.google.protobuf.ByteString data) |
static CommonGrpcAccessLogConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommonGrpcAccessLogConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CommonGrpcAccessLogConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommonGrpcAccessLogConfig |
parseFrom(InputStream input) |
static CommonGrpcAccessLogConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CommonGrpcAccessLogConfig> |
parser() |
CommonGrpcAccessLogConfig.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 LOG_NAME_FIELD_NUMBER
public static final int GRPC_SERVICE_FIELD_NUMBER
public static final int TRANSPORT_API_VERSION_FIELD_NUMBER
public static final int BUFFER_FLUSH_INTERVAL_FIELD_NUMBER
public static final int BUFFER_SIZE_BYTES_FIELD_NUMBER
public static final int FILTER_STATE_OBJECTS_TO_LOG_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 String getLogName()
The friendly name of the access log to be returned in :ref:`StreamAccessLogsMessage.Identifier <envoy_api_msg_service.accesslog.v4alpha.StreamAccessLogsMessage.Identifier>`. This allows the access log server to differentiate between different access logs coming from the same Envoy.
string log_name = 1 [(.validate.rules) = { ... }getLogName in interface CommonGrpcAccessLogConfigOrBuilderpublic com.google.protobuf.ByteString getLogNameBytes()
The friendly name of the access log to be returned in :ref:`StreamAccessLogsMessage.Identifier <envoy_api_msg_service.accesslog.v4alpha.StreamAccessLogsMessage.Identifier>`. This allows the access log server to differentiate between different access logs coming from the same Envoy.
string log_name = 1 [(.validate.rules) = { ... }getLogNameBytes in interface CommonGrpcAccessLogConfigOrBuilderpublic boolean hasGrpcService()
The gRPC service for the access log service.
.envoy.config.core.v4alpha.GrpcService grpc_service = 2 [(.validate.rules) = { ... }hasGrpcService in interface CommonGrpcAccessLogConfigOrBuilderpublic GrpcService getGrpcService()
The gRPC service for the access log service.
.envoy.config.core.v4alpha.GrpcService grpc_service = 2 [(.validate.rules) = { ... }getGrpcService in interface CommonGrpcAccessLogConfigOrBuilderpublic GrpcServiceOrBuilder getGrpcServiceOrBuilder()
The gRPC service for the access log service.
.envoy.config.core.v4alpha.GrpcService grpc_service = 2 [(.validate.rules) = { ... }getGrpcServiceOrBuilder in interface CommonGrpcAccessLogConfigOrBuilderpublic int getTransportApiVersionValue()
API version for access logs service transport protocol. This describes the access logs service gRPC endpoint and version of messages used on the wire.
.envoy.config.core.v4alpha.ApiVersion transport_api_version = 6 [(.validate.rules) = { ... }getTransportApiVersionValue in interface CommonGrpcAccessLogConfigOrBuilderpublic ApiVersion getTransportApiVersion()
API version for access logs service transport protocol. This describes the access logs service gRPC endpoint and version of messages used on the wire.
.envoy.config.core.v4alpha.ApiVersion transport_api_version = 6 [(.validate.rules) = { ... }getTransportApiVersion in interface CommonGrpcAccessLogConfigOrBuilderpublic boolean hasBufferFlushInterval()
Interval for flushing access logs to the gRPC stream. Logger will flush requests every time this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to 1 second.
.google.protobuf.Duration buffer_flush_interval = 3 [(.validate.rules) = { ... }hasBufferFlushInterval in interface CommonGrpcAccessLogConfigOrBuilderpublic com.google.protobuf.Duration getBufferFlushInterval()
Interval for flushing access logs to the gRPC stream. Logger will flush requests every time this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to 1 second.
.google.protobuf.Duration buffer_flush_interval = 3 [(.validate.rules) = { ... }getBufferFlushInterval in interface CommonGrpcAccessLogConfigOrBuilderpublic com.google.protobuf.DurationOrBuilder getBufferFlushIntervalOrBuilder()
Interval for flushing access logs to the gRPC stream. Logger will flush requests every time this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to 1 second.
.google.protobuf.Duration buffer_flush_interval = 3 [(.validate.rules) = { ... }getBufferFlushIntervalOrBuilder in interface CommonGrpcAccessLogConfigOrBuilderpublic boolean hasBufferSizeBytes()
Soft size limit in bytes for access log entries buffer. Logger will buffer requests until this limit it hit, or every time flush interval is elapsed, whichever comes first. Setting it to zero effectively disables the batching. Defaults to 16384.
.google.protobuf.UInt32Value buffer_size_bytes = 4;hasBufferSizeBytes in interface CommonGrpcAccessLogConfigOrBuilderpublic com.google.protobuf.UInt32Value getBufferSizeBytes()
Soft size limit in bytes for access log entries buffer. Logger will buffer requests until this limit it hit, or every time flush interval is elapsed, whichever comes first. Setting it to zero effectively disables the batching. Defaults to 16384.
.google.protobuf.UInt32Value buffer_size_bytes = 4;getBufferSizeBytes in interface CommonGrpcAccessLogConfigOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getBufferSizeBytesOrBuilder()
Soft size limit in bytes for access log entries buffer. Logger will buffer requests until this limit it hit, or every time flush interval is elapsed, whichever comes first. Setting it to zero effectively disables the batching. Defaults to 16384.
.google.protobuf.UInt32Value buffer_size_bytes = 4;getBufferSizeBytesOrBuilder in interface CommonGrpcAccessLogConfigOrBuilderpublic com.google.protobuf.ProtocolStringList getFilterStateObjectsToLogList()
Additional filter state objects to log in :ref:`filter_state_objects <envoy_api_field_data.accesslog.v3.AccessLogCommon.filter_state_objects>`. Logger will call `FilterState::Object::serializeAsProto` to serialize the filter state object.
repeated string filter_state_objects_to_log = 5;getFilterStateObjectsToLogList in interface CommonGrpcAccessLogConfigOrBuilderpublic int getFilterStateObjectsToLogCount()
Additional filter state objects to log in :ref:`filter_state_objects <envoy_api_field_data.accesslog.v3.AccessLogCommon.filter_state_objects>`. Logger will call `FilterState::Object::serializeAsProto` to serialize the filter state object.
repeated string filter_state_objects_to_log = 5;getFilterStateObjectsToLogCount in interface CommonGrpcAccessLogConfigOrBuilderpublic String getFilterStateObjectsToLog(int index)
Additional filter state objects to log in :ref:`filter_state_objects <envoy_api_field_data.accesslog.v3.AccessLogCommon.filter_state_objects>`. Logger will call `FilterState::Object::serializeAsProto` to serialize the filter state object.
repeated string filter_state_objects_to_log = 5;getFilterStateObjectsToLog in interface CommonGrpcAccessLogConfigOrBuilderpublic com.google.protobuf.ByteString getFilterStateObjectsToLogBytes(int index)
Additional filter state objects to log in :ref:`filter_state_objects <envoy_api_field_data.accesslog.v3.AccessLogCommon.filter_state_objects>`. Logger will call `FilterState::Object::serializeAsProto` to serialize the filter state object.
repeated string filter_state_objects_to_log = 5;getFilterStateObjectsToLogBytes in interface CommonGrpcAccessLogConfigOrBuilderpublic 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 CommonGrpcAccessLogConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommonGrpcAccessLogConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommonGrpcAccessLogConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommonGrpcAccessLogConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommonGrpcAccessLogConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommonGrpcAccessLogConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommonGrpcAccessLogConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static CommonGrpcAccessLogConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CommonGrpcAccessLogConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CommonGrpcAccessLogConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CommonGrpcAccessLogConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CommonGrpcAccessLogConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CommonGrpcAccessLogConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CommonGrpcAccessLogConfig.Builder newBuilder()
public static CommonGrpcAccessLogConfig.Builder newBuilder(CommonGrpcAccessLogConfig prototype)
public CommonGrpcAccessLogConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CommonGrpcAccessLogConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CommonGrpcAccessLogConfig getDefaultInstance()
public static com.google.protobuf.Parser<CommonGrpcAccessLogConfig> parser()
public com.google.protobuf.Parser<CommonGrpcAccessLogConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CommonGrpcAccessLogConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.