Package io.grpc.channelz.v1
Class Server.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Server.Builder>
-
- io.grpc.channelz.v1.Server.Builder
-
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,ServerOrBuilder
,Cloneable
- Enclosing class:
- Server
public static final class Server.Builder extends GeneratedMessageV3.Builder<Server.Builder> implements ServerOrBuilder
Server represents a single server. There may be multiple servers in a single program.
Protobuf typegrpc.channelz.v1.Server
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Server.Builder
addAllListenSocket(Iterable<? extends SocketRef> values)
The sockets that the server is listening on.Server.Builder
addListenSocket(int index, SocketRef value)
The sockets that the server is listening on.Server.Builder
addListenSocket(int index, SocketRef.Builder builderForValue)
The sockets that the server is listening on.Server.Builder
addListenSocket(SocketRef value)
The sockets that the server is listening on.Server.Builder
addListenSocket(SocketRef.Builder builderForValue)
The sockets that the server is listening on.SocketRef.Builder
addListenSocketBuilder()
The sockets that the server is listening on.SocketRef.Builder
addListenSocketBuilder(int index)
The sockets that the server is listening on.Server.Builder
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Server
build()
Server
buildPartial()
Server.Builder
clear()
Server.Builder
clearData()
The associated data of the Server.Server.Builder
clearField(Descriptors.FieldDescriptor field)
Server.Builder
clearListenSocket()
The sockets that the server is listening on.Server.Builder
clearOneof(Descriptors.OneofDescriptor oneof)
Server.Builder
clearRef()
The identifier for a Server.Server.Builder
clone()
ServerData
getData()
The associated data of the Server.ServerData.Builder
getDataBuilder()
The associated data of the Server.ServerDataOrBuilder
getDataOrBuilder()
The associated data of the Server.Server
getDefaultInstanceForType()
static Descriptors.Descriptor
getDescriptor()
Descriptors.Descriptor
getDescriptorForType()
SocketRef
getListenSocket(int index)
The sockets that the server is listening on.SocketRef.Builder
getListenSocketBuilder(int index)
The sockets that the server is listening on.List<SocketRef.Builder>
getListenSocketBuilderList()
The sockets that the server is listening on.int
getListenSocketCount()
The sockets that the server is listening on.List<SocketRef>
getListenSocketList()
The sockets that the server is listening on.SocketRefOrBuilder
getListenSocketOrBuilder(int index)
The sockets that the server is listening on.List<? extends SocketRefOrBuilder>
getListenSocketOrBuilderList()
The sockets that the server is listening on.ServerRef
getRef()
The identifier for a Server.ServerRef.Builder
getRefBuilder()
The identifier for a Server.ServerRefOrBuilder
getRefOrBuilder()
The identifier for a Server.boolean
hasData()
The associated data of the Server.boolean
hasRef()
The identifier for a Server.protected GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Server.Builder
mergeData(ServerData value)
The associated data of the Server.Server.Builder
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Server.Builder
mergeFrom(Message other)
Server.Builder
mergeFrom(Server other)
Server.Builder
mergeRef(ServerRef value)
The identifier for a Server.Server.Builder
mergeUnknownFields(UnknownFieldSet unknownFields)
Server.Builder
removeListenSocket(int index)
The sockets that the server is listening on.Server.Builder
setData(ServerData value)
The associated data of the Server.Server.Builder
setData(ServerData.Builder builderForValue)
The associated data of the Server.Server.Builder
setField(Descriptors.FieldDescriptor field, Object value)
Server.Builder
setListenSocket(int index, SocketRef value)
The sockets that the server is listening on.Server.Builder
setListenSocket(int index, SocketRef.Builder builderForValue)
The sockets that the server is listening on.Server.Builder
setRef(ServerRef value)
The identifier for a Server.Server.Builder
setRef(ServerRef.Builder builderForValue)
The identifier for a Server.Server.Builder
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Server.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<Server.Builder>
-
clear
public Server.Builder clear()
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<Server.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<Server.Builder>
-
getDefaultInstanceForType
public Server getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public Server build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public Server buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public Server.Builder clone()
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<Server.Builder>
-
setField
public Server.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<Server.Builder>
-
clearField
public Server.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<Server.Builder>
-
clearOneof
public Server.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<Server.Builder>
-
setRepeatedField
public Server.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<Server.Builder>
-
addRepeatedField
public Server.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<Server.Builder>
-
mergeFrom
public Server.Builder mergeFrom(Message other)
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<Server.Builder>
-
mergeFrom
public Server.Builder mergeFrom(Server other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<Server.Builder>
-
mergeFrom
public Server.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<Server.Builder>
- Throws:
IOException
-
hasRef
public boolean hasRef()
The identifier for a Server. This should be set.
.grpc.channelz.v1.ServerRef ref = 1;
- Specified by:
hasRef
in interfaceServerOrBuilder
- Returns:
- Whether the ref field is set.
-
getRef
public ServerRef getRef()
The identifier for a Server. This should be set.
.grpc.channelz.v1.ServerRef ref = 1;
- Specified by:
getRef
in interfaceServerOrBuilder
- Returns:
- The ref.
-
setRef
public Server.Builder setRef(ServerRef value)
The identifier for a Server. This should be set.
.grpc.channelz.v1.ServerRef ref = 1;
-
setRef
public Server.Builder setRef(ServerRef.Builder builderForValue)
The identifier for a Server. This should be set.
.grpc.channelz.v1.ServerRef ref = 1;
-
mergeRef
public Server.Builder mergeRef(ServerRef value)
The identifier for a Server. This should be set.
.grpc.channelz.v1.ServerRef ref = 1;
-
clearRef
public Server.Builder clearRef()
The identifier for a Server. This should be set.
.grpc.channelz.v1.ServerRef ref = 1;
-
getRefBuilder
public ServerRef.Builder getRefBuilder()
The identifier for a Server. This should be set.
.grpc.channelz.v1.ServerRef ref = 1;
-
getRefOrBuilder
public ServerRefOrBuilder getRefOrBuilder()
The identifier for a Server. This should be set.
.grpc.channelz.v1.ServerRef ref = 1;
- Specified by:
getRefOrBuilder
in interfaceServerOrBuilder
-
hasData
public boolean hasData()
The associated data of the Server.
.grpc.channelz.v1.ServerData data = 2;
- Specified by:
hasData
in interfaceServerOrBuilder
- Returns:
- Whether the data field is set.
-
getData
public ServerData getData()
The associated data of the Server.
.grpc.channelz.v1.ServerData data = 2;
- Specified by:
getData
in interfaceServerOrBuilder
- Returns:
- The data.
-
setData
public Server.Builder setData(ServerData value)
The associated data of the Server.
.grpc.channelz.v1.ServerData data = 2;
-
setData
public Server.Builder setData(ServerData.Builder builderForValue)
The associated data of the Server.
.grpc.channelz.v1.ServerData data = 2;
-
mergeData
public Server.Builder mergeData(ServerData value)
The associated data of the Server.
.grpc.channelz.v1.ServerData data = 2;
-
clearData
public Server.Builder clearData()
The associated data of the Server.
.grpc.channelz.v1.ServerData data = 2;
-
getDataBuilder
public ServerData.Builder getDataBuilder()
The associated data of the Server.
.grpc.channelz.v1.ServerData data = 2;
-
getDataOrBuilder
public ServerDataOrBuilder getDataOrBuilder()
The associated data of the Server.
.grpc.channelz.v1.ServerData data = 2;
- Specified by:
getDataOrBuilder
in interfaceServerOrBuilder
-
getListenSocketList
public List<SocketRef> getListenSocketList()
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
- Specified by:
getListenSocketList
in interfaceServerOrBuilder
-
getListenSocketCount
public int getListenSocketCount()
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
- Specified by:
getListenSocketCount
in interfaceServerOrBuilder
-
getListenSocket
public SocketRef getListenSocket(int index)
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
- Specified by:
getListenSocket
in interfaceServerOrBuilder
-
setListenSocket
public Server.Builder setListenSocket(int index, SocketRef value)
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
-
setListenSocket
public Server.Builder setListenSocket(int index, SocketRef.Builder builderForValue)
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
-
addListenSocket
public Server.Builder addListenSocket(SocketRef value)
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
-
addListenSocket
public Server.Builder addListenSocket(int index, SocketRef value)
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
-
addListenSocket
public Server.Builder addListenSocket(SocketRef.Builder builderForValue)
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
-
addListenSocket
public Server.Builder addListenSocket(int index, SocketRef.Builder builderForValue)
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
-
addAllListenSocket
public Server.Builder addAllListenSocket(Iterable<? extends SocketRef> values)
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
-
clearListenSocket
public Server.Builder clearListenSocket()
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
-
removeListenSocket
public Server.Builder removeListenSocket(int index)
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
-
getListenSocketBuilder
public SocketRef.Builder getListenSocketBuilder(int index)
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
-
getListenSocketOrBuilder
public SocketRefOrBuilder getListenSocketOrBuilder(int index)
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
- Specified by:
getListenSocketOrBuilder
in interfaceServerOrBuilder
-
getListenSocketOrBuilderList
public List<? extends SocketRefOrBuilder> getListenSocketOrBuilderList()
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
- Specified by:
getListenSocketOrBuilderList
in interfaceServerOrBuilder
-
addListenSocketBuilder
public SocketRef.Builder addListenSocketBuilder()
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
-
addListenSocketBuilder
public SocketRef.Builder addListenSocketBuilder(int index)
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
-
getListenSocketBuilderList
public List<SocketRef.Builder> getListenSocketBuilderList()
The sockets that the server is listening on. There are no ordering guarantees. This may be absent.
repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
-
setUnknownFields
public final Server.Builder setUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<Server.Builder>
-
mergeUnknownFields
public final Server.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<Server.Builder>
-
-