public final class Subchannel extends 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.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| 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 |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| 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 Descriptors.Descriptor |
getDescriptor() |
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.
|
UnknownFieldSet |
getUnknownFields() |
boolean |
hasData()
Data specific to this channel.
|
int |
hashCode() |
boolean |
hasRef()
The identifier for this channel.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Subchannel.Builder |
newBuilder() |
static Subchannel.Builder |
newBuilder(Subchannel prototype) |
Subchannel.Builder |
newBuilderForType() |
protected Subchannel.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static Subchannel |
parseDelimitedFrom(InputStream input) |
static Subchannel |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Subchannel |
parseFrom(byte[] data) |
static Subchannel |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Subchannel |
parseFrom(ByteBuffer data) |
static Subchannel |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Subchannel |
parseFrom(ByteString data) |
static Subchannel |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Subchannel |
parseFrom(CodedInputStream input) |
static Subchannel |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Subchannel |
parseFrom(InputStream input) |
static Subchannel |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Subchannel> |
parser() |
Subchannel.Builder |
toBuilder() |
void |
writeTo(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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class 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 MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Subchannel parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Subchannel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Subchannel parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Subchannel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Subchannel parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Subchannel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Subchannel parseFrom(InputStream input) throws IOException
IOExceptionpublic static Subchannel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Subchannel parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Subchannel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Subchannel parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static Subchannel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Subchannel.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Subchannel.Builder newBuilder()
public static Subchannel.Builder newBuilder(Subchannel prototype)
public Subchannel.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Subchannel.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Subchannel getDefaultInstance()
public static Parser<Subchannel> parser()
public Parser<Subchannel> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Subchannel getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder