Package s2.v1alpha
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 SummaryModifier and TypeMethodDescriptioncom.google.protobuf.ByteStringEnforce a fencing token which must have been previously set by a `fence` command record.longEnforce that the sequence number issued to the first record matches.getRecords(int index) Batch of records to append atomically, which must contain at least one record, and no more than 1000.intBatch of records to append atomically, which must contain at least one record, and no more than 1000.Batch of records to append atomically, which must contain at least one record, and no more than 1000.getRecordsOrBuilder(int index) Batch of records to append atomically, which must contain at least one record, and no more than 1000.List<? extends AppendRecordOrBuilder>Batch of records to append atomically, which must contain at least one record, and no more than 1000.Stream name.com.google.protobuf.ByteStringStream name.booleanEnforce a fencing token which must have been previously set by a `fence` command record.booleanEnforce that the sequence number issued to the first record matches.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilderisInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilderfindInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
- 
Method Details- 
getStreamString getStream()Stream name. Optional for subsequent requests in the session. string stream = 1;- Returns:
- The stream.
 
- 
getStreamBytescom.google.protobuf.ByteString getStreamBytes()Stream name. Optional for subsequent requests in the session. string stream = 1;- Returns:
- The bytes for stream.
 
- 
getRecordsListList<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.v1alpha.AppendRecord records = 2;
- 
getRecordsBatch 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.v1alpha.AppendRecord records = 2;
- 
getRecordsCountint 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.v1alpha.AppendRecord records = 2;
- 
getRecordsOrBuilderListList<? 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.v1alpha.AppendRecord records = 2;
- 
getRecordsOrBuilderBatch 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.v1alpha.AppendRecord records = 2;
- 
hasMatchSeqNumboolean hasMatchSeqNum()Enforce that the sequence number issued to the first record matches. optional uint64 match_seq_num = 3;- Returns:
- Whether the matchSeqNum field is set.
 
- 
getMatchSeqNumlong getMatchSeqNum()Enforce that the sequence number issued to the first record matches. optional uint64 match_seq_num = 3;- Returns:
- The matchSeqNum.
 
- 
hasFencingTokenboolean hasFencingToken()Enforce a fencing token which must have been previously set by a `fence` command record. optional bytes fencing_token = 4;- Returns:
- Whether the fencingToken field is set.
 
- 
getFencingTokencom.google.protobuf.ByteString getFencingToken()Enforce a fencing token which must have been previously set by a `fence` command record. optional bytes fencing_token = 4;- Returns:
- The fencingToken.
 
 
-