Send feedback
Class SubscribeRequest (1.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.6.0 keyboard_arrow_down
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
Static Fields
FLOW_CONTROL_FIELD_NUMBER
public static final int FLOW_CONTROL_FIELD_NUMBER
Field Value
INITIAL_FIELD_NUMBER
public static final int INITIAL_FIELD_NUMBER
Field Value
SEEK_FIELD_NUMBER
public static final int SEEK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SubscribeRequest getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static SubscribeRequest . Builder newBuilder ()
Returns
newBuilder(SubscribeRequest prototype)
public static SubscribeRequest . Builder newBuilder ( SubscribeRequest prototype )
Parameter
Returns
public static SubscribeRequest parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static SubscribeRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SubscribeRequest parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SubscribeRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SubscribeRequest parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubscribeRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static SubscribeRequest parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static SubscribeRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static SubscribeRequest parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static SubscribeRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SubscribeRequest parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SubscribeRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<SubscribeRequest> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SubscribeRequest getDefaultInstanceForType ()
Returns
getFlowControl()
public FlowControlRequest getFlowControl ()
Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;
Returns
getFlowControlOrBuilder()
public FlowControlRequestOrBuilder getFlowControlOrBuilder ()
Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;
Returns
getInitial()
public InitialSubscribeRequest getInitial ()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1;
Returns
getInitialOrBuilder()
public InitialSubscribeRequestOrBuilder getInitialOrBuilder ()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1;
Returns
getParserForType()
public Parser<SubscribeRequest> getParserForType ()
Returns
Overrides
getRequestCase()
public SubscribeRequest . RequestCase getRequestCase ()
Returns
getSeek()
public SeekRequest getSeek ()
Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;
Returns
getSeekOrBuilder()
public SeekRequestOrBuilder getSeekOrBuilder ()
Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;
Returns
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
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.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public SubscribeRequest . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SubscribeRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public SubscribeRequest . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]