Package s2.v1
Interface AppendInputOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AppendInput
,AppendInput.Builder
public interface AppendInputOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getFencingToken()
Enforce a fencing token which must have been previously set by a `fence` command record.com.google.protobuf.ByteString
getFencingTokenBytes()
Enforce a fencing token which must have been previously set by a `fence` command record.long
getMatchSeqNum()
Enforce that the sequence number issued to the first record matches.AppendRecord
getRecords(int index)
Batch of records to append atomically, which must contain at least one record, and no more than 1000.int
getRecordsCount()
Batch of records to append atomically, which must contain at least one record, and no more than 1000.java.util.List<AppendRecord>
getRecordsList()
Batch of records to append atomically, which must contain at least one record, and no more than 1000.AppendRecordOrBuilder
getRecordsOrBuilder(int index)
Batch of records to append atomically, which must contain at least one record, and no more than 1000.java.util.List<? extends AppendRecordOrBuilder>
getRecordsOrBuilderList()
Batch of records to append atomically, which must contain at least one record, and no more than 1000.boolean
hasFencingToken()
Enforce a fencing token which must have been previously set by a `fence` command record.boolean
hasMatchSeqNum()
Enforce that the sequence number issued to the first record matches.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRecordsList
java.util.List<AppendRecord> getRecordsList()
Batch of records to append atomically, which must contain at least one record, and no more than 1000. The total size of a batch of records may not exceed 1MiB of metered bytes.
repeated .s2.v1.AppendRecord records = 1;
-
getRecords
AppendRecord getRecords(int index)
Batch of records to append atomically, which must contain at least one record, and no more than 1000. The total size of a batch of records may not exceed 1MiB of metered bytes.
repeated .s2.v1.AppendRecord records = 1;
-
getRecordsCount
int getRecordsCount()
Batch of records to append atomically, which must contain at least one record, and no more than 1000. The total size of a batch of records may not exceed 1MiB of metered bytes.
repeated .s2.v1.AppendRecord records = 1;
-
getRecordsOrBuilderList
java.util.List<? extends AppendRecordOrBuilder> getRecordsOrBuilderList()
Batch of records to append atomically, which must contain at least one record, and no more than 1000. The total size of a batch of records may not exceed 1MiB of metered bytes.
repeated .s2.v1.AppendRecord records = 1;
-
getRecordsOrBuilder
AppendRecordOrBuilder getRecordsOrBuilder(int index)
Batch of records to append atomically, which must contain at least one record, and no more than 1000. The total size of a batch of records may not exceed 1MiB of metered bytes.
repeated .s2.v1.AppendRecord records = 1;
-
hasMatchSeqNum
boolean hasMatchSeqNum()
Enforce that the sequence number issued to the first record matches.
optional uint64 match_seq_num = 2;
- Returns:
- Whether the matchSeqNum field is set.
-
getMatchSeqNum
long getMatchSeqNum()
Enforce that the sequence number issued to the first record matches.
optional uint64 match_seq_num = 2;
- Returns:
- The matchSeqNum.
-
hasFencingToken
boolean hasFencingToken()
Enforce a fencing token which must have been previously set by a `fence` command record.
optional string fencing_token = 3;
- Returns:
- Whether the fencingToken field is set.
-
getFencingToken
java.lang.String getFencingToken()
Enforce a fencing token which must have been previously set by a `fence` command record.
optional string fencing_token = 3;
- Returns:
- The fencingToken.
-
getFencingTokenBytes
com.google.protobuf.ByteString getFencingTokenBytes()
Enforce a fencing token which must have been previously set by a `fence` command record.
optional string fencing_token = 3;
- Returns:
- The bytes for fencingToken.
-
-