Package io.grpc.channelz.v1
Class ChannelRef
- java.lang.Object
- 
- com.google.protobuf.AbstractMessageLite
- 
- com.google.protobuf.AbstractMessage
- 
- com.google.protobuf.GeneratedMessageV3
- 
- io.grpc.channelz.v1.ChannelRef
 
 
 
 
- 
- All Implemented Interfaces:
- Message,- MessageLite,- MessageLiteOrBuilder,- MessageOrBuilder,- ChannelRefOrBuilder,- Serializable
 
 public final class ChannelRef extends GeneratedMessageV3 implements ChannelRefOrBuilder ChannelRef is a reference to a Channel. Protobuf typegrpc.channelz.v1.ChannelRef- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classChannelRef.BuilderChannelRef is a reference to a Channel.- 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, GeneratedMessageV3.ExtendableMessage<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
 - 
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLiteAbstractMessageLite.InternalOneOfEnum
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static intCHANNEL_ID_FIELD_NUMBERstatic intNAME_FIELD_NUMBER- 
Fields inherited from class com.google.protobuf.GeneratedMessageV3alwaysUseFieldBuilders, unknownFields
 - 
Fields inherited from class com.google.protobuf.AbstractMessagememoizedSize
 - 
Fields inherited from class com.google.protobuf.AbstractMessageLitememoizedHashCode
 
- 
 - 
Method Summary- 
Methods inherited from class com.google.protobuf.GeneratedMessageV3canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTag
 - 
Methods inherited from class com.google.protobuf.AbstractMessagefindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
 - 
Methods inherited from class com.google.protobuf.AbstractMessageLiteaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.google.protobuf.MessageLitetoByteArray, toByteString, writeDelimitedTo, writeTo
 - 
Methods inherited from interface com.google.protobuf.MessageOrBuilderfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 
- 
 
- 
- 
- 
Field Detail- 
CHANNEL_ID_FIELD_NUMBERpublic static final int CHANNEL_ID_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
NAME_FIELD_NUMBERpublic static final int NAME_FIELD_NUMBER - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
newInstanceprotected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) - Overrides:
- newInstancein class- GeneratedMessageV3
 
 - 
getDescriptorpublic static final Descriptors.Descriptor getDescriptor() 
 - 
internalGetFieldAccessorTableprotected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() - Specified by:
- internalGetFieldAccessorTablein class- GeneratedMessageV3
 
 - 
getChannelIdpublic long getChannelId() The globally unique id for this channel. Must be a positive number. int64 channel_id = 1;- Specified by:
- getChannelIdin interface- ChannelRefOrBuilder
- Returns:
- The channelId.
 
 - 
getNamepublic String getName() An optional name associated with the channel. string name = 2;- Specified by:
- getNamein interface- ChannelRefOrBuilder
- Returns:
- The name.
 
 - 
getNameBytespublic ByteString getNameBytes() An optional name associated with the channel. string name = 2;- Specified by:
- getNameBytesin interface- ChannelRefOrBuilder
- Returns:
- The bytes for name.
 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- MessageLiteOrBuilder
- Overrides:
- isInitializedin class- GeneratedMessageV3
 
 - 
writeTopublic void writeTo(CodedOutputStream output) throws IOException - Specified by:
- writeToin interface- MessageLite
- Overrides:
- writeToin class- GeneratedMessageV3
- Throws:
- IOException
 
 - 
getSerializedSizepublic int getSerializedSize() - Specified by:
- getSerializedSizein interface- MessageLite
- Overrides:
- getSerializedSizein class- GeneratedMessageV3
 
 - 
equalspublic boolean equals(Object obj) - Specified by:
- equalsin interface- Message
- Overrides:
- equalsin class- AbstractMessage
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein interface- Message
- Overrides:
- hashCodein class- AbstractMessage
 
 - 
parseFrompublic static ChannelRef parseFrom(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
- InvalidProtocolBufferException
 
 - 
parseFrompublic static ChannelRef parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
- InvalidProtocolBufferException
 
 - 
parseFrompublic static ChannelRef parseFrom(ByteString data) throws InvalidProtocolBufferException - Throws:
- InvalidProtocolBufferException
 
 - 
parseFrompublic static ChannelRef parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
- InvalidProtocolBufferException
 
 - 
parseFrompublic static ChannelRef parseFrom(byte[] data) throws InvalidProtocolBufferException - Throws:
- InvalidProtocolBufferException
 
 - 
parseFrompublic static ChannelRef parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
- InvalidProtocolBufferException
 
 - 
parseFrompublic static ChannelRef parseFrom(InputStream input) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static ChannelRef parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
parseDelimitedFrompublic static ChannelRef parseDelimitedFrom(InputStream input) throws IOException - Throws:
- IOException
 
 - 
parseDelimitedFrompublic static ChannelRef parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static ChannelRef parseFrom(CodedInputStream input) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static ChannelRef parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
newBuilderForTypepublic ChannelRef.Builder newBuilderForType() - Specified by:
- newBuilderForTypein interface- Message
- Specified by:
- newBuilderForTypein interface- MessageLite
 
 - 
newBuilderpublic static ChannelRef.Builder newBuilder() 
 - 
newBuilderpublic static ChannelRef.Builder newBuilder(ChannelRef prototype) 
 - 
toBuilderpublic ChannelRef.Builder toBuilder() - Specified by:
- toBuilderin interface- Message
- Specified by:
- toBuilderin interface- MessageLite
 
 - 
newBuilderForTypeprotected ChannelRef.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent) - Specified by:
- newBuilderForTypein class- GeneratedMessageV3
 
 - 
getDefaultInstancepublic static ChannelRef getDefaultInstance() 
 - 
parserpublic static Parser<ChannelRef> parser() 
 - 
getParserForTypepublic Parser<ChannelRef> getParserForType() - Specified by:
- getParserForTypein interface- Message
- Specified by:
- getParserForTypein interface- MessageLite
- Overrides:
- getParserForTypein class- GeneratedMessageV3
 
 - 
getDefaultInstanceForTypepublic ChannelRef getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- MessageOrBuilder
 
 
- 
 
-