Send feedback
Class StreamingCommitCursorResponse.Builder (1.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.11.0 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]