Send feedback
Class StreamingCommitCursorRequest.Builder (1.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.6.0 keyboard_arrow_down
public static final class StreamingCommitCursorRequest . Builder extends GeneratedMessageV3 . Builder<StreamingCommitCursorRequest . Builder > implements StreamingCommitCursorRequestOrBuilder
A request sent from the client to the server on a stream.
Protobuf type google.cloud.pubsublite.v1.StreamingCommitCursorRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingCommitCursorRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public StreamingCommitCursorRequest build ()
Returns
buildPartial()
public StreamingCommitCursorRequest buildPartial ()
Returns
clear()
public StreamingCommitCursorRequest . Builder clear ()
Returns
Overrides
clearCommit()
public StreamingCommitCursorRequest . Builder clearCommit ()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public StreamingCommitCursorRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearInitial()
public StreamingCommitCursorRequest . Builder clearInitial ()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingCommitCursorRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearRequest()
public StreamingCommitCursorRequest . Builder clearRequest ()
Returns
clone()
public StreamingCommitCursorRequest . Builder clone ()
Returns
Overrides
getCommit()
public SequencedCommitCursorRequest getCommit ()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Returns
getCommitBuilder()
public SequencedCommitCursorRequest . Builder getCommitBuilder ()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Returns
getCommitOrBuilder()
public SequencedCommitCursorRequestOrBuilder getCommitOrBuilder ()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Returns
getDefaultInstanceForType()
public StreamingCommitCursorRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getInitial()
public InitialCommitCursorRequest getInitial ()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Returns
getInitialBuilder()
public InitialCommitCursorRequest . Builder getInitialBuilder ()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Returns
getInitialOrBuilder()
public InitialCommitCursorRequestOrBuilder getInitialOrBuilder ()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Returns
getRequestCase()
public StreamingCommitCursorRequest . RequestCase getRequestCase ()
Returns
hasCommit()
public boolean hasCommit ()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Returns
Type Description boolean Whether the commit field is set.
hasInitial()
public boolean hasInitial ()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest 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(SequencedCommitCursorRequest value)
public StreamingCommitCursorRequest . Builder mergeCommit ( SequencedCommitCursorRequest value )
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Parameter
Returns
mergeFrom(StreamingCommitCursorRequest other)
public StreamingCommitCursorRequest . Builder mergeFrom ( StreamingCommitCursorRequest other )
Parameter
Returns
public StreamingCommitCursorRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StreamingCommitCursorRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeInitial(InitialCommitCursorRequest value)
public StreamingCommitCursorRequest . Builder mergeInitial ( InitialCommitCursorRequest value )
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingCommitCursorRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setCommit(SequencedCommitCursorRequest value)
public StreamingCommitCursorRequest . Builder setCommit ( SequencedCommitCursorRequest value )
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Parameter
Returns
setCommit(SequencedCommitCursorRequest.Builder builderForValue)
public StreamingCommitCursorRequest . Builder setCommit ( SequencedCommitCursorRequest . Builder builderForValue )
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingCommitCursorRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setInitial(InitialCommitCursorRequest value)
public StreamingCommitCursorRequest . Builder setInitial ( InitialCommitCursorRequest value )
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Parameter
Returns
setInitial(InitialCommitCursorRequest.Builder builderForValue)
public StreamingCommitCursorRequest . Builder setInitial ( InitialCommitCursorRequest . Builder builderForValue )
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingCommitCursorRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingCommitCursorRequest . 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-27 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-27 UTC."],[],[]]