Package io.grpc.channelz.v1
Class GetServerSocketsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GetServerSocketsResponse.Builder>
-
- io.grpc.channelz.v1.GetServerSocketsResponse.Builder
-
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,GetServerSocketsResponseOrBuilder
,Cloneable
- Enclosing class:
- GetServerSocketsResponse
public static final class GetServerSocketsResponse.Builder extends GeneratedMessageV3.Builder<GetServerSocketsResponse.Builder> implements GetServerSocketsResponseOrBuilder
Protobuf typegrpc.channelz.v1.GetServerSocketsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetServerSocketsResponse.Builder
addAllSocketRef(Iterable<? extends SocketRef> values)
list of socket refs that the connection detail service knows about.GetServerSocketsResponse.Builder
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
GetServerSocketsResponse.Builder
addSocketRef(int index, SocketRef value)
list of socket refs that the connection detail service knows about.GetServerSocketsResponse.Builder
addSocketRef(int index, SocketRef.Builder builderForValue)
list of socket refs that the connection detail service knows about.GetServerSocketsResponse.Builder
addSocketRef(SocketRef value)
list of socket refs that the connection detail service knows about.GetServerSocketsResponse.Builder
addSocketRef(SocketRef.Builder builderForValue)
list of socket refs that the connection detail service knows about.SocketRef.Builder
addSocketRefBuilder()
list of socket refs that the connection detail service knows about.SocketRef.Builder
addSocketRefBuilder(int index)
list of socket refs that the connection detail service knows about.GetServerSocketsResponse
build()
GetServerSocketsResponse
buildPartial()
GetServerSocketsResponse.Builder
clear()
GetServerSocketsResponse.Builder
clearEnd()
If set, indicates that the list of sockets is the final list.GetServerSocketsResponse.Builder
clearField(Descriptors.FieldDescriptor field)
GetServerSocketsResponse.Builder
clearOneof(Descriptors.OneofDescriptor oneof)
GetServerSocketsResponse.Builder
clearSocketRef()
list of socket refs that the connection detail service knows about.GetServerSocketsResponse.Builder
clone()
GetServerSocketsResponse
getDefaultInstanceForType()
static Descriptors.Descriptor
getDescriptor()
Descriptors.Descriptor
getDescriptorForType()
boolean
getEnd()
If set, indicates that the list of sockets is the final list.SocketRef
getSocketRef(int index)
list of socket refs that the connection detail service knows about.SocketRef.Builder
getSocketRefBuilder(int index)
list of socket refs that the connection detail service knows about.List<SocketRef.Builder>
getSocketRefBuilderList()
list of socket refs that the connection detail service knows about.int
getSocketRefCount()
list of socket refs that the connection detail service knows about.List<SocketRef>
getSocketRefList()
list of socket refs that the connection detail service knows about.SocketRefOrBuilder
getSocketRefOrBuilder(int index)
list of socket refs that the connection detail service knows about.List<? extends SocketRefOrBuilder>
getSocketRefOrBuilderList()
list of socket refs that the connection detail service knows about.protected GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GetServerSocketsResponse.Builder
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
GetServerSocketsResponse.Builder
mergeFrom(Message other)
GetServerSocketsResponse.Builder
mergeFrom(GetServerSocketsResponse other)
GetServerSocketsResponse.Builder
mergeUnknownFields(UnknownFieldSet unknownFields)
GetServerSocketsResponse.Builder
removeSocketRef(int index)
list of socket refs that the connection detail service knows about.GetServerSocketsResponse.Builder
setEnd(boolean value)
If set, indicates that the list of sockets is the final list.GetServerSocketsResponse.Builder
setField(Descriptors.FieldDescriptor field, Object value)
GetServerSocketsResponse.Builder
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
GetServerSocketsResponse.Builder
setSocketRef(int index, SocketRef value)
list of socket refs that the connection detail service knows about.GetServerSocketsResponse.Builder
setSocketRef(int index, SocketRef.Builder builderForValue)
list of socket refs that the connection detail service knows about.GetServerSocketsResponse.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<GetServerSocketsResponse.Builder>
-
clear
public GetServerSocketsResponse.Builder clear()
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<GetServerSocketsResponse.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<GetServerSocketsResponse.Builder>
-
getDefaultInstanceForType
public GetServerSocketsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public GetServerSocketsResponse build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public GetServerSocketsResponse buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public GetServerSocketsResponse.Builder clone()
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<GetServerSocketsResponse.Builder>
-
setField
public GetServerSocketsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<GetServerSocketsResponse.Builder>
-
clearField
public GetServerSocketsResponse.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<GetServerSocketsResponse.Builder>
-
clearOneof
public GetServerSocketsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<GetServerSocketsResponse.Builder>
-
setRepeatedField
public GetServerSocketsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<GetServerSocketsResponse.Builder>
-
addRepeatedField
public GetServerSocketsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<GetServerSocketsResponse.Builder>
-
mergeFrom
public GetServerSocketsResponse.Builder mergeFrom(Message other)
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<GetServerSocketsResponse.Builder>
-
mergeFrom
public GetServerSocketsResponse.Builder mergeFrom(GetServerSocketsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<GetServerSocketsResponse.Builder>
-
mergeFrom
public GetServerSocketsResponse.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<GetServerSocketsResponse.Builder>
- Throws:
IOException
-
getSocketRefList
public List<SocketRef> getSocketRefList()
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
- Specified by:
getSocketRefList
in interfaceGetServerSocketsResponseOrBuilder
-
getSocketRefCount
public int getSocketRefCount()
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
- Specified by:
getSocketRefCount
in interfaceGetServerSocketsResponseOrBuilder
-
getSocketRef
public SocketRef getSocketRef(int index)
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
- Specified by:
getSocketRef
in interfaceGetServerSocketsResponseOrBuilder
-
setSocketRef
public GetServerSocketsResponse.Builder setSocketRef(int index, SocketRef value)
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
-
setSocketRef
public GetServerSocketsResponse.Builder setSocketRef(int index, SocketRef.Builder builderForValue)
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
-
addSocketRef
public GetServerSocketsResponse.Builder addSocketRef(SocketRef value)
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
-
addSocketRef
public GetServerSocketsResponse.Builder addSocketRef(int index, SocketRef value)
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
-
addSocketRef
public GetServerSocketsResponse.Builder addSocketRef(SocketRef.Builder builderForValue)
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
-
addSocketRef
public GetServerSocketsResponse.Builder addSocketRef(int index, SocketRef.Builder builderForValue)
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
-
addAllSocketRef
public GetServerSocketsResponse.Builder addAllSocketRef(Iterable<? extends SocketRef> values)
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
-
clearSocketRef
public GetServerSocketsResponse.Builder clearSocketRef()
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
-
removeSocketRef
public GetServerSocketsResponse.Builder removeSocketRef(int index)
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
-
getSocketRefBuilder
public SocketRef.Builder getSocketRefBuilder(int index)
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
-
getSocketRefOrBuilder
public SocketRefOrBuilder getSocketRefOrBuilder(int index)
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
- Specified by:
getSocketRefOrBuilder
in interfaceGetServerSocketsResponseOrBuilder
-
getSocketRefOrBuilderList
public List<? extends SocketRefOrBuilder> getSocketRefOrBuilderList()
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
- Specified by:
getSocketRefOrBuilderList
in interfaceGetServerSocketsResponseOrBuilder
-
addSocketRefBuilder
public SocketRef.Builder addSocketRefBuilder()
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
-
addSocketRefBuilder
public SocketRef.Builder addSocketRefBuilder(int index)
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
-
getSocketRefBuilderList
public List<SocketRef.Builder> getSocketRefBuilderList()
list of socket refs that the connection detail service knows about. Sorted in ascending socket_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.SocketRef socket_ref = 1;
-
getEnd
public boolean getEnd()
If set, indicates that the list of sockets is the final list. Requesting more sockets will only return more if they are created after this RPC completes.
bool end = 2;
- Specified by:
getEnd
in interfaceGetServerSocketsResponseOrBuilder
- Returns:
- The end.
-
setEnd
public GetServerSocketsResponse.Builder setEnd(boolean value)
If set, indicates that the list of sockets is the final list. Requesting more sockets 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 GetServerSocketsResponse.Builder clearEnd()
If set, indicates that the list of sockets is the final list. Requesting more sockets will only return more if they are created after this RPC completes.
bool end = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GetServerSocketsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<GetServerSocketsResponse.Builder>
-
mergeUnknownFields
public final GetServerSocketsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<GetServerSocketsResponse.Builder>
-
-