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: grpc/channelz/v1/channelz.proto
// Protobuf Java Version: 3.25.1
package io.grpc.channelz.v1;
/**
* Protobuf type {@code grpc.channelz.v1.GetServersResponse}
*/
public final class GetServersResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:grpc.channelz.v1.GetServersResponse)
GetServersResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetServersResponse.newBuilder() to construct.
private GetServersResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetServersResponse() {
server_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetServersResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_GetServersResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_GetServersResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.grpc.channelz.v1.GetServersResponse.class, io.grpc.channelz.v1.GetServersResponse.Builder.class);
}
public static final int SERVER_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List server_;
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
@java.lang.Override
public java.util.List getServerList() {
return server_;
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
@java.lang.Override
public java.util.List extends io.grpc.channelz.v1.ServerOrBuilder>
getServerOrBuilderList() {
return server_;
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
@java.lang.Override
public int getServerCount() {
return server_.size();
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
@java.lang.Override
public io.grpc.channelz.v1.Server getServer(int index) {
return server_.get(index);
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
@java.lang.Override
public io.grpc.channelz.v1.ServerOrBuilder getServerOrBuilder(
int index) {
return server_.get(index);
}
public static final int END_FIELD_NUMBER = 2;
private boolean end_ = false;
/**
*
* If set, indicates that the list of servers is the final list. Requesting
* more servers will only return more if they are created after this RPC
* completes.
*
*
* bool end = 2;
* @return The end.
*/
@java.lang.Override
public boolean getEnd() {
return end_;
}
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 < server_.size(); i++) {
output.writeMessage(1, server_.get(i));
}
if (end_ != false) {
output.writeBool(2, end_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < server_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, server_.get(i));
}
if (end_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, end_);
}
size += getUnknownFields().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.grpc.channelz.v1.GetServersResponse)) {
return super.equals(obj);
}
io.grpc.channelz.v1.GetServersResponse other = (io.grpc.channelz.v1.GetServersResponse) obj;
if (!getServerList()
.equals(other.getServerList())) return false;
if (getEnd()
!= other.getEnd()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getServerCount() > 0) {
hash = (37 * hash) + SERVER_FIELD_NUMBER;
hash = (53 * hash) + getServerList().hashCode();
}
hash = (37 * hash) + END_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnd());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.grpc.channelz.v1.GetServersResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.grpc.channelz.v1.GetServersResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.grpc.channelz.v1.GetServersResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.grpc.channelz.v1.GetServersResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.grpc.channelz.v1.GetServersResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.grpc.channelz.v1.GetServersResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.grpc.channelz.v1.GetServersResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.grpc.channelz.v1.GetServersResponse 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.grpc.channelz.v1.GetServersResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.grpc.channelz.v1.GetServersResponse 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.grpc.channelz.v1.GetServersResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.grpc.channelz.v1.GetServersResponse 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.grpc.channelz.v1.GetServersResponse 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 grpc.channelz.v1.GetServersResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:grpc.channelz.v1.GetServersResponse)
io.grpc.channelz.v1.GetServersResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_GetServersResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_GetServersResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.grpc.channelz.v1.GetServersResponse.class, io.grpc.channelz.v1.GetServersResponse.Builder.class);
}
// Construct using io.grpc.channelz.v1.GetServersResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (serverBuilder_ == null) {
server_ = java.util.Collections.emptyList();
} else {
server_ = null;
serverBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
end_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_GetServersResponse_descriptor;
}
@java.lang.Override
public io.grpc.channelz.v1.GetServersResponse getDefaultInstanceForType() {
return io.grpc.channelz.v1.GetServersResponse.getDefaultInstance();
}
@java.lang.Override
public io.grpc.channelz.v1.GetServersResponse build() {
io.grpc.channelz.v1.GetServersResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.grpc.channelz.v1.GetServersResponse buildPartial() {
io.grpc.channelz.v1.GetServersResponse result = new io.grpc.channelz.v1.GetServersResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(io.grpc.channelz.v1.GetServersResponse result) {
if (serverBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
server_ = java.util.Collections.unmodifiableList(server_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.server_ = server_;
} else {
result.server_ = serverBuilder_.build();
}
}
private void buildPartial0(io.grpc.channelz.v1.GetServersResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.end_ = end_;
}
}
@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.grpc.channelz.v1.GetServersResponse) {
return mergeFrom((io.grpc.channelz.v1.GetServersResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.grpc.channelz.v1.GetServersResponse other) {
if (other == io.grpc.channelz.v1.GetServersResponse.getDefaultInstance()) return this;
if (serverBuilder_ == null) {
if (!other.server_.isEmpty()) {
if (server_.isEmpty()) {
server_ = other.server_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureServerIsMutable();
server_.addAll(other.server_);
}
onChanged();
}
} else {
if (!other.server_.isEmpty()) {
if (serverBuilder_.isEmpty()) {
serverBuilder_.dispose();
serverBuilder_ = null;
server_ = other.server_;
bitField0_ = (bitField0_ & ~0x00000001);
serverBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getServerFieldBuilder() : null;
} else {
serverBuilder_.addAllMessages(other.server_);
}
}
}
if (other.getEnd() != false) {
setEnd(other.getEnd());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
io.grpc.channelz.v1.Server m =
input.readMessage(
io.grpc.channelz.v1.Server.parser(),
extensionRegistry);
if (serverBuilder_ == null) {
ensureServerIsMutable();
server_.add(m);
} else {
serverBuilder_.addMessage(m);
}
break;
} // case 10
case 16: {
end_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List server_ =
java.util.Collections.emptyList();
private void ensureServerIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
server_ = new java.util.ArrayList(server_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.grpc.channelz.v1.Server, io.grpc.channelz.v1.Server.Builder, io.grpc.channelz.v1.ServerOrBuilder> serverBuilder_;
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
public java.util.List getServerList() {
if (serverBuilder_ == null) {
return java.util.Collections.unmodifiableList(server_);
} else {
return serverBuilder_.getMessageList();
}
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
public int getServerCount() {
if (serverBuilder_ == null) {
return server_.size();
} else {
return serverBuilder_.getCount();
}
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
public io.grpc.channelz.v1.Server getServer(int index) {
if (serverBuilder_ == null) {
return server_.get(index);
} else {
return serverBuilder_.getMessage(index);
}
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
public Builder setServer(
int index, io.grpc.channelz.v1.Server value) {
if (serverBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServerIsMutable();
server_.set(index, value);
onChanged();
} else {
serverBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
public Builder setServer(
int index, io.grpc.channelz.v1.Server.Builder builderForValue) {
if (serverBuilder_ == null) {
ensureServerIsMutable();
server_.set(index, builderForValue.build());
onChanged();
} else {
serverBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
public Builder addServer(io.grpc.channelz.v1.Server value) {
if (serverBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServerIsMutable();
server_.add(value);
onChanged();
} else {
serverBuilder_.addMessage(value);
}
return this;
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
public Builder addServer(
int index, io.grpc.channelz.v1.Server value) {
if (serverBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServerIsMutable();
server_.add(index, value);
onChanged();
} else {
serverBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
public Builder addServer(
int index, io.grpc.channelz.v1.Server.Builder builderForValue) {
if (serverBuilder_ == null) {
ensureServerIsMutable();
server_.add(index, builderForValue.build());
onChanged();
} else {
serverBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
public io.grpc.channelz.v1.Server.Builder getServerBuilder(
int index) {
return getServerFieldBuilder().getBuilder(index);
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
public io.grpc.channelz.v1.ServerOrBuilder getServerOrBuilder(
int index) {
if (serverBuilder_ == null) {
return server_.get(index); } else {
return serverBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
public java.util.List extends io.grpc.channelz.v1.ServerOrBuilder>
getServerOrBuilderList() {
if (serverBuilder_ != null) {
return serverBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(server_);
}
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
public io.grpc.channelz.v1.Server.Builder addServerBuilder() {
return getServerFieldBuilder().addBuilder(
io.grpc.channelz.v1.Server.getDefaultInstance());
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
*
* repeated .grpc.channelz.v1.Server server = 1;
*/
public io.grpc.channelz.v1.Server.Builder addServerBuilder(
int index) {
return getServerFieldBuilder().addBuilder(
index, io.grpc.channelz.v1.Server.getDefaultInstance());
}
/**
*
* list of servers that the connection detail service knows about. Sorted in
* ascending server_id order.
* Must contain at least 1 result, otherwise 'end' must be true.
*
* If set, indicates that the list of servers is the final list. Requesting
* more servers will only return more if they are created after this RPC
* completes.
*
*
* bool end = 2;
* @return The end.
*/
@java.lang.Override
public boolean getEnd() {
return end_;
}
/**
*
* If set, indicates that the list of servers is the final list. Requesting
* more servers will only return more if they are created after this RPC
* completes.
*
*
* bool end = 2;
* @param value The end to set.
* @return This builder for chaining.
*/
public Builder setEnd(boolean value) {
end_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* If set, indicates that the list of servers is the final list. Requesting
* more servers will only return more if they are created after this RPC
* completes.
*
*
* bool end = 2;
* @return This builder for chaining.
*/
public Builder clearEnd() {
bitField0_ = (bitField0_ & ~0x00000002);
end_ = 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:grpc.channelz.v1.GetServersResponse)
}
// @@protoc_insertion_point(class_scope:grpc.channelz.v1.GetServersResponse)
private static final io.grpc.channelz.v1.GetServersResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.grpc.channelz.v1.GetServersResponse();
}
public static io.grpc.channelz.v1.GetServersResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetServersResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.grpc.channelz.v1.GetServersResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}