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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InitialCommitCursorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InitialCommitCursorRequest build()
buildPartial()
public InitialCommitCursorRequest buildPartial()
clear()
public InitialCommitCursorRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InitialCommitCursorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InitialCommitCursorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clearSubscription()
public InitialCommitCursorRequest.Builder clearSubscription()
The subscription for which to manage committed cursors.
string subscription = 1;
clone()
public InitialCommitCursorRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public InitialCommitCursorRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
Returns |
---|
Type | Description |
long | The partition.
|
getSubscription()
public String getSubscription()
The subscription for which to manage committed cursors.
string subscription = 1;
Returns |
---|
Type | Description |
String | The subscription.
|
getSubscriptionBytes()
public ByteString getSubscriptionBytes()
The subscription for which to manage committed cursors.
string subscription = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for subscription.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InitialCommitCursorRequest other)
public InitialCommitCursorRequest.Builder mergeFrom(InitialCommitCursorRequest other)
public InitialCommitCursorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InitialCommitCursorRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InitialCommitCursorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InitialCommitCursorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
Parameter |
---|
Name | Description |
value | long
The partition to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InitialCommitCursorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSubscription(String value)
public InitialCommitCursorRequest.Builder setSubscription(String value)
The subscription for which to manage committed cursors.
string subscription = 1;
Parameter |
---|
Name | Description |
value | String
The subscription to set.
|
setSubscriptionBytes(ByteString value)
public InitialCommitCursorRequest.Builder setSubscriptionBytes(ByteString value)
The subscription for which to manage committed cursors.
string subscription = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for subscription to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final InitialCommitCursorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides