Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// 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;
}
case 24: {
excludeResourceContents_ = input.readBool();
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.
*
*
* .envoy.config.core.v3.Node node = 2;
*/
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.NodeOrBuilder getNodeOrBuilder() {
return getNode();
}
public static final int EXCLUDE_RESOURCE_CONTENTS_FIELD_NUMBER = 3;
private boolean excludeResourceContents_;
/**
*
* If true, the server will not include the resource contents in the response
* (i.e., the generic_xds_configs.xds_config field will not be populated).
* [#not-implemented-hide:]
*
*
* bool exclude_resource_contents = 3;
* @return The excludeResourceContents.
*/
@java.lang.Override
public boolean getExcludeResourceContents() {
return excludeResourceContents_;
}
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());
}
if (excludeResourceContents_ != false) {
output.writeBool(3, excludeResourceContents_);
}
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());
}
if (excludeResourceContents_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, excludeResourceContents_);
}
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 (getExcludeResourceContents()
!= other.getExcludeResourceContents()) 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 = (37 * hash) + EXCLUDE_RESOURCE_CONTENTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getExcludeResourceContents());
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.
*
* If true, the server will not include the resource contents in the response
* (i.e., the generic_xds_configs.xds_config field will not be populated).
* [#not-implemented-hide:]
*
* If true, the server will not include the resource contents in the response
* (i.e., the generic_xds_configs.xds_config field will not be populated).
* [#not-implemented-hide:]
*
*
* bool exclude_resource_contents = 3;
* @param value The excludeResourceContents to set.
* @return This builder for chaining.
*/
public Builder setExcludeResourceContents(boolean value) {
excludeResourceContents_ = value;
onChanged();
return this;
}
/**
*
* If true, the server will not include the resource contents in the response
* (i.e., the generic_xds_configs.xds_config field will not be populated).
* [#not-implemented-hide:]
*
*
* bool exclude_resource_contents = 3;
* @return This builder for chaining.
*/
public Builder clearExcludeResourceContents() {
excludeResourceContents_ = false;
onChanged();
return this;
}
@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;
}
}