public static final class MessagePublishResponse.CursorRange extends GeneratedMessageV3 implements MessagePublishResponse.CursorRangeOrBuilder
Cursors for a subrange of published messages.
Protobuf type google.cloud.pubsublite.v1.MessagePublishResponse.CursorRange
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MessagePublishResponse.CursorRangeImplements
MessagePublishResponse.CursorRangeOrBuilderStatic Fields
END_INDEX_FIELD_NUMBER
public static final int END_INDEX_FIELD_NUMBER
Type | Description |
int |
START_CURSOR_FIELD_NUMBER
public static final int START_CURSOR_FIELD_NUMBER
Type | Description |
int |
START_INDEX_FIELD_NUMBER
public static final int START_INDEX_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static MessagePublishResponse.CursorRange getDefaultInstance()
Type | Description |
MessagePublishResponse.CursorRange |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static MessagePublishResponse.CursorRange.Builder newBuilder()
Type | Description |
MessagePublishResponse.CursorRange.Builder |
newBuilder(MessagePublishResponse.CursorRange prototype)
public static MessagePublishResponse.CursorRange.Builder newBuilder(MessagePublishResponse.CursorRange prototype)
Name | Description |
prototype | MessagePublishResponse.CursorRange |
Type | Description |
MessagePublishResponse.CursorRange.Builder |
parseDelimitedFrom(InputStream input)
public static MessagePublishResponse.CursorRange parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
MessagePublishResponse.CursorRange |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MessagePublishResponse.CursorRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MessagePublishResponse.CursorRange |
Type | Description |
IOException |
parseFrom(byte[] data)
public static MessagePublishResponse.CursorRange parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
MessagePublishResponse.CursorRange |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MessagePublishResponse.CursorRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MessagePublishResponse.CursorRange |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static MessagePublishResponse.CursorRange parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
MessagePublishResponse.CursorRange |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MessagePublishResponse.CursorRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MessagePublishResponse.CursorRange |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static MessagePublishResponse.CursorRange parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
MessagePublishResponse.CursorRange |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MessagePublishResponse.CursorRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MessagePublishResponse.CursorRange |
Type | Description |
IOException |
parseFrom(InputStream input)
public static MessagePublishResponse.CursorRange parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
MessagePublishResponse.CursorRange |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MessagePublishResponse.CursorRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MessagePublishResponse.CursorRange |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static MessagePublishResponse.CursorRange parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
MessagePublishResponse.CursorRange |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MessagePublishResponse.CursorRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MessagePublishResponse.CursorRange |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<MessagePublishResponse.CursorRange> parser()
Type | Description |
Parser<CursorRange> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public MessagePublishResponse.CursorRange getDefaultInstanceForType()
Type | Description |
MessagePublishResponse.CursorRange |
getEndIndex()
public int getEndIndex()
Index of the last message in this range. Exclusive.
int32 end_index = 3;
Type | Description |
int | The endIndex. |
getParserForType()
public Parser<MessagePublishResponse.CursorRange> getParserForType()
Type | Description |
Parser<CursorRange> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getStartCursor()
public Cursor getStartCursor()
The cursor of the message at the start index. The cursors for remaining messages up to the end index (exclusive) are sequential.
.google.cloud.pubsublite.v1.Cursor start_cursor = 1;
Type | Description |
Cursor | The startCursor. |
getStartCursorOrBuilder()
public CursorOrBuilder getStartCursorOrBuilder()
The cursor of the message at the start index. The cursors for remaining messages up to the end index (exclusive) are sequential.
.google.cloud.pubsublite.v1.Cursor start_cursor = 1;
Type | Description |
CursorOrBuilder |
getStartIndex()
public int getStartIndex()
Index of the message in the published batch that corresponds to the start cursor. Inclusive.
int32 start_index = 2;
Type | Description |
int | The startIndex. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasStartCursor()
public boolean hasStartCursor()
The cursor of the message at the start index. The cursors for remaining messages up to the end index (exclusive) are sequential.
.google.cloud.pubsublite.v1.Cursor start_cursor = 1;
Type | Description |
boolean | Whether the startCursor 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 MessagePublishResponse.CursorRange.Builder newBuilderForType()
Type | Description |
MessagePublishResponse.CursorRange.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MessagePublishResponse.CursorRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
MessagePublishResponse.CursorRange.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public MessagePublishResponse.CursorRange.Builder toBuilder()
Type | Description |
MessagePublishResponse.CursorRange.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |