Class StreamingCommitCursorRequest.Builder (1.10.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamingCommitCursorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StreamingCommitCursorRequest.Builder
Overrides

build()

public StreamingCommitCursorRequest build()
Returns
TypeDescription
StreamingCommitCursorRequest

buildPartial()

public StreamingCommitCursorRequest buildPartial()
Returns
TypeDescription
StreamingCommitCursorRequest

clear()

public StreamingCommitCursorRequest.Builder clear()
Returns
TypeDescription
StreamingCommitCursorRequest.Builder
Overrides

clearCommit()

public StreamingCommitCursorRequest.Builder clearCommit()

Request to commit a new cursor value.

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

Returns
TypeDescription
StreamingCommitCursorRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public StreamingCommitCursorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StreamingCommitCursorRequest.Builder
Overrides

clearInitial()

public StreamingCommitCursorRequest.Builder clearInitial()

Initial request on the stream.

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

Returns
TypeDescription
StreamingCommitCursorRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingCommitCursorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StreamingCommitCursorRequest.Builder
Overrides

clearRequest()

public StreamingCommitCursorRequest.Builder clearRequest()
Returns
TypeDescription
StreamingCommitCursorRequest.Builder

clone()

public StreamingCommitCursorRequest.Builder clone()
Returns
TypeDescription
StreamingCommitCursorRequest.Builder
Overrides

getCommit()

public SequencedCommitCursorRequest getCommit()

Request to commit a new cursor value.

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

Returns
TypeDescription
SequencedCommitCursorRequest

The commit.

getCommitBuilder()

public SequencedCommitCursorRequest.Builder getCommitBuilder()

Request to commit a new cursor value.

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

Returns
TypeDescription
SequencedCommitCursorRequest.Builder

getCommitOrBuilder()

public SequencedCommitCursorRequestOrBuilder getCommitOrBuilder()

Request to commit a new cursor value.

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

Returns
TypeDescription
SequencedCommitCursorRequestOrBuilder

getDefaultInstanceForType()

public StreamingCommitCursorRequest getDefaultInstanceForType()
Returns
TypeDescription
StreamingCommitCursorRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInitial()

public InitialCommitCursorRequest getInitial()

Initial request on the stream.

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

Returns
TypeDescription
InitialCommitCursorRequest

The initial.

getInitialBuilder()

public InitialCommitCursorRequest.Builder getInitialBuilder()

Initial request on the stream.

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

Returns
TypeDescription
InitialCommitCursorRequest.Builder

getInitialOrBuilder()

public InitialCommitCursorRequestOrBuilder getInitialOrBuilder()

Initial request on the stream.

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

Returns
TypeDescription
InitialCommitCursorRequestOrBuilder

getRequestCase()

public StreamingCommitCursorRequest.RequestCase getRequestCase()
Returns
TypeDescription
StreamingCommitCursorRequest.RequestCase

hasCommit()

public boolean hasCommit()

Request to commit a new cursor value.

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

Returns
TypeDescription
boolean

Whether the commit field is set.

hasInitial()

public boolean hasInitial()

Initial request on the stream.

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

Returns
TypeDescription
boolean

Whether the initial field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueSequencedCommitCursorRequest
Returns
TypeDescription
StreamingCommitCursorRequest.Builder

mergeFrom(StreamingCommitCursorRequest other)

public StreamingCommitCursorRequest.Builder mergeFrom(StreamingCommitCursorRequest other)
Parameter
NameDescription
otherStreamingCommitCursorRequest
Returns
TypeDescription
StreamingCommitCursorRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StreamingCommitCursorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingCommitCursorRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StreamingCommitCursorRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueInitialCommitCursorRequest
Returns
TypeDescription
StreamingCommitCursorRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingCommitCursorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueSequencedCommitCursorRequest
Returns
TypeDescription
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
NameDescription
builderForValueSequencedCommitCursorRequest.Builder
Returns
TypeDescription
StreamingCommitCursorRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingCommitCursorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueInitialCommitCursorRequest
Returns
TypeDescription
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
NameDescription
builderForValueInitialCommitCursorRequest.Builder
Returns
TypeDescription
StreamingCommitCursorRequest.Builder

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

public StreamingCommitCursorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StreamingCommitCursorRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamingCommitCursorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StreamingCommitCursorRequest.Builder
Overrides