Class StreamEventsRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StreamEventsRequestOrBuilder,Serializable
public final class StreamEventsRequest extends com.google.protobuf.GeneratedMessageV3 implements StreamEventsRequestOrBuilder
[#not-implemented-hide:] An events envoy sends to the management server.
Protobuf typeenvoy.service.event_reporting.v3.StreamEventsRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamEventsRequest.Builder[#not-implemented-hide:] An events envoy sends to the management server.static classStreamEventsRequest.IdentifierProtobuf typeenvoy.service.event_reporting.v3.StreamEventsRequest.Identifierstatic interfaceStreamEventsRequest.IdentifierOrBuilder-
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 intEVENTS_FIELD_NUMBERstatic intIDENTIFIER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static StreamEventsRequestgetDefaultInstance()StreamEventsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.AnygetEvents(int index)Batch of events.intgetEventsCount()Batch of events.List<com.google.protobuf.Any>getEventsList()Batch of events.com.google.protobuf.AnyOrBuildergetEventsOrBuilder(int index)Batch of events.List<? extends com.google.protobuf.AnyOrBuilder>getEventsOrBuilderList()Batch of events.StreamEventsRequest.IdentifiergetIdentifier()Identifier data that will only be sent in the first message on the stream.StreamEventsRequest.IdentifierOrBuildergetIdentifierOrBuilder()Identifier data that will only be sent in the first message on the stream.com.google.protobuf.Parser<StreamEventsRequest>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasIdentifier()Identifier data that will only be sent in the first message on the stream.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static StreamEventsRequest.BuildernewBuilder()static StreamEventsRequest.BuildernewBuilder(StreamEventsRequest prototype)StreamEventsRequest.BuildernewBuilderForType()protected StreamEventsRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StreamEventsRequestparseDelimitedFrom(InputStream input)static StreamEventsRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamEventsRequestparseFrom(byte[] data)static StreamEventsRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamEventsRequestparseFrom(com.google.protobuf.ByteString data)static StreamEventsRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamEventsRequestparseFrom(com.google.protobuf.CodedInputStream input)static StreamEventsRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamEventsRequestparseFrom(InputStream input)static StreamEventsRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamEventsRequestparseFrom(ByteBuffer data)static StreamEventsRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StreamEventsRequest>parser()StreamEventsRequest.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
-
EVENTS_FIELD_NUMBER
public static final int EVENTS_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
-
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.event_reporting.v3.StreamEventsRequest.Identifier identifier = 1;- Specified by:
hasIdentifierin interfaceStreamEventsRequestOrBuilder- Returns:
- Whether the identifier field is set.
-
getIdentifier
public StreamEventsRequest.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.event_reporting.v3.StreamEventsRequest.Identifier identifier = 1;- Specified by:
getIdentifierin interfaceStreamEventsRequestOrBuilder- Returns:
- The identifier.
-
getIdentifierOrBuilder
public StreamEventsRequest.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.event_reporting.v3.StreamEventsRequest.Identifier identifier = 1;- Specified by:
getIdentifierOrBuilderin interfaceStreamEventsRequestOrBuilder
-
getEventsList
public List<com.google.protobuf.Any> getEventsList()
Batch of events. When the stream is already active, it will be the events occurred since the last message had been sent. If the server receives unknown event type, it should silently ignore it. The following events are supported: * :ref:`HealthCheckEvent <envoy_v3_api_msg_data.core.v3.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_v3_api_msg_data.cluster.v3.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... }- Specified by:
getEventsListin interfaceStreamEventsRequestOrBuilder
-
getEventsOrBuilderList
public List<? extends com.google.protobuf.AnyOrBuilder> getEventsOrBuilderList()
Batch of events. When the stream is already active, it will be the events occurred since the last message had been sent. If the server receives unknown event type, it should silently ignore it. The following events are supported: * :ref:`HealthCheckEvent <envoy_v3_api_msg_data.core.v3.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_v3_api_msg_data.cluster.v3.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... }- Specified by:
getEventsOrBuilderListin interfaceStreamEventsRequestOrBuilder
-
getEventsCount
public int getEventsCount()
Batch of events. When the stream is already active, it will be the events occurred since the last message had been sent. If the server receives unknown event type, it should silently ignore it. The following events are supported: * :ref:`HealthCheckEvent <envoy_v3_api_msg_data.core.v3.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_v3_api_msg_data.cluster.v3.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... }- Specified by:
getEventsCountin interfaceStreamEventsRequestOrBuilder
-
getEvents
public com.google.protobuf.Any getEvents(int index)
Batch of events. When the stream is already active, it will be the events occurred since the last message had been sent. If the server receives unknown event type, it should silently ignore it. The following events are supported: * :ref:`HealthCheckEvent <envoy_v3_api_msg_data.core.v3.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_v3_api_msg_data.cluster.v3.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... }- Specified by:
getEventsin interfaceStreamEventsRequestOrBuilder
-
getEventsOrBuilder
public com.google.protobuf.AnyOrBuilder getEventsOrBuilder(int index)
Batch of events. When the stream is already active, it will be the events occurred since the last message had been sent. If the server receives unknown event type, it should silently ignore it. The following events are supported: * :ref:`HealthCheckEvent <envoy_v3_api_msg_data.core.v3.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_v3_api_msg_data.cluster.v3.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... }- Specified by:
getEventsOrBuilderin interfaceStreamEventsRequestOrBuilder
-
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 StreamEventsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamEventsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamEventsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamEventsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamEventsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamEventsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamEventsRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamEventsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StreamEventsRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StreamEventsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamEventsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamEventsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public StreamEventsRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StreamEventsRequest.Builder newBuilder()
-
newBuilder
public static StreamEventsRequest.Builder newBuilder(StreamEventsRequest prototype)
-
toBuilder
public StreamEventsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StreamEventsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StreamEventsRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StreamEventsRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<StreamEventsRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StreamEventsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-