Package io.hstream.internal
Class TrimShardsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TrimShardsRequest.Builder>
-
- io.hstream.internal.TrimShardsRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,TrimShardsRequestOrBuilder
,Cloneable
- Enclosing class:
- TrimShardsRequest
public static final class TrimShardsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TrimShardsRequest.Builder> implements TrimShardsRequestOrBuilder
Protobuf typehstream.server.TrimShardsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TrimShardsRequest.Builder
addAllRecordIds(Iterable<String> values)
recordId: "shardId-batchId-batchIndex"TrimShardsRequest.Builder
addRecordIds(String value)
recordId: "shardId-batchId-batchIndex"TrimShardsRequest.Builder
addRecordIdsBytes(com.google.protobuf.ByteString value)
recordId: "shardId-batchId-batchIndex"TrimShardsRequest
build()
TrimShardsRequest
buildPartial()
TrimShardsRequest.Builder
clear()
TrimShardsRequest.Builder
clearRecordIds()
recordId: "shardId-batchId-batchIndex"TrimShardsRequest.Builder
clearStreamName()
string streamName = 1;
TrimShardsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getRecordIds(int index)
recordId: "shardId-batchId-batchIndex"com.google.protobuf.ByteString
getRecordIdsBytes(int index)
recordId: "shardId-batchId-batchIndex"int
getRecordIdsCount()
recordId: "shardId-batchId-batchIndex"com.google.protobuf.ProtocolStringList
getRecordIdsList()
recordId: "shardId-batchId-batchIndex"String
getStreamName()
string streamName = 1;
com.google.protobuf.ByteString
getStreamNameBytes()
string streamName = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TrimShardsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TrimShardsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
TrimShardsRequest.Builder
mergeFrom(TrimShardsRequest other)
TrimShardsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TrimShardsRequest.Builder
setRecordIds(int index, String value)
recordId: "shardId-batchId-batchIndex"TrimShardsRequest.Builder
setStreamName(String value)
string streamName = 1;
TrimShardsRequest.Builder
setStreamNameBytes(com.google.protobuf.ByteString value)
string streamName = 1;
TrimShardsRequest.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<TrimShardsRequest.Builder>
-
clear
public TrimShardsRequest.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<TrimShardsRequest.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<TrimShardsRequest.Builder>
-
getDefaultInstanceForType
public TrimShardsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TrimShardsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TrimShardsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public TrimShardsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TrimShardsRequest.Builder>
-
mergeFrom
public TrimShardsRequest.Builder mergeFrom(TrimShardsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrimShardsRequest.Builder>
-
mergeFrom
public TrimShardsRequest.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<TrimShardsRequest.Builder>
- Throws:
IOException
-
getStreamName
public String getStreamName()
string streamName = 1;
- Specified by:
getStreamName
in interfaceTrimShardsRequestOrBuilder
- Returns:
- The streamName.
-
getStreamNameBytes
public com.google.protobuf.ByteString getStreamNameBytes()
string streamName = 1;
- Specified by:
getStreamNameBytes
in interfaceTrimShardsRequestOrBuilder
- Returns:
- The bytes for streamName.
-
setStreamName
public TrimShardsRequest.Builder setStreamName(String value)
string streamName = 1;
- Parameters:
value
- The streamName to set.- Returns:
- This builder for chaining.
-
clearStreamName
public TrimShardsRequest.Builder clearStreamName()
string streamName = 1;
- Returns:
- This builder for chaining.
-
setStreamNameBytes
public TrimShardsRequest.Builder setStreamNameBytes(com.google.protobuf.ByteString value)
string streamName = 1;
- Parameters:
value
- The bytes for streamName to set.- Returns:
- This builder for chaining.
-
getRecordIdsList
public com.google.protobuf.ProtocolStringList getRecordIdsList()
recordId: "shardId-batchId-batchIndex"
repeated string recordIds = 2;
- Specified by:
getRecordIdsList
in interfaceTrimShardsRequestOrBuilder
- Returns:
- A list containing the recordIds.
-
getRecordIdsCount
public int getRecordIdsCount()
recordId: "shardId-batchId-batchIndex"
repeated string recordIds = 2;
- Specified by:
getRecordIdsCount
in interfaceTrimShardsRequestOrBuilder
- Returns:
- The count of recordIds.
-
getRecordIds
public String getRecordIds(int index)
recordId: "shardId-batchId-batchIndex"
repeated string recordIds = 2;
- Specified by:
getRecordIds
in interfaceTrimShardsRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The recordIds at the given index.
-
getRecordIdsBytes
public com.google.protobuf.ByteString getRecordIdsBytes(int index)
recordId: "shardId-batchId-batchIndex"
repeated string recordIds = 2;
- Specified by:
getRecordIdsBytes
in interfaceTrimShardsRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the recordIds at the given index.
-
setRecordIds
public TrimShardsRequest.Builder setRecordIds(int index, String value)
recordId: "shardId-batchId-batchIndex"
repeated string recordIds = 2;
- Parameters:
index
- The index to set the value at.value
- The recordIds to set.- Returns:
- This builder for chaining.
-
addRecordIds
public TrimShardsRequest.Builder addRecordIds(String value)
recordId: "shardId-batchId-batchIndex"
repeated string recordIds = 2;
- Parameters:
value
- The recordIds to add.- Returns:
- This builder for chaining.
-
addAllRecordIds
public TrimShardsRequest.Builder addAllRecordIds(Iterable<String> values)
recordId: "shardId-batchId-batchIndex"
repeated string recordIds = 2;
- Parameters:
values
- The recordIds to add.- Returns:
- This builder for chaining.
-
clearRecordIds
public TrimShardsRequest.Builder clearRecordIds()
recordId: "shardId-batchId-batchIndex"
repeated string recordIds = 2;
- Returns:
- This builder for chaining.
-
addRecordIdsBytes
public TrimShardsRequest.Builder addRecordIdsBytes(com.google.protobuf.ByteString value)
recordId: "shardId-batchId-batchIndex"
repeated string recordIds = 2;
- Parameters:
value
- The bytes of the recordIds to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TrimShardsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrimShardsRequest.Builder>
-
mergeUnknownFields
public final TrimShardsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrimShardsRequest.Builder>
-
-