public static final class SequencedCommitCursorRequest.Builder extends GeneratedMessageV3.Builder<SequencedCommitCursorRequest.Builder> implements SequencedCommitCursorRequestOrBuilder
Streaming request to update the committed cursor. Subsequent SequencedCommitCursorRequests override outstanding ones.
Protobuf type google.cloud.pubsublite.v1.SequencedCommitCursorRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SequencedCommitCursorRequest.BuilderImplements
SequencedCommitCursorRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SequencedCommitCursorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
build()
public SequencedCommitCursorRequest build()
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest |
buildPartial()
public SequencedCommitCursorRequest buildPartial()
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest |
clear()
public SequencedCommitCursorRequest.Builder clear()
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
clearCursor()
public SequencedCommitCursorRequest.Builder clearCursor()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public SequencedCommitCursorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SequencedCommitCursorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
clone()
public SequencedCommitCursorRequest.Builder clone()
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
getCursor()
public Cursor getCursor()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Returns | |
---|---|
Type | Description |
Cursor | The cursor. |
getCursorBuilder()
public Cursor.Builder getCursorBuilder()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Returns | |
---|---|
Type | Description |
Cursor.Builder |
getCursorOrBuilder()
public CursorOrBuilder getCursorOrBuilder()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Returns | |
---|---|
Type | Description |
CursorOrBuilder |
getDefaultInstanceForType()
public SequencedCommitCursorRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
hasCursor()
public boolean hasCursor()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the cursor field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCursor(Cursor value)
public SequencedCommitCursorRequest.Builder mergeCursor(Cursor value)
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Parameter | |
---|---|
Name | Description |
value | Cursor |
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
mergeFrom(SequencedCommitCursorRequest other)
public SequencedCommitCursorRequest.Builder mergeFrom(SequencedCommitCursorRequest other)
Parameter | |
---|---|
Name | Description |
other | SequencedCommitCursorRequest |
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SequencedCommitCursorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SequencedCommitCursorRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SequencedCommitCursorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
setCursor(Cursor value)
public SequencedCommitCursorRequest.Builder setCursor(Cursor value)
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Parameter | |
---|---|
Name | Description |
value | Cursor |
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
setCursor(Cursor.Builder builderForValue)
public SequencedCommitCursorRequest.Builder setCursor(Cursor.Builder builderForValue)
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | Cursor.Builder |
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SequencedCommitCursorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SequencedCommitCursorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SequencedCommitCursorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SequencedCommitCursorRequest.Builder |