Package io.hstream.internal
Class Stream
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.hstream.internal.Stream
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StreamOrBuilder,Serializable
public final class Stream extends com.google.protobuf.GeneratedMessageV3 implements StreamOrBuilder
Protobuf typehstream.server.Stream- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStream.BuilderProtobuf typehstream.server.Stream-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBACKLOGDURATION_FIELD_NUMBERstatic intCREATIONTIME_FIELD_NUMBERstatic intREPLICATIONFACTOR_FIELD_NUMBERstatic intSHARDCOUNT_FIELD_NUMBERstatic intSTREAMNAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetBacklogDuration()uint32 backlogDuration = 3;com.google.protobuf.TimestampgetCreationTime().google.protobuf.Timestamp creationTime = 5;com.google.protobuf.TimestampOrBuildergetCreationTimeOrBuilder().google.protobuf.Timestamp creationTime = 5;static StreamgetDefaultInstance()StreamgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Stream>getParserForType()intgetReplicationFactor()uint32 replicationFactor = 2;intgetSerializedSize()intgetShardCount()uint32 shardCount = 4;StringgetStreamName()string streamName = 1;com.google.protobuf.ByteStringgetStreamNameBytes()string streamName = 1;booleanhasCreationTime().google.protobuf.Timestamp creationTime = 5;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Stream.BuildernewBuilder()static Stream.BuildernewBuilder(Stream prototype)Stream.BuildernewBuilderForType()protected Stream.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StreamparseDelimitedFrom(InputStream input)static StreamparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamparseFrom(byte[] data)static StreamparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamparseFrom(com.google.protobuf.ByteString data)static StreamparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamparseFrom(com.google.protobuf.CodedInputStream input)static StreamparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamparseFrom(InputStream input)static StreamparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamparseFrom(ByteBuffer data)static StreamparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Stream>parser()Stream.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
STREAMNAME_FIELD_NUMBER
public static final int STREAMNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPLICATIONFACTOR_FIELD_NUMBER
public static final int REPLICATIONFACTOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BACKLOGDURATION_FIELD_NUMBER
public static final int BACKLOGDURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHARDCOUNT_FIELD_NUMBER
public static final int SHARDCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATIONTIME_FIELD_NUMBER
public static final int CREATIONTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getStreamName
public String getStreamName()
string streamName = 1;- Specified by:
getStreamNamein interfaceStreamOrBuilder- Returns:
- The streamName.
-
getStreamNameBytes
public com.google.protobuf.ByteString getStreamNameBytes()
string streamName = 1;- Specified by:
getStreamNameBytesin interfaceStreamOrBuilder- Returns:
- The bytes for streamName.
-
getReplicationFactor
public int getReplicationFactor()
uint32 replicationFactor = 2;- Specified by:
getReplicationFactorin interfaceStreamOrBuilder- Returns:
- The replicationFactor.
-
getBacklogDuration
public int getBacklogDuration()
uint32 backlogDuration = 3;- Specified by:
getBacklogDurationin interfaceStreamOrBuilder- Returns:
- The backlogDuration.
-
getShardCount
public int getShardCount()
uint32 shardCount = 4;- Specified by:
getShardCountin interfaceStreamOrBuilder- Returns:
- The shardCount.
-
hasCreationTime
public boolean hasCreationTime()
.google.protobuf.Timestamp creationTime = 5;- Specified by:
hasCreationTimein interfaceStreamOrBuilder- Returns:
- Whether the creationTime field is set.
-
getCreationTime
public com.google.protobuf.Timestamp getCreationTime()
.google.protobuf.Timestamp creationTime = 5;- Specified by:
getCreationTimein interfaceStreamOrBuilder- Returns:
- The creationTime.
-
getCreationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
.google.protobuf.Timestamp creationTime = 5;- Specified by:
getCreationTimeOrBuilderin interfaceStreamOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Stream parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Stream parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Stream parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Stream parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Stream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Stream parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Stream parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Stream parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Stream parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Stream parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Stream parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Stream parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Stream.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Stream.Builder newBuilder()
-
newBuilder
public static Stream.Builder newBuilder(Stream prototype)
-
toBuilder
public Stream.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Stream.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Stream getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Stream> parser()
-
getParserForType
public com.google.protobuf.Parser<Stream> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Stream getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-