Package io.grpc.channelz.v1
Class GetServersResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GetServersResponse.Builder>
-
- io.grpc.channelz.v1.GetServersResponse.Builder
-
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,GetServersResponseOrBuilder
,Cloneable
- Enclosing class:
- GetServersResponse
public static final class GetServersResponse.Builder extends GeneratedMessageV3.Builder<GetServersResponse.Builder> implements GetServersResponseOrBuilder
Protobuf typegrpc.channelz.v1.GetServersResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetServersResponse.Builder
addAllServer(Iterable<? extends Server> values)
list of servers that the connection detail service knows about.GetServersResponse.Builder
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
GetServersResponse.Builder
addServer(int index, Server value)
list of servers that the connection detail service knows about.GetServersResponse.Builder
addServer(int index, Server.Builder builderForValue)
list of servers that the connection detail service knows about.GetServersResponse.Builder
addServer(Server value)
list of servers that the connection detail service knows about.GetServersResponse.Builder
addServer(Server.Builder builderForValue)
list of servers that the connection detail service knows about.Server.Builder
addServerBuilder()
list of servers that the connection detail service knows about.Server.Builder
addServerBuilder(int index)
list of servers that the connection detail service knows about.GetServersResponse
build()
GetServersResponse
buildPartial()
GetServersResponse.Builder
clear()
GetServersResponse.Builder
clearEnd()
If set, indicates that the list of servers is the final list.GetServersResponse.Builder
clearField(Descriptors.FieldDescriptor field)
GetServersResponse.Builder
clearOneof(Descriptors.OneofDescriptor oneof)
GetServersResponse.Builder
clearServer()
list of servers that the connection detail service knows about.GetServersResponse.Builder
clone()
GetServersResponse
getDefaultInstanceForType()
static Descriptors.Descriptor
getDescriptor()
Descriptors.Descriptor
getDescriptorForType()
boolean
getEnd()
If set, indicates that the list of servers is the final list.Server
getServer(int index)
list of servers that the connection detail service knows about.Server.Builder
getServerBuilder(int index)
list of servers that the connection detail service knows about.List<Server.Builder>
getServerBuilderList()
list of servers that the connection detail service knows about.int
getServerCount()
list of servers that the connection detail service knows about.List<Server>
getServerList()
list of servers that the connection detail service knows about.ServerOrBuilder
getServerOrBuilder(int index)
list of servers that the connection detail service knows about.List<? extends ServerOrBuilder>
getServerOrBuilderList()
list of servers that the connection detail service knows about.protected GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GetServersResponse.Builder
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
GetServersResponse.Builder
mergeFrom(Message other)
GetServersResponse.Builder
mergeFrom(GetServersResponse other)
GetServersResponse.Builder
mergeUnknownFields(UnknownFieldSet unknownFields)
GetServersResponse.Builder
removeServer(int index)
list of servers that the connection detail service knows about.GetServersResponse.Builder
setEnd(boolean value)
If set, indicates that the list of servers is the final list.GetServersResponse.Builder
setField(Descriptors.FieldDescriptor field, Object value)
GetServersResponse.Builder
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
GetServersResponse.Builder
setServer(int index, Server value)
list of servers that the connection detail service knows about.GetServersResponse.Builder
setServer(int index, Server.Builder builderForValue)
list of servers that the connection detail service knows about.GetServersResponse.Builder
setUnknownFields(UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<GetServersResponse.Builder>
-
clear
public GetServersResponse.Builder clear()
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<GetServersResponse.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<GetServersResponse.Builder>
-
getDefaultInstanceForType
public GetServersResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public GetServersResponse build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public GetServersResponse buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public GetServersResponse.Builder clone()
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<GetServersResponse.Builder>
-
setField
public GetServersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<GetServersResponse.Builder>
-
clearField
public GetServersResponse.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<GetServersResponse.Builder>
-
clearOneof
public GetServersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<GetServersResponse.Builder>
-
setRepeatedField
public GetServersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<GetServersResponse.Builder>
-
addRepeatedField
public GetServersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<GetServersResponse.Builder>
-
mergeFrom
public GetServersResponse.Builder mergeFrom(Message other)
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<GetServersResponse.Builder>
-
mergeFrom
public GetServersResponse.Builder mergeFrom(GetServersResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<GetServersResponse.Builder>
-
mergeFrom
public GetServersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<GetServersResponse.Builder>
- Throws:
IOException
-
getServerList
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;
- Specified by:
getServerList
in interfaceGetServersResponseOrBuilder
-
getServerCount
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;
- Specified by:
getServerCount
in interfaceGetServersResponseOrBuilder
-
getServer
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;
- Specified by:
getServer
in interfaceGetServersResponseOrBuilder
-
setServer
public GetServersResponse.Builder setServer(int index, Server value)
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;
-
setServer
public GetServersResponse.Builder setServer(int index, Server.Builder builderForValue)
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;
-
addServer
public GetServersResponse.Builder addServer(Server value)
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;
-
addServer
public GetServersResponse.Builder addServer(int index, Server value)
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;
-
addServer
public GetServersResponse.Builder addServer(Server.Builder builderForValue)
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;
-
addServer
public GetServersResponse.Builder addServer(int index, Server.Builder builderForValue)
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;
-
addAllServer
public GetServersResponse.Builder addAllServer(Iterable<? extends Server> values)
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;
-
clearServer
public GetServersResponse.Builder clearServer()
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;
-
removeServer
public GetServersResponse.Builder removeServer(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;
-
getServerBuilder
public Server.Builder getServerBuilder(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
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;
- Specified by:
getServerOrBuilder
in interfaceGetServersResponseOrBuilder
-
getServerOrBuilderList
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;
- Specified by:
getServerOrBuilderList
in interfaceGetServersResponseOrBuilder
-
addServerBuilder
public Server.Builder addServerBuilder()
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;
-
addServerBuilder
public Server.Builder addServerBuilder(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;
-
getServerBuilderList
public List<Server.Builder> getServerBuilderList()
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;
-
getEnd
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;
- Specified by:
getEnd
in interfaceGetServersResponseOrBuilder
- Returns:
- The end.
-
setEnd
public GetServersResponse.Builder setEnd(boolean value)
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;
- Parameters:
value
- The end to set.- Returns:
- This builder for chaining.
-
clearEnd
public GetServersResponse.Builder clearEnd()
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;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GetServersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<GetServersResponse.Builder>
-
mergeUnknownFields
public final GetServersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<GetServersResponse.Builder>
-
-