Class StreamingCommitCursorResponse.Builder (1.13.3)

public static final class StreamingCommitCursorResponse.Builder extends GeneratedMessageV3.Builder<StreamingCommitCursorResponse.Builder> implements StreamingCommitCursorResponseOrBuilder

Response to a StreamingCommitCursorRequest.

Protobuf type google.cloud.pubsublite.v1.StreamingCommitCursorResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamingCommitCursorResponse build()
Returns
Type Description
StreamingCommitCursorResponse

buildPartial()

public StreamingCommitCursorResponse buildPartial()
Returns
Type Description
StreamingCommitCursorResponse

clear()

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

clearCommit()

public StreamingCommitCursorResponse.Builder clearCommit()

Response to committing a new cursor value.

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

Returns
Type Description
StreamingCommitCursorResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInitial()

public StreamingCommitCursorResponse.Builder clearInitial()

Initial response on the stream.

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

Returns
Type Description
StreamingCommitCursorResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequest()

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

clone()

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

getCommit()

public SequencedCommitCursorResponse getCommit()

Response to committing a new cursor value.

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

Returns
Type Description
SequencedCommitCursorResponse

The commit.

getCommitBuilder()

public SequencedCommitCursorResponse.Builder getCommitBuilder()

Response to committing a new cursor value.

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

Returns
Type Description
SequencedCommitCursorResponse.Builder

getCommitOrBuilder()

public SequencedCommitCursorResponseOrBuilder getCommitOrBuilder()

Response to committing a new cursor value.

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

Returns
Type Description
SequencedCommitCursorResponseOrBuilder

getDefaultInstanceForType()

public StreamingCommitCursorResponse getDefaultInstanceForType()
Returns
Type Description
StreamingCommitCursorResponse

getDescriptorForType()

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

getInitial()

public InitialCommitCursorResponse getInitial()

Initial response on the stream.

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

Returns
Type Description
InitialCommitCursorResponse

The initial.

getInitialBuilder()

public InitialCommitCursorResponse.Builder getInitialBuilder()

Initial response on the stream.

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

Returns
Type Description
InitialCommitCursorResponse.Builder

getInitialOrBuilder()

public InitialCommitCursorResponseOrBuilder getInitialOrBuilder()

Initial response on the stream.

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

Returns
Type Description
InitialCommitCursorResponseOrBuilder

getRequestCase()

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

hasCommit()

public boolean hasCommit()

Response to committing a new cursor value.

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

Returns
Type Description
boolean

Whether the commit field is set.

hasInitial()

public boolean hasInitial()

Initial response on the stream.

.google.cloud.pubsublite.v1.InitialCommitCursorResponse 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(SequencedCommitCursorResponse value)

public StreamingCommitCursorResponse.Builder mergeCommit(SequencedCommitCursorResponse value)

Response to committing a new cursor value.

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

Parameter
Name Description
value SequencedCommitCursorResponse
Returns
Type Description
StreamingCommitCursorResponse.Builder

mergeFrom(StreamingCommitCursorResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInitial(InitialCommitCursorResponse value)

public StreamingCommitCursorResponse.Builder mergeInitial(InitialCommitCursorResponse value)

Initial response on the stream.

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

Parameter
Name Description
value InitialCommitCursorResponse
Returns
Type Description
StreamingCommitCursorResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommit(SequencedCommitCursorResponse value)

public StreamingCommitCursorResponse.Builder setCommit(SequencedCommitCursorResponse value)

Response to committing a new cursor value.

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

Parameter
Name Description
value SequencedCommitCursorResponse
Returns
Type Description
StreamingCommitCursorResponse.Builder

setCommit(SequencedCommitCursorResponse.Builder builderForValue)

public StreamingCommitCursorResponse.Builder setCommit(SequencedCommitCursorResponse.Builder builderForValue)

Response to committing a new cursor value.

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

Parameter
Name Description
builderForValue SequencedCommitCursorResponse.Builder
Returns
Type Description
StreamingCommitCursorResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInitial(InitialCommitCursorResponse value)

public StreamingCommitCursorResponse.Builder setInitial(InitialCommitCursorResponse value)

Initial response on the stream.

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

Parameter
Name Description
value InitialCommitCursorResponse
Returns
Type Description
StreamingCommitCursorResponse.Builder

setInitial(InitialCommitCursorResponse.Builder builderForValue)

public StreamingCommitCursorResponse.Builder setInitial(InitialCommitCursorResponse.Builder builderForValue)

Initial response on the stream.

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

Parameter
Name Description
builderForValue InitialCommitCursorResponse.Builder
Returns
Type Description
StreamingCommitCursorResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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