public final class GetServersResponse extends GeneratedMessageV3 implements GetServersResponseOrBuilder
grpc.channelz.v1.GetServersResponse
Modifier and Type | Class and Description |
---|---|
static class |
GetServersResponse.Builder
Protobuf type
grpc.channelz.v1.GetServersResponse |
GeneratedMessageV3.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
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
END_FIELD_NUMBER |
static int |
SERVER_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int SERVER_FIELD_NUMBER
public static final int END_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public List<Server> getServerList()
list of servers that the connection detail service knows about. Sorted in ascending server_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Server server = 1;
getServerList
in interface GetServersResponseOrBuilder
public List<? extends ServerOrBuilder> getServerOrBuilderList()
list of servers that the connection detail service knows about. Sorted in ascending server_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Server server = 1;
getServerOrBuilderList
in interface GetServersResponseOrBuilder
public int getServerCount()
list of servers that the connection detail service knows about. Sorted in ascending server_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Server server = 1;
getServerCount
in interface GetServersResponseOrBuilder
public Server getServer(int index)
list of servers that the connection detail service knows about. Sorted in ascending server_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Server server = 1;
getServer
in interface GetServersResponseOrBuilder
public ServerOrBuilder getServerOrBuilder(int index)
list of servers that the connection detail service knows about. Sorted in ascending server_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Server server = 1;
getServerOrBuilder
in interface GetServersResponseOrBuilder
public boolean getEnd()
If set, indicates that the list of servers is the final list. Requesting more servers will only return more if they are created after this RPC completes.
bool end = 2;
getEnd
in interface GetServersResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static GetServersResponse parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GetServersResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GetServersResponse parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GetServersResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GetServersResponse parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GetServersResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GetServersResponse parseFrom(InputStream input) throws IOException
IOException
public static GetServersResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GetServersResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static GetServersResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GetServersResponse parseFrom(CodedInputStream input) throws IOException
IOException
public static GetServersResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public GetServersResponse.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static GetServersResponse.Builder newBuilder()
public static GetServersResponse.Builder newBuilder(GetServersResponse prototype)
public GetServersResponse.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected GetServersResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static GetServersResponse getDefaultInstance()
public static Parser<GetServersResponse> parser()
public Parser<GetServersResponse> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public GetServersResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder