Package io.hstream.internal
Class TrimShardsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TrimShardsResponse.Builder>
-
- io.hstream.internal.TrimShardsResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,TrimShardsResponseOrBuilder
,Cloneable
- Enclosing class:
- TrimShardsResponse
public static final class TrimShardsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TrimShardsResponse.Builder> implements TrimShardsResponseOrBuilder
Protobuf typehstream.server.TrimShardsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TrimShardsResponse
build()
TrimShardsResponse
buildPartial()
TrimShardsResponse.Builder
clear()
TrimShardsResponse.Builder
clearTrimPoints()
boolean
containsTrimPoints(long key)
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmedTrimShardsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Map<Long,String>
getMutableTrimPoints()
Deprecated.Map<Long,String>
getTrimPoints()
Deprecated.int
getTrimPointsCount()
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmedMap<Long,String>
getTrimPointsMap()
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmedString
getTrimPointsOrDefault(long key, String defaultValue)
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmedString
getTrimPointsOrThrow(long key)
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmedprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
TrimShardsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TrimShardsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
TrimShardsResponse.Builder
mergeFrom(TrimShardsResponse other)
TrimShardsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TrimShardsResponse.Builder
putAllTrimPoints(Map<Long,String> values)
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmedTrimShardsResponse.Builder
putTrimPoints(long key, String value)
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmedTrimShardsResponse.Builder
removeTrimPoints(long key)
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmedTrimShardsResponse.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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrimShardsResponse.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrimShardsResponse.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrimShardsResponse.Builder>
-
clear
public TrimShardsResponse.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<TrimShardsResponse.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<TrimShardsResponse.Builder>
-
getDefaultInstanceForType
public TrimShardsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TrimShardsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TrimShardsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public TrimShardsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TrimShardsResponse.Builder>
-
mergeFrom
public TrimShardsResponse.Builder mergeFrom(TrimShardsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrimShardsResponse.Builder>
-
mergeFrom
public TrimShardsResponse.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<TrimShardsResponse.Builder>
- Throws:
IOException
-
getTrimPointsCount
public int getTrimPointsCount()
Description copied from interface:TrimShardsResponseOrBuilder
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmed
map<uint64, string> trimPoints = 1;
- Specified by:
getTrimPointsCount
in interfaceTrimShardsResponseOrBuilder
-
containsTrimPoints
public boolean containsTrimPoints(long key)
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmed
map<uint64, string> trimPoints = 1;
- Specified by:
containsTrimPoints
in interfaceTrimShardsResponseOrBuilder
-
getTrimPoints
@Deprecated public Map<Long,String> getTrimPoints()
Deprecated.UsegetTrimPointsMap()
instead.- Specified by:
getTrimPoints
in interfaceTrimShardsResponseOrBuilder
-
getTrimPointsMap
public Map<Long,String> getTrimPointsMap()
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmed
map<uint64, string> trimPoints = 1;
- Specified by:
getTrimPointsMap
in interfaceTrimShardsResponseOrBuilder
-
getTrimPointsOrDefault
public String getTrimPointsOrDefault(long key, String defaultValue)
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmed
map<uint64, string> trimPoints = 1;
- Specified by:
getTrimPointsOrDefault
in interfaceTrimShardsResponseOrBuilder
-
getTrimPointsOrThrow
public String getTrimPointsOrThrow(long key)
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmed
map<uint64, string> trimPoints = 1;
- Specified by:
getTrimPointsOrThrow
in interfaceTrimShardsResponseOrBuilder
-
clearTrimPoints
public TrimShardsResponse.Builder clearTrimPoints()
-
removeTrimPoints
public TrimShardsResponse.Builder removeTrimPoints(long key)
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmed
map<uint64, string> trimPoints = 1;
-
getMutableTrimPoints
@Deprecated public Map<Long,String> getMutableTrimPoints()
Deprecated.Use alternate mutation accessors instead.
-
putTrimPoints
public TrimShardsResponse.Builder putTrimPoints(long key, String value)
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmed
map<uint64, string> trimPoints = 1;
-
putAllTrimPoints
public TrimShardsResponse.Builder putAllTrimPoints(Map<Long,String> values)
return map{shardId -> RecordId}, records before recordId(exclude) for each shard are all trimmed
map<uint64, string> trimPoints = 1;
-
setUnknownFields
public final TrimShardsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrimShardsResponse.Builder>
-
mergeUnknownFields
public final TrimShardsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrimShardsResponse.Builder>
-
-