Class 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.v3.StreamEventsRequest
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
      • clear

        public StreamEventsRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
      • getDefaultInstanceForType

        public StreamEventsRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public StreamEventsRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public StreamEventsRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public StreamEventsRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
      • setField

        public StreamEventsRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
      • clearField

        public StreamEventsRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
      • clearOneof

        public StreamEventsRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
      • setRepeatedField

        public StreamEventsRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
      • addRepeatedField

        public StreamEventsRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
      • mergeFrom

        public StreamEventsRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamEventsRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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.v3.StreamEventsRequest.Identifier identifier = 1;
        Specified by:
        hasIdentifier in interface StreamEventsRequestOrBuilder
        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:
        getIdentifier in interface StreamEventsRequestOrBuilder
        Returns:
        The identifier.
      • setIdentifier

        public StreamEventsRequest.Builder setIdentifier​(StreamEventsRequest.Identifier value)
         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;
      • 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.v3.StreamEventsRequest.Identifier identifier = 1;
      • mergeIdentifier

        public StreamEventsRequest.Builder mergeIdentifier​(StreamEventsRequest.Identifier value)
         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;
      • clearIdentifier

        public StreamEventsRequest.Builder 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.v3.StreamEventsRequest.Identifier identifier = 1;
      • getIdentifierBuilder

        public StreamEventsRequest.Identifier.Builder 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.v3.StreamEventsRequest.Identifier identifier = 1;
      • 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:
        getEventsList in interface StreamEventsRequestOrBuilder
      • 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:
        getEventsCount in interface StreamEventsRequestOrBuilder
      • 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:
        getEvents in interface StreamEventsRequestOrBuilder
      • setEvents

        public StreamEventsRequest.Builder setEvents​(int index,
                                                     com.google.protobuf.Any value)
         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) = { ... }
      • 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_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) = { ... }
      • addEvents

        public StreamEventsRequest.Builder addEvents​(com.google.protobuf.Any value)
         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) = { ... }
      • addEvents

        public StreamEventsRequest.Builder addEvents​(int index,
                                                     com.google.protobuf.Any value)
         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) = { ... }
      • addEvents

        public StreamEventsRequest.Builder addEvents​(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_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) = { ... }
      • 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_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) = { ... }
      • addAllEvents

        public StreamEventsRequest.Builder addAllEvents​(Iterable<? extends com.google.protobuf.Any> values)
         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) = { ... }
      • clearEvents

        public StreamEventsRequest.Builder 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_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) = { ... }
      • removeEvents

        public StreamEventsRequest.Builder removeEvents​(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) = { ... }
      • 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_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) = { ... }
      • 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:
        getEventsOrBuilder in interface StreamEventsRequestOrBuilder
      • 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:
        getEventsOrBuilderList in interface StreamEventsRequestOrBuilder
      • 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_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) = { ... }
      • 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_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) = { ... }
      • getEventsBuilderList

        public List<com.google.protobuf.Any.Builder> 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_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) = { ... }
      • setUnknownFields

        public final StreamEventsRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>
      • mergeUnknownFields

        public final StreamEventsRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder>