Package io.grpc.channelz.v1
Class GetSocketResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GetSocketResponse.Builder>
-
- io.grpc.channelz.v1.GetSocketResponse.Builder
-
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,GetSocketResponseOrBuilder
,Cloneable
- Enclosing class:
- GetSocketResponse
public static final class GetSocketResponse.Builder extends GeneratedMessageV3.Builder<GetSocketResponse.Builder> implements GetSocketResponseOrBuilder
Protobuf typegrpc.channelz.v1.GetSocketResponse
-
-
Method Summary
-
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<GetSocketResponse.Builder>
-
clear
public GetSocketResponse.Builder clear()
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<GetSocketResponse.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<GetSocketResponse.Builder>
-
getDefaultInstanceForType
public GetSocketResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public GetSocketResponse build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public GetSocketResponse buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public GetSocketResponse.Builder clone()
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<GetSocketResponse.Builder>
-
setField
public GetSocketResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<GetSocketResponse.Builder>
-
clearField
public GetSocketResponse.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<GetSocketResponse.Builder>
-
clearOneof
public GetSocketResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<GetSocketResponse.Builder>
-
setRepeatedField
public GetSocketResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<GetSocketResponse.Builder>
-
addRepeatedField
public GetSocketResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<GetSocketResponse.Builder>
-
mergeFrom
public GetSocketResponse.Builder mergeFrom(Message other)
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<GetSocketResponse.Builder>
-
mergeFrom
public GetSocketResponse.Builder mergeFrom(GetSocketResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<GetSocketResponse.Builder>
-
mergeFrom
public GetSocketResponse.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<GetSocketResponse.Builder>
- Throws:
IOException
-
hasSocket
public boolean hasSocket()
The Socket that corresponds to the requested socket_id. This field should be set.
.grpc.channelz.v1.Socket socket = 1;
- Specified by:
hasSocket
in interfaceGetSocketResponseOrBuilder
- Returns:
- Whether the socket field is set.
-
getSocket
public Socket getSocket()
The Socket that corresponds to the requested socket_id. This field should be set.
.grpc.channelz.v1.Socket socket = 1;
- Specified by:
getSocket
in interfaceGetSocketResponseOrBuilder
- Returns:
- The socket.
-
setSocket
public GetSocketResponse.Builder setSocket(Socket value)
The Socket that corresponds to the requested socket_id. This field should be set.
.grpc.channelz.v1.Socket socket = 1;
-
setSocket
public GetSocketResponse.Builder setSocket(Socket.Builder builderForValue)
The Socket that corresponds to the requested socket_id. This field should be set.
.grpc.channelz.v1.Socket socket = 1;
-
mergeSocket
public GetSocketResponse.Builder mergeSocket(Socket value)
The Socket that corresponds to the requested socket_id. This field should be set.
.grpc.channelz.v1.Socket socket = 1;
-
clearSocket
public GetSocketResponse.Builder clearSocket()
The Socket that corresponds to the requested socket_id. This field should be set.
.grpc.channelz.v1.Socket socket = 1;
-
getSocketBuilder
public Socket.Builder getSocketBuilder()
The Socket that corresponds to the requested socket_id. This field should be set.
.grpc.channelz.v1.Socket socket = 1;
-
getSocketOrBuilder
public SocketOrBuilder getSocketOrBuilder()
The Socket that corresponds to the requested socket_id. This field should be set.
.grpc.channelz.v1.Socket socket = 1;
- Specified by:
getSocketOrBuilder
in interfaceGetSocketResponseOrBuilder
-
setUnknownFields
public final GetSocketResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<GetSocketResponse.Builder>
-
mergeUnknownFields
public final GetSocketResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<GetSocketResponse.Builder>
-
-