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

io.envoyproxy.envoy.service.status.v3.ClientStatusRequest 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/status/v3/csds.proto

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

/**
 * 
 * Request for client status of clients identified by a list of NodeMatchers.
 * 
* * Protobuf type {@code envoy.service.status.v3.ClientStatusRequest} */ public final class ClientStatusRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.service.status.v3.ClientStatusRequest) ClientStatusRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ClientStatusRequest.newBuilder() to construct. private ClientStatusRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClientStatusRequest() { nodeMatchers_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ClientStatusRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClientStatusRequest( 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: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { nodeMatchers_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } nodeMatchers_.add( input.readMessage(io.envoyproxy.envoy.type.matcher.v3.NodeMatcher.parser(), extensionRegistry)); break; } case 18: { 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { nodeMatchers_ = java.util.Collections.unmodifiableList(nodeMatchers_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.service.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientStatusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.service.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientStatusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.service.status.v3.ClientStatusRequest.class, io.envoyproxy.envoy.service.status.v3.ClientStatusRequest.Builder.class); } public static final int NODE_MATCHERS_FIELD_NUMBER = 1; private java.util.List nodeMatchers_; /** *
   * Management server can use these match criteria to identify clients.
   * The match follows OR semantics.
   * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ @java.lang.Override public java.util.List getNodeMatchersList() { return nodeMatchers_; } /** *
   * Management server can use these match criteria to identify clients.
   * The match follows OR semantics.
   * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ @java.lang.Override public java.util.List getNodeMatchersOrBuilderList() { return nodeMatchers_; } /** *
   * Management server can use these match criteria to identify clients.
   * The match follows OR semantics.
   * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ @java.lang.Override public int getNodeMatchersCount() { return nodeMatchers_.size(); } /** *
   * Management server can use these match criteria to identify clients.
   * The match follows OR semantics.
   * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ @java.lang.Override public io.envoyproxy.envoy.type.matcher.v3.NodeMatcher getNodeMatchers(int index) { return nodeMatchers_.get(index); } /** *
   * Management server can use these match criteria to identify clients.
   * The match follows OR semantics.
   * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ @java.lang.Override public io.envoyproxy.envoy.type.matcher.v3.NodeMatcherOrBuilder getNodeMatchersOrBuilder( int index) { return nodeMatchers_.get(index); } public static final int NODE_FIELD_NUMBER = 2; private io.envoyproxy.envoy.config.core.v3.Node node_; /** *
   * The node making the csds request.
   * 
* * .envoy.config.core.v3.Node node = 2; * @return Whether the node field is set. */ @java.lang.Override public boolean hasNode() { return node_ != null; } /** *
   * The node making the csds request.
   * 
* * .envoy.config.core.v3.Node node = 2; * @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 making the csds request.
   * 
* * .envoy.config.core.v3.Node node = 2; */ @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 { for (int i = 0; i < nodeMatchers_.size(); i++) { output.writeMessage(1, nodeMatchers_.get(i)); } if (node_ != null) { output.writeMessage(2, getNode()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < nodeMatchers_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, nodeMatchers_.get(i)); } if (node_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, 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.status.v3.ClientStatusRequest)) { return super.equals(obj); } io.envoyproxy.envoy.service.status.v3.ClientStatusRequest other = (io.envoyproxy.envoy.service.status.v3.ClientStatusRequest) obj; if (!getNodeMatchersList() .equals(other.getNodeMatchersList())) return false; 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 (getNodeMatchersCount() > 0) { hash = (37 * hash) + NODE_MATCHERS_FIELD_NUMBER; hash = (53 * hash) + getNodeMatchersList().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.status.v3.ClientStatusRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.status.v3.ClientStatusRequest 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.status.v3.ClientStatusRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.status.v3.ClientStatusRequest 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.status.v3.ClientStatusRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.status.v3.ClientStatusRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.service.status.v3.ClientStatusRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.status.v3.ClientStatusRequest 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.status.v3.ClientStatusRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.status.v3.ClientStatusRequest 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.status.v3.ClientStatusRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.status.v3.ClientStatusRequest 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.status.v3.ClientStatusRequest 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; } /** *
   * Request for client status of clients identified by a list of NodeMatchers.
   * 
* * Protobuf type {@code envoy.service.status.v3.ClientStatusRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.service.status.v3.ClientStatusRequest) io.envoyproxy.envoy.service.status.v3.ClientStatusRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.service.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientStatusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.service.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientStatusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.service.status.v3.ClientStatusRequest.class, io.envoyproxy.envoy.service.status.v3.ClientStatusRequest.Builder.class); } // Construct using io.envoyproxy.envoy.service.status.v3.ClientStatusRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getNodeMatchersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (nodeMatchersBuilder_ == null) { nodeMatchers_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { nodeMatchersBuilder_.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.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientStatusRequest_descriptor; } @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ClientStatusRequest getDefaultInstanceForType() { return io.envoyproxy.envoy.service.status.v3.ClientStatusRequest.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ClientStatusRequest build() { io.envoyproxy.envoy.service.status.v3.ClientStatusRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ClientStatusRequest buildPartial() { io.envoyproxy.envoy.service.status.v3.ClientStatusRequest result = new io.envoyproxy.envoy.service.status.v3.ClientStatusRequest(this); int from_bitField0_ = bitField0_; if (nodeMatchersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { nodeMatchers_ = java.util.Collections.unmodifiableList(nodeMatchers_); bitField0_ = (bitField0_ & ~0x00000001); } result.nodeMatchers_ = nodeMatchers_; } else { result.nodeMatchers_ = nodeMatchersBuilder_.build(); } 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.status.v3.ClientStatusRequest) { return mergeFrom((io.envoyproxy.envoy.service.status.v3.ClientStatusRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.service.status.v3.ClientStatusRequest other) { if (other == io.envoyproxy.envoy.service.status.v3.ClientStatusRequest.getDefaultInstance()) return this; if (nodeMatchersBuilder_ == null) { if (!other.nodeMatchers_.isEmpty()) { if (nodeMatchers_.isEmpty()) { nodeMatchers_ = other.nodeMatchers_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureNodeMatchersIsMutable(); nodeMatchers_.addAll(other.nodeMatchers_); } onChanged(); } } else { if (!other.nodeMatchers_.isEmpty()) { if (nodeMatchersBuilder_.isEmpty()) { nodeMatchersBuilder_.dispose(); nodeMatchersBuilder_ = null; nodeMatchers_ = other.nodeMatchers_; bitField0_ = (bitField0_ & ~0x00000001); nodeMatchersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getNodeMatchersFieldBuilder() : null; } else { nodeMatchersBuilder_.addAllMessages(other.nodeMatchers_); } } } 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.status.v3.ClientStatusRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.service.status.v3.ClientStatusRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List nodeMatchers_ = java.util.Collections.emptyList(); private void ensureNodeMatchersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nodeMatchers_ = new java.util.ArrayList(nodeMatchers_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.type.matcher.v3.NodeMatcher, io.envoyproxy.envoy.type.matcher.v3.NodeMatcher.Builder, io.envoyproxy.envoy.type.matcher.v3.NodeMatcherOrBuilder> nodeMatchersBuilder_; /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public java.util.List getNodeMatchersList() { if (nodeMatchersBuilder_ == null) { return java.util.Collections.unmodifiableList(nodeMatchers_); } else { return nodeMatchersBuilder_.getMessageList(); } } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public int getNodeMatchersCount() { if (nodeMatchersBuilder_ == null) { return nodeMatchers_.size(); } else { return nodeMatchersBuilder_.getCount(); } } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public io.envoyproxy.envoy.type.matcher.v3.NodeMatcher getNodeMatchers(int index) { if (nodeMatchersBuilder_ == null) { return nodeMatchers_.get(index); } else { return nodeMatchersBuilder_.getMessage(index); } } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public Builder setNodeMatchers( int index, io.envoyproxy.envoy.type.matcher.v3.NodeMatcher value) { if (nodeMatchersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodeMatchersIsMutable(); nodeMatchers_.set(index, value); onChanged(); } else { nodeMatchersBuilder_.setMessage(index, value); } return this; } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public Builder setNodeMatchers( int index, io.envoyproxy.envoy.type.matcher.v3.NodeMatcher.Builder builderForValue) { if (nodeMatchersBuilder_ == null) { ensureNodeMatchersIsMutable(); nodeMatchers_.set(index, builderForValue.build()); onChanged(); } else { nodeMatchersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public Builder addNodeMatchers(io.envoyproxy.envoy.type.matcher.v3.NodeMatcher value) { if (nodeMatchersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodeMatchersIsMutable(); nodeMatchers_.add(value); onChanged(); } else { nodeMatchersBuilder_.addMessage(value); } return this; } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public Builder addNodeMatchers( int index, io.envoyproxy.envoy.type.matcher.v3.NodeMatcher value) { if (nodeMatchersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodeMatchersIsMutable(); nodeMatchers_.add(index, value); onChanged(); } else { nodeMatchersBuilder_.addMessage(index, value); } return this; } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public Builder addNodeMatchers( io.envoyproxy.envoy.type.matcher.v3.NodeMatcher.Builder builderForValue) { if (nodeMatchersBuilder_ == null) { ensureNodeMatchersIsMutable(); nodeMatchers_.add(builderForValue.build()); onChanged(); } else { nodeMatchersBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public Builder addNodeMatchers( int index, io.envoyproxy.envoy.type.matcher.v3.NodeMatcher.Builder builderForValue) { if (nodeMatchersBuilder_ == null) { ensureNodeMatchersIsMutable(); nodeMatchers_.add(index, builderForValue.build()); onChanged(); } else { nodeMatchersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public Builder addAllNodeMatchers( java.lang.Iterable values) { if (nodeMatchersBuilder_ == null) { ensureNodeMatchersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, nodeMatchers_); onChanged(); } else { nodeMatchersBuilder_.addAllMessages(values); } return this; } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public Builder clearNodeMatchers() { if (nodeMatchersBuilder_ == null) { nodeMatchers_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { nodeMatchersBuilder_.clear(); } return this; } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public Builder removeNodeMatchers(int index) { if (nodeMatchersBuilder_ == null) { ensureNodeMatchersIsMutable(); nodeMatchers_.remove(index); onChanged(); } else { nodeMatchersBuilder_.remove(index); } return this; } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public io.envoyproxy.envoy.type.matcher.v3.NodeMatcher.Builder getNodeMatchersBuilder( int index) { return getNodeMatchersFieldBuilder().getBuilder(index); } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public io.envoyproxy.envoy.type.matcher.v3.NodeMatcherOrBuilder getNodeMatchersOrBuilder( int index) { if (nodeMatchersBuilder_ == null) { return nodeMatchers_.get(index); } else { return nodeMatchersBuilder_.getMessageOrBuilder(index); } } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public java.util.List getNodeMatchersOrBuilderList() { if (nodeMatchersBuilder_ != null) { return nodeMatchersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(nodeMatchers_); } } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public io.envoyproxy.envoy.type.matcher.v3.NodeMatcher.Builder addNodeMatchersBuilder() { return getNodeMatchersFieldBuilder().addBuilder( io.envoyproxy.envoy.type.matcher.v3.NodeMatcher.getDefaultInstance()); } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public io.envoyproxy.envoy.type.matcher.v3.NodeMatcher.Builder addNodeMatchersBuilder( int index) { return getNodeMatchersFieldBuilder().addBuilder( index, io.envoyproxy.envoy.type.matcher.v3.NodeMatcher.getDefaultInstance()); } /** *
     * Management server can use these match criteria to identify clients.
     * The match follows OR semantics.
     * 
* * repeated .envoy.type.matcher.v3.NodeMatcher node_matchers = 1; */ public java.util.List getNodeMatchersBuilderList() { return getNodeMatchersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.type.matcher.v3.NodeMatcher, io.envoyproxy.envoy.type.matcher.v3.NodeMatcher.Builder, io.envoyproxy.envoy.type.matcher.v3.NodeMatcherOrBuilder> getNodeMatchersFieldBuilder() { if (nodeMatchersBuilder_ == null) { nodeMatchersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.type.matcher.v3.NodeMatcher, io.envoyproxy.envoy.type.matcher.v3.NodeMatcher.Builder, io.envoyproxy.envoy.type.matcher.v3.NodeMatcherOrBuilder>( nodeMatchers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); nodeMatchers_ = null; } return nodeMatchersBuilder_; } 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 making the csds request.
     * 
* * .envoy.config.core.v3.Node node = 2; * @return Whether the node field is set. */ public boolean hasNode() { return nodeBuilder_ != null || node_ != null; } /** *
     * The node making the csds request.
     * 
* * .envoy.config.core.v3.Node node = 2; * @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 making the csds request.
     * 
* * .envoy.config.core.v3.Node node = 2; */ 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 making the csds request.
     * 
* * .envoy.config.core.v3.Node node = 2; */ 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 making the csds request.
     * 
* * .envoy.config.core.v3.Node node = 2; */ 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 making the csds request.
     * 
* * .envoy.config.core.v3.Node node = 2; */ public Builder clearNode() { if (nodeBuilder_ == null) { node_ = null; onChanged(); } else { node_ = null; nodeBuilder_ = null; } return this; } /** *
     * The node making the csds request.
     * 
* * .envoy.config.core.v3.Node node = 2; */ public io.envoyproxy.envoy.config.core.v3.Node.Builder getNodeBuilder() { onChanged(); return getNodeFieldBuilder().getBuilder(); } /** *
     * The node making the csds request.
     * 
* * .envoy.config.core.v3.Node node = 2; */ 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 making the csds request.
     * 
* * .envoy.config.core.v3.Node node = 2; */ 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.status.v3.ClientStatusRequest) } // @@protoc_insertion_point(class_scope:envoy.service.status.v3.ClientStatusRequest) private static final io.envoyproxy.envoy.service.status.v3.ClientStatusRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.service.status.v3.ClientStatusRequest(); } public static io.envoyproxy.envoy.service.status.v3.ClientStatusRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ClientStatusRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClientStatusRequest(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.status.v3.ClientStatusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy