Class StreamEventsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
io.envoyproxy.envoy.service.event_reporting.v2alpha.StreamEventsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StreamEventsRequestOrBuilder,Cloneable
- Enclosing class:
- StreamEventsRequest
public static final class StreamEventsRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
implements StreamEventsRequestOrBuilder
[#not-implemented-hide:] An events envoy sends to the management server.Protobuf type
envoy.service.event_reporting.v2alpha.StreamEventsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllEvents(Iterable<? extends com.google.protobuf.Any> values) Batch of events.addEvents(int index, com.google.protobuf.Any value) Batch of events.addEvents(int index, com.google.protobuf.Any.Builder builderForValue) Batch of events.addEvents(com.google.protobuf.Any value) Batch of events.addEvents(com.google.protobuf.Any.Builder builderForValue) Batch of events.com.google.protobuf.Any.BuilderBatch of events.com.google.protobuf.Any.BuilderaddEventsBuilder(int index) Batch of events.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Batch of events.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Identifier data that will only be sent in the first message on the stream.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.AnygetEvents(int index) Batch of events.com.google.protobuf.Any.BuildergetEventsBuilder(int index) Batch of events.List<com.google.protobuf.Any.Builder>Batch of events.intBatch of events.List<com.google.protobuf.Any>Batch of events.com.google.protobuf.AnyOrBuildergetEventsOrBuilder(int index) Batch of events.List<? extends com.google.protobuf.AnyOrBuilder>Batch of events.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.Identifier data that will only be sent in the first message on the stream.booleanIdentifier data that will only be sent in the first message on the stream.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(StreamEventsRequest other) Identifier data that will only be sent in the first message on the stream.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeEvents(int index) Batch of events.setEvents(int index, com.google.protobuf.Any value) Batch of events.setEvents(int index, com.google.protobuf.Any.Builder builderForValue) Batch of events.Identifier data that will only be sent in the first message on the stream.setIdentifier(StreamEventsRequest.Identifier.Builder builderForValue) Identifier data that will only be sent in the first message on the stream.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<StreamEventsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
-
setField
public StreamEventsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
-
clearField
public StreamEventsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
-
clearOneof
public StreamEventsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
-
setRepeatedField
public StreamEventsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
-
addRepeatedField
public StreamEventsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamEventsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
-
mergeFrom
public StreamEventsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamEventsRequest.Builder>- Throws:
IOException
-
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.v2alpha.StreamEventsRequest.Identifier identifier = 1;- Specified by:
hasIdentifierin interfaceStreamEventsRequestOrBuilder- 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.event_reporting.v2alpha.StreamEventsRequest.Identifier identifier = 1;- Specified by:
getIdentifierin interfaceStreamEventsRequestOrBuilder- Returns:
- The identifier.
-
setIdentifier
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.v2alpha.StreamEventsRequest.Identifier identifier = 1; -
setIdentifier
public StreamEventsRequest.Builder setIdentifier(StreamEventsRequest.Identifier.Builder builderForValue) 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.v2alpha.StreamEventsRequest.Identifier identifier = 1; -
mergeIdentifier
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.v2alpha.StreamEventsRequest.Identifier identifier = 1; -
clearIdentifier
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.v2alpha.StreamEventsRequest.Identifier identifier = 1; -
getIdentifierBuilder
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.v2alpha.StreamEventsRequest.Identifier identifier = 1; -
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.v2alpha.StreamEventsRequest.Identifier identifier = 1;- Specified by:
getIdentifierOrBuilderin interfaceStreamEventsRequestOrBuilder
-
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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... }- Specified by:
getEventsListin 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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... }- Specified by:
getEventsin interfaceStreamEventsRequestOrBuilder
-
setEvents
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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... } -
setEvents
public StreamEventsRequest.Builder setEvents(int index, com.google.protobuf.Any.Builder builderForValue) 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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... } -
addEvents
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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... } -
addEvents
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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... } -
addEvents
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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... } -
addEvents
public StreamEventsRequest.Builder addEvents(int index, com.google.protobuf.Any.Builder builderForValue) 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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... } -
addAllEvents
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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... } -
clearEvents
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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... } -
removeEvents
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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... } -
getEventsBuilder
public com.google.protobuf.Any.Builder getEventsBuilder(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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... } -
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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... }- Specified by:
getEventsOrBuilderin interfaceStreamEventsRequestOrBuilder
-
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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... }- Specified by:
getEventsOrBuilderListin interfaceStreamEventsRequestOrBuilder
-
addEventsBuilder
public com.google.protobuf.Any.Builder addEventsBuilder()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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... } -
addEventsBuilder
public com.google.protobuf.Any.Builder addEventsBuilder(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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... } -
getEventsBuilderList
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_api_msg_data.core.v2alpha.HealthCheckEvent>` * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
repeated .google.protobuf.Any events = 2 [(.validate.rules) = { ... } -
setUnknownFields
public final StreamEventsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
-
mergeUnknownFields
public final StreamEventsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
-