public final class ComputeHeadCursorRequest extends GeneratedMessageV3 implements ComputeHeadCursorRequestOrBuilder
Compute the current head cursor for a partition.
Protobuf type google.cloud.pubsublite.v1.ComputeHeadCursorRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ComputeHeadCursorRequestImplements
ComputeHeadCursorRequestOrBuilderStatic Fields
PARTITION_FIELD_NUMBER
public static final int PARTITION_FIELD_NUMBER
Type | Description |
int |
TOPIC_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ComputeHeadCursorRequest getDefaultInstance()
Type | Description |
ComputeHeadCursorRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ComputeHeadCursorRequest.Builder newBuilder()
Type | Description |
ComputeHeadCursorRequest.Builder |
newBuilder(ComputeHeadCursorRequest prototype)
public static ComputeHeadCursorRequest.Builder newBuilder(ComputeHeadCursorRequest prototype)
Name | Description |
prototype | ComputeHeadCursorRequest |
Type | Description |
ComputeHeadCursorRequest.Builder |
parseDelimitedFrom(InputStream input)
public static ComputeHeadCursorRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ComputeHeadCursorRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeHeadCursorRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ComputeHeadCursorRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ComputeHeadCursorRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeHeadCursorRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ComputeHeadCursorRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ComputeHeadCursorRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeHeadCursorRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ComputeHeadCursorRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ComputeHeadCursorRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeHeadCursorRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ComputeHeadCursorRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ComputeHeadCursorRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeHeadCursorRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ComputeHeadCursorRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ComputeHeadCursorRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeHeadCursorRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeHeadCursorRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ComputeHeadCursorRequest> parser()
Type | Description |
Parser<ComputeHeadCursorRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ComputeHeadCursorRequest getDefaultInstanceForType()
Type | Description |
ComputeHeadCursorRequest |
getParserForType()
public Parser<ComputeHeadCursorRequest> getParserForType()
Type | Description |
Parser<ComputeHeadCursorRequest> |
getPartition()
public long getPartition()
Required. The partition for which we should compute the head cursor.
int64 partition = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
long | The partition. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getTopic()
public String getTopic()
Required. The topic for which we should compute the head cursor.
string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The topic. |
getTopicBytes()
public ByteString getTopicBytes()
Required. The topic for which we should compute the head cursor.
string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for topic. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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 ComputeHeadCursorRequest.Builder newBuilderForType()
Type | Description |
ComputeHeadCursorRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeHeadCursorRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ComputeHeadCursorRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ComputeHeadCursorRequest.Builder toBuilder()
Type | Description |
ComputeHeadCursorRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |