Class StreamingCommitCursorResponse.Builder (1.4.12)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamingCommitCursorResponse build()
Returns
TypeDescription
StreamingCommitCursorResponse

buildPartial()

public StreamingCommitCursorResponse buildPartial()
Returns
TypeDescription
StreamingCommitCursorResponse

clear()

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

clearCommit()

public StreamingCommitCursorResponse.Builder clearCommit()

Response to committing a new cursor value.

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

Returns
TypeDescription
StreamingCommitCursorResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInitial()

public StreamingCommitCursorResponse.Builder clearInitial()

Initial response on the stream.

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

Returns
TypeDescription
StreamingCommitCursorResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequest()

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

clone()

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

getCommit()

public SequencedCommitCursorResponse getCommit()

Response to committing a new cursor value.

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

Returns
TypeDescription
SequencedCommitCursorResponse

The commit.

getCommitBuilder()

public SequencedCommitCursorResponse.Builder getCommitBuilder()

Response to committing a new cursor value.

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

Returns
TypeDescription
SequencedCommitCursorResponse.Builder

getCommitOrBuilder()

public SequencedCommitCursorResponseOrBuilder getCommitOrBuilder()

Response to committing a new cursor value.

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

Returns
TypeDescription
SequencedCommitCursorResponseOrBuilder

getDefaultInstanceForType()

public StreamingCommitCursorResponse getDefaultInstanceForType()
Returns
TypeDescription
StreamingCommitCursorResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInitial()

public InitialCommitCursorResponse getInitial()

Initial response on the stream.

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

Returns
TypeDescription
InitialCommitCursorResponse

The initial.

getInitialBuilder()

public InitialCommitCursorResponse.Builder getInitialBuilder()

Initial response on the stream.

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

Returns
TypeDescription
InitialCommitCursorResponse.Builder

getInitialOrBuilder()

public InitialCommitCursorResponseOrBuilder getInitialOrBuilder()

Initial response on the stream.

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

Returns
TypeDescription
InitialCommitCursorResponseOrBuilder

getRequestCase()

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

hasCommit()

public boolean hasCommit()

Response to committing a new cursor value.

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

Returns
TypeDescription
boolean

Whether the commit field is set.

hasInitial()

public boolean hasInitial()

Initial response on the stream.

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

public StreamingCommitCursorResponse.Builder mergeCommit(SequencedCommitCursorResponse value)

Response to committing a new cursor value.

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

Parameter
NameDescription
valueSequencedCommitCursorResponse
Returns
TypeDescription
StreamingCommitCursorResponse.Builder

mergeFrom(StreamingCommitCursorResponse other)

public StreamingCommitCursorResponse.Builder mergeFrom(StreamingCommitCursorResponse other)
Parameter
NameDescription
otherStreamingCommitCursorResponse
Returns
TypeDescription
StreamingCommitCursorResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingCommitCursorResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueSequencedCommitCursorResponse
Returns
TypeDescription
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
NameDescription
builderForValueSequencedCommitCursorResponse.Builder
Returns
TypeDescription
StreamingCommitCursorResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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