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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static 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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ComputeHeadCursorResponse.Builder newBuilder()
newBuilder(ComputeHeadCursorResponse prototype)
public static ComputeHeadCursorResponse.Builder newBuilder(ComputeHeadCursorResponse prototype)
public static ComputeHeadCursorResponse parseDelimitedFrom(InputStream input)
public static ComputeHeadCursorResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ComputeHeadCursorResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ComputeHeadCursorResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(CodedInputStream input)
public static ComputeHeadCursorResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(InputStream input)
public static ComputeHeadCursorResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ComputeHeadCursorResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ComputeHeadCursorResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ComputeHeadCursorResponse getDefaultInstanceForType()
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;
getParserForType()
public Parser<ComputeHeadCursorResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ComputeHeadCursorResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeHeadCursorResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ComputeHeadCursorResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides