Class StreamAccessLogsMessage
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.service.accesslog.v2.StreamAccessLogsMessage
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StreamAccessLogsMessageOrBuilder,Serializable
public final class StreamAccessLogsMessage extends com.google.protobuf.GeneratedMessageV3 implements StreamAccessLogsMessageOrBuilder
Stream message for the StreamAccessLogs API. Envoy will open a stream to the server and stream access logs without ever expecting a response.
Protobuf typeenvoy.service.accesslog.v2.StreamAccessLogsMessage- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamAccessLogsMessage.BuilderStream message for the StreamAccessLogs API.static classStreamAccessLogsMessage.HTTPAccessLogEntriesWrapper for batches of HTTP access log entries.static interfaceStreamAccessLogsMessage.HTTPAccessLogEntriesOrBuilderstatic classStreamAccessLogsMessage.IdentifierProtobuf typeenvoy.service.accesslog.v2.StreamAccessLogsMessage.Identifierstatic interfaceStreamAccessLogsMessage.IdentifierOrBuilderstatic classStreamAccessLogsMessage.LogEntriesCasestatic classStreamAccessLogsMessage.TCPAccessLogEntriesWrapper for batches of TCP access log entries.static interfaceStreamAccessLogsMessage.TCPAccessLogEntriesOrBuilder-
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 intHTTP_LOGS_FIELD_NUMBERstatic intIDENTIFIER_FIELD_NUMBERstatic intTCP_LOGS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static StreamAccessLogsMessagegetDefaultInstance()StreamAccessLogsMessagegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StreamAccessLogsMessage.HTTPAccessLogEntriesgetHttpLogs().envoy.service.accesslog.v2.StreamAccessLogsMessage.HTTPAccessLogEntries http_logs = 2;StreamAccessLogsMessage.HTTPAccessLogEntriesOrBuildergetHttpLogsOrBuilder().envoy.service.accesslog.v2.StreamAccessLogsMessage.HTTPAccessLogEntries http_logs = 2;StreamAccessLogsMessage.IdentifiergetIdentifier()Identifier data that will only be sent in the first message on the stream.StreamAccessLogsMessage.IdentifierOrBuildergetIdentifierOrBuilder()Identifier data that will only be sent in the first message on the stream.StreamAccessLogsMessage.LogEntriesCasegetLogEntriesCase()com.google.protobuf.Parser<StreamAccessLogsMessage>getParserForType()intgetSerializedSize()StreamAccessLogsMessage.TCPAccessLogEntriesgetTcpLogs().envoy.service.accesslog.v2.StreamAccessLogsMessage.TCPAccessLogEntries tcp_logs = 3;StreamAccessLogsMessage.TCPAccessLogEntriesOrBuildergetTcpLogsOrBuilder().envoy.service.accesslog.v2.StreamAccessLogsMessage.TCPAccessLogEntries tcp_logs = 3;com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasHttpLogs().envoy.service.accesslog.v2.StreamAccessLogsMessage.HTTPAccessLogEntries http_logs = 2;booleanhasIdentifier()Identifier data that will only be sent in the first message on the stream.booleanhasTcpLogs().envoy.service.accesslog.v2.StreamAccessLogsMessage.TCPAccessLogEntries tcp_logs = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static StreamAccessLogsMessage.BuildernewBuilder()static StreamAccessLogsMessage.BuildernewBuilder(StreamAccessLogsMessage prototype)StreamAccessLogsMessage.BuildernewBuilderForType()protected StreamAccessLogsMessage.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StreamAccessLogsMessageparseDelimitedFrom(InputStream input)static StreamAccessLogsMessageparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamAccessLogsMessageparseFrom(byte[] data)static StreamAccessLogsMessageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamAccessLogsMessageparseFrom(com.google.protobuf.ByteString data)static StreamAccessLogsMessageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamAccessLogsMessageparseFrom(com.google.protobuf.CodedInputStream input)static StreamAccessLogsMessageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamAccessLogsMessageparseFrom(InputStream input)static StreamAccessLogsMessageparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamAccessLogsMessageparseFrom(ByteBuffer data)static StreamAccessLogsMessageparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StreamAccessLogsMessage>parser()StreamAccessLogsMessage.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
-
IDENTIFIER_FIELD_NUMBER
public static final int IDENTIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HTTP_LOGS_FIELD_NUMBER
public static final int HTTP_LOGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TCP_LOGS_FIELD_NUMBER
public static final int TCP_LOGS_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
-
getLogEntriesCase
public StreamAccessLogsMessage.LogEntriesCase getLogEntriesCase()
- Specified by:
getLogEntriesCasein interfaceStreamAccessLogsMessageOrBuilder
-
hasIdentifier
public boolean hasIdentifier()
Identifier data that will only be sent in the first message on the stream. This is effectively structured metadata and is a performance optimization.
.envoy.service.accesslog.v2.StreamAccessLogsMessage.Identifier identifier = 1;- Specified by:
hasIdentifierin interfaceStreamAccessLogsMessageOrBuilder- Returns:
- Whether the identifier field is set.
-
getIdentifier
public StreamAccessLogsMessage.Identifier getIdentifier()
Identifier data that will only be sent in the first message on the stream. This is effectively structured metadata and is a performance optimization.
.envoy.service.accesslog.v2.StreamAccessLogsMessage.Identifier identifier = 1;- Specified by:
getIdentifierin interfaceStreamAccessLogsMessageOrBuilder- Returns:
- The identifier.
-
getIdentifierOrBuilder
public StreamAccessLogsMessage.IdentifierOrBuilder getIdentifierOrBuilder()
Identifier data that will only be sent in the first message on the stream. This is effectively structured metadata and is a performance optimization.
.envoy.service.accesslog.v2.StreamAccessLogsMessage.Identifier identifier = 1;- Specified by:
getIdentifierOrBuilderin interfaceStreamAccessLogsMessageOrBuilder
-
hasHttpLogs
public boolean hasHttpLogs()
.envoy.service.accesslog.v2.StreamAccessLogsMessage.HTTPAccessLogEntries http_logs = 2;- Specified by:
hasHttpLogsin interfaceStreamAccessLogsMessageOrBuilder- Returns:
- Whether the httpLogs field is set.
-
getHttpLogs
public StreamAccessLogsMessage.HTTPAccessLogEntries getHttpLogs()
.envoy.service.accesslog.v2.StreamAccessLogsMessage.HTTPAccessLogEntries http_logs = 2;- Specified by:
getHttpLogsin interfaceStreamAccessLogsMessageOrBuilder- Returns:
- The httpLogs.
-
getHttpLogsOrBuilder
public StreamAccessLogsMessage.HTTPAccessLogEntriesOrBuilder getHttpLogsOrBuilder()
.envoy.service.accesslog.v2.StreamAccessLogsMessage.HTTPAccessLogEntries http_logs = 2;- Specified by:
getHttpLogsOrBuilderin interfaceStreamAccessLogsMessageOrBuilder
-
hasTcpLogs
public boolean hasTcpLogs()
.envoy.service.accesslog.v2.StreamAccessLogsMessage.TCPAccessLogEntries tcp_logs = 3;- Specified by:
hasTcpLogsin interfaceStreamAccessLogsMessageOrBuilder- Returns:
- Whether the tcpLogs field is set.
-
getTcpLogs
public StreamAccessLogsMessage.TCPAccessLogEntries getTcpLogs()
.envoy.service.accesslog.v2.StreamAccessLogsMessage.TCPAccessLogEntries tcp_logs = 3;- Specified by:
getTcpLogsin interfaceStreamAccessLogsMessageOrBuilder- Returns:
- The tcpLogs.
-
getTcpLogsOrBuilder
public StreamAccessLogsMessage.TCPAccessLogEntriesOrBuilder getTcpLogsOrBuilder()
.envoy.service.accesslog.v2.StreamAccessLogsMessage.TCPAccessLogEntries tcp_logs = 3;- Specified by:
getTcpLogsOrBuilderin interfaceStreamAccessLogsMessageOrBuilder
-
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 StreamAccessLogsMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamAccessLogsMessage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamAccessLogsMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamAccessLogsMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamAccessLogsMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamAccessLogsMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamAccessLogsMessage parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamAccessLogsMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StreamAccessLogsMessage parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StreamAccessLogsMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamAccessLogsMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamAccessLogsMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public StreamAccessLogsMessage.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StreamAccessLogsMessage.Builder newBuilder()
-
newBuilder
public static StreamAccessLogsMessage.Builder newBuilder(StreamAccessLogsMessage prototype)
-
toBuilder
public StreamAccessLogsMessage.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StreamAccessLogsMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StreamAccessLogsMessage getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StreamAccessLogsMessage> parser()
-
getParserForType
public com.google.protobuf.Parser<StreamAccessLogsMessage> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StreamAccessLogsMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-