Send feedback
Class InitialSubscribeResponse.Builder (1.5.5)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.5.5 keyboard_arrow_down
public static final class InitialSubscribeResponse . Builder extends GeneratedMessageV3 . Builder<InitialSubscribeResponse . Builder > implements InitialSubscribeResponseOrBuilder
Response to an InitialSubscribeRequest.
Protobuf type google.cloud.pubsublite.v1.InitialSubscribeResponse
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InitialSubscribeResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public InitialSubscribeResponse build ()
Returns
buildPartial()
public InitialSubscribeResponse buildPartial ()
Returns
clear()
public InitialSubscribeResponse . Builder clear ()
Returns
Overrides
clearCursor()
public InitialSubscribeResponse . Builder clearCursor ()
The cursor from which the subscriber will start receiving messages once
flow control tokens become available.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public InitialSubscribeResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InitialSubscribeResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public InitialSubscribeResponse . Builder clone ()
Returns
Overrides
getCursor()
public Cursor getCursor ()
The cursor from which the subscriber will start receiving messages once
flow control tokens become available.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Returns
Type Description Cursor The cursor.
getCursorBuilder()
public Cursor . Builder getCursorBuilder ()
The cursor from which the subscriber will start receiving messages once
flow control tokens become available.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Returns
getCursorOrBuilder()
public CursorOrBuilder getCursorOrBuilder ()
The cursor from which the subscriber will start receiving messages once
flow control tokens become available.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Returns
getDefaultInstanceForType()
public InitialSubscribeResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
hasCursor()
public boolean hasCursor ()
The cursor from which the subscriber will start receiving messages once
flow control tokens become available.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Returns
Type Description boolean Whether the cursor field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeCursor(Cursor value)
public InitialSubscribeResponse . Builder mergeCursor ( Cursor value )
The cursor from which the subscriber will start receiving messages once
flow control tokens become available.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Parameter
Returns
mergeFrom(InitialSubscribeResponse other)
public InitialSubscribeResponse . Builder mergeFrom ( InitialSubscribeResponse other )
Parameter
Returns
public InitialSubscribeResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InitialSubscribeResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InitialSubscribeResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setCursor(Cursor value)
public InitialSubscribeResponse . Builder setCursor ( Cursor value )
The cursor from which the subscriber will start receiving messages once
flow control tokens become available.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Parameter
Returns
setCursor(Cursor.Builder builderForValue)
public InitialSubscribeResponse . Builder setCursor ( Cursor . Builder builderForValue )
The cursor from which the subscriber will start receiving messages once
flow control tokens become available.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public InitialSubscribeResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InitialSubscribeResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InitialSubscribeResponse . 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."],[],[]]