public static final class InitialCommitCursorRequest.Builder extends GeneratedMessageV3.Builder<InitialCommitCursorRequest.Builder> implements InitialCommitCursorRequestOrBuilder
The first streaming request that must be sent on a newly-opened stream. The client must wait for the response before sending subsequent requests on the stream.
Protobuf type google.cloud.pubsublite.v1.InitialCommitCursorRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InitialCommitCursorRequest.BuilderImplements
InitialCommitCursorRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InitialCommitCursorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InitialCommitCursorRequest.Builder |
build()
public InitialCommitCursorRequest build()
Type | Description |
InitialCommitCursorRequest |
buildPartial()
public InitialCommitCursorRequest buildPartial()
Type | Description |
InitialCommitCursorRequest |
clear()
public InitialCommitCursorRequest.Builder clear()
Type | Description |
InitialCommitCursorRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public InitialCommitCursorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
InitialCommitCursorRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public InitialCommitCursorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
InitialCommitCursorRequest.Builder |
clearPartition()
public InitialCommitCursorRequest.Builder clearPartition()
The partition for which to manage committed cursors. Partitions are zero
indexed, so partition
must be in the range [0, topic.num_partitions).
int64 partition = 2;
Type | Description |
InitialCommitCursorRequest.Builder | This builder for chaining. |
clearSubscription()
public InitialCommitCursorRequest.Builder clearSubscription()
The subscription for which to manage committed cursors.
string subscription = 1;
Type | Description |
InitialCommitCursorRequest.Builder | This builder for chaining. |
clone()
public InitialCommitCursorRequest.Builder clone()
Type | Description |
InitialCommitCursorRequest.Builder |
getDefaultInstanceForType()
public InitialCommitCursorRequest getDefaultInstanceForType()
Type | Description |
InitialCommitCursorRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPartition()
public long getPartition()
The partition for which to manage committed cursors. Partitions are zero
indexed, so partition
must be in the range [0, topic.num_partitions).
int64 partition = 2;
Type | Description |
long | The partition. |
getSubscription()
public String getSubscription()
The subscription for which to manage committed cursors.
string subscription = 1;
Type | Description |
String | The subscription. |
getSubscriptionBytes()
public ByteString getSubscriptionBytes()
The subscription for which to manage committed cursors.
string subscription = 1;
Type | Description |
ByteString | The bytes for subscription. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(InitialCommitCursorRequest other)
public InitialCommitCursorRequest.Builder mergeFrom(InitialCommitCursorRequest other)
Name | Description |
other | InitialCommitCursorRequest |
Type | Description |
InitialCommitCursorRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InitialCommitCursorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
InitialCommitCursorRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public InitialCommitCursorRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
InitialCommitCursorRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InitialCommitCursorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InitialCommitCursorRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InitialCommitCursorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InitialCommitCursorRequest.Builder |
setPartition(long value)
public InitialCommitCursorRequest.Builder setPartition(long value)
The partition for which to manage committed cursors. Partitions are zero
indexed, so partition
must be in the range [0, topic.num_partitions).
int64 partition = 2;
Name | Description |
value | long The partition to set. |
Type | Description |
InitialCommitCursorRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InitialCommitCursorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
InitialCommitCursorRequest.Builder |
setSubscription(String value)
public InitialCommitCursorRequest.Builder setSubscription(String value)
The subscription for which to manage committed cursors.
string subscription = 1;
Name | Description |
value | String The subscription to set. |
Type | Description |
InitialCommitCursorRequest.Builder | This builder for chaining. |
setSubscriptionBytes(ByteString value)
public InitialCommitCursorRequest.Builder setSubscriptionBytes(ByteString value)
The subscription for which to manage committed cursors.
string subscription = 1;
Name | Description |
value | ByteString The bytes for subscription to set. |
Type | Description |
InitialCommitCursorRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final InitialCommitCursorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InitialCommitCursorRequest.Builder |