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 type
envoy.service.accesslog.v2.StreamAccessLogsMessage- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classStream message for the StreamAccessLogs API.static final classWrapper for batches of HTTP access log entries.static interfacestatic final classProtobuf typeenvoy.service.accesslog.v2.StreamAccessLogsMessage.Identifierstatic interfacestatic enumstatic final classWrapper for batches of TCP access log entries.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StreamAccessLogsMessagestatic final com.google.protobuf.Descriptors.Descriptor.envoy.service.accesslog.v2.StreamAccessLogsMessage.HTTPAccessLogEntries http_logs = 2;.envoy.service.accesslog.v2.StreamAccessLogsMessage.HTTPAccessLogEntries http_logs = 2;Identifier data that will only be sent in the first message on the stream.Identifier data that will only be sent in the first message on the stream.com.google.protobuf.Parser<StreamAccessLogsMessage>int.envoy.service.accesslog.v2.StreamAccessLogsMessage.TCPAccessLogEntries tcp_logs = 3;.envoy.service.accesslog.v2.StreamAccessLogsMessage.TCPAccessLogEntries tcp_logs = 3;inthashCode()boolean.envoy.service.accesslog.v2.StreamAccessLogsMessage.HTTPAccessLogEntries http_logs = 2;booleanIdentifier data that will only be sent in the first message on the stream.boolean.envoy.service.accesslog.v2.StreamAccessLogsMessage.TCPAccessLogEntries tcp_logs = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(StreamAccessLogsMessage prototype) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
IDENTIFIER_FIELD_NUMBER
public static final int IDENTIFIER_FIELD_NUMBER- See Also:
-
HTTP_LOGS_FIELD_NUMBER
public static final int HTTP_LOGS_FIELD_NUMBER- See Also:
-
TCP_LOGS_FIELD_NUMBER
public static final int TCP_LOGS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
- 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
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
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
.envoy.service.accesslog.v2.StreamAccessLogsMessage.HTTPAccessLogEntries http_logs = 2;- Specified by:
getHttpLogsin interfaceStreamAccessLogsMessageOrBuilder- Returns:
- The httpLogs.
-
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
.envoy.service.accesslog.v2.StreamAccessLogsMessage.TCPAccessLogEntries tcp_logs = 3;- Specified by:
getTcpLogsin interfaceStreamAccessLogsMessageOrBuilder- Returns:
- The tcpLogs.
-
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
- 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
- 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
- Throws:
IOException
-
parseFrom
public static StreamAccessLogsMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-