public final class Subchannel extends com.google.protobuf.GeneratedMessageV3 implements SubchannelOrBuilder
Subchannel is a logical grouping of channels, subchannels, and sockets. A subchannel is load balanced over by it's ancestorProtobuf type
grpc.channelz.v1.Subchannel| Modifier and Type | Class and Description |
|---|---|
static class |
Subchannel.Builder
Subchannel is a logical grouping of channels, subchannels, and sockets.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CHANNEL_REF_FIELD_NUMBER |
static int |
DATA_FIELD_NUMBER |
static int |
REF_FIELD_NUMBER |
static int |
SOCKET_REF_FIELD_NUMBER |
static int |
SUBCHANNEL_REF_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ChannelRef |
getChannelRef(int index)
There are no ordering guarantees on the order of channel refs.
|
int |
getChannelRefCount()
There are no ordering guarantees on the order of channel refs.
|
List<ChannelRef> |
getChannelRefList()
There are no ordering guarantees on the order of channel refs.
|
ChannelRefOrBuilder |
getChannelRefOrBuilder(int index)
There are no ordering guarantees on the order of channel refs.
|
List<? extends ChannelRefOrBuilder> |
getChannelRefOrBuilderList()
There are no ordering guarantees on the order of channel refs.
|
ChannelData |
getData()
Data specific to this channel.
|
ChannelDataOrBuilder |
getDataOrBuilder()
Data specific to this channel.
|
static Subchannel |
getDefaultInstance() |
Subchannel |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Subchannel> |
getParserForType() |
SubchannelRef |
getRef()
The identifier for this channel.
|
SubchannelRefOrBuilder |
getRefOrBuilder()
The identifier for this channel.
|
int |
getSerializedSize() |
SocketRef |
getSocketRef(int index)
There are no ordering guarantees on the order of sockets.
|
int |
getSocketRefCount()
There are no ordering guarantees on the order of sockets.
|
List<SocketRef> |
getSocketRefList()
There are no ordering guarantees on the order of sockets.
|
SocketRefOrBuilder |
getSocketRefOrBuilder(int index)
There are no ordering guarantees on the order of sockets.
|
List<? extends SocketRefOrBuilder> |
getSocketRefOrBuilderList()
There are no ordering guarantees on the order of sockets.
|
SubchannelRef |
getSubchannelRef(int index)
At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
|
int |
getSubchannelRefCount()
At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
|
List<SubchannelRef> |
getSubchannelRefList()
At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
|
SubchannelRefOrBuilder |
getSubchannelRefOrBuilder(int index)
At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
|
List<? extends SubchannelRefOrBuilder> |
getSubchannelRefOrBuilderList()
At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasData()
Data specific to this channel.
|
int |
hashCode() |
boolean |
hasRef()
The identifier for this channel.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Subchannel.Builder |
newBuilder() |
static Subchannel.Builder |
newBuilder(Subchannel prototype) |
Subchannel.Builder |
newBuilderForType() |
protected Subchannel.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Subchannel |
parseDelimitedFrom(InputStream input) |
static Subchannel |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Subchannel |
parseFrom(byte[] data) |
static Subchannel |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Subchannel |
parseFrom(ByteBuffer data) |
static Subchannel |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Subchannel |
parseFrom(com.google.protobuf.ByteString data) |
static Subchannel |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Subchannel |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Subchannel |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Subchannel |
parseFrom(InputStream input) |
static Subchannel |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Subchannel> |
parser() |
Subchannel.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REF_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public static final int CHANNEL_REF_FIELD_NUMBER
public static final int SUBCHANNEL_REF_FIELD_NUMBER
public static final int SOCKET_REF_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasRef()
The identifier for this channel.
.grpc.channelz.v1.SubchannelRef ref = 1;hasRef in interface SubchannelOrBuilderpublic SubchannelRef getRef()
The identifier for this channel.
.grpc.channelz.v1.SubchannelRef ref = 1;getRef in interface SubchannelOrBuilderpublic SubchannelRefOrBuilder getRefOrBuilder()
The identifier for this channel.
.grpc.channelz.v1.SubchannelRef ref = 1;getRefOrBuilder in interface SubchannelOrBuilderpublic boolean hasData()
Data specific to this channel.
.grpc.channelz.v1.ChannelData data = 2;hasData in interface SubchannelOrBuilderpublic ChannelData getData()
Data specific to this channel.
.grpc.channelz.v1.ChannelData data = 2;getData in interface SubchannelOrBuilderpublic ChannelDataOrBuilder getDataOrBuilder()
Data specific to this channel.
.grpc.channelz.v1.ChannelData data = 2;getDataOrBuilder in interface SubchannelOrBuilderpublic List<ChannelRef> getChannelRefList()
There are no ordering guarantees on the order of channel refs. There may not be cycles in the ref graph. A channel ref may be present in more than one channel or subchannel.
repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;getChannelRefList in interface SubchannelOrBuilderpublic List<? extends ChannelRefOrBuilder> getChannelRefOrBuilderList()
There are no ordering guarantees on the order of channel refs. There may not be cycles in the ref graph. A channel ref may be present in more than one channel or subchannel.
repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;getChannelRefOrBuilderList in interface SubchannelOrBuilderpublic int getChannelRefCount()
There are no ordering guarantees on the order of channel refs. There may not be cycles in the ref graph. A channel ref may be present in more than one channel or subchannel.
repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;getChannelRefCount in interface SubchannelOrBuilderpublic ChannelRef getChannelRef(int index)
There are no ordering guarantees on the order of channel refs. There may not be cycles in the ref graph. A channel ref may be present in more than one channel or subchannel.
repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;getChannelRef in interface SubchannelOrBuilderpublic ChannelRefOrBuilder getChannelRefOrBuilder(int index)
There are no ordering guarantees on the order of channel refs. There may not be cycles in the ref graph. A channel ref may be present in more than one channel or subchannel.
repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;getChannelRefOrBuilder in interface SubchannelOrBuilderpublic List<SubchannelRef> getSubchannelRefList()
At most one of 'channel_ref+subchannel_ref' and 'socket' is set. There are no ordering guarantees on the order of subchannel refs. There may not be cycles in the ref graph. A sub channel ref may be present in more than one channel or subchannel.
repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;getSubchannelRefList in interface SubchannelOrBuilderpublic List<? extends SubchannelRefOrBuilder> getSubchannelRefOrBuilderList()
At most one of 'channel_ref+subchannel_ref' and 'socket' is set. There are no ordering guarantees on the order of subchannel refs. There may not be cycles in the ref graph. A sub channel ref may be present in more than one channel or subchannel.
repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;getSubchannelRefOrBuilderList in interface SubchannelOrBuilderpublic int getSubchannelRefCount()
At most one of 'channel_ref+subchannel_ref' and 'socket' is set. There are no ordering guarantees on the order of subchannel refs. There may not be cycles in the ref graph. A sub channel ref may be present in more than one channel or subchannel.
repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;getSubchannelRefCount in interface SubchannelOrBuilderpublic SubchannelRef getSubchannelRef(int index)
At most one of 'channel_ref+subchannel_ref' and 'socket' is set. There are no ordering guarantees on the order of subchannel refs. There may not be cycles in the ref graph. A sub channel ref may be present in more than one channel or subchannel.
repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;getSubchannelRef in interface SubchannelOrBuilderpublic SubchannelRefOrBuilder getSubchannelRefOrBuilder(int index)
At most one of 'channel_ref+subchannel_ref' and 'socket' is set. There are no ordering guarantees on the order of subchannel refs. There may not be cycles in the ref graph. A sub channel ref may be present in more than one channel or subchannel.
repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;getSubchannelRefOrBuilder in interface SubchannelOrBuilderpublic List<SocketRef> getSocketRefList()
There are no ordering guarantees on the order of sockets.
repeated .grpc.channelz.v1.SocketRef socket_ref = 5;getSocketRefList in interface SubchannelOrBuilderpublic List<? extends SocketRefOrBuilder> getSocketRefOrBuilderList()
There are no ordering guarantees on the order of sockets.
repeated .grpc.channelz.v1.SocketRef socket_ref = 5;getSocketRefOrBuilderList in interface SubchannelOrBuilderpublic int getSocketRefCount()
There are no ordering guarantees on the order of sockets.
repeated .grpc.channelz.v1.SocketRef socket_ref = 5;getSocketRefCount in interface SubchannelOrBuilderpublic SocketRef getSocketRef(int index)
There are no ordering guarantees on the order of sockets.
repeated .grpc.channelz.v1.SocketRef socket_ref = 5;getSocketRef in interface SubchannelOrBuilderpublic SocketRefOrBuilder getSocketRefOrBuilder(int index)
There are no ordering guarantees on the order of sockets.
repeated .grpc.channelz.v1.SocketRef socket_ref = 5;getSocketRefOrBuilder in interface SubchannelOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Subchannel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Subchannel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Subchannel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Subchannel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Subchannel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Subchannel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Subchannel parseFrom(InputStream input) throws IOException
IOExceptionpublic static Subchannel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Subchannel parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Subchannel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Subchannel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Subchannel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Subchannel.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Subchannel.Builder newBuilder()
public static Subchannel.Builder newBuilder(Subchannel prototype)
public Subchannel.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Subchannel.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Subchannel getDefaultInstance()
public static com.google.protobuf.Parser<Subchannel> parser()
public com.google.protobuf.Parser<Subchannel> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Subchannel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder