public final class MessagePublishResponse extends GeneratedMessageV3 implements MessagePublishResponseOrBuilder
Response to a MessagePublishRequest.
Protobuf type google.cloud.pubsublite.v1.MessagePublishResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MessagePublishResponseImplements
MessagePublishResponseOrBuilderStatic Fields
START_CURSOR_FIELD_NUMBER
public static final int START_CURSOR_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static MessagePublishResponse getDefaultInstance()
Type | Description |
MessagePublishResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static MessagePublishResponse.Builder newBuilder()
Type | Description |
MessagePublishResponse.Builder |
newBuilder(MessagePublishResponse prototype)
public static MessagePublishResponse.Builder newBuilder(MessagePublishResponse prototype)
Name | Description |
prototype | MessagePublishResponse |
Type | Description |
MessagePublishResponse.Builder |
parseDelimitedFrom(InputStream input)
public static MessagePublishResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
MessagePublishResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MessagePublishResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MessagePublishResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static MessagePublishResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
MessagePublishResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MessagePublishResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MessagePublishResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static MessagePublishResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
MessagePublishResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MessagePublishResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MessagePublishResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static MessagePublishResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
MessagePublishResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MessagePublishResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MessagePublishResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static MessagePublishResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
MessagePublishResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MessagePublishResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MessagePublishResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static MessagePublishResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
MessagePublishResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MessagePublishResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MessagePublishResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<MessagePublishResponse> parser()
Type | Description |
Parser<MessagePublishResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public MessagePublishResponse getDefaultInstanceForType()
Type | Description |
MessagePublishResponse |
getParserForType()
public Parser<MessagePublishResponse> getParserForType()
Type | Description |
Parser<MessagePublishResponse> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getStartCursor()
public Cursor getStartCursor()
The cursor of the first published message in the batch. The cursors for any remaining messages in the batch are guaranteed to be sequential.
.google.cloud.pubsublite.v1.Cursor start_cursor = 1;
Type | Description |
Cursor | The startCursor. |
getStartCursorOrBuilder()
public CursorOrBuilder getStartCursorOrBuilder()
The cursor of the first published message in the batch. The cursors for any remaining messages in the batch are guaranteed to be sequential.
.google.cloud.pubsublite.v1.Cursor start_cursor = 1;
Type | Description |
CursorOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasStartCursor()
public boolean hasStartCursor()
The cursor of the first published message in the batch. The cursors for any remaining messages in the batch are guaranteed to be 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.Builder newBuilderForType()
Type | Description |
MessagePublishResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MessagePublishResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
MessagePublishResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public MessagePublishResponse.Builder toBuilder()
Type | Description |
MessagePublishResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |