public static final class SubscribeRequest.Builder extends GeneratedMessageV3.Builder<SubscribeRequest.Builder> implements SubscribeRequestOrBuilder
A request sent from the client to the server on a stream.
Protobuf type google.cloud.pubsublite.v1.SubscribeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 SubscribeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SubscribeRequest build()
buildPartial()
public SubscribeRequest buildPartial()
clear()
public SubscribeRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SubscribeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFlowControl()
public SubscribeRequest.Builder clearFlowControl()
Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;
clearInitial()
public SubscribeRequest.Builder clearInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public SubscribeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRequest()
public SubscribeRequest.Builder clearRequest()
clearSeek()
public SubscribeRequest.Builder clearSeek()
Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;
clone()
public SubscribeRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public SubscribeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFlowControl()
public FlowControlRequest getFlowControl()
Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;
getFlowControlBuilder()
public FlowControlRequest.Builder getFlowControlBuilder()
Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;
getFlowControlOrBuilder()
public FlowControlRequestOrBuilder getFlowControlOrBuilder()
Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;
getInitial()
public InitialSubscribeRequest getInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1;
getInitialBuilder()
public InitialSubscribeRequest.Builder getInitialBuilder()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1;
getInitialOrBuilder()
public InitialSubscribeRequestOrBuilder getInitialOrBuilder()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1;
getRequestCase()
public SubscribeRequest.RequestCase getRequestCase()
getSeek()
public SeekRequest getSeek()
Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;
getSeekBuilder()
public SeekRequest.Builder getSeekBuilder()
Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;
getSeekOrBuilder()
public SeekRequestOrBuilder getSeekOrBuilder()
Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;
hasFlowControl()
public boolean hasFlowControl()
Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;
Returns |
---|
Type | Description |
boolean | Whether the flowControl field is set.
|
hasInitial()
public boolean hasInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1;
Returns |
---|
Type | Description |
boolean | Whether the initial field is set.
|
hasSeek()
Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;
Returns |
---|
Type | Description |
boolean | Whether the seek field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFlowControl(FlowControlRequest value)
public SubscribeRequest.Builder mergeFlowControl(FlowControlRequest value)
Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;
mergeFrom(SubscribeRequest other)
public SubscribeRequest.Builder mergeFrom(SubscribeRequest other)
public SubscribeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SubscribeRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeInitial(InitialSubscribeRequest value)
public SubscribeRequest.Builder mergeInitial(InitialSubscribeRequest value)
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1;
mergeSeek(SeekRequest value)
public SubscribeRequest.Builder mergeSeek(SeekRequest value)
Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubscribeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SubscribeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFlowControl(FlowControlRequest value)
public SubscribeRequest.Builder setFlowControl(FlowControlRequest value)
Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;
setFlowControl(FlowControlRequest.Builder builderForValue)
public SubscribeRequest.Builder setFlowControl(FlowControlRequest.Builder builderForValue)
Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;
setInitial(InitialSubscribeRequest value)
public SubscribeRequest.Builder setInitial(InitialSubscribeRequest value)
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1;
setInitial(InitialSubscribeRequest.Builder builderForValue)
public SubscribeRequest.Builder setInitial(InitialSubscribeRequest.Builder builderForValue)
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubscribeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSeek(SeekRequest value)
public SubscribeRequest.Builder setSeek(SeekRequest value)
Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;
setSeek(SeekRequest.Builder builderForValue)
public SubscribeRequest.Builder setSeek(SeekRequest.Builder builderForValue)
Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final SubscribeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides