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
Static Fields
HEAD_CURSOR_FIELD_NUMBER
public static final int HEAD_CURSOR_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ComputeHeadCursorResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ComputeHeadCursorResponse.Builder newBuilder()
Returns
newBuilder(ComputeHeadCursorResponse prototype)
public static ComputeHeadCursorResponse.Builder newBuilder(ComputeHeadCursorResponse prototype)
Parameter
Returns
public static ComputeHeadCursorResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ComputeHeadCursorResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ComputeHeadCursorResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ComputeHeadCursorResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ComputeHeadCursorResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ComputeHeadCursorResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ComputeHeadCursorResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ComputeHeadCursorResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ComputeHeadCursorResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ComputeHeadCursorResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ComputeHeadCursorResponse getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<ComputeHeadCursorResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ComputeHeadCursorResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeHeadCursorResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ComputeHeadCursorResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions