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 int
private boolean
private 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 void
private void
clear()
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 void
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
getEnd()
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.int
list of socket refs that the connection detail service knows about.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.FieldAccessorTable
private com.google.protobuf.RepeatedFieldBuilder
<SocketRef, SocketRef.Builder, SocketRefOrBuilder> final boolean
mergeFrom
(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, 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
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<GetServerSocketsResponse.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<GetServerSocketsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<GetServerSocketsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetServerSocketsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
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
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
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:
getSocketRefOrBuilder
in 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:
getSocketRefOrBuilderList
in 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;
-
internalGetSocketRefFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<SocketRef,SocketRef.Builder, internalGetSocketRefFieldBuilder()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:
getEnd
in 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.
-