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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingCommitCursorResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StreamingCommitCursorResponse build()
buildPartial()
public StreamingCommitCursorResponse buildPartial()
clear()
public StreamingCommitCursorResponse.Builder clear()
Overrides
clearCommit()
public StreamingCommitCursorResponse.Builder clearCommit()
Response to committing a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorResponse commit = 2;
clearField(Descriptors.FieldDescriptor field)
public StreamingCommitCursorResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInitial()
public StreamingCommitCursorResponse.Builder clearInitial()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingCommitCursorResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRequest()
public StreamingCommitCursorResponse.Builder clearRequest()
clone()
public StreamingCommitCursorResponse.Builder clone()
Overrides
getCommit()
public SequencedCommitCursorResponse getCommit()
Response to committing a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorResponse commit = 2;
getCommitBuilder()
public SequencedCommitCursorResponse.Builder getCommitBuilder()
Response to committing a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorResponse commit = 2;
getCommitOrBuilder()
public SequencedCommitCursorResponseOrBuilder getCommitOrBuilder()
Response to committing a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorResponse commit = 2;
getDefaultInstanceForType()
public StreamingCommitCursorResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInitial()
public InitialCommitCursorResponse getInitial()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
getInitialBuilder()
public InitialCommitCursorResponse.Builder getInitialBuilder()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
getInitialOrBuilder()
public InitialCommitCursorResponseOrBuilder getInitialOrBuilder()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
getRequestCase()
public StreamingCommitCursorResponse.RequestCase getRequestCase()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCommit(SequencedCommitCursorResponse value)
public StreamingCommitCursorResponse.Builder mergeCommit(SequencedCommitCursorResponse value)
Response to committing a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorResponse commit = 2;
mergeFrom(StreamingCommitCursorResponse other)
public StreamingCommitCursorResponse.Builder mergeFrom(StreamingCommitCursorResponse other)
public StreamingCommitCursorResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StreamingCommitCursorResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeInitial(InitialCommitCursorResponse value)
public StreamingCommitCursorResponse.Builder mergeInitial(InitialCommitCursorResponse value)
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingCommitCursorResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCommit(SequencedCommitCursorResponse value)
public StreamingCommitCursorResponse.Builder setCommit(SequencedCommitCursorResponse value)
Response to committing a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorResponse commit = 2;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingCommitCursorResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInitial(InitialCommitCursorResponse value)
public StreamingCommitCursorResponse.Builder setInitial(InitialCommitCursorResponse value)
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
setInitial(InitialCommitCursorResponse.Builder builderForValue)
public StreamingCommitCursorResponse.Builder setInitial(InitialCommitCursorResponse.Builder builderForValue)
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingCommitCursorResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingCommitCursorResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides