public final class ComputeHeadCursorResponse extends GeneratedMessageV3 implements ComputeHeadCursorResponseOrBuilder
Response containing the head cursor for the requested topic and partition.
Protobuf type google.cloud.pubsublite.v1.ComputeHeadCursorResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ComputeHeadCursorResponseImplements
ComputeHeadCursorResponseOrBuilderStatic Fields
HEAD_CURSOR_FIELD_NUMBER
public static final int HEAD_CURSOR_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ComputeHeadCursorResponse getDefaultInstance()
Type | Description |
ComputeHeadCursorResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ComputeHeadCursorResponse.Builder newBuilder()
Type | Description |
ComputeHeadCursorResponse.Builder |
newBuilder(ComputeHeadCursorResponse prototype)
public static ComputeHeadCursorResponse.Builder newBuilder(ComputeHeadCursorResponse prototype)
Name | Description |
prototype | ComputeHeadCursorResponse |
Type | Description |
ComputeHeadCursorResponse.Builder |
parseDelimitedFrom(InputStream input)
public static ComputeHeadCursorResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ComputeHeadCursorResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeHeadCursorResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ComputeHeadCursorResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ComputeHeadCursorResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeHeadCursorResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ComputeHeadCursorResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ComputeHeadCursorResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeHeadCursorResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ComputeHeadCursorResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ComputeHeadCursorResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeHeadCursorResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ComputeHeadCursorResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ComputeHeadCursorResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeHeadCursorResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ComputeHeadCursorResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ComputeHeadCursorResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeHeadCursorResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ComputeHeadCursorResponse> parser()
Type | Description |
Parser<ComputeHeadCursorResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ComputeHeadCursorResponse getDefaultInstanceForType()
Type | Description |
ComputeHeadCursorResponse |
getHeadCursor()
public Cursor getHeadCursor()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Type | Description |
Cursor | The headCursor. |
getHeadCursorOrBuilder()
public CursorOrBuilder getHeadCursorOrBuilder()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Type | Description |
CursorOrBuilder |
getParserForType()
public Parser<ComputeHeadCursorResponse> getParserForType()
Type | Description |
Parser<ComputeHeadCursorResponse> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasHeadCursor()
public boolean hasHeadCursor()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Type | Description |
boolean | Whether the headCursor 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 ComputeHeadCursorResponse.Builder newBuilderForType()
Type | Description |
ComputeHeadCursorResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeHeadCursorResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ComputeHeadCursorResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ComputeHeadCursorResponse.Builder toBuilder()
Type | Description |
ComputeHeadCursorResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |