public static final class SequencedCommitCursorResponse.Builder extends GeneratedMessageV3.Builder<SequencedCommitCursorResponse.Builder> implements SequencedCommitCursorResponseOrBuilder
Response to a SequencedCommitCursorRequest.
Protobuf type google.cloud.pubsublite.v1.SequencedCommitCursorResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SequencedCommitCursorResponse.BuilderImplements
SequencedCommitCursorResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SequencedCommitCursorResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SequencedCommitCursorResponse.Builder |
build()
public SequencedCommitCursorResponse build()
Type | Description |
SequencedCommitCursorResponse |
buildPartial()
public SequencedCommitCursorResponse buildPartial()
Type | Description |
SequencedCommitCursorResponse |
clear()
public SequencedCommitCursorResponse.Builder clear()
Type | Description |
SequencedCommitCursorResponse.Builder |
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;
Type | Description |
SequencedCommitCursorResponse.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SequencedCommitCursorResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SequencedCommitCursorResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SequencedCommitCursorResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SequencedCommitCursorResponse.Builder |
clone()
public SequencedCommitCursorResponse.Builder clone()
Type | Description |
SequencedCommitCursorResponse.Builder |
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;
Type | Description |
long | The acknowledgedCommits. |
getDefaultInstanceForType()
public SequencedCommitCursorResponse getDefaultInstanceForType()
Type | Description |
SequencedCommitCursorResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SequencedCommitCursorResponse other)
public SequencedCommitCursorResponse.Builder mergeFrom(SequencedCommitCursorResponse other)
Name | Description |
other | SequencedCommitCursorResponse |
Type | Description |
SequencedCommitCursorResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SequencedCommitCursorResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SequencedCommitCursorResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SequencedCommitCursorResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SequencedCommitCursorResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SequencedCommitCursorResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SequencedCommitCursorResponse.Builder |
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;
Name | Description |
value | long The acknowledgedCommits to set. |
Type | Description |
SequencedCommitCursorResponse.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SequencedCommitCursorResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SequencedCommitCursorResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SequencedCommitCursorResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SequencedCommitCursorResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SequencedCommitCursorResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SequencedCommitCursorResponse.Builder |