public final class Channel extends GeneratedMessageV3 implements ChannelOrBuilder
Channel is a logical grouping of channels, subchannels, and sockets.Protobuf type
grpc.channelz.v1.Channel| Modifier and Type | Class and Description |
|---|---|
static class |
Channel.Builder
Channel 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 Channel |
getDefaultInstance() |
Channel |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Parser<Channel> |
getParserForType() |
ChannelRef |
getRef()
The identifier for this channel.
|
ChannelRefOrBuilder |
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 Channel.Builder |
newBuilder() |
static Channel.Builder |
newBuilder(Channel prototype) |
Channel.Builder |
newBuilderForType() |
protected Channel.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static Channel |
parseDelimitedFrom(InputStream input) |
static Channel |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Channel |
parseFrom(byte[] data) |
static Channel |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Channel |
parseFrom(ByteBuffer data) |
static Channel |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Channel |
parseFrom(ByteString data) |
static Channel |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Channel |
parseFrom(CodedInputStream input) |
static Channel |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Channel |
parseFrom(InputStream input) |
static Channel |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Channel> |
parser() |
Channel.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. This should be set.
.grpc.channelz.v1.ChannelRef ref = 1;hasRef in interface ChannelOrBuilderpublic ChannelRef getRef()
The identifier for this channel. This should be set.
.grpc.channelz.v1.ChannelRef ref = 1;getRef in interface ChannelOrBuilderpublic ChannelRefOrBuilder getRefOrBuilder()
The identifier for this channel. This should be set.
.grpc.channelz.v1.ChannelRef ref = 1;getRefOrBuilder in interface ChannelOrBuilderpublic boolean hasData()
Data specific to this channel.
.grpc.channelz.v1.ChannelData data = 2;hasData in interface ChannelOrBuilderpublic ChannelData getData()
Data specific to this channel.
.grpc.channelz.v1.ChannelData data = 2;getData in interface ChannelOrBuilderpublic ChannelDataOrBuilder getDataOrBuilder()
Data specific to this channel.
.grpc.channelz.v1.ChannelData data = 2;getDataOrBuilder in interface ChannelOrBuilderpublic 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 ChannelOrBuilderpublic 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 ChannelOrBuilderpublic 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 ChannelOrBuilderpublic 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 ChannelOrBuilderpublic 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 ChannelOrBuilderpublic 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 ChannelOrBuilderpublic 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 ChannelOrBuilderpublic 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 ChannelOrBuilderpublic 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 ChannelOrBuilderpublic 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 ChannelOrBuilderpublic List<SocketRef> getSocketRefList()
There are no ordering guarantees on the order of sockets.
repeated .grpc.channelz.v1.SocketRef socket_ref = 5;getSocketRefList in interface ChannelOrBuilderpublic 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 ChannelOrBuilderpublic int getSocketRefCount()
There are no ordering guarantees on the order of sockets.
repeated .grpc.channelz.v1.SocketRef socket_ref = 5;getSocketRefCount in interface ChannelOrBuilderpublic 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 ChannelOrBuilderpublic 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 ChannelOrBuilderpublic 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 Channel parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Channel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Channel parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Channel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Channel parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Channel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Channel parseFrom(InputStream input) throws IOException
IOExceptionpublic static Channel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Channel parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Channel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Channel parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static Channel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Channel.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Channel.Builder newBuilder()
public static Channel.Builder newBuilder(Channel prototype)
public Channel.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Channel.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Channel getDefaultInstance()
public Parser<Channel> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Channel getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder