public static final class InitialSubscribeResponse.Builder extends GeneratedMessageV3.Builder<InitialSubscribeResponse.Builder> implements InitialSubscribeResponseOrBuilder
Response to an InitialSubscribeRequest.
Protobuf type google.cloud.pubsublite.v1.InitialSubscribeResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InitialSubscribeResponse.BuilderImplements
InitialSubscribeResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InitialSubscribeResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InitialSubscribeResponse.Builder |
build()
public InitialSubscribeResponse build()
Type | Description |
InitialSubscribeResponse |
buildPartial()
public InitialSubscribeResponse buildPartial()
Type | Description |
InitialSubscribeResponse |
clear()
public InitialSubscribeResponse.Builder clear()
Type | Description |
InitialSubscribeResponse.Builder |
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;
Type | Description |
InitialSubscribeResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public InitialSubscribeResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
InitialSubscribeResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public InitialSubscribeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
InitialSubscribeResponse.Builder |
clone()
public InitialSubscribeResponse.Builder clone()
Type | Description |
InitialSubscribeResponse.Builder |
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;
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;
Type | Description |
Cursor.Builder |
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;
Type | Description |
CursorOrBuilder |
getDefaultInstanceForType()
public InitialSubscribeResponse getDefaultInstanceForType()
Type | Description |
InitialSubscribeResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
boolean | Whether the cursor field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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;
Name | Description |
value | Cursor |
Type | Description |
InitialSubscribeResponse.Builder |
mergeFrom(InitialSubscribeResponse other)
public InitialSubscribeResponse.Builder mergeFrom(InitialSubscribeResponse other)
Name | Description |
other | InitialSubscribeResponse |
Type | Description |
InitialSubscribeResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InitialSubscribeResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
InitialSubscribeResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public InitialSubscribeResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
InitialSubscribeResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InitialSubscribeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InitialSubscribeResponse.Builder |
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;
Name | Description |
value | Cursor |
Type | Description |
InitialSubscribeResponse.Builder |
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;
Name | Description |
builderForValue | Cursor.Builder |
Type | Description |
InitialSubscribeResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InitialSubscribeResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InitialSubscribeResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InitialSubscribeResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
InitialSubscribeResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InitialSubscribeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InitialSubscribeResponse.Builder |