Package io.hstream.internal
Class LookupShardResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LookupShardResponse.Builder>
-
- io.hstream.internal.LookupShardResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,LookupShardResponseOrBuilder
,Cloneable
- Enclosing class:
- LookupShardResponse
public static final class LookupShardResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LookupShardResponse.Builder> implements LookupShardResponseOrBuilder
Protobuf typehstream.server.LookupShardResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LookupShardResponse
build()
LookupShardResponse
buildPartial()
LookupShardResponse.Builder
clear()
LookupShardResponse.Builder
clearServerNode()
.hstream.server.ServerNode serverNode = 2;
LookupShardResponse.Builder
clearShardId()
uint64 shardId = 1;
LookupShardResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ServerNode
getServerNode()
.hstream.server.ServerNode serverNode = 2;
ServerNode.Builder
getServerNodeBuilder()
.hstream.server.ServerNode serverNode = 2;
ServerNodeOrBuilder
getServerNodeOrBuilder()
.hstream.server.ServerNode serverNode = 2;
long
getShardId()
uint64 shardId = 1;
boolean
hasServerNode()
.hstream.server.ServerNode serverNode = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
LookupShardResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
LookupShardResponse.Builder
mergeFrom(com.google.protobuf.Message other)
LookupShardResponse.Builder
mergeFrom(LookupShardResponse other)
LookupShardResponse.Builder
mergeServerNode(ServerNode value)
.hstream.server.ServerNode serverNode = 2;
LookupShardResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
LookupShardResponse.Builder
setServerNode(ServerNode value)
.hstream.server.ServerNode serverNode = 2;
LookupShardResponse.Builder
setServerNode(ServerNode.Builder builderForValue)
.hstream.server.ServerNode serverNode = 2;
LookupShardResponse.Builder
setShardId(long value)
uint64 shardId = 1;
LookupShardResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupShardResponse.Builder>
-
clear
public LookupShardResponse.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.GeneratedMessageV3.Builder<LookupShardResponse.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.GeneratedMessageV3.Builder<LookupShardResponse.Builder>
-
getDefaultInstanceForType
public LookupShardResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public LookupShardResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LookupShardResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public LookupShardResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LookupShardResponse.Builder>
-
mergeFrom
public LookupShardResponse.Builder mergeFrom(LookupShardResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupShardResponse.Builder>
-
mergeFrom
public LookupShardResponse.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<LookupShardResponse.Builder>
- Throws:
IOException
-
getShardId
public long getShardId()
uint64 shardId = 1;
- Specified by:
getShardId
in interfaceLookupShardResponseOrBuilder
- Returns:
- The shardId.
-
setShardId
public LookupShardResponse.Builder setShardId(long value)
uint64 shardId = 1;
- Parameters:
value
- The shardId to set.- Returns:
- This builder for chaining.
-
clearShardId
public LookupShardResponse.Builder clearShardId()
uint64 shardId = 1;
- Returns:
- This builder for chaining.
-
hasServerNode
public boolean hasServerNode()
.hstream.server.ServerNode serverNode = 2;
- Specified by:
hasServerNode
in interfaceLookupShardResponseOrBuilder
- Returns:
- Whether the serverNode field is set.
-
getServerNode
public ServerNode getServerNode()
.hstream.server.ServerNode serverNode = 2;
- Specified by:
getServerNode
in interfaceLookupShardResponseOrBuilder
- Returns:
- The serverNode.
-
setServerNode
public LookupShardResponse.Builder setServerNode(ServerNode value)
.hstream.server.ServerNode serverNode = 2;
-
setServerNode
public LookupShardResponse.Builder setServerNode(ServerNode.Builder builderForValue)
.hstream.server.ServerNode serverNode = 2;
-
mergeServerNode
public LookupShardResponse.Builder mergeServerNode(ServerNode value)
.hstream.server.ServerNode serverNode = 2;
-
clearServerNode
public LookupShardResponse.Builder clearServerNode()
.hstream.server.ServerNode serverNode = 2;
-
getServerNodeBuilder
public ServerNode.Builder getServerNodeBuilder()
.hstream.server.ServerNode serverNode = 2;
-
getServerNodeOrBuilder
public ServerNodeOrBuilder getServerNodeOrBuilder()
.hstream.server.ServerNode serverNode = 2;
- Specified by:
getServerNodeOrBuilder
in interfaceLookupShardResponseOrBuilder
-
setUnknownFields
public final LookupShardResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupShardResponse.Builder>
-
mergeUnknownFields
public final LookupShardResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupShardResponse.Builder>
-
-