public final class SubscribeRequest extends GeneratedMessageV3 implements SubscribeRequestOrBuilder
A request sent from the client to the server on a stream.
Protobuf type google.cloud.pubsublite.v1.SubscribeRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SubscribeRequestImplements
SubscribeRequestOrBuilderStatic Fields
FLOW_CONTROL_FIELD_NUMBER
public static final int FLOW_CONTROL_FIELD_NUMBER
Type | Description |
int |
INITIAL_FIELD_NUMBER
public static final int INITIAL_FIELD_NUMBER
Type | Description |
int |
SEEK_FIELD_NUMBER
public static final int SEEK_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static SubscribeRequest getDefaultInstance()
Type | Description |
SubscribeRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static SubscribeRequest.Builder newBuilder()
Type | Description |
SubscribeRequest.Builder |
newBuilder(SubscribeRequest prototype)
public static SubscribeRequest.Builder newBuilder(SubscribeRequest prototype)
Name | Description |
prototype | SubscribeRequest |
Type | Description |
SubscribeRequest.Builder |
parseDelimitedFrom(InputStream input)
public static SubscribeRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
SubscribeRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SubscribeRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SubscribeRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static SubscribeRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
SubscribeRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SubscribeRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SubscribeRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static SubscribeRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
SubscribeRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubscribeRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SubscribeRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static SubscribeRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
SubscribeRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SubscribeRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SubscribeRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static SubscribeRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
SubscribeRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SubscribeRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SubscribeRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static SubscribeRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
SubscribeRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SubscribeRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SubscribeRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<SubscribeRequest> parser()
Type | Description |
Parser<SubscribeRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public SubscribeRequest getDefaultInstanceForType()
Type | Description |
SubscribeRequest |
getFlowControl()
public FlowControlRequest getFlowControl()
Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;
Type | Description |
FlowControlRequest | The flowControl. |
getFlowControlOrBuilder()
public FlowControlRequestOrBuilder getFlowControlOrBuilder()
Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;
Type | Description |
FlowControlRequestOrBuilder |
getInitial()
public InitialSubscribeRequest getInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1;
Type | Description |
InitialSubscribeRequest | The initial. |
getInitialOrBuilder()
public InitialSubscribeRequestOrBuilder getInitialOrBuilder()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1;
Type | Description |
InitialSubscribeRequestOrBuilder |
getParserForType()
public Parser<SubscribeRequest> getParserForType()
Type | Description |
Parser<SubscribeRequest> |
getRequestCase()
public SubscribeRequest.RequestCase getRequestCase()
Type | Description |
SubscribeRequest.RequestCase |
getSeek()
public SeekRequest getSeek()
Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;
Type | Description |
SeekRequest | The seek. |
getSeekOrBuilder()
public SeekRequestOrBuilder getSeekOrBuilder()
Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;
Type | Description |
SeekRequestOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasFlowControl()
public boolean hasFlowControl()
Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;
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;
Type | Description |
boolean | Whether the initial field is set. |
hasSeek()
public boolean hasSeek()
Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;
Type | Description |
boolean | Whether the seek field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public SubscribeRequest.Builder newBuilderForType()
Type | Description |
SubscribeRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SubscribeRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
SubscribeRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public SubscribeRequest.Builder toBuilder()
Type | Description |
SubscribeRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |