Package io.grpc.channelz.v1
Class GetServerSocketsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetServerSocketsResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<GetServerSocketsResponse.Builder>
io.grpc.channelz.v1.GetServerSocketsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GetServerSocketsResponseOrBuilder,Cloneable
- Enclosing class:
GetServerSocketsResponse
public static final class GetServerSocketsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GetServerSocketsResponse.Builder>
implements GetServerSocketsResponseOrBuilder
Protobuf type
grpc.channelz.v1.GetServerSocketsResponse-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate booleanprivate com.google.protobuf.RepeatedFieldBuilder<SocketRef, SocketRef.Builder, SocketRefOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllSocketRef(Iterable<? extends SocketRef> values) list of socket refs that the connection detail service knows about.addSocketRef(int index, SocketRef value) list of socket refs that the connection detail service knows about.addSocketRef(int index, SocketRef.Builder builderForValue) list of socket refs that the connection detail service knows about.addSocketRef(SocketRef value) list of socket refs that the connection detail service knows about.addSocketRef(SocketRef.Builder builderForValue) list of socket refs that the connection detail service knows about.list of socket refs that the connection detail service knows about.addSocketRefBuilder(int index) list of socket refs that the connection detail service knows about.build()private voidprivate voidclear()clearEnd()If set, indicates that the list of sockets is the final list.list of socket refs that the connection detail service knows about.private voidstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleangetEnd()If set, indicates that the list of sockets is the final list.getSocketRef(int index) list of socket refs that the connection detail service knows about.getSocketRefBuilder(int index) list of socket refs that the connection detail service knows about.list of socket refs that the connection detail service knows about.intlist of socket refs that the connection detail service knows about.private com.google.protobuf.RepeatedFieldBuilder<SocketRef, SocketRef.Builder, SocketRefOrBuilder> list of socket refs that the connection detail service knows about.getSocketRefOrBuilder(int index) list of socket refs that the connection detail service knows about.List<? extends SocketRefOrBuilder> list of socket refs that the connection detail service knows about.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeSocketRef(int index) list of socket refs that the connection detail service knows about.setEnd(boolean value) If set, indicates that the list of sockets is the final list.setSocketRef(int index, SocketRef value) list of socket refs that the connection detail service knows about.setSocketRef(int index, SocketRef.Builder builderForValue) list of socket refs that the connection detail service knows about.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
socketRef_
-
socketRefBuilder_
private com.google.protobuf.RepeatedFieldBuilder<SocketRef,SocketRef.Builder, socketRefBuilder_SocketRefOrBuilder> -
end_
private boolean end_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GetServerSocketsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GetServerSocketsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GetServerSocketsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetServerSocketsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GetServerSocketsResponse.Builder>
-
mergeFrom
public GetServerSocketsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetServerSocketsResponse.Builder>- Throws:
IOException
-
ensureSocketRefIsMutable
private void ensureSocketRefIsMutable() -
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:
getSocketRefListin 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:
getSocketRefCountin interfaceGetServerSocketsResponseOrBuilder
-
getSocketRef
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:
getSocketRefin interfaceGetServerSocketsResponseOrBuilder
-
setSocketRef
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
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
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
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
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
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
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
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
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
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
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:
getSocketRefOrBuilderin interfaceGetServerSocketsResponseOrBuilder
-
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:
getSocketRefOrBuilderListin interfaceGetServerSocketsResponseOrBuilder
-
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
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
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; -
getSocketRefFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<SocketRef,SocketRef.Builder, getSocketRefFieldBuilder()SocketRefOrBuilder> -
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:
getEndin interfaceGetServerSocketsResponseOrBuilder- Returns:
- The end.
-
setEnd
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
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.
-