Class CommonGrpcAccessLogConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CommonGrpcAccessLogConfigOrBuilder,Serializable
public final class CommonGrpcAccessLogConfig extends com.google.protobuf.GeneratedMessageV3 implements CommonGrpcAccessLogConfigOrBuilder
Common configuration for gRPC access logs. [#next-free-field: 6]
Protobuf typeenvoy.config.accesslog.v2.CommonGrpcAccessLogConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommonGrpcAccessLogConfig.BuilderCommon configuration for gRPC access logs.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intBUFFER_FLUSH_INTERVAL_FIELD_NUMBERstatic intBUFFER_SIZE_BYTES_FIELD_NUMBERstatic intFILTER_STATE_OBJECTS_TO_LOG_FIELD_NUMBERstatic intGRPC_SERVICE_FIELD_NUMBERstatic intLOG_NAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.DurationgetBufferFlushInterval()Interval for flushing access logs to the gRPC stream.com.google.protobuf.DurationOrBuildergetBufferFlushIntervalOrBuilder()Interval for flushing access logs to the gRPC stream.com.google.protobuf.UInt32ValuegetBufferSizeBytes()Soft size limit in bytes for access log entries buffer.com.google.protobuf.UInt32ValueOrBuildergetBufferSizeBytesOrBuilder()Soft size limit in bytes for access log entries buffer.static CommonGrpcAccessLogConfiggetDefaultInstance()CommonGrpcAccessLogConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFilterStateObjectsToLog(int index)Additional filter state objects to log in :ref:`filter_state_objects <envoy_api_field_data.accesslog.v2.AccessLogCommon.filter_state_objects>`.com.google.protobuf.ByteStringgetFilterStateObjectsToLogBytes(int index)Additional filter state objects to log in :ref:`filter_state_objects <envoy_api_field_data.accesslog.v2.AccessLogCommon.filter_state_objects>`.intgetFilterStateObjectsToLogCount()Additional filter state objects to log in :ref:`filter_state_objects <envoy_api_field_data.accesslog.v2.AccessLogCommon.filter_state_objects>`.com.google.protobuf.ProtocolStringListgetFilterStateObjectsToLogList()Additional filter state objects to log in :ref:`filter_state_objects <envoy_api_field_data.accesslog.v2.AccessLogCommon.filter_state_objects>`.GrpcServicegetGrpcService()The gRPC service for the access log service.GrpcServiceOrBuildergetGrpcServiceOrBuilder()The gRPC service for the access log service.StringgetLogName()The friendly name of the access log to be returned in :ref:`StreamAccessLogsMessage.Identifier <envoy_api_msg_service.accesslog.v2.StreamAccessLogsMessage.Identifier>`.com.google.protobuf.ByteStringgetLogNameBytes()The friendly name of the access log to be returned in :ref:`StreamAccessLogsMessage.Identifier <envoy_api_msg_service.accesslog.v2.StreamAccessLogsMessage.Identifier>`.com.google.protobuf.Parser<CommonGrpcAccessLogConfig>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasBufferFlushInterval()Interval for flushing access logs to the gRPC stream.booleanhasBufferSizeBytes()Soft size limit in bytes for access log entries buffer.booleanhasGrpcService()The gRPC service for the access log service.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CommonGrpcAccessLogConfig.BuildernewBuilder()static CommonGrpcAccessLogConfig.BuildernewBuilder(CommonGrpcAccessLogConfig prototype)CommonGrpcAccessLogConfig.BuildernewBuilderForType()protected CommonGrpcAccessLogConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static CommonGrpcAccessLogConfigparseDelimitedFrom(InputStream input)static CommonGrpcAccessLogConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommonGrpcAccessLogConfigparseFrom(byte[] data)static CommonGrpcAccessLogConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommonGrpcAccessLogConfigparseFrom(com.google.protobuf.ByteString data)static CommonGrpcAccessLogConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommonGrpcAccessLogConfigparseFrom(com.google.protobuf.CodedInputStream input)static CommonGrpcAccessLogConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommonGrpcAccessLogConfigparseFrom(InputStream input)static CommonGrpcAccessLogConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommonGrpcAccessLogConfigparseFrom(ByteBuffer data)static CommonGrpcAccessLogConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CommonGrpcAccessLogConfig>parser()CommonGrpcAccessLogConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
LOG_NAME_FIELD_NUMBER
public static final int LOG_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GRPC_SERVICE_FIELD_NUMBER
public static final int GRPC_SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUFFER_FLUSH_INTERVAL_FIELD_NUMBER
public static final int BUFFER_FLUSH_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUFFER_SIZE_BYTES_FIELD_NUMBER
public static final int BUFFER_SIZE_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_STATE_OBJECTS_TO_LOG_FIELD_NUMBER
public static final int FILTER_STATE_OBJECTS_TO_LOG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
getLogName
public String getLogName()
The friendly name of the access log to be returned in :ref:`StreamAccessLogsMessage.Identifier <envoy_api_msg_service.accesslog.v2.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) = { ... }- Specified by:
getLogNamein interfaceCommonGrpcAccessLogConfigOrBuilder- Returns:
- The logName.
-
getLogNameBytes
public com.google.protobuf.ByteString getLogNameBytes()
The friendly name of the access log to be returned in :ref:`StreamAccessLogsMessage.Identifier <envoy_api_msg_service.accesslog.v2.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) = { ... }- Specified by:
getLogNameBytesin interfaceCommonGrpcAccessLogConfigOrBuilder- Returns:
- The bytes for logName.
-
hasGrpcService
public boolean hasGrpcService()
The gRPC service for the access log service.
.envoy.api.v2.core.GrpcService grpc_service = 2 [(.validate.rules) = { ... }- Specified by:
hasGrpcServicein interfaceCommonGrpcAccessLogConfigOrBuilder- Returns:
- Whether the grpcService field is set.
-
getGrpcService
public GrpcService getGrpcService()
The gRPC service for the access log service.
.envoy.api.v2.core.GrpcService grpc_service = 2 [(.validate.rules) = { ... }- Specified by:
getGrpcServicein interfaceCommonGrpcAccessLogConfigOrBuilder- Returns:
- The grpcService.
-
getGrpcServiceOrBuilder
public GrpcServiceOrBuilder getGrpcServiceOrBuilder()
The gRPC service for the access log service.
.envoy.api.v2.core.GrpcService grpc_service = 2 [(.validate.rules) = { ... }- Specified by:
getGrpcServiceOrBuilderin interfaceCommonGrpcAccessLogConfigOrBuilder
-
hasBufferFlushInterval
public 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) = { ... }- Specified by:
hasBufferFlushIntervalin interfaceCommonGrpcAccessLogConfigOrBuilder- Returns:
- Whether the bufferFlushInterval field is set.
-
getBufferFlushInterval
public 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) = { ... }- Specified by:
getBufferFlushIntervalin interfaceCommonGrpcAccessLogConfigOrBuilder- Returns:
- The bufferFlushInterval.
-
getBufferFlushIntervalOrBuilder
public 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) = { ... }- Specified by:
getBufferFlushIntervalOrBuilderin interfaceCommonGrpcAccessLogConfigOrBuilder
-
hasBufferSizeBytes
public 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;- Specified by:
hasBufferSizeBytesin interfaceCommonGrpcAccessLogConfigOrBuilder- Returns:
- Whether the bufferSizeBytes field is set.
-
getBufferSizeBytes
public 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;- Specified by:
getBufferSizeBytesin interfaceCommonGrpcAccessLogConfigOrBuilder- Returns:
- The bufferSizeBytes.
-
getBufferSizeBytesOrBuilder
public 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;- Specified by:
getBufferSizeBytesOrBuilderin interfaceCommonGrpcAccessLogConfigOrBuilder
-
getFilterStateObjectsToLogList
public com.google.protobuf.ProtocolStringList getFilterStateObjectsToLogList()
Additional filter state objects to log in :ref:`filter_state_objects <envoy_api_field_data.accesslog.v2.AccessLogCommon.filter_state_objects>`. Logger will call `FilterState::Object::serializeAsProto` to serialize the filter state object.
repeated string filter_state_objects_to_log = 5;- Specified by:
getFilterStateObjectsToLogListin interfaceCommonGrpcAccessLogConfigOrBuilder- Returns:
- A list containing the filterStateObjectsToLog.
-
getFilterStateObjectsToLogCount
public int getFilterStateObjectsToLogCount()
Additional filter state objects to log in :ref:`filter_state_objects <envoy_api_field_data.accesslog.v2.AccessLogCommon.filter_state_objects>`. Logger will call `FilterState::Object::serializeAsProto` to serialize the filter state object.
repeated string filter_state_objects_to_log = 5;- Specified by:
getFilterStateObjectsToLogCountin interfaceCommonGrpcAccessLogConfigOrBuilder- Returns:
- The count of filterStateObjectsToLog.
-
getFilterStateObjectsToLog
public String getFilterStateObjectsToLog(int index)
Additional filter state objects to log in :ref:`filter_state_objects <envoy_api_field_data.accesslog.v2.AccessLogCommon.filter_state_objects>`. Logger will call `FilterState::Object::serializeAsProto` to serialize the filter state object.
repeated string filter_state_objects_to_log = 5;- Specified by:
getFilterStateObjectsToLogin interfaceCommonGrpcAccessLogConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The filterStateObjectsToLog at the given index.
-
getFilterStateObjectsToLogBytes
public com.google.protobuf.ByteString getFilterStateObjectsToLogBytes(int index)
Additional filter state objects to log in :ref:`filter_state_objects <envoy_api_field_data.accesslog.v2.AccessLogCommon.filter_state_objects>`. Logger will call `FilterState::Object::serializeAsProto` to serialize the filter state object.
repeated string filter_state_objects_to_log = 5;- Specified by:
getFilterStateObjectsToLogBytesin interfaceCommonGrpcAccessLogConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the filterStateObjectsToLog at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CommonGrpcAccessLogConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonGrpcAccessLogConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonGrpcAccessLogConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonGrpcAccessLogConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonGrpcAccessLogConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonGrpcAccessLogConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonGrpcAccessLogConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CommonGrpcAccessLogConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CommonGrpcAccessLogConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CommonGrpcAccessLogConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CommonGrpcAccessLogConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CommonGrpcAccessLogConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CommonGrpcAccessLogConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CommonGrpcAccessLogConfig.Builder newBuilder()
-
newBuilder
public static CommonGrpcAccessLogConfig.Builder newBuilder(CommonGrpcAccessLogConfig prototype)
-
toBuilder
public CommonGrpcAccessLogConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CommonGrpcAccessLogConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CommonGrpcAccessLogConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CommonGrpcAccessLogConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<CommonGrpcAccessLogConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CommonGrpcAccessLogConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-