public static final class SequencedCommitCursorResponse.Builder extends GeneratedMessageV3.Builder<SequencedCommitCursorResponse.Builder> implements SequencedCommitCursorResponseOrBuilder
Response to a SequencedCommitCursorRequest.
Protobuf type google.cloud.pubsublite.v1.SequencedCommitCursorResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SequencedCommitCursorResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SequencedCommitCursorResponse build()
buildPartial()
public SequencedCommitCursorResponse buildPartial()
clear()
public SequencedCommitCursorResponse.Builder clear()
Overrides
clearAcknowledgedCommits()
public SequencedCommitCursorResponse.Builder clearAcknowledgedCommits()
The number of outstanding SequencedCommitCursorRequests acknowledged by
this response. Note that SequencedCommitCursorRequests are acknowledged in
the order that they are received.
int64 acknowledged_commits = 1;
clearField(Descriptors.FieldDescriptor field)
public SequencedCommitCursorResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SequencedCommitCursorResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SequencedCommitCursorResponse.Builder clone()
Overrides
getAcknowledgedCommits()
public long getAcknowledgedCommits()
The number of outstanding SequencedCommitCursorRequests acknowledged by
this response. Note that SequencedCommitCursorRequests are acknowledged in
the order that they are received.
int64 acknowledged_commits = 1;
Returns |
Type |
Description |
long |
The acknowledgedCommits.
|
getDefaultInstanceForType()
public SequencedCommitCursorResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SequencedCommitCursorResponse other)
public SequencedCommitCursorResponse.Builder mergeFrom(SequencedCommitCursorResponse other)
public SequencedCommitCursorResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SequencedCommitCursorResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SequencedCommitCursorResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAcknowledgedCommits(long value)
public SequencedCommitCursorResponse.Builder setAcknowledgedCommits(long value)
The number of outstanding SequencedCommitCursorRequests acknowledged by
this response. Note that SequencedCommitCursorRequests are acknowledged in
the order that they are received.
int64 acknowledged_commits = 1;
Parameter |
Name |
Description |
value |
long
The acknowledgedCommits to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SequencedCommitCursorResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SequencedCommitCursorResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SequencedCommitCursorResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides