All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/service/event_reporting/v3/event_reporting_service.proto

package io.envoyproxy.envoy.service.event_reporting.v3;

/**
 * 
 * [#not-implemented-hide:]
 * An events envoy sends to the management server.
 * 
* * Protobuf type {@code envoy.service.event_reporting.v3.StreamEventsRequest} */ public final class StreamEventsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.service.event_reporting.v3.StreamEventsRequest) StreamEventsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use StreamEventsRequest.newBuilder() to construct. private StreamEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StreamEventsRequest() { events_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StreamEventsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StreamEventsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { events_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } events_.add( input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { events_ = java.util.Collections.unmodifiableList(events_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.service.event_reporting.v3.EventReportingServiceProto.internal_static_envoy_service_event_reporting_v3_StreamEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.service.event_reporting.v3.EventReportingServiceProto.internal_static_envoy_service_event_reporting_v3_StreamEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.class, io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Builder.class); } public interface IdentifierOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.service.event_reporting.v3.StreamEventsRequest.Identifier) com.google.protobuf.MessageOrBuilder { /** *
     * The node sending the event messages over the stream.
     * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } * @return Whether the node field is set. */ boolean hasNode(); /** *
     * The node sending the event messages over the stream.
     * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } * @return The node. */ io.envoyproxy.envoy.config.core.v3.Node getNode(); /** *
     * The node sending the event messages over the stream.
     * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } */ io.envoyproxy.envoy.config.core.v3.NodeOrBuilder getNodeOrBuilder(); } /** * Protobuf type {@code envoy.service.event_reporting.v3.StreamEventsRequest.Identifier} */ public static final class Identifier extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.service.event_reporting.v3.StreamEventsRequest.Identifier) IdentifierOrBuilder { private static final long serialVersionUID = 0L; // Use Identifier.newBuilder() to construct. private Identifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Identifier() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Identifier(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Identifier( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { io.envoyproxy.envoy.config.core.v3.Node.Builder subBuilder = null; if (node_ != null) { subBuilder = node_.toBuilder(); } node_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.Node.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(node_); node_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.service.event_reporting.v3.EventReportingServiceProto.internal_static_envoy_service_event_reporting_v3_StreamEventsRequest_Identifier_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.service.event_reporting.v3.EventReportingServiceProto.internal_static_envoy_service_event_reporting_v3_StreamEventsRequest_Identifier_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.class, io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.Builder.class); } public static final int NODE_FIELD_NUMBER = 1; private io.envoyproxy.envoy.config.core.v3.Node node_; /** *
     * The node sending the event messages over the stream.
     * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } * @return Whether the node field is set. */ @java.lang.Override public boolean hasNode() { return node_ != null; } /** *
     * The node sending the event messages over the stream.
     * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } * @return The node. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.Node getNode() { return node_ == null ? io.envoyproxy.envoy.config.core.v3.Node.getDefaultInstance() : node_; } /** *
     * The node sending the event messages over the stream.
     * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.NodeOrBuilder getNodeOrBuilder() { return getNode(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (node_ != null) { output.writeMessage(1, getNode()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (node_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getNode()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier)) { return super.equals(obj); } io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier other = (io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier) obj; if (hasNode() != other.hasNode()) return false; if (hasNode()) { if (!getNode() .equals(other.getNode())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasNode()) { hash = (37 * hash) + NODE_FIELD_NUMBER; hash = (53 * hash) + getNode().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.service.event_reporting.v3.StreamEventsRequest.Identifier} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.service.event_reporting.v3.StreamEventsRequest.Identifier) io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.IdentifierOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.service.event_reporting.v3.EventReportingServiceProto.internal_static_envoy_service_event_reporting_v3_StreamEventsRequest_Identifier_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.service.event_reporting.v3.EventReportingServiceProto.internal_static_envoy_service_event_reporting_v3_StreamEventsRequest_Identifier_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.class, io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.Builder.class); } // Construct using io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (nodeBuilder_ == null) { node_ = null; } else { node_ = null; nodeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.service.event_reporting.v3.EventReportingServiceProto.internal_static_envoy_service_event_reporting_v3_StreamEventsRequest_Identifier_descriptor; } @java.lang.Override public io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier getDefaultInstanceForType() { return io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier build() { io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier buildPartial() { io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier result = new io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier(this); if (nodeBuilder_ == null) { result.node_ = node_; } else { result.node_ = nodeBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier) { return mergeFrom((io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier other) { if (other == io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.getDefaultInstance()) return this; if (other.hasNode()) { mergeNode(other.getNode()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.envoyproxy.envoy.config.core.v3.Node node_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Node, io.envoyproxy.envoy.config.core.v3.Node.Builder, io.envoyproxy.envoy.config.core.v3.NodeOrBuilder> nodeBuilder_; /** *
       * The node sending the event messages over the stream.
       * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } * @return Whether the node field is set. */ public boolean hasNode() { return nodeBuilder_ != null || node_ != null; } /** *
       * The node sending the event messages over the stream.
       * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } * @return The node. */ public io.envoyproxy.envoy.config.core.v3.Node getNode() { if (nodeBuilder_ == null) { return node_ == null ? io.envoyproxy.envoy.config.core.v3.Node.getDefaultInstance() : node_; } else { return nodeBuilder_.getMessage(); } } /** *
       * The node sending the event messages over the stream.
       * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } */ public Builder setNode(io.envoyproxy.envoy.config.core.v3.Node value) { if (nodeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } node_ = value; onChanged(); } else { nodeBuilder_.setMessage(value); } return this; } /** *
       * The node sending the event messages over the stream.
       * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } */ public Builder setNode( io.envoyproxy.envoy.config.core.v3.Node.Builder builderForValue) { if (nodeBuilder_ == null) { node_ = builderForValue.build(); onChanged(); } else { nodeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The node sending the event messages over the stream.
       * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } */ public Builder mergeNode(io.envoyproxy.envoy.config.core.v3.Node value) { if (nodeBuilder_ == null) { if (node_ != null) { node_ = io.envoyproxy.envoy.config.core.v3.Node.newBuilder(node_).mergeFrom(value).buildPartial(); } else { node_ = value; } onChanged(); } else { nodeBuilder_.mergeFrom(value); } return this; } /** *
       * The node sending the event messages over the stream.
       * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } */ public Builder clearNode() { if (nodeBuilder_ == null) { node_ = null; onChanged(); } else { node_ = null; nodeBuilder_ = null; } return this; } /** *
       * The node sending the event messages over the stream.
       * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } */ public io.envoyproxy.envoy.config.core.v3.Node.Builder getNodeBuilder() { onChanged(); return getNodeFieldBuilder().getBuilder(); } /** *
       * The node sending the event messages over the stream.
       * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } */ public io.envoyproxy.envoy.config.core.v3.NodeOrBuilder getNodeOrBuilder() { if (nodeBuilder_ != null) { return nodeBuilder_.getMessageOrBuilder(); } else { return node_ == null ? io.envoyproxy.envoy.config.core.v3.Node.getDefaultInstance() : node_; } } /** *
       * The node sending the event messages over the stream.
       * 
* * .envoy.config.core.v3.Node node = 1 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Node, io.envoyproxy.envoy.config.core.v3.Node.Builder, io.envoyproxy.envoy.config.core.v3.NodeOrBuilder> getNodeFieldBuilder() { if (nodeBuilder_ == null) { nodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Node, io.envoyproxy.envoy.config.core.v3.Node.Builder, io.envoyproxy.envoy.config.core.v3.NodeOrBuilder>( getNode(), getParentForChildren(), isClean()); node_ = null; } return nodeBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.service.event_reporting.v3.StreamEventsRequest.Identifier) } // @@protoc_insertion_point(class_scope:envoy.service.event_reporting.v3.StreamEventsRequest.Identifier) private static final io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier(); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Identifier parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Identifier(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int IDENTIFIER_FIELD_NUMBER = 1; private io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier identifier_; /** *
   * 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; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** *
   * 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; * @return The identifier. */ @java.lang.Override public io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier getIdentifier() { return identifier_ == null ? io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.getDefaultInstance() : identifier_; } /** *
   * 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; */ @java.lang.Override public io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.IdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int EVENTS_FIELD_NUMBER = 2; private java.util.List events_; /** *
   * 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) = { ... } */ @java.lang.Override public java.util.List getEventsList() { return events_; } /** *
   * 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) = { ... } */ @java.lang.Override public java.util.List getEventsOrBuilderList() { return events_; } /** *
   * 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) = { ... } */ @java.lang.Override public int getEventsCount() { return events_.size(); } /** *
   * 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) = { ... } */ @java.lang.Override public com.google.protobuf.Any getEvents(int index) { return events_.get(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) = { ... } */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getEventsOrBuilder( int index) { return events_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (identifier_ != null) { output.writeMessage(1, getIdentifier()); } for (int i = 0; i < events_.size(); i++) { output.writeMessage(2, events_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } for (int i = 0; i < events_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, events_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest)) { return super.equals(obj); } io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest other = (io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (!getEventsList() .equals(other.getEventsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } if (getEventsCount() > 0) { hash = (37 * hash) + EVENTS_FIELD_NUMBER; hash = (53 * hash) + getEventsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * [#not-implemented-hide:]
   * An events envoy sends to the management server.
   * 
* * Protobuf type {@code envoy.service.event_reporting.v3.StreamEventsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.service.event_reporting.v3.StreamEventsRequest) io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.service.event_reporting.v3.EventReportingServiceProto.internal_static_envoy_service_event_reporting_v3_StreamEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.service.event_reporting.v3.EventReportingServiceProto.internal_static_envoy_service_event_reporting_v3_StreamEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.class, io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Builder.class); } // Construct using io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getEventsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } if (eventsBuilder_ == null) { events_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { eventsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.service.event_reporting.v3.EventReportingServiceProto.internal_static_envoy_service_event_reporting_v3_StreamEventsRequest_descriptor; } @java.lang.Override public io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest getDefaultInstanceForType() { return io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest build() { io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest buildPartial() { io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest result = new io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest(this); int from_bitField0_ = bitField0_; if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } if (eventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { events_ = java.util.Collections.unmodifiableList(events_); bitField0_ = (bitField0_ & ~0x00000001); } result.events_ = events_; } else { result.events_ = eventsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest) { return mergeFrom((io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest other) { if (other == io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (eventsBuilder_ == null) { if (!other.events_.isEmpty()) { if (events_.isEmpty()) { events_ = other.events_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEventsIsMutable(); events_.addAll(other.events_); } onChanged(); } } else { if (!other.events_.isEmpty()) { if (eventsBuilder_.isEmpty()) { eventsBuilder_.dispose(); eventsBuilder_ = null; events_ = other.events_; bitField0_ = (bitField0_ & ~0x00000001); eventsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEventsFieldBuilder() : null; } else { eventsBuilder_.addAllMessages(other.events_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier, io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.Builder, io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.IdentifierOrBuilder> identifierBuilder_; /** *
     * 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; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** *
     * 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; * @return The identifier. */ public io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** *
     * 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; */ public Builder setIdentifier(io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** *
     * 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; */ public Builder setIdentifier( io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * 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; */ public Builder mergeIdentifier(io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** *
     * 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; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** *
     * 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; */ public io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** *
     * 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; */ public io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.IdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.getDefaultInstance() : identifier_; } } /** *
     * 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier, io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.Builder, io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.IdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier, io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.Builder, io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest.IdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private java.util.List events_ = java.util.Collections.emptyList(); private void ensureEventsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { events_ = new java.util.ArrayList(events_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> eventsBuilder_; /** *
     * 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) = { ... } */ public java.util.List getEventsList() { if (eventsBuilder_ == null) { return java.util.Collections.unmodifiableList(events_); } else { return eventsBuilder_.getMessageList(); } } /** *
     * 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) = { ... } */ public int getEventsCount() { if (eventsBuilder_ == null) { return events_.size(); } else { return eventsBuilder_.getCount(); } } /** *
     * 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) = { ... } */ public com.google.protobuf.Any getEvents(int index) { if (eventsBuilder_ == null) { return events_.get(index); } else { return eventsBuilder_.getMessage(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) = { ... } */ public Builder setEvents( int index, com.google.protobuf.Any value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventsIsMutable(); events_.set(index, value); onChanged(); } else { eventsBuilder_.setMessage(index, value); } return this; } /** *
     * 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) = { ... } */ public Builder setEvents( int index, com.google.protobuf.Any.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.set(index, builderForValue.build()); onChanged(); } else { eventsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * 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) = { ... } */ public Builder addEvents(com.google.protobuf.Any value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventsIsMutable(); events_.add(value); onChanged(); } else { eventsBuilder_.addMessage(value); } return this; } /** *
     * 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) = { ... } */ public Builder addEvents( int index, com.google.protobuf.Any value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventsIsMutable(); events_.add(index, value); onChanged(); } else { eventsBuilder_.addMessage(index, value); } return this; } /** *
     * 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) = { ... } */ public Builder addEvents( com.google.protobuf.Any.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.add(builderForValue.build()); onChanged(); } else { eventsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 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) = { ... } */ public Builder addEvents( int index, com.google.protobuf.Any.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.add(index, builderForValue.build()); onChanged(); } else { eventsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * 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) = { ... } */ public Builder addAllEvents( java.lang.Iterable values) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, events_); onChanged(); } else { eventsBuilder_.addAllMessages(values); } return this; } /** *
     * 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) = { ... } */ public Builder clearEvents() { if (eventsBuilder_ == null) { events_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { eventsBuilder_.clear(); } return this; } /** *
     * 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) = { ... } */ public Builder removeEvents(int index) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.remove(index); onChanged(); } else { eventsBuilder_.remove(index); } return this; } /** *
     * 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) = { ... } */ public com.google.protobuf.Any.Builder getEventsBuilder( int index) { return getEventsFieldBuilder().getBuilder(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) = { ... } */ public com.google.protobuf.AnyOrBuilder getEventsOrBuilder( int index) { if (eventsBuilder_ == null) { return events_.get(index); } else { return eventsBuilder_.getMessageOrBuilder(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) = { ... } */ public java.util.List getEventsOrBuilderList() { if (eventsBuilder_ != null) { return eventsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(events_); } } /** *
     * 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) = { ... } */ public com.google.protobuf.Any.Builder addEventsBuilder() { return getEventsFieldBuilder().addBuilder( com.google.protobuf.Any.getDefaultInstance()); } /** *
     * 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) = { ... } */ public com.google.protobuf.Any.Builder addEventsBuilder( int index) { return getEventsFieldBuilder().addBuilder( index, com.google.protobuf.Any.getDefaultInstance()); } /** *
     * 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) = { ... } */ public java.util.List getEventsBuilderList() { return getEventsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getEventsFieldBuilder() { if (eventsBuilder_ == null) { eventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( events_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); events_ = null; } return eventsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.service.event_reporting.v3.StreamEventsRequest) } // @@protoc_insertion_point(class_scope:envoy.service.event_reporting.v3.StreamEventsRequest) private static final io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest(); } public static io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StreamEventsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StreamEventsRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.service.event_reporting.v3.StreamEventsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy