Package io.hstream.internal
Class DescribeClusterResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DescribeClusterResponse.Builder>
-
- io.hstream.internal.DescribeClusterResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DescribeClusterResponseOrBuilder
,Cloneable
- Enclosing class:
- DescribeClusterResponse
public static final class DescribeClusterResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DescribeClusterResponse.Builder> implements DescribeClusterResponseOrBuilder
Protobuf typehstream.server.DescribeClusterResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeClusterResponse.Builder
addAllServerNodes(Iterable<? extends ServerNode> values)
repeated .hstream.server.ServerNode serverNodes = 2;
DescribeClusterResponse.Builder
addAllServerNodesStatus(Iterable<? extends ServerNodeStatus> values)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
DescribeClusterResponse.Builder
addServerNodes(int index, ServerNode value)
repeated .hstream.server.ServerNode serverNodes = 2;
DescribeClusterResponse.Builder
addServerNodes(int index, ServerNode.Builder builderForValue)
repeated .hstream.server.ServerNode serverNodes = 2;
DescribeClusterResponse.Builder
addServerNodes(ServerNode value)
repeated .hstream.server.ServerNode serverNodes = 2;
DescribeClusterResponse.Builder
addServerNodes(ServerNode.Builder builderForValue)
repeated .hstream.server.ServerNode serverNodes = 2;
ServerNode.Builder
addServerNodesBuilder()
repeated .hstream.server.ServerNode serverNodes = 2;
ServerNode.Builder
addServerNodesBuilder(int index)
repeated .hstream.server.ServerNode serverNodes = 2;
DescribeClusterResponse.Builder
addServerNodesStatus(int index, ServerNodeStatus value)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
DescribeClusterResponse.Builder
addServerNodesStatus(int index, ServerNodeStatus.Builder builderForValue)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
DescribeClusterResponse.Builder
addServerNodesStatus(ServerNodeStatus value)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
DescribeClusterResponse.Builder
addServerNodesStatus(ServerNodeStatus.Builder builderForValue)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
ServerNodeStatus.Builder
addServerNodesStatusBuilder()
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
ServerNodeStatus.Builder
addServerNodesStatusBuilder(int index)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
DescribeClusterResponse
build()
DescribeClusterResponse
buildPartial()
DescribeClusterResponse.Builder
clear()
DescribeClusterResponse.Builder
clearClusterUpTime()
uint64 clusterUpTime = 4;
DescribeClusterResponse.Builder
clearProtocolVersion()
string protocolVersion = 1;
DescribeClusterResponse.Builder
clearServerNodes()
repeated .hstream.server.ServerNode serverNodes = 2;
DescribeClusterResponse.Builder
clearServerNodesStatus()
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
long
getClusterUpTime()
uint64 clusterUpTime = 4;
DescribeClusterResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getProtocolVersion()
string protocolVersion = 1;
com.google.protobuf.ByteString
getProtocolVersionBytes()
string protocolVersion = 1;
ServerNode
getServerNodes(int index)
repeated .hstream.server.ServerNode serverNodes = 2;
ServerNode.Builder
getServerNodesBuilder(int index)
repeated .hstream.server.ServerNode serverNodes = 2;
List<ServerNode.Builder>
getServerNodesBuilderList()
repeated .hstream.server.ServerNode serverNodes = 2;
int
getServerNodesCount()
repeated .hstream.server.ServerNode serverNodes = 2;
List<ServerNode>
getServerNodesList()
repeated .hstream.server.ServerNode serverNodes = 2;
ServerNodeOrBuilder
getServerNodesOrBuilder(int index)
repeated .hstream.server.ServerNode serverNodes = 2;
List<? extends ServerNodeOrBuilder>
getServerNodesOrBuilderList()
repeated .hstream.server.ServerNode serverNodes = 2;
ServerNodeStatus
getServerNodesStatus(int index)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
ServerNodeStatus.Builder
getServerNodesStatusBuilder(int index)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
List<ServerNodeStatus.Builder>
getServerNodesStatusBuilderList()
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
int
getServerNodesStatusCount()
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
List<ServerNodeStatus>
getServerNodesStatusList()
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
ServerNodeStatusOrBuilder
getServerNodesStatusOrBuilder(int index)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
List<? extends ServerNodeStatusOrBuilder>
getServerNodesStatusOrBuilderList()
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DescribeClusterResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DescribeClusterResponse.Builder
mergeFrom(com.google.protobuf.Message other)
DescribeClusterResponse.Builder
mergeFrom(DescribeClusterResponse other)
DescribeClusterResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DescribeClusterResponse.Builder
removeServerNodes(int index)
repeated .hstream.server.ServerNode serverNodes = 2;
DescribeClusterResponse.Builder
removeServerNodesStatus(int index)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
DescribeClusterResponse.Builder
setClusterUpTime(long value)
uint64 clusterUpTime = 4;
DescribeClusterResponse.Builder
setProtocolVersion(String value)
string protocolVersion = 1;
DescribeClusterResponse.Builder
setProtocolVersionBytes(com.google.protobuf.ByteString value)
string protocolVersion = 1;
DescribeClusterResponse.Builder
setServerNodes(int index, ServerNode value)
repeated .hstream.server.ServerNode serverNodes = 2;
DescribeClusterResponse.Builder
setServerNodes(int index, ServerNode.Builder builderForValue)
repeated .hstream.server.ServerNode serverNodes = 2;
DescribeClusterResponse.Builder
setServerNodesStatus(int index, ServerNodeStatus value)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
DescribeClusterResponse.Builder
setServerNodesStatus(int index, ServerNodeStatus.Builder builderForValue)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
DescribeClusterResponse.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<DescribeClusterResponse.Builder>
-
clear
public DescribeClusterResponse.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<DescribeClusterResponse.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<DescribeClusterResponse.Builder>
-
getDefaultInstanceForType
public DescribeClusterResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DescribeClusterResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DescribeClusterResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public DescribeClusterResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DescribeClusterResponse.Builder>
-
mergeFrom
public DescribeClusterResponse.Builder mergeFrom(DescribeClusterResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeClusterResponse.Builder>
-
mergeFrom
public DescribeClusterResponse.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<DescribeClusterResponse.Builder>
- Throws:
IOException
-
getProtocolVersion
public String getProtocolVersion()
string protocolVersion = 1;
- Specified by:
getProtocolVersion
in interfaceDescribeClusterResponseOrBuilder
- Returns:
- The protocolVersion.
-
getProtocolVersionBytes
public com.google.protobuf.ByteString getProtocolVersionBytes()
string protocolVersion = 1;
- Specified by:
getProtocolVersionBytes
in interfaceDescribeClusterResponseOrBuilder
- Returns:
- The bytes for protocolVersion.
-
setProtocolVersion
public DescribeClusterResponse.Builder setProtocolVersion(String value)
string protocolVersion = 1;
- Parameters:
value
- The protocolVersion to set.- Returns:
- This builder for chaining.
-
clearProtocolVersion
public DescribeClusterResponse.Builder clearProtocolVersion()
string protocolVersion = 1;
- Returns:
- This builder for chaining.
-
setProtocolVersionBytes
public DescribeClusterResponse.Builder setProtocolVersionBytes(com.google.protobuf.ByteString value)
string protocolVersion = 1;
- Parameters:
value
- The bytes for protocolVersion to set.- Returns:
- This builder for chaining.
-
getServerNodesList
public List<ServerNode> getServerNodesList()
repeated .hstream.server.ServerNode serverNodes = 2;
- Specified by:
getServerNodesList
in interfaceDescribeClusterResponseOrBuilder
-
getServerNodesCount
public int getServerNodesCount()
repeated .hstream.server.ServerNode serverNodes = 2;
- Specified by:
getServerNodesCount
in interfaceDescribeClusterResponseOrBuilder
-
getServerNodes
public ServerNode getServerNodes(int index)
repeated .hstream.server.ServerNode serverNodes = 2;
- Specified by:
getServerNodes
in interfaceDescribeClusterResponseOrBuilder
-
setServerNodes
public DescribeClusterResponse.Builder setServerNodes(int index, ServerNode value)
repeated .hstream.server.ServerNode serverNodes = 2;
-
setServerNodes
public DescribeClusterResponse.Builder setServerNodes(int index, ServerNode.Builder builderForValue)
repeated .hstream.server.ServerNode serverNodes = 2;
-
addServerNodes
public DescribeClusterResponse.Builder addServerNodes(ServerNode value)
repeated .hstream.server.ServerNode serverNodes = 2;
-
addServerNodes
public DescribeClusterResponse.Builder addServerNodes(int index, ServerNode value)
repeated .hstream.server.ServerNode serverNodes = 2;
-
addServerNodes
public DescribeClusterResponse.Builder addServerNodes(ServerNode.Builder builderForValue)
repeated .hstream.server.ServerNode serverNodes = 2;
-
addServerNodes
public DescribeClusterResponse.Builder addServerNodes(int index, ServerNode.Builder builderForValue)
repeated .hstream.server.ServerNode serverNodes = 2;
-
addAllServerNodes
public DescribeClusterResponse.Builder addAllServerNodes(Iterable<? extends ServerNode> values)
repeated .hstream.server.ServerNode serverNodes = 2;
-
clearServerNodes
public DescribeClusterResponse.Builder clearServerNodes()
repeated .hstream.server.ServerNode serverNodes = 2;
-
removeServerNodes
public DescribeClusterResponse.Builder removeServerNodes(int index)
repeated .hstream.server.ServerNode serverNodes = 2;
-
getServerNodesBuilder
public ServerNode.Builder getServerNodesBuilder(int index)
repeated .hstream.server.ServerNode serverNodes = 2;
-
getServerNodesOrBuilder
public ServerNodeOrBuilder getServerNodesOrBuilder(int index)
repeated .hstream.server.ServerNode serverNodes = 2;
- Specified by:
getServerNodesOrBuilder
in interfaceDescribeClusterResponseOrBuilder
-
getServerNodesOrBuilderList
public List<? extends ServerNodeOrBuilder> getServerNodesOrBuilderList()
repeated .hstream.server.ServerNode serverNodes = 2;
- Specified by:
getServerNodesOrBuilderList
in interfaceDescribeClusterResponseOrBuilder
-
addServerNodesBuilder
public ServerNode.Builder addServerNodesBuilder()
repeated .hstream.server.ServerNode serverNodes = 2;
-
addServerNodesBuilder
public ServerNode.Builder addServerNodesBuilder(int index)
repeated .hstream.server.ServerNode serverNodes = 2;
-
getServerNodesBuilderList
public List<ServerNode.Builder> getServerNodesBuilderList()
repeated .hstream.server.ServerNode serverNodes = 2;
-
getServerNodesStatusList
public List<ServerNodeStatus> getServerNodesStatusList()
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
- Specified by:
getServerNodesStatusList
in interfaceDescribeClusterResponseOrBuilder
-
getServerNodesStatusCount
public int getServerNodesStatusCount()
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
- Specified by:
getServerNodesStatusCount
in interfaceDescribeClusterResponseOrBuilder
-
getServerNodesStatus
public ServerNodeStatus getServerNodesStatus(int index)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
- Specified by:
getServerNodesStatus
in interfaceDescribeClusterResponseOrBuilder
-
setServerNodesStatus
public DescribeClusterResponse.Builder setServerNodesStatus(int index, ServerNodeStatus value)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
-
setServerNodesStatus
public DescribeClusterResponse.Builder setServerNodesStatus(int index, ServerNodeStatus.Builder builderForValue)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
-
addServerNodesStatus
public DescribeClusterResponse.Builder addServerNodesStatus(ServerNodeStatus value)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
-
addServerNodesStatus
public DescribeClusterResponse.Builder addServerNodesStatus(int index, ServerNodeStatus value)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
-
addServerNodesStatus
public DescribeClusterResponse.Builder addServerNodesStatus(ServerNodeStatus.Builder builderForValue)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
-
addServerNodesStatus
public DescribeClusterResponse.Builder addServerNodesStatus(int index, ServerNodeStatus.Builder builderForValue)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
-
addAllServerNodesStatus
public DescribeClusterResponse.Builder addAllServerNodesStatus(Iterable<? extends ServerNodeStatus> values)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
-
clearServerNodesStatus
public DescribeClusterResponse.Builder clearServerNodesStatus()
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
-
removeServerNodesStatus
public DescribeClusterResponse.Builder removeServerNodesStatus(int index)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
-
getServerNodesStatusBuilder
public ServerNodeStatus.Builder getServerNodesStatusBuilder(int index)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
-
getServerNodesStatusOrBuilder
public ServerNodeStatusOrBuilder getServerNodesStatusOrBuilder(int index)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
- Specified by:
getServerNodesStatusOrBuilder
in interfaceDescribeClusterResponseOrBuilder
-
getServerNodesStatusOrBuilderList
public List<? extends ServerNodeStatusOrBuilder> getServerNodesStatusOrBuilderList()
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
- Specified by:
getServerNodesStatusOrBuilderList
in interfaceDescribeClusterResponseOrBuilder
-
addServerNodesStatusBuilder
public ServerNodeStatus.Builder addServerNodesStatusBuilder()
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
-
addServerNodesStatusBuilder
public ServerNodeStatus.Builder addServerNodesStatusBuilder(int index)
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
-
getServerNodesStatusBuilderList
public List<ServerNodeStatus.Builder> getServerNodesStatusBuilderList()
repeated .hstream.server.ServerNodeStatus serverNodesStatus = 3;
-
getClusterUpTime
public long getClusterUpTime()
uint64 clusterUpTime = 4;
- Specified by:
getClusterUpTime
in interfaceDescribeClusterResponseOrBuilder
- Returns:
- The clusterUpTime.
-
setClusterUpTime
public DescribeClusterResponse.Builder setClusterUpTime(long value)
uint64 clusterUpTime = 4;
- Parameters:
value
- The clusterUpTime to set.- Returns:
- This builder for chaining.
-
clearClusterUpTime
public DescribeClusterResponse.Builder clearClusterUpTime()
uint64 clusterUpTime = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final DescribeClusterResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeClusterResponse.Builder>
-
mergeUnknownFields
public final DescribeClusterResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeClusterResponse.Builder>
-
-