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
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ComputeHeadCursorResponse getDefaultInstance()
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ComputeHeadCursorResponse.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse.Builder |
newBuilder(ComputeHeadCursorResponse prototype)
public static ComputeHeadCursorResponse.Builder newBuilder(ComputeHeadCursorResponse prototype)
Parameter | |
---|---|
Name | Description |
prototype | ComputeHeadCursorResponse |
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse.Builder |
parseDelimitedFrom(InputStream input)
public static ComputeHeadCursorResponse parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ComputeHeadCursorResponse parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ComputeHeadCursorResponse parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ComputeHeadCursorResponse parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ComputeHeadCursorResponse parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ComputeHeadCursorResponse parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ComputeHeadCursorResponse> parser()
Returns | |
---|---|
Type | Description |
Parser<ComputeHeadCursorResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public ComputeHeadCursorResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse |
getHeadCursor()
public Cursor getHeadCursor()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Returns | |
---|---|
Type | Description |
Cursor | The headCursor. |
getHeadCursorOrBuilder()
public CursorOrBuilder getHeadCursorOrBuilder()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Returns | |
---|---|
Type | Description |
CursorOrBuilder |
getParserForType()
public Parser<ComputeHeadCursorResponse> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ComputeHeadCursorResponse> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hasHeadCursor()
public boolean hasHeadCursor()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the headCursor field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ComputeHeadCursorResponse.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeHeadCursorResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ComputeHeadCursorResponse.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ComputeHeadCursorResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |