public static final class StreamingCommitCursorResponse.Builder extends GeneratedMessageV3.Builder<StreamingCommitCursorResponse.Builder> implements StreamingCommitCursorResponseOrBuilder
Response to a StreamingCommitCursorRequest.
Protobuf type google.cloud.pubsublite.v1.StreamingCommitCursorResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingCommitCursorResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StreamingCommitCursorResponse build()
Returns
buildPartial()
public StreamingCommitCursorResponse buildPartial()
Returns
clear()
public StreamingCommitCursorResponse.Builder clear()
Returns
Overrides
clearCommit()
public StreamingCommitCursorResponse.Builder clearCommit()
Response to committing a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorResponse commit = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public StreamingCommitCursorResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInitial()
public StreamingCommitCursorResponse.Builder clearInitial()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingCommitCursorResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRequest()
public StreamingCommitCursorResponse.Builder clearRequest()
Returns
clone()
public StreamingCommitCursorResponse.Builder clone()
Returns
Overrides
getCommit()
public SequencedCommitCursorResponse getCommit()
Response to committing a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorResponse commit = 2;
Returns
getCommitBuilder()
public SequencedCommitCursorResponse.Builder getCommitBuilder()
Response to committing a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorResponse commit = 2;
Returns
getCommitOrBuilder()
public SequencedCommitCursorResponseOrBuilder getCommitOrBuilder()
Response to committing a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorResponse commit = 2;
Returns
getDefaultInstanceForType()
public StreamingCommitCursorResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInitial()
public InitialCommitCursorResponse getInitial()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
Returns
getInitialBuilder()
public InitialCommitCursorResponse.Builder getInitialBuilder()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
Returns
getInitialOrBuilder()
public InitialCommitCursorResponseOrBuilder getInitialOrBuilder()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
Returns
getRequestCase()
public StreamingCommitCursorResponse.RequestCase getRequestCase()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(StreamingCommitCursorResponse other)
public StreamingCommitCursorResponse.Builder mergeFrom(StreamingCommitCursorResponse other)
Parameter
Returns
public StreamingCommitCursorResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StreamingCommitCursorResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeInitial(InitialCommitCursorResponse value)
public StreamingCommitCursorResponse.Builder mergeInitial(InitialCommitCursorResponse value)
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingCommitCursorResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingCommitCursorResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInitial(InitialCommitCursorResponse value)
public StreamingCommitCursorResponse.Builder setInitial(InitialCommitCursorResponse value)
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
Parameter
Returns
setInitial(InitialCommitCursorResponse.Builder builderForValue)
public StreamingCommitCursorResponse.Builder setInitial(InitialCommitCursorResponse.Builder builderForValue)
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingCommitCursorResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingCommitCursorResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides