Package io.hstream.internal
Class TrimStreamRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TrimStreamRequest.Builder>
-
- io.hstream.internal.TrimStreamRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,TrimStreamRequestOrBuilder
,Cloneable
- Enclosing class:
- TrimStreamRequest
public static final class TrimStreamRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TrimStreamRequest.Builder> implements TrimStreamRequestOrBuilder
Protobuf typehstream.server.TrimStreamRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TrimStreamRequest
build()
TrimStreamRequest
buildPartial()
TrimStreamRequest.Builder
clear()
TrimStreamRequest.Builder
clearStreamName()
string streamName = 1;
TrimStreamRequest.Builder
clearTrimPoint()
trim up to and including this offsetTrimStreamRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getStreamName()
string streamName = 1;
com.google.protobuf.ByteString
getStreamNameBytes()
string streamName = 1;
StreamOffset
getTrimPoint()
trim up to and including this offsetStreamOffset.Builder
getTrimPointBuilder()
trim up to and including this offsetStreamOffsetOrBuilder
getTrimPointOrBuilder()
trim up to and including this offsetboolean
hasTrimPoint()
trim up to and including this offsetprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TrimStreamRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TrimStreamRequest.Builder
mergeFrom(com.google.protobuf.Message other)
TrimStreamRequest.Builder
mergeFrom(TrimStreamRequest other)
TrimStreamRequest.Builder
mergeTrimPoint(StreamOffset value)
trim up to and including this offsetTrimStreamRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TrimStreamRequest.Builder
setStreamName(String value)
string streamName = 1;
TrimStreamRequest.Builder
setStreamNameBytes(com.google.protobuf.ByteString value)
string streamName = 1;
TrimStreamRequest.Builder
setTrimPoint(StreamOffset value)
trim up to and including this offsetTrimStreamRequest.Builder
setTrimPoint(StreamOffset.Builder builderForValue)
trim up to and including this offsetTrimStreamRequest.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<TrimStreamRequest.Builder>
-
clear
public TrimStreamRequest.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<TrimStreamRequest.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<TrimStreamRequest.Builder>
-
getDefaultInstanceForType
public TrimStreamRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TrimStreamRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TrimStreamRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public TrimStreamRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TrimStreamRequest.Builder>
-
mergeFrom
public TrimStreamRequest.Builder mergeFrom(TrimStreamRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrimStreamRequest.Builder>
-
mergeFrom
public TrimStreamRequest.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<TrimStreamRequest.Builder>
- Throws:
IOException
-
getStreamName
public String getStreamName()
string streamName = 1;
- Specified by:
getStreamName
in interfaceTrimStreamRequestOrBuilder
- Returns:
- The streamName.
-
getStreamNameBytes
public com.google.protobuf.ByteString getStreamNameBytes()
string streamName = 1;
- Specified by:
getStreamNameBytes
in interfaceTrimStreamRequestOrBuilder
- Returns:
- The bytes for streamName.
-
setStreamName
public TrimStreamRequest.Builder setStreamName(String value)
string streamName = 1;
- Parameters:
value
- The streamName to set.- Returns:
- This builder for chaining.
-
clearStreamName
public TrimStreamRequest.Builder clearStreamName()
string streamName = 1;
- Returns:
- This builder for chaining.
-
setStreamNameBytes
public TrimStreamRequest.Builder setStreamNameBytes(com.google.protobuf.ByteString value)
string streamName = 1;
- Parameters:
value
- The bytes for streamName to set.- Returns:
- This builder for chaining.
-
hasTrimPoint
public boolean hasTrimPoint()
trim up to and including this offset
.hstream.server.StreamOffset trimPoint = 2;
- Specified by:
hasTrimPoint
in interfaceTrimStreamRequestOrBuilder
- Returns:
- Whether the trimPoint field is set.
-
getTrimPoint
public StreamOffset getTrimPoint()
trim up to and including this offset
.hstream.server.StreamOffset trimPoint = 2;
- Specified by:
getTrimPoint
in interfaceTrimStreamRequestOrBuilder
- Returns:
- The trimPoint.
-
setTrimPoint
public TrimStreamRequest.Builder setTrimPoint(StreamOffset value)
trim up to and including this offset
.hstream.server.StreamOffset trimPoint = 2;
-
setTrimPoint
public TrimStreamRequest.Builder setTrimPoint(StreamOffset.Builder builderForValue)
trim up to and including this offset
.hstream.server.StreamOffset trimPoint = 2;
-
mergeTrimPoint
public TrimStreamRequest.Builder mergeTrimPoint(StreamOffset value)
trim up to and including this offset
.hstream.server.StreamOffset trimPoint = 2;
-
clearTrimPoint
public TrimStreamRequest.Builder clearTrimPoint()
trim up to and including this offset
.hstream.server.StreamOffset trimPoint = 2;
-
getTrimPointBuilder
public StreamOffset.Builder getTrimPointBuilder()
trim up to and including this offset
.hstream.server.StreamOffset trimPoint = 2;
-
getTrimPointOrBuilder
public StreamOffsetOrBuilder getTrimPointOrBuilder()
trim up to and including this offset
.hstream.server.StreamOffset trimPoint = 2;
- Specified by:
getTrimPointOrBuilder
in interfaceTrimStreamRequestOrBuilder
-
setUnknownFields
public final TrimStreamRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrimStreamRequest.Builder>
-
mergeUnknownFields
public final TrimStreamRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrimStreamRequest.Builder>
-
-