mirror of https://github.com/grpc/grpc-java.git
services: update channelz.proto to refer to sockets as socket_ref (#4203)
This is more consistent with the other fields.
This commit is contained in:
parent
c3c8bc7ab6
commit
f017a0657c
|
@ -22,7 +22,7 @@ private static final long serialVersionUID = 0L;
|
|||
private Channel() {
|
||||
channelRef_ = java.util.Collections.emptyList();
|
||||
subchannelRef_ = java.util.Collections.emptyList();
|
||||
socket_ = java.util.Collections.emptyList();
|
||||
socketRef_ = java.util.Collections.emptyList();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
|
@ -102,10 +102,10 @@ private static final long serialVersionUID = 0L;
|
|||
}
|
||||
case 42: {
|
||||
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
socket_ = new java.util.ArrayList<io.grpc.channelz.v1.SocketRef>();
|
||||
socketRef_ = new java.util.ArrayList<io.grpc.channelz.v1.SocketRef>();
|
||||
mutable_bitField0_ |= 0x00000010;
|
||||
}
|
||||
socket_.add(
|
||||
socketRef_.add(
|
||||
input.readMessage(io.grpc.channelz.v1.SocketRef.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ private static final long serialVersionUID = 0L;
|
|||
subchannelRef_ = java.util.Collections.unmodifiableList(subchannelRef_);
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
socket_ = java.util.Collections.unmodifiableList(socket_);
|
||||
socketRef_ = java.util.Collections.unmodifiableList(socketRef_);
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
|
@ -344,59 +344,59 @@ private static final long serialVersionUID = 0L;
|
|||
return subchannelRef_.get(index);
|
||||
}
|
||||
|
||||
public static final int SOCKET_FIELD_NUMBER = 5;
|
||||
private java.util.List<io.grpc.channelz.v1.SocketRef> socket_;
|
||||
public static final int SOCKET_REF_FIELD_NUMBER = 5;
|
||||
private java.util.List<io.grpc.channelz.v1.SocketRef> socketRef_;
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public java.util.List<io.grpc.channelz.v1.SocketRef> getSocketList() {
|
||||
return socket_;
|
||||
public java.util.List<io.grpc.channelz.v1.SocketRef> getSocketRefList() {
|
||||
return socketRef_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public java.util.List<? extends io.grpc.channelz.v1.SocketRefOrBuilder>
|
||||
getSocketOrBuilderList() {
|
||||
return socket_;
|
||||
getSocketRefOrBuilderList() {
|
||||
return socketRef_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public int getSocketCount() {
|
||||
return socket_.size();
|
||||
public int getSocketRefCount() {
|
||||
return socketRef_.size();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public io.grpc.channelz.v1.SocketRef getSocket(int index) {
|
||||
return socket_.get(index);
|
||||
public io.grpc.channelz.v1.SocketRef getSocketRef(int index) {
|
||||
return socketRef_.get(index);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public io.grpc.channelz.v1.SocketRefOrBuilder getSocketOrBuilder(
|
||||
public io.grpc.channelz.v1.SocketRefOrBuilder getSocketRefOrBuilder(
|
||||
int index) {
|
||||
return socket_.get(index);
|
||||
return socketRef_.get(index);
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
|
@ -423,8 +423,8 @@ private static final long serialVersionUID = 0L;
|
|||
for (int i = 0; i < subchannelRef_.size(); i++) {
|
||||
output.writeMessage(4, subchannelRef_.get(i));
|
||||
}
|
||||
for (int i = 0; i < socket_.size(); i++) {
|
||||
output.writeMessage(5, socket_.get(i));
|
||||
for (int i = 0; i < socketRef_.size(); i++) {
|
||||
output.writeMessage(5, socketRef_.get(i));
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
@ -450,9 +450,9 @@ private static final long serialVersionUID = 0L;
|
|||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(4, subchannelRef_.get(i));
|
||||
}
|
||||
for (int i = 0; i < socket_.size(); i++) {
|
||||
for (int i = 0; i < socketRef_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(5, socket_.get(i));
|
||||
.computeMessageSize(5, socketRef_.get(i));
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
|
@ -484,8 +484,8 @@ private static final long serialVersionUID = 0L;
|
|||
.equals(other.getChannelRefList());
|
||||
result = result && getSubchannelRefList()
|
||||
.equals(other.getSubchannelRefList());
|
||||
result = result && getSocketList()
|
||||
.equals(other.getSocketList());
|
||||
result = result && getSocketRefList()
|
||||
.equals(other.getSocketRefList());
|
||||
result = result && unknownFields.equals(other.unknownFields);
|
||||
return result;
|
||||
}
|
||||
|
@ -513,9 +513,9 @@ private static final long serialVersionUID = 0L;
|
|||
hash = (37 * hash) + SUBCHANNEL_REF_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getSubchannelRefList().hashCode();
|
||||
}
|
||||
if (getSocketCount() > 0) {
|
||||
hash = (37 * hash) + SOCKET_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getSocketList().hashCode();
|
||||
if (getSocketRefCount() > 0) {
|
||||
hash = (37 * hash) + SOCKET_REF_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getSocketRefList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
|
@ -648,7 +648,7 @@ private static final long serialVersionUID = 0L;
|
|||
.alwaysUseFieldBuilders) {
|
||||
getChannelRefFieldBuilder();
|
||||
getSubchannelRefFieldBuilder();
|
||||
getSocketFieldBuilder();
|
||||
getSocketRefFieldBuilder();
|
||||
}
|
||||
}
|
||||
public Builder clear() {
|
||||
|
@ -677,11 +677,11 @@ private static final long serialVersionUID = 0L;
|
|||
} else {
|
||||
subchannelRefBuilder_.clear();
|
||||
}
|
||||
if (socketBuilder_ == null) {
|
||||
socket_ = java.util.Collections.emptyList();
|
||||
if (socketRefBuilder_ == null) {
|
||||
socketRef_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
} else {
|
||||
socketBuilder_.clear();
|
||||
socketRefBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -735,14 +735,14 @@ private static final long serialVersionUID = 0L;
|
|||
} else {
|
||||
result.subchannelRef_ = subchannelRefBuilder_.build();
|
||||
}
|
||||
if (socketBuilder_ == null) {
|
||||
if (socketRefBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
socket_ = java.util.Collections.unmodifiableList(socket_);
|
||||
socketRef_ = java.util.Collections.unmodifiableList(socketRef_);
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
}
|
||||
result.socket_ = socket_;
|
||||
result.socketRef_ = socketRef_;
|
||||
} else {
|
||||
result.socket_ = socketBuilder_.build();
|
||||
result.socketRef_ = socketRefBuilder_.build();
|
||||
}
|
||||
result.bitField0_ = to_bitField0_;
|
||||
onBuilt();
|
||||
|
@ -844,29 +844,29 @@ private static final long serialVersionUID = 0L;
|
|||
}
|
||||
}
|
||||
}
|
||||
if (socketBuilder_ == null) {
|
||||
if (!other.socket_.isEmpty()) {
|
||||
if (socket_.isEmpty()) {
|
||||
socket_ = other.socket_;
|
||||
if (socketRefBuilder_ == null) {
|
||||
if (!other.socketRef_.isEmpty()) {
|
||||
if (socketRef_.isEmpty()) {
|
||||
socketRef_ = other.socketRef_;
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
} else {
|
||||
ensureSocketIsMutable();
|
||||
socket_.addAll(other.socket_);
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.addAll(other.socketRef_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (!other.socket_.isEmpty()) {
|
||||
if (socketBuilder_.isEmpty()) {
|
||||
socketBuilder_.dispose();
|
||||
socketBuilder_ = null;
|
||||
socket_ = other.socket_;
|
||||
if (!other.socketRef_.isEmpty()) {
|
||||
if (socketRefBuilder_.isEmpty()) {
|
||||
socketRefBuilder_.dispose();
|
||||
socketRefBuilder_ = null;
|
||||
socketRef_ = other.socketRef_;
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
socketBuilder_ =
|
||||
socketRefBuilder_ =
|
||||
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
||||
getSocketFieldBuilder() : null;
|
||||
getSocketRefFieldBuilder() : null;
|
||||
} else {
|
||||
socketBuilder_.addAllMessages(other.socket_);
|
||||
socketRefBuilder_.addAllMessages(other.socketRef_);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1918,30 +1918,30 @@ private static final long serialVersionUID = 0L;
|
|||
return subchannelRefBuilder_;
|
||||
}
|
||||
|
||||
private java.util.List<io.grpc.channelz.v1.SocketRef> socket_ =
|
||||
private java.util.List<io.grpc.channelz.v1.SocketRef> socketRef_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureSocketIsMutable() {
|
||||
private void ensureSocketRefIsMutable() {
|
||||
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
socket_ = new java.util.ArrayList<io.grpc.channelz.v1.SocketRef>(socket_);
|
||||
socketRef_ = new java.util.ArrayList<io.grpc.channelz.v1.SocketRef>(socketRef_);
|
||||
bitField0_ |= 0x00000010;
|
||||
}
|
||||
}
|
||||
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.grpc.channelz.v1.SocketRef, io.grpc.channelz.v1.SocketRef.Builder, io.grpc.channelz.v1.SocketRefOrBuilder> socketBuilder_;
|
||||
io.grpc.channelz.v1.SocketRef, io.grpc.channelz.v1.SocketRef.Builder, io.grpc.channelz.v1.SocketRefOrBuilder> socketRefBuilder_;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public java.util.List<io.grpc.channelz.v1.SocketRef> getSocketList() {
|
||||
if (socketBuilder_ == null) {
|
||||
return java.util.Collections.unmodifiableList(socket_);
|
||||
public java.util.List<io.grpc.channelz.v1.SocketRef> getSocketRefList() {
|
||||
if (socketRefBuilder_ == null) {
|
||||
return java.util.Collections.unmodifiableList(socketRef_);
|
||||
} else {
|
||||
return socketBuilder_.getMessageList();
|
||||
return socketRefBuilder_.getMessageList();
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
@ -1949,13 +1949,13 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public int getSocketCount() {
|
||||
if (socketBuilder_ == null) {
|
||||
return socket_.size();
|
||||
public int getSocketRefCount() {
|
||||
if (socketRefBuilder_ == null) {
|
||||
return socketRef_.size();
|
||||
} else {
|
||||
return socketBuilder_.getCount();
|
||||
return socketRefBuilder_.getCount();
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
@ -1963,13 +1963,13 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public io.grpc.channelz.v1.SocketRef getSocket(int index) {
|
||||
if (socketBuilder_ == null) {
|
||||
return socket_.get(index);
|
||||
public io.grpc.channelz.v1.SocketRef getSocketRef(int index) {
|
||||
if (socketRefBuilder_ == null) {
|
||||
return socketRef_.get(index);
|
||||
} else {
|
||||
return socketBuilder_.getMessage(index);
|
||||
return socketRefBuilder_.getMessage(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
@ -1977,19 +1977,19 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder setSocket(
|
||||
public Builder setSocketRef(
|
||||
int index, io.grpc.channelz.v1.SocketRef value) {
|
||||
if (socketBuilder_ == null) {
|
||||
if (socketRefBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureSocketIsMutable();
|
||||
socket_.set(index, value);
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.set(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.setMessage(index, value);
|
||||
socketRefBuilder_.setMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -1998,16 +1998,16 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder setSocket(
|
||||
public Builder setSocketRef(
|
||||
int index, io.grpc.channelz.v1.SocketRef.Builder builderForValue) {
|
||||
if (socketBuilder_ == null) {
|
||||
ensureSocketIsMutable();
|
||||
socket_.set(index, builderForValue.build());
|
||||
if (socketRefBuilder_ == null) {
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.set(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.setMessage(index, builderForValue.build());
|
||||
socketRefBuilder_.setMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2016,18 +2016,18 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder addSocket(io.grpc.channelz.v1.SocketRef value) {
|
||||
if (socketBuilder_ == null) {
|
||||
public Builder addSocketRef(io.grpc.channelz.v1.SocketRef value) {
|
||||
if (socketRefBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureSocketIsMutable();
|
||||
socket_.add(value);
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.add(value);
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.addMessage(value);
|
||||
socketRefBuilder_.addMessage(value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2036,19 +2036,19 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder addSocket(
|
||||
public Builder addSocketRef(
|
||||
int index, io.grpc.channelz.v1.SocketRef value) {
|
||||
if (socketBuilder_ == null) {
|
||||
if (socketRefBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureSocketIsMutable();
|
||||
socket_.add(index, value);
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.add(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.addMessage(index, value);
|
||||
socketRefBuilder_.addMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2057,16 +2057,16 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder addSocket(
|
||||
public Builder addSocketRef(
|
||||
io.grpc.channelz.v1.SocketRef.Builder builderForValue) {
|
||||
if (socketBuilder_ == null) {
|
||||
ensureSocketIsMutable();
|
||||
socket_.add(builderForValue.build());
|
||||
if (socketRefBuilder_ == null) {
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.add(builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.addMessage(builderForValue.build());
|
||||
socketRefBuilder_.addMessage(builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2075,16 +2075,16 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder addSocket(
|
||||
public Builder addSocketRef(
|
||||
int index, io.grpc.channelz.v1.SocketRef.Builder builderForValue) {
|
||||
if (socketBuilder_ == null) {
|
||||
ensureSocketIsMutable();
|
||||
socket_.add(index, builderForValue.build());
|
||||
if (socketRefBuilder_ == null) {
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.add(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.addMessage(index, builderForValue.build());
|
||||
socketRefBuilder_.addMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2093,17 +2093,17 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder addAllSocket(
|
||||
public Builder addAllSocketRef(
|
||||
java.lang.Iterable<? extends io.grpc.channelz.v1.SocketRef> values) {
|
||||
if (socketBuilder_ == null) {
|
||||
ensureSocketIsMutable();
|
||||
if (socketRefBuilder_ == null) {
|
||||
ensureSocketRefIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, socket_);
|
||||
values, socketRef_);
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.addAllMessages(values);
|
||||
socketRefBuilder_.addAllMessages(values);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2112,15 +2112,15 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder clearSocket() {
|
||||
if (socketBuilder_ == null) {
|
||||
socket_ = java.util.Collections.emptyList();
|
||||
public Builder clearSocketRef() {
|
||||
if (socketRefBuilder_ == null) {
|
||||
socketRef_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.clear();
|
||||
socketRefBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2129,15 +2129,15 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder removeSocket(int index) {
|
||||
if (socketBuilder_ == null) {
|
||||
ensureSocketIsMutable();
|
||||
socket_.remove(index);
|
||||
public Builder removeSocketRef(int index) {
|
||||
if (socketRefBuilder_ == null) {
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.remove(index);
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.remove(index);
|
||||
socketRefBuilder_.remove(index);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2146,24 +2146,24 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public io.grpc.channelz.v1.SocketRef.Builder getSocketBuilder(
|
||||
public io.grpc.channelz.v1.SocketRef.Builder getSocketRefBuilder(
|
||||
int index) {
|
||||
return getSocketFieldBuilder().getBuilder(index);
|
||||
return getSocketRefFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public io.grpc.channelz.v1.SocketRefOrBuilder getSocketOrBuilder(
|
||||
public io.grpc.channelz.v1.SocketRefOrBuilder getSocketRefOrBuilder(
|
||||
int index) {
|
||||
if (socketBuilder_ == null) {
|
||||
return socket_.get(index); } else {
|
||||
return socketBuilder_.getMessageOrBuilder(index);
|
||||
if (socketRefBuilder_ == null) {
|
||||
return socketRef_.get(index); } else {
|
||||
return socketRefBuilder_.getMessageOrBuilder(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
@ -2171,14 +2171,14 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public java.util.List<? extends io.grpc.channelz.v1.SocketRefOrBuilder>
|
||||
getSocketOrBuilderList() {
|
||||
if (socketBuilder_ != null) {
|
||||
return socketBuilder_.getMessageOrBuilderList();
|
||||
getSocketRefOrBuilderList() {
|
||||
if (socketRefBuilder_ != null) {
|
||||
return socketRefBuilder_.getMessageOrBuilderList();
|
||||
} else {
|
||||
return java.util.Collections.unmodifiableList(socket_);
|
||||
return java.util.Collections.unmodifiableList(socketRef_);
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
@ -2186,10 +2186,10 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public io.grpc.channelz.v1.SocketRef.Builder addSocketBuilder() {
|
||||
return getSocketFieldBuilder().addBuilder(
|
||||
public io.grpc.channelz.v1.SocketRef.Builder addSocketRefBuilder() {
|
||||
return getSocketRefFieldBuilder().addBuilder(
|
||||
io.grpc.channelz.v1.SocketRef.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
|
@ -2197,11 +2197,11 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public io.grpc.channelz.v1.SocketRef.Builder addSocketBuilder(
|
||||
public io.grpc.channelz.v1.SocketRef.Builder addSocketRefBuilder(
|
||||
int index) {
|
||||
return getSocketFieldBuilder().addBuilder(
|
||||
return getSocketRefFieldBuilder().addBuilder(
|
||||
index, io.grpc.channelz.v1.SocketRef.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
|
@ -2209,25 +2209,25 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public java.util.List<io.grpc.channelz.v1.SocketRef.Builder>
|
||||
getSocketBuilderList() {
|
||||
return getSocketFieldBuilder().getBuilderList();
|
||||
getSocketRefBuilderList() {
|
||||
return getSocketRefFieldBuilder().getBuilderList();
|
||||
}
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.grpc.channelz.v1.SocketRef, io.grpc.channelz.v1.SocketRef.Builder, io.grpc.channelz.v1.SocketRefOrBuilder>
|
||||
getSocketFieldBuilder() {
|
||||
if (socketBuilder_ == null) {
|
||||
socketBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
getSocketRefFieldBuilder() {
|
||||
if (socketRefBuilder_ == null) {
|
||||
socketRefBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.grpc.channelz.v1.SocketRef, io.grpc.channelz.v1.SocketRef.Builder, io.grpc.channelz.v1.SocketRefOrBuilder>(
|
||||
socket_,
|
||||
socketRef_,
|
||||
((bitField0_ & 0x00000010) == 0x00000010),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
socket_ = null;
|
||||
socketRef_ = null;
|
||||
}
|
||||
return socketBuilder_;
|
||||
return socketRefBuilder_;
|
||||
}
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
|
|
|
@ -175,42 +175,42 @@ public interface ChannelOrBuilder extends
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
java.util.List<io.grpc.channelz.v1.SocketRef>
|
||||
getSocketList();
|
||||
getSocketRefList();
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
io.grpc.channelz.v1.SocketRef getSocket(int index);
|
||||
io.grpc.channelz.v1.SocketRef getSocketRef(int index);
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
int getSocketCount();
|
||||
int getSocketRefCount();
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
java.util.List<? extends io.grpc.channelz.v1.SocketRefOrBuilder>
|
||||
getSocketOrBuilderList();
|
||||
getSocketRefOrBuilderList();
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
io.grpc.channelz.v1.SocketRefOrBuilder getSocketOrBuilder(
|
||||
io.grpc.channelz.v1.SocketRefOrBuilder getSocketRefOrBuilder(
|
||||
int index);
|
||||
}
|
||||
|
|
|
@ -207,139 +207,139 @@ public final class ChannelzProto {
|
|||
"\031google/protobuf/any.proto\032\036google/proto" +
|
||||
"buf/duration.proto\032\037google/protobuf/time" +
|
||||
"stamp.proto\032\036google/protobuf/wrappers.pr" +
|
||||
"oto\"\353\001\n\007Channel\022&\n\003ref\030\001 \001(\0132\031.grpc.chan" +
|
||||
"oto\"\357\001\n\007Channel\022&\n\003ref\030\001 \001(\0132\031.grpc.chan" +
|
||||
"nelz.ChannelRef\022(\n\004data\030\002 \001(\0132\032.grpc.cha" +
|
||||
"nnelz.ChannelData\022.\n\013channel_ref\030\003 \003(\0132\031" +
|
||||
".grpc.channelz.ChannelRef\0224\n\016subchannel_" +
|
||||
"ref\030\004 \003(\0132\034.grpc.channelz.SubchannelRef\022" +
|
||||
"(\n\006socket\030\005 \003(\0132\030.grpc.channelz.SocketRe" +
|
||||
"f\"\361\001\n\nSubchannel\022)\n\003ref\030\001 \001(\0132\034.grpc.cha" +
|
||||
"nnelz.SubchannelRef\022(\n\004data\030\002 \001(\0132\032.grpc" +
|
||||
".channelz.ChannelData\022.\n\013channel_ref\030\003 \003" +
|
||||
"(\0132\031.grpc.channelz.ChannelRef\0224\n\016subchan" +
|
||||
"nel_ref\030\004 \003(\0132\034.grpc.channelz.Subchannel" +
|
||||
"Ref\022(\n\006socket\030\005 \003(\0132\030.grpc.channelz.Sock" +
|
||||
"etRef\"\341\002\n\013ChannelData\022/\n\005state\030\001 \001(\0162 .g" +
|
||||
"rpc.channelz.ChannelData.State\022\016\n\006target" +
|
||||
"\030\002 \001(\t\022*\n\005trace\030\003 \001(\0132\033.grpc.channelz.Ch" +
|
||||
"annelTrace\022\025\n\rcalls_started\030\004 \001(\003\022\027\n\017cal" +
|
||||
"ls_succeeded\030\005 \001(\003\022\024\n\014calls_failed\030\006 \001(\003" +
|
||||
"\022?\n\033last_call_started_timestamp\030\007 \001(\0132\032." +
|
||||
"google.protobuf.Timestamp\"^\n\005State\022\013\n\007UN" +
|
||||
"KNOWN\020\000\022\010\n\004IDLE\020\001\022\016\n\nCONNECTING\020\002\022\t\n\005REA" +
|
||||
"DY\020\003\022\025\n\021TRANSIENT_FAILURE\020\004\022\014\n\010SHUTDOWN\020" +
|
||||
"\005\"\016\n\014ChannelTrace\"F\n\nChannelRef\022\022\n\nchann" +
|
||||
"el_id\030\001 \001(\003\022\014\n\004name\030\002 \001(\tJ\004\010\003\020\004J\004\010\004\020\005J\004\010" +
|
||||
"\005\020\006J\004\010\006\020\007\"X\n\rSubchannelRef\022\025\n\rsubchannel" +
|
||||
"_id\030\007 \001(\003\022\014\n\004name\030\010 \001(\tJ\004\010\001\020\002J\004\010\002\020\003J\004\010\003\020" +
|
||||
"\004J\004\010\004\020\005J\004\010\005\020\006J\004\010\006\020\007\"P\n\tSocketRef\022\021\n\tsock" +
|
||||
"et_id\030\003 \001(\003\022\014\n\004name\030\004 \001(\tJ\004\010\001\020\002J\004\010\002\020\003J\004\010" +
|
||||
"\005\020\006J\004\010\006\020\007J\004\010\007\020\010J\004\010\010\020\t\"P\n\tServerRef\022\021\n\tse" +
|
||||
"rver_id\030\005 \001(\003\022\014\n\004name\030\006 \001(\tJ\004\010\001\020\002J\004\010\002\020\003J" +
|
||||
"\004\010\003\020\004J\004\010\004\020\005J\004\010\007\020\010J\004\010\010\020\t\"\211\001\n\006Server\022%\n\003re" +
|
||||
"f\030\001 \001(\0132\030.grpc.channelz.ServerRef\022\'\n\004dat" +
|
||||
"a\030\002 \001(\0132\031.grpc.channelz.ServerData\022/\n\rli" +
|
||||
"sten_socket\030\003 \003(\0132\030.grpc.channelz.Socket" +
|
||||
"Ref\"\305\001\n\nServerData\0220\n\005trace\030\001 \001(\0132!.grpc" +
|
||||
".channelz.ServerChannelTrace\022\025\n\rcalls_st" +
|
||||
"arted\030\002 \001(\003\022\027\n\017calls_succeeded\030\003 \001(\003\022\024\n\014" +
|
||||
"calls_failed\030\004 \001(\003\022?\n\033last_call_started_" +
|
||||
"timestamp\030\005 \001(\0132\032.google.protobuf.Timest" +
|
||||
"amp\"\024\n\022ServerChannelTrace\"\347\001\n\006Socket\022%\n\003" +
|
||||
"ref\030\001 \001(\0132\030.grpc.channelz.SocketRef\022\'\n\004d" +
|
||||
"ata\030\002 \001(\0132\031.grpc.channelz.SocketData\022%\n\005" +
|
||||
"local\030\003 \001(\0132\026.grpc.channelz.Address\022&\n\006r" +
|
||||
"emote\030\004 \001(\0132\026.grpc.channelz.Address\022)\n\010s" +
|
||||
"ecurity\030\005 \001(\0132\027.grpc.channelz.Security\022\023" +
|
||||
"\n\013remote_name\030\006 \001(\t\"\353\004\n\nSocketData\022\027\n\017st" +
|
||||
"reams_started\030\001 \001(\003\022\031\n\021streams_succeeded" +
|
||||
"\030\002 \001(\003\022\026\n\016streams_failed\030\003 \001(\003\022\025\n\rmessag" +
|
||||
"es_sent\030\004 \001(\003\022\031\n\021messages_received\030\005 \001(\003" +
|
||||
"\022\030\n\020keep_alives_sent\030\006 \001(\003\022G\n#last_local" +
|
||||
"_stream_created_timestamp\030\007 \001(\0132\032.google" +
|
||||
".protobuf.Timestamp\022H\n$last_remote_strea" +
|
||||
"m_created_timestamp\030\010 \001(\0132\032.google.proto" +
|
||||
"buf.Timestamp\022?\n\033last_message_sent_times" +
|
||||
"tamp\030\t \001(\0132\032.google.protobuf.Timestamp\022C" +
|
||||
"\n\037last_message_received_timestamp\030\n \001(\0132" +
|
||||
"\032.google.protobuf.Timestamp\022>\n\031local_flo" +
|
||||
"w_control_window\030\013 \001(\0132\033.google.protobuf" +
|
||||
".Int64Value\022?\n\032remote_flow_control_windo" +
|
||||
"w\030\014 \001(\0132\033.google.protobuf.Int64Value\022+\n\006" +
|
||||
"option\030\r \003(\0132\033.grpc.channelz.SocketOptio" +
|
||||
"n\"\337\002\n\007Address\022<\n\rtcpip_address\030\001 \001(\0132#.g" +
|
||||
"rpc.channelz.Address.TcpIpAddressH\000\0228\n\013u" +
|
||||
"ds_address\030\002 \001(\0132!.grpc.channelz.Address" +
|
||||
".UdsAddressH\000\022<\n\rother_address\030\003 \001(\0132#.g" +
|
||||
"rpc.channelz.Address.OtherAddressH\000\0320\n\014T" +
|
||||
"cpIpAddress\022\022\n\nip_address\030\001 \001(\014\022\014\n\004port\030" +
|
||||
"\002 \001(\005\032\036\n\nUdsAddress\022\020\n\010filename\030\001 \001(\t\032A\n" +
|
||||
"\014OtherAddress\022\014\n\004name\030\001 \001(\t\022#\n\005value\030\002 \001" +
|
||||
"(\0132\024.google.protobuf.AnyB\t\n\007address\"\237\002\n\010" +
|
||||
"Security\022*\n\003tls\030\001 \001(\0132\033.grpc.channelz.Se" +
|
||||
"curity.TlsH\000\0226\n\005other\030\002 \001(\0132%.grpc.chann" +
|
||||
"elz.Security.OtherSecurityH\000\032b\n\003Tls\022\024\n\014k" +
|
||||
"ey_exchange\030\001 \001(\t\022\016\n\006cipher\030\002 \001(\t\022\031\n\021loc" +
|
||||
"al_certificate\030\003 \001(\014\022\032\n\022remote_certifica" +
|
||||
"te\030\004 \001(\014\032B\n\rOtherSecurity\022\014\n\004name\030\001 \001(\t\022" +
|
||||
"#\n\005value\030\002 \001(\0132\024.google.protobuf.AnyB\007\n\005" +
|
||||
"model\"U\n\014SocketOption\022\014\n\004name\030\001 \001(\t\022\r\n\005v" +
|
||||
"alue\030\002 \001(\t\022(\n\nadditional\030\003 \001(\0132\024.google." +
|
||||
"protobuf.Any\"B\n\023SocketOptionTimeout\022+\n\010d" +
|
||||
"uration\030\001 \001(\0132\031.google.protobuf.Duration" +
|
||||
"\"Q\n\022SocketOptionLinger\022\016\n\006active\030\001 \001(\010\022+" +
|
||||
"\n\010duration\030\002 \001(\0132\031.google.protobuf.Durat" +
|
||||
"ion\"\256\005\n\023SocketOptionTcpInfo\022\022\n\ntcpi_stat" +
|
||||
"e\030\001 \001(\r\022\025\n\rtcpi_ca_state\030\002 \001(\r\022\030\n\020tcpi_r" +
|
||||
"etransmits\030\003 \001(\r\022\023\n\013tcpi_probes\030\004 \001(\r\022\024\n" +
|
||||
"\014tcpi_backoff\030\005 \001(\r\022\024\n\014tcpi_options\030\006 \001(" +
|
||||
"\r\022\027\n\017tcpi_snd_wscale\030\007 \001(\r\022\027\n\017tcpi_rcv_w" +
|
||||
"scale\030\010 \001(\r\022\020\n\010tcpi_rto\030\t \001(\r\022\020\n\010tcpi_at" +
|
||||
"o\030\n \001(\r\022\024\n\014tcpi_snd_mss\030\013 \001(\r\022\024\n\014tcpi_rc" +
|
||||
"v_mss\030\014 \001(\r\022\024\n\014tcpi_unacked\030\r \001(\r\022\023\n\013tcp" +
|
||||
"i_sacked\030\016 \001(\r\022\021\n\ttcpi_lost\030\017 \001(\r\022\024\n\014tcp" +
|
||||
"i_retrans\030\020 \001(\r\022\024\n\014tcpi_fackets\030\021 \001(\r\022\033\n" +
|
||||
"\023tcpi_last_data_sent\030\022 \001(\r\022\032\n\022tcpi_last_" +
|
||||
"ack_sent\030\023 \001(\r\022\033\n\023tcpi_last_data_recv\030\024 " +
|
||||
"\001(\r\022\032\n\022tcpi_last_ack_recv\030\025 \001(\r\022\021\n\ttcpi_" +
|
||||
"pmtu\030\026 \001(\r\022\031\n\021tcpi_rcv_ssthresh\030\027 \001(\r\022\020\n" +
|
||||
"\010tcpi_rtt\030\030 \001(\r\022\023\n\013tcpi_rttvar\030\031 \001(\r\022\031\n\021" +
|
||||
"tcpi_snd_ssthresh\030\032 \001(\r\022\025\n\rtcpi_snd_cwnd" +
|
||||
"\030\033 \001(\r\022\023\n\013tcpi_advmss\030\034 \001(\r\022\027\n\017tcpi_reor" +
|
||||
"dering\030\035 \001(\r\",\n\021GetServersRequest\022\027\n\017sta" +
|
||||
"rt_server_id\030\001 \001(\003\"H\n\022GetServersResponse" +
|
||||
"\022%\n\006server\030\001 \003(\0132\025.grpc.channelz.Server\022" +
|
||||
"\013\n\003end\030\002 \001(\010\"E\n\027GetServerSocketsRequest\022" +
|
||||
"\021\n\tserver_id\030\001 \001(\003\022\027\n\017start_socket_id\030\002 " +
|
||||
"\001(\003\"U\n\030GetServerSocketsResponse\022,\n\nsocke" +
|
||||
"t_ref\030\001 \003(\0132\030.grpc.channelz.SocketRef\022\013\n" +
|
||||
"\003end\030\002 \001(\010\"1\n\025GetTopChannelsRequest\022\030\n\020s" +
|
||||
"tart_channel_id\030\001 \001(\003\"N\n\026GetTopChannelsR" +
|
||||
"esponse\022\'\n\007channel\030\001 \003(\0132\026.grpc.channelz" +
|
||||
".Channel\022\013\n\003end\030\002 \001(\010\"\'\n\021GetChannelReque" +
|
||||
"st\022\022\n\nchannel_id\030\001 \001(\003\"=\n\022GetChannelResp" +
|
||||
"onse\022\'\n\007channel\030\001 \001(\0132\026.grpc.channelz.Ch" +
|
||||
"annel\"-\n\024GetSubchannelRequest\022\025\n\rsubchan" +
|
||||
"nel_id\030\001 \001(\003\"F\n\025GetSubchannelResponse\022-\n" +
|
||||
"\nsubchannel\030\001 \001(\0132\031.grpc.channelz.Subcha" +
|
||||
"nnel\"%\n\020GetSocketRequest\022\021\n\tsocket_id\030\001 " +
|
||||
"\001(\003\":\n\021GetSocketResponse\022%\n\006socket\030\001 \001(\013" +
|
||||
"2\025.grpc.channelz.Socket2\240\004\n\010Channelz\022]\n\016" +
|
||||
"GetTopChannels\022$.grpc.channelz.GetTopCha" +
|
||||
"nnelsRequest\032%.grpc.channelz.GetTopChann" +
|
||||
"elsResponse\022Q\n\nGetServers\022 .grpc.channel" +
|
||||
"z.GetServersRequest\032!.grpc.channelz.GetS" +
|
||||
"erversResponse\022c\n\020GetServerSockets\022&.grp" +
|
||||
"c.channelz.GetServerSocketsRequest\032\'.grp" +
|
||||
"c.channelz.GetServerSocketsResponse\022Q\n\nG" +
|
||||
"etChannel\022 .grpc.channelz.GetChannelRequ" +
|
||||
"est\032!.grpc.channelz.GetChannelResponse\022Z" +
|
||||
"\n\rGetSubchannel\022#.grpc.channelz.GetSubch" +
|
||||
"annelRequest\032$.grpc.channelz.GetSubchann" +
|
||||
"elResponse\022N\n\tGetSocket\022\037.grpc.channelz." +
|
||||
"GetSocketRequest\032 .grpc.channelz.GetSock" +
|
||||
"etResponseB&\n\023io.grpc.channelz.v1B\rChann" +
|
||||
"elzProtoP\001b\006proto3"
|
||||
",\n\nsocket_ref\030\005 \003(\0132\030.grpc.channelz.Sock" +
|
||||
"etRef\"\365\001\n\nSubchannel\022)\n\003ref\030\001 \001(\0132\034.grpc" +
|
||||
".channelz.SubchannelRef\022(\n\004data\030\002 \001(\0132\032." +
|
||||
"grpc.channelz.ChannelData\022.\n\013channel_ref" +
|
||||
"\030\003 \003(\0132\031.grpc.channelz.ChannelRef\0224\n\016sub" +
|
||||
"channel_ref\030\004 \003(\0132\034.grpc.channelz.Subcha" +
|
||||
"nnelRef\022,\n\nsocket_ref\030\005 \003(\0132\030.grpc.chann" +
|
||||
"elz.SocketRef\"\341\002\n\013ChannelData\022/\n\005state\030\001" +
|
||||
" \001(\0162 .grpc.channelz.ChannelData.State\022\016" +
|
||||
"\n\006target\030\002 \001(\t\022*\n\005trace\030\003 \001(\0132\033.grpc.cha" +
|
||||
"nnelz.ChannelTrace\022\025\n\rcalls_started\030\004 \001(" +
|
||||
"\003\022\027\n\017calls_succeeded\030\005 \001(\003\022\024\n\014calls_fail" +
|
||||
"ed\030\006 \001(\003\022?\n\033last_call_started_timestamp\030" +
|
||||
"\007 \001(\0132\032.google.protobuf.Timestamp\"^\n\005Sta" +
|
||||
"te\022\013\n\007UNKNOWN\020\000\022\010\n\004IDLE\020\001\022\016\n\nCONNECTING\020" +
|
||||
"\002\022\t\n\005READY\020\003\022\025\n\021TRANSIENT_FAILURE\020\004\022\014\n\010S" +
|
||||
"HUTDOWN\020\005\"\016\n\014ChannelTrace\"F\n\nChannelRef\022" +
|
||||
"\022\n\nchannel_id\030\001 \001(\003\022\014\n\004name\030\002 \001(\tJ\004\010\003\020\004J" +
|
||||
"\004\010\004\020\005J\004\010\005\020\006J\004\010\006\020\007\"X\n\rSubchannelRef\022\025\n\rsu" +
|
||||
"bchannel_id\030\007 \001(\003\022\014\n\004name\030\010 \001(\tJ\004\010\001\020\002J\004\010" +
|
||||
"\002\020\003J\004\010\003\020\004J\004\010\004\020\005J\004\010\005\020\006J\004\010\006\020\007\"P\n\tSocketRef" +
|
||||
"\022\021\n\tsocket_id\030\003 \001(\003\022\014\n\004name\030\004 \001(\tJ\004\010\001\020\002J" +
|
||||
"\004\010\002\020\003J\004\010\005\020\006J\004\010\006\020\007J\004\010\007\020\010J\004\010\010\020\t\"P\n\tServerR" +
|
||||
"ef\022\021\n\tserver_id\030\005 \001(\003\022\014\n\004name\030\006 \001(\tJ\004\010\001\020" +
|
||||
"\002J\004\010\002\020\003J\004\010\003\020\004J\004\010\004\020\005J\004\010\007\020\010J\004\010\010\020\t\"\211\001\n\006Serv" +
|
||||
"er\022%\n\003ref\030\001 \001(\0132\030.grpc.channelz.ServerRe" +
|
||||
"f\022\'\n\004data\030\002 \001(\0132\031.grpc.channelz.ServerDa" +
|
||||
"ta\022/\n\rlisten_socket\030\003 \003(\0132\030.grpc.channel" +
|
||||
"z.SocketRef\"\305\001\n\nServerData\0220\n\005trace\030\001 \001(" +
|
||||
"\0132!.grpc.channelz.ServerChannelTrace\022\025\n\r" +
|
||||
"calls_started\030\002 \001(\003\022\027\n\017calls_succeeded\030\003" +
|
||||
" \001(\003\022\024\n\014calls_failed\030\004 \001(\003\022?\n\033last_call_" +
|
||||
"started_timestamp\030\005 \001(\0132\032.google.protobu" +
|
||||
"f.Timestamp\"\024\n\022ServerChannelTrace\"\347\001\n\006So" +
|
||||
"cket\022%\n\003ref\030\001 \001(\0132\030.grpc.channelz.Socket" +
|
||||
"Ref\022\'\n\004data\030\002 \001(\0132\031.grpc.channelz.Socket" +
|
||||
"Data\022%\n\005local\030\003 \001(\0132\026.grpc.channelz.Addr" +
|
||||
"ess\022&\n\006remote\030\004 \001(\0132\026.grpc.channelz.Addr" +
|
||||
"ess\022)\n\010security\030\005 \001(\0132\027.grpc.channelz.Se" +
|
||||
"curity\022\023\n\013remote_name\030\006 \001(\t\"\353\004\n\nSocketDa" +
|
||||
"ta\022\027\n\017streams_started\030\001 \001(\003\022\031\n\021streams_s" +
|
||||
"ucceeded\030\002 \001(\003\022\026\n\016streams_failed\030\003 \001(\003\022\025" +
|
||||
"\n\rmessages_sent\030\004 \001(\003\022\031\n\021messages_receiv" +
|
||||
"ed\030\005 \001(\003\022\030\n\020keep_alives_sent\030\006 \001(\003\022G\n#la" +
|
||||
"st_local_stream_created_timestamp\030\007 \001(\0132" +
|
||||
"\032.google.protobuf.Timestamp\022H\n$last_remo" +
|
||||
"te_stream_created_timestamp\030\010 \001(\0132\032.goog" +
|
||||
"le.protobuf.Timestamp\022?\n\033last_message_se" +
|
||||
"nt_timestamp\030\t \001(\0132\032.google.protobuf.Tim" +
|
||||
"estamp\022C\n\037last_message_received_timestam" +
|
||||
"p\030\n \001(\0132\032.google.protobuf.Timestamp\022>\n\031l" +
|
||||
"ocal_flow_control_window\030\013 \001(\0132\033.google." +
|
||||
"protobuf.Int64Value\022?\n\032remote_flow_contr" +
|
||||
"ol_window\030\014 \001(\0132\033.google.protobuf.Int64V" +
|
||||
"alue\022+\n\006option\030\r \003(\0132\033.grpc.channelz.Soc" +
|
||||
"ketOption\"\337\002\n\007Address\022<\n\rtcpip_address\030\001" +
|
||||
" \001(\0132#.grpc.channelz.Address.TcpIpAddres" +
|
||||
"sH\000\0228\n\013uds_address\030\002 \001(\0132!.grpc.channelz" +
|
||||
".Address.UdsAddressH\000\022<\n\rother_address\030\003" +
|
||||
" \001(\0132#.grpc.channelz.Address.OtherAddres" +
|
||||
"sH\000\0320\n\014TcpIpAddress\022\022\n\nip_address\030\001 \001(\014\022" +
|
||||
"\014\n\004port\030\002 \001(\005\032\036\n\nUdsAddress\022\020\n\010filename\030" +
|
||||
"\001 \001(\t\032A\n\014OtherAddress\022\014\n\004name\030\001 \001(\t\022#\n\005v" +
|
||||
"alue\030\002 \001(\0132\024.google.protobuf.AnyB\t\n\007addr" +
|
||||
"ess\"\237\002\n\010Security\022*\n\003tls\030\001 \001(\0132\033.grpc.cha" +
|
||||
"nnelz.Security.TlsH\000\0226\n\005other\030\002 \001(\0132%.gr" +
|
||||
"pc.channelz.Security.OtherSecurityH\000\032b\n\003" +
|
||||
"Tls\022\024\n\014key_exchange\030\001 \001(\t\022\016\n\006cipher\030\002 \001(" +
|
||||
"\t\022\031\n\021local_certificate\030\003 \001(\014\022\032\n\022remote_c" +
|
||||
"ertificate\030\004 \001(\014\032B\n\rOtherSecurity\022\014\n\004nam" +
|
||||
"e\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.google.protobuf" +
|
||||
".AnyB\007\n\005model\"U\n\014SocketOption\022\014\n\004name\030\001 " +
|
||||
"\001(\t\022\r\n\005value\030\002 \001(\t\022(\n\nadditional\030\003 \001(\0132\024" +
|
||||
".google.protobuf.Any\"B\n\023SocketOptionTime" +
|
||||
"out\022+\n\010duration\030\001 \001(\0132\031.google.protobuf." +
|
||||
"Duration\"Q\n\022SocketOptionLinger\022\016\n\006active" +
|
||||
"\030\001 \001(\010\022+\n\010duration\030\002 \001(\0132\031.google.protob" +
|
||||
"uf.Duration\"\256\005\n\023SocketOptionTcpInfo\022\022\n\nt" +
|
||||
"cpi_state\030\001 \001(\r\022\025\n\rtcpi_ca_state\030\002 \001(\r\022\030" +
|
||||
"\n\020tcpi_retransmits\030\003 \001(\r\022\023\n\013tcpi_probes\030" +
|
||||
"\004 \001(\r\022\024\n\014tcpi_backoff\030\005 \001(\r\022\024\n\014tcpi_opti" +
|
||||
"ons\030\006 \001(\r\022\027\n\017tcpi_snd_wscale\030\007 \001(\r\022\027\n\017tc" +
|
||||
"pi_rcv_wscale\030\010 \001(\r\022\020\n\010tcpi_rto\030\t \001(\r\022\020\n" +
|
||||
"\010tcpi_ato\030\n \001(\r\022\024\n\014tcpi_snd_mss\030\013 \001(\r\022\024\n" +
|
||||
"\014tcpi_rcv_mss\030\014 \001(\r\022\024\n\014tcpi_unacked\030\r \001(" +
|
||||
"\r\022\023\n\013tcpi_sacked\030\016 \001(\r\022\021\n\ttcpi_lost\030\017 \001(" +
|
||||
"\r\022\024\n\014tcpi_retrans\030\020 \001(\r\022\024\n\014tcpi_fackets\030" +
|
||||
"\021 \001(\r\022\033\n\023tcpi_last_data_sent\030\022 \001(\r\022\032\n\022tc" +
|
||||
"pi_last_ack_sent\030\023 \001(\r\022\033\n\023tcpi_last_data" +
|
||||
"_recv\030\024 \001(\r\022\032\n\022tcpi_last_ack_recv\030\025 \001(\r\022" +
|
||||
"\021\n\ttcpi_pmtu\030\026 \001(\r\022\031\n\021tcpi_rcv_ssthresh\030" +
|
||||
"\027 \001(\r\022\020\n\010tcpi_rtt\030\030 \001(\r\022\023\n\013tcpi_rttvar\030\031" +
|
||||
" \001(\r\022\031\n\021tcpi_snd_ssthresh\030\032 \001(\r\022\025\n\rtcpi_" +
|
||||
"snd_cwnd\030\033 \001(\r\022\023\n\013tcpi_advmss\030\034 \001(\r\022\027\n\017t" +
|
||||
"cpi_reordering\030\035 \001(\r\",\n\021GetServersReques" +
|
||||
"t\022\027\n\017start_server_id\030\001 \001(\003\"H\n\022GetServers" +
|
||||
"Response\022%\n\006server\030\001 \003(\0132\025.grpc.channelz" +
|
||||
".Server\022\013\n\003end\030\002 \001(\010\"E\n\027GetServerSockets" +
|
||||
"Request\022\021\n\tserver_id\030\001 \001(\003\022\027\n\017start_sock" +
|
||||
"et_id\030\002 \001(\003\"U\n\030GetServerSocketsResponse\022" +
|
||||
",\n\nsocket_ref\030\001 \003(\0132\030.grpc.channelz.Sock" +
|
||||
"etRef\022\013\n\003end\030\002 \001(\010\"1\n\025GetTopChannelsRequ" +
|
||||
"est\022\030\n\020start_channel_id\030\001 \001(\003\"N\n\026GetTopC" +
|
||||
"hannelsResponse\022\'\n\007channel\030\001 \003(\0132\026.grpc." +
|
||||
"channelz.Channel\022\013\n\003end\030\002 \001(\010\"\'\n\021GetChan" +
|
||||
"nelRequest\022\022\n\nchannel_id\030\001 \001(\003\"=\n\022GetCha" +
|
||||
"nnelResponse\022\'\n\007channel\030\001 \001(\0132\026.grpc.cha" +
|
||||
"nnelz.Channel\"-\n\024GetSubchannelRequest\022\025\n" +
|
||||
"\rsubchannel_id\030\001 \001(\003\"F\n\025GetSubchannelRes" +
|
||||
"ponse\022-\n\nsubchannel\030\001 \001(\0132\031.grpc.channel" +
|
||||
"z.Subchannel\"%\n\020GetSocketRequest\022\021\n\tsock" +
|
||||
"et_id\030\001 \001(\003\":\n\021GetSocketResponse\022%\n\006sock" +
|
||||
"et\030\001 \001(\0132\025.grpc.channelz.Socket2\240\004\n\010Chan" +
|
||||
"nelz\022]\n\016GetTopChannels\022$.grpc.channelz.G" +
|
||||
"etTopChannelsRequest\032%.grpc.channelz.Get" +
|
||||
"TopChannelsResponse\022Q\n\nGetServers\022 .grpc" +
|
||||
".channelz.GetServersRequest\032!.grpc.chann" +
|
||||
"elz.GetServersResponse\022c\n\020GetServerSocke" +
|
||||
"ts\022&.grpc.channelz.GetServerSocketsReque" +
|
||||
"st\032\'.grpc.channelz.GetServerSocketsRespo" +
|
||||
"nse\022Q\n\nGetChannel\022 .grpc.channelz.GetCha" +
|
||||
"nnelRequest\032!.grpc.channelz.GetChannelRe" +
|
||||
"sponse\022Z\n\rGetSubchannel\022#.grpc.channelz." +
|
||||
"GetSubchannelRequest\032$.grpc.channelz.Get" +
|
||||
"SubchannelResponse\022N\n\tGetSocket\022\037.grpc.c" +
|
||||
"hannelz.GetSocketRequest\032 .grpc.channelz" +
|
||||
".GetSocketResponseB&\n\023io.grpc.channelz.v" +
|
||||
"1B\rChannelzProtoP\001b\006proto3"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||||
|
@ -362,13 +362,13 @@ public final class ChannelzProto {
|
|||
internal_static_grpc_channelz_Channel_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_grpc_channelz_Channel_descriptor,
|
||||
new java.lang.String[] { "Ref", "Data", "ChannelRef", "SubchannelRef", "Socket", });
|
||||
new java.lang.String[] { "Ref", "Data", "ChannelRef", "SubchannelRef", "SocketRef", });
|
||||
internal_static_grpc_channelz_Subchannel_descriptor =
|
||||
getDescriptor().getMessageTypes().get(1);
|
||||
internal_static_grpc_channelz_Subchannel_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_grpc_channelz_Subchannel_descriptor,
|
||||
new java.lang.String[] { "Ref", "Data", "ChannelRef", "SubchannelRef", "Socket", });
|
||||
new java.lang.String[] { "Ref", "Data", "ChannelRef", "SubchannelRef", "SocketRef", });
|
||||
internal_static_grpc_channelz_ChannelData_descriptor =
|
||||
getDescriptor().getMessageTypes().get(2);
|
||||
internal_static_grpc_channelz_ChannelData_fieldAccessorTable = new
|
||||
|
|
|
@ -23,7 +23,7 @@ private static final long serialVersionUID = 0L;
|
|||
private Subchannel() {
|
||||
channelRef_ = java.util.Collections.emptyList();
|
||||
subchannelRef_ = java.util.Collections.emptyList();
|
||||
socket_ = java.util.Collections.emptyList();
|
||||
socketRef_ = java.util.Collections.emptyList();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
|
@ -103,10 +103,10 @@ private static final long serialVersionUID = 0L;
|
|||
}
|
||||
case 42: {
|
||||
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
socket_ = new java.util.ArrayList<io.grpc.channelz.v1.SocketRef>();
|
||||
socketRef_ = new java.util.ArrayList<io.grpc.channelz.v1.SocketRef>();
|
||||
mutable_bitField0_ |= 0x00000010;
|
||||
}
|
||||
socket_.add(
|
||||
socketRef_.add(
|
||||
input.readMessage(io.grpc.channelz.v1.SocketRef.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
|
@ -125,7 +125,7 @@ private static final long serialVersionUID = 0L;
|
|||
subchannelRef_ = java.util.Collections.unmodifiableList(subchannelRef_);
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
socket_ = java.util.Collections.unmodifiableList(socket_);
|
||||
socketRef_ = java.util.Collections.unmodifiableList(socketRef_);
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
|
@ -345,59 +345,59 @@ private static final long serialVersionUID = 0L;
|
|||
return subchannelRef_.get(index);
|
||||
}
|
||||
|
||||
public static final int SOCKET_FIELD_NUMBER = 5;
|
||||
private java.util.List<io.grpc.channelz.v1.SocketRef> socket_;
|
||||
public static final int SOCKET_REF_FIELD_NUMBER = 5;
|
||||
private java.util.List<io.grpc.channelz.v1.SocketRef> socketRef_;
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public java.util.List<io.grpc.channelz.v1.SocketRef> getSocketList() {
|
||||
return socket_;
|
||||
public java.util.List<io.grpc.channelz.v1.SocketRef> getSocketRefList() {
|
||||
return socketRef_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public java.util.List<? extends io.grpc.channelz.v1.SocketRefOrBuilder>
|
||||
getSocketOrBuilderList() {
|
||||
return socket_;
|
||||
getSocketRefOrBuilderList() {
|
||||
return socketRef_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public int getSocketCount() {
|
||||
return socket_.size();
|
||||
public int getSocketRefCount() {
|
||||
return socketRef_.size();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public io.grpc.channelz.v1.SocketRef getSocket(int index) {
|
||||
return socket_.get(index);
|
||||
public io.grpc.channelz.v1.SocketRef getSocketRef(int index) {
|
||||
return socketRef_.get(index);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public io.grpc.channelz.v1.SocketRefOrBuilder getSocketOrBuilder(
|
||||
public io.grpc.channelz.v1.SocketRefOrBuilder getSocketRefOrBuilder(
|
||||
int index) {
|
||||
return socket_.get(index);
|
||||
return socketRef_.get(index);
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
|
@ -424,8 +424,8 @@ private static final long serialVersionUID = 0L;
|
|||
for (int i = 0; i < subchannelRef_.size(); i++) {
|
||||
output.writeMessage(4, subchannelRef_.get(i));
|
||||
}
|
||||
for (int i = 0; i < socket_.size(); i++) {
|
||||
output.writeMessage(5, socket_.get(i));
|
||||
for (int i = 0; i < socketRef_.size(); i++) {
|
||||
output.writeMessage(5, socketRef_.get(i));
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
@ -451,9 +451,9 @@ private static final long serialVersionUID = 0L;
|
|||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(4, subchannelRef_.get(i));
|
||||
}
|
||||
for (int i = 0; i < socket_.size(); i++) {
|
||||
for (int i = 0; i < socketRef_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(5, socket_.get(i));
|
||||
.computeMessageSize(5, socketRef_.get(i));
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
|
@ -485,8 +485,8 @@ private static final long serialVersionUID = 0L;
|
|||
.equals(other.getChannelRefList());
|
||||
result = result && getSubchannelRefList()
|
||||
.equals(other.getSubchannelRefList());
|
||||
result = result && getSocketList()
|
||||
.equals(other.getSocketList());
|
||||
result = result && getSocketRefList()
|
||||
.equals(other.getSocketRefList());
|
||||
result = result && unknownFields.equals(other.unknownFields);
|
||||
return result;
|
||||
}
|
||||
|
@ -514,9 +514,9 @@ private static final long serialVersionUID = 0L;
|
|||
hash = (37 * hash) + SUBCHANNEL_REF_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getSubchannelRefList().hashCode();
|
||||
}
|
||||
if (getSocketCount() > 0) {
|
||||
hash = (37 * hash) + SOCKET_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getSocketList().hashCode();
|
||||
if (getSocketRefCount() > 0) {
|
||||
hash = (37 * hash) + SOCKET_REF_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getSocketRefList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
|
@ -650,7 +650,7 @@ private static final long serialVersionUID = 0L;
|
|||
.alwaysUseFieldBuilders) {
|
||||
getChannelRefFieldBuilder();
|
||||
getSubchannelRefFieldBuilder();
|
||||
getSocketFieldBuilder();
|
||||
getSocketRefFieldBuilder();
|
||||
}
|
||||
}
|
||||
public Builder clear() {
|
||||
|
@ -679,11 +679,11 @@ private static final long serialVersionUID = 0L;
|
|||
} else {
|
||||
subchannelRefBuilder_.clear();
|
||||
}
|
||||
if (socketBuilder_ == null) {
|
||||
socket_ = java.util.Collections.emptyList();
|
||||
if (socketRefBuilder_ == null) {
|
||||
socketRef_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
} else {
|
||||
socketBuilder_.clear();
|
||||
socketRefBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -737,14 +737,14 @@ private static final long serialVersionUID = 0L;
|
|||
} else {
|
||||
result.subchannelRef_ = subchannelRefBuilder_.build();
|
||||
}
|
||||
if (socketBuilder_ == null) {
|
||||
if (socketRefBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
socket_ = java.util.Collections.unmodifiableList(socket_);
|
||||
socketRef_ = java.util.Collections.unmodifiableList(socketRef_);
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
}
|
||||
result.socket_ = socket_;
|
||||
result.socketRef_ = socketRef_;
|
||||
} else {
|
||||
result.socket_ = socketBuilder_.build();
|
||||
result.socketRef_ = socketRefBuilder_.build();
|
||||
}
|
||||
result.bitField0_ = to_bitField0_;
|
||||
onBuilt();
|
||||
|
@ -846,29 +846,29 @@ private static final long serialVersionUID = 0L;
|
|||
}
|
||||
}
|
||||
}
|
||||
if (socketBuilder_ == null) {
|
||||
if (!other.socket_.isEmpty()) {
|
||||
if (socket_.isEmpty()) {
|
||||
socket_ = other.socket_;
|
||||
if (socketRefBuilder_ == null) {
|
||||
if (!other.socketRef_.isEmpty()) {
|
||||
if (socketRef_.isEmpty()) {
|
||||
socketRef_ = other.socketRef_;
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
} else {
|
||||
ensureSocketIsMutable();
|
||||
socket_.addAll(other.socket_);
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.addAll(other.socketRef_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (!other.socket_.isEmpty()) {
|
||||
if (socketBuilder_.isEmpty()) {
|
||||
socketBuilder_.dispose();
|
||||
socketBuilder_ = null;
|
||||
socket_ = other.socket_;
|
||||
if (!other.socketRef_.isEmpty()) {
|
||||
if (socketRefBuilder_.isEmpty()) {
|
||||
socketRefBuilder_.dispose();
|
||||
socketRefBuilder_ = null;
|
||||
socketRef_ = other.socketRef_;
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
socketBuilder_ =
|
||||
socketRefBuilder_ =
|
||||
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
||||
getSocketFieldBuilder() : null;
|
||||
getSocketRefFieldBuilder() : null;
|
||||
} else {
|
||||
socketBuilder_.addAllMessages(other.socket_);
|
||||
socketRefBuilder_.addAllMessages(other.socketRef_);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1920,30 +1920,30 @@ private static final long serialVersionUID = 0L;
|
|||
return subchannelRefBuilder_;
|
||||
}
|
||||
|
||||
private java.util.List<io.grpc.channelz.v1.SocketRef> socket_ =
|
||||
private java.util.List<io.grpc.channelz.v1.SocketRef> socketRef_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureSocketIsMutable() {
|
||||
private void ensureSocketRefIsMutable() {
|
||||
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
socket_ = new java.util.ArrayList<io.grpc.channelz.v1.SocketRef>(socket_);
|
||||
socketRef_ = new java.util.ArrayList<io.grpc.channelz.v1.SocketRef>(socketRef_);
|
||||
bitField0_ |= 0x00000010;
|
||||
}
|
||||
}
|
||||
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.grpc.channelz.v1.SocketRef, io.grpc.channelz.v1.SocketRef.Builder, io.grpc.channelz.v1.SocketRefOrBuilder> socketBuilder_;
|
||||
io.grpc.channelz.v1.SocketRef, io.grpc.channelz.v1.SocketRef.Builder, io.grpc.channelz.v1.SocketRefOrBuilder> socketRefBuilder_;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public java.util.List<io.grpc.channelz.v1.SocketRef> getSocketList() {
|
||||
if (socketBuilder_ == null) {
|
||||
return java.util.Collections.unmodifiableList(socket_);
|
||||
public java.util.List<io.grpc.channelz.v1.SocketRef> getSocketRefList() {
|
||||
if (socketRefBuilder_ == null) {
|
||||
return java.util.Collections.unmodifiableList(socketRef_);
|
||||
} else {
|
||||
return socketBuilder_.getMessageList();
|
||||
return socketRefBuilder_.getMessageList();
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
@ -1951,13 +1951,13 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public int getSocketCount() {
|
||||
if (socketBuilder_ == null) {
|
||||
return socket_.size();
|
||||
public int getSocketRefCount() {
|
||||
if (socketRefBuilder_ == null) {
|
||||
return socketRef_.size();
|
||||
} else {
|
||||
return socketBuilder_.getCount();
|
||||
return socketRefBuilder_.getCount();
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
@ -1965,13 +1965,13 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public io.grpc.channelz.v1.SocketRef getSocket(int index) {
|
||||
if (socketBuilder_ == null) {
|
||||
return socket_.get(index);
|
||||
public io.grpc.channelz.v1.SocketRef getSocketRef(int index) {
|
||||
if (socketRefBuilder_ == null) {
|
||||
return socketRef_.get(index);
|
||||
} else {
|
||||
return socketBuilder_.getMessage(index);
|
||||
return socketRefBuilder_.getMessage(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
@ -1979,19 +1979,19 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder setSocket(
|
||||
public Builder setSocketRef(
|
||||
int index, io.grpc.channelz.v1.SocketRef value) {
|
||||
if (socketBuilder_ == null) {
|
||||
if (socketRefBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureSocketIsMutable();
|
||||
socket_.set(index, value);
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.set(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.setMessage(index, value);
|
||||
socketRefBuilder_.setMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2000,16 +2000,16 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder setSocket(
|
||||
public Builder setSocketRef(
|
||||
int index, io.grpc.channelz.v1.SocketRef.Builder builderForValue) {
|
||||
if (socketBuilder_ == null) {
|
||||
ensureSocketIsMutable();
|
||||
socket_.set(index, builderForValue.build());
|
||||
if (socketRefBuilder_ == null) {
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.set(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.setMessage(index, builderForValue.build());
|
||||
socketRefBuilder_.setMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2018,18 +2018,18 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder addSocket(io.grpc.channelz.v1.SocketRef value) {
|
||||
if (socketBuilder_ == null) {
|
||||
public Builder addSocketRef(io.grpc.channelz.v1.SocketRef value) {
|
||||
if (socketRefBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureSocketIsMutable();
|
||||
socket_.add(value);
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.add(value);
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.addMessage(value);
|
||||
socketRefBuilder_.addMessage(value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2038,19 +2038,19 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder addSocket(
|
||||
public Builder addSocketRef(
|
||||
int index, io.grpc.channelz.v1.SocketRef value) {
|
||||
if (socketBuilder_ == null) {
|
||||
if (socketRefBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureSocketIsMutable();
|
||||
socket_.add(index, value);
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.add(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.addMessage(index, value);
|
||||
socketRefBuilder_.addMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2059,16 +2059,16 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder addSocket(
|
||||
public Builder addSocketRef(
|
||||
io.grpc.channelz.v1.SocketRef.Builder builderForValue) {
|
||||
if (socketBuilder_ == null) {
|
||||
ensureSocketIsMutable();
|
||||
socket_.add(builderForValue.build());
|
||||
if (socketRefBuilder_ == null) {
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.add(builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.addMessage(builderForValue.build());
|
||||
socketRefBuilder_.addMessage(builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2077,16 +2077,16 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder addSocket(
|
||||
public Builder addSocketRef(
|
||||
int index, io.grpc.channelz.v1.SocketRef.Builder builderForValue) {
|
||||
if (socketBuilder_ == null) {
|
||||
ensureSocketIsMutable();
|
||||
socket_.add(index, builderForValue.build());
|
||||
if (socketRefBuilder_ == null) {
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.add(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.addMessage(index, builderForValue.build());
|
||||
socketRefBuilder_.addMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2095,17 +2095,17 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder addAllSocket(
|
||||
public Builder addAllSocketRef(
|
||||
java.lang.Iterable<? extends io.grpc.channelz.v1.SocketRef> values) {
|
||||
if (socketBuilder_ == null) {
|
||||
ensureSocketIsMutable();
|
||||
if (socketRefBuilder_ == null) {
|
||||
ensureSocketRefIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, socket_);
|
||||
values, socketRef_);
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.addAllMessages(values);
|
||||
socketRefBuilder_.addAllMessages(values);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2114,15 +2114,15 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder clearSocket() {
|
||||
if (socketBuilder_ == null) {
|
||||
socket_ = java.util.Collections.emptyList();
|
||||
public Builder clearSocketRef() {
|
||||
if (socketRefBuilder_ == null) {
|
||||
socketRef_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.clear();
|
||||
socketRefBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2131,15 +2131,15 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public Builder removeSocket(int index) {
|
||||
if (socketBuilder_ == null) {
|
||||
ensureSocketIsMutable();
|
||||
socket_.remove(index);
|
||||
public Builder removeSocketRef(int index) {
|
||||
if (socketRefBuilder_ == null) {
|
||||
ensureSocketRefIsMutable();
|
||||
socketRef_.remove(index);
|
||||
onChanged();
|
||||
} else {
|
||||
socketBuilder_.remove(index);
|
||||
socketRefBuilder_.remove(index);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -2148,24 +2148,24 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public io.grpc.channelz.v1.SocketRef.Builder getSocketBuilder(
|
||||
public io.grpc.channelz.v1.SocketRef.Builder getSocketRefBuilder(
|
||||
int index) {
|
||||
return getSocketFieldBuilder().getBuilder(index);
|
||||
return getSocketRefFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public io.grpc.channelz.v1.SocketRefOrBuilder getSocketOrBuilder(
|
||||
public io.grpc.channelz.v1.SocketRefOrBuilder getSocketRefOrBuilder(
|
||||
int index) {
|
||||
if (socketBuilder_ == null) {
|
||||
return socket_.get(index); } else {
|
||||
return socketBuilder_.getMessageOrBuilder(index);
|
||||
if (socketRefBuilder_ == null) {
|
||||
return socketRef_.get(index); } else {
|
||||
return socketRefBuilder_.getMessageOrBuilder(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
@ -2173,14 +2173,14 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public java.util.List<? extends io.grpc.channelz.v1.SocketRefOrBuilder>
|
||||
getSocketOrBuilderList() {
|
||||
if (socketBuilder_ != null) {
|
||||
return socketBuilder_.getMessageOrBuilderList();
|
||||
getSocketRefOrBuilderList() {
|
||||
if (socketRefBuilder_ != null) {
|
||||
return socketRefBuilder_.getMessageOrBuilderList();
|
||||
} else {
|
||||
return java.util.Collections.unmodifiableList(socket_);
|
||||
return java.util.Collections.unmodifiableList(socketRef_);
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
@ -2188,10 +2188,10 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public io.grpc.channelz.v1.SocketRef.Builder addSocketBuilder() {
|
||||
return getSocketFieldBuilder().addBuilder(
|
||||
public io.grpc.channelz.v1.SocketRef.Builder addSocketRefBuilder() {
|
||||
return getSocketRefFieldBuilder().addBuilder(
|
||||
io.grpc.channelz.v1.SocketRef.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
|
@ -2199,11 +2199,11 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public io.grpc.channelz.v1.SocketRef.Builder addSocketBuilder(
|
||||
public io.grpc.channelz.v1.SocketRef.Builder addSocketRefBuilder(
|
||||
int index) {
|
||||
return getSocketFieldBuilder().addBuilder(
|
||||
return getSocketRefFieldBuilder().addBuilder(
|
||||
index, io.grpc.channelz.v1.SocketRef.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
|
@ -2211,25 +2211,25 @@ private static final long serialVersionUID = 0L;
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
public java.util.List<io.grpc.channelz.v1.SocketRef.Builder>
|
||||
getSocketBuilderList() {
|
||||
return getSocketFieldBuilder().getBuilderList();
|
||||
getSocketRefBuilderList() {
|
||||
return getSocketRefFieldBuilder().getBuilderList();
|
||||
}
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.grpc.channelz.v1.SocketRef, io.grpc.channelz.v1.SocketRef.Builder, io.grpc.channelz.v1.SocketRefOrBuilder>
|
||||
getSocketFieldBuilder() {
|
||||
if (socketBuilder_ == null) {
|
||||
socketBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
getSocketRefFieldBuilder() {
|
||||
if (socketRefBuilder_ == null) {
|
||||
socketRefBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.grpc.channelz.v1.SocketRef, io.grpc.channelz.v1.SocketRef.Builder, io.grpc.channelz.v1.SocketRefOrBuilder>(
|
||||
socket_,
|
||||
socketRef_,
|
||||
((bitField0_ & 0x00000010) == 0x00000010),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
socket_ = null;
|
||||
socketRef_ = null;
|
||||
}
|
||||
return socketBuilder_;
|
||||
return socketRefBuilder_;
|
||||
}
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
|
|
|
@ -175,42 +175,42 @@ public interface SubchannelOrBuilder extends
|
|||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
java.util.List<io.grpc.channelz.v1.SocketRef>
|
||||
getSocketList();
|
||||
getSocketRefList();
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
io.grpc.channelz.v1.SocketRef getSocket(int index);
|
||||
io.grpc.channelz.v1.SocketRef getSocketRef(int index);
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
int getSocketCount();
|
||||
int getSocketRefCount();
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
java.util.List<? extends io.grpc.channelz.v1.SocketRefOrBuilder>
|
||||
getSocketOrBuilderList();
|
||||
getSocketRefOrBuilderList();
|
||||
/**
|
||||
* <pre>
|
||||
* There are no ordering guarantees on the order of sockets.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .grpc.channelz.SocketRef socket = 5;</code>
|
||||
* <code>repeated .grpc.channelz.SocketRef socket_ref = 5;</code>
|
||||
*/
|
||||
io.grpc.channelz.v1.SocketRefOrBuilder getSocketOrBuilder(
|
||||
io.grpc.channelz.v1.SocketRefOrBuilder getSocketRefOrBuilder(
|
||||
int index);
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ message Channel {
|
|||
repeated SubchannelRef subchannel_ref = 4;
|
||||
|
||||
// There are no ordering guarantees on the order of sockets.
|
||||
repeated SocketRef socket = 5;
|
||||
repeated SocketRef socket_ref = 5;
|
||||
}
|
||||
|
||||
// Subchannel is a logical grouping of channels, subchannels, and sockets.
|
||||
|
@ -55,7 +55,7 @@ message Subchannel {
|
|||
repeated SubchannelRef subchannel_ref = 4;
|
||||
|
||||
// There are no ordering guarantees on the order of sockets.
|
||||
repeated SocketRef socket = 5;
|
||||
repeated SocketRef socket_ref = 5;
|
||||
}
|
||||
|
||||
message ChannelData {
|
||||
|
|
Loading…
Reference in New Issue