Class StreamingCommitCursorRequest.Builder (1.13.6)

public static final class StreamingCommitCursorRequest.Builder extends GeneratedMessageV3.Builder<StreamingCommitCursorRequest.Builder> implements StreamingCommitCursorRequestOrBuilder

A request sent from the client to the server on a stream.

Protobuf type google.cloud.pubsublite.v1.StreamingCommitCursorRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamingCommitCursorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StreamingCommitCursorRequest.Builder
Overrides

build()

public StreamingCommitCursorRequest build()
Returns
Type Description
StreamingCommitCursorRequest

buildPartial()

public StreamingCommitCursorRequest buildPartial()
Returns
Type Description
StreamingCommitCursorRequest

clear()

public StreamingCommitCursorRequest.Builder clear()
Returns
Type Description
StreamingCommitCursorRequest.Builder
Overrides

clearCommit()

public StreamingCommitCursorRequest.Builder clearCommit()

Request to commit a new cursor value.

.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;

Returns
Type Description
StreamingCommitCursorRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public StreamingCommitCursorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StreamingCommitCursorRequest.Builder
Overrides

clearInitial()

public StreamingCommitCursorRequest.Builder clearInitial()

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;

Returns
Type Description
StreamingCommitCursorRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingCommitCursorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StreamingCommitCursorRequest.Builder
Overrides

clearRequest()

public StreamingCommitCursorRequest.Builder clearRequest()
Returns
Type Description
StreamingCommitCursorRequest.Builder

clone()

public StreamingCommitCursorRequest.Builder clone()
Returns
Type Description
StreamingCommitCursorRequest.Builder
Overrides

getCommit()

public SequencedCommitCursorRequest getCommit()

Request to commit a new cursor value.

.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;

Returns
Type Description
SequencedCommitCursorRequest

The commit.

getCommitBuilder()

public SequencedCommitCursorRequest.Builder getCommitBuilder()

Request to commit a new cursor value.

.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;

Returns
Type Description
SequencedCommitCursorRequest.Builder

getCommitOrBuilder()

public SequencedCommitCursorRequestOrBuilder getCommitOrBuilder()

Request to commit a new cursor value.

.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;

Returns
Type Description
SequencedCommitCursorRequestOrBuilder

getDefaultInstanceForType()

public StreamingCommitCursorRequest getDefaultInstanceForType()
Returns
Type Description
StreamingCommitCursorRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInitial()

public InitialCommitCursorRequest getInitial()

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;

Returns
Type Description
InitialCommitCursorRequest

The initial.

getInitialBuilder()

public InitialCommitCursorRequest.Builder getInitialBuilder()

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;

Returns
Type Description
InitialCommitCursorRequest.Builder

getInitialOrBuilder()

public InitialCommitCursorRequestOrBuilder getInitialOrBuilder()

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;

Returns
Type Description
InitialCommitCursorRequestOrBuilder

getRequestCase()

public StreamingCommitCursorRequest.RequestCase getRequestCase()
Returns
Type Description
StreamingCommitCursorRequest.RequestCase

hasCommit()

public boolean hasCommit()

Request to commit a new cursor value.

.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;

Returns
Type Description
boolean

Whether the commit field is set.

hasInitial()

public boolean hasInitial()

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;

Returns
Type Description
boolean

Whether the initial field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCommit(SequencedCommitCursorRequest value)

public StreamingCommitCursorRequest.Builder mergeCommit(SequencedCommitCursorRequest value)

Request to commit a new cursor value.

.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;

Parameter
Name Description
value SequencedCommitCursorRequest
Returns
Type Description
StreamingCommitCursorRequest.Builder

mergeFrom(StreamingCommitCursorRequest other)

public StreamingCommitCursorRequest.Builder mergeFrom(StreamingCommitCursorRequest other)
Parameter
Name Description
other StreamingCommitCursorRequest
Returns
Type Description
StreamingCommitCursorRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StreamingCommitCursorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingCommitCursorRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StreamingCommitCursorRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StreamingCommitCursorRequest.Builder
Overrides

mergeInitial(InitialCommitCursorRequest value)

public StreamingCommitCursorRequest.Builder mergeInitial(InitialCommitCursorRequest value)

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;

Parameter
Name Description
value InitialCommitCursorRequest
Returns
Type Description
StreamingCommitCursorRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingCommitCursorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamingCommitCursorRequest.Builder
Overrides

setCommit(SequencedCommitCursorRequest value)

public StreamingCommitCursorRequest.Builder setCommit(SequencedCommitCursorRequest value)

Request to commit a new cursor value.

.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;

Parameter
Name Description
value SequencedCommitCursorRequest
Returns
Type Description
StreamingCommitCursorRequest.Builder

setCommit(SequencedCommitCursorRequest.Builder builderForValue)

public StreamingCommitCursorRequest.Builder setCommit(SequencedCommitCursorRequest.Builder builderForValue)

Request to commit a new cursor value.

.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;

Parameter
Name Description
builderForValue SequencedCommitCursorRequest.Builder
Returns
Type Description
StreamingCommitCursorRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingCommitCursorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StreamingCommitCursorRequest.Builder
Overrides

setInitial(InitialCommitCursorRequest value)

public StreamingCommitCursorRequest.Builder setInitial(InitialCommitCursorRequest value)

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;

Parameter
Name Description
value InitialCommitCursorRequest
Returns
Type Description
StreamingCommitCursorRequest.Builder

setInitial(InitialCommitCursorRequest.Builder builderForValue)

public StreamingCommitCursorRequest.Builder setInitial(InitialCommitCursorRequest.Builder builderForValue)

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;

Parameter
Name Description
builderForValue InitialCommitCursorRequest.Builder
Returns
Type Description
StreamingCommitCursorRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StreamingCommitCursorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StreamingCommitCursorRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamingCommitCursorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamingCommitCursorRequest.Builder
Overrides