public interface ComputeTimeCursorRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getPartition()
public abstract long getPartition()
Required. The partition for which we should compute the cursor.
int64 partition = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
long | The partition. |
getTarget()
public abstract TimeTarget getTarget()
Required. The target publish or event time. Specifying a future time will return an unset cursor.
.google.cloud.pubsublite.v1.TimeTarget target = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TimeTarget | The target. |
getTargetOrBuilder()
public abstract TimeTargetOrBuilder getTargetOrBuilder()
Required. The target publish or event time. Specifying a future time will return an unset cursor.
.google.cloud.pubsublite.v1.TimeTarget target = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TimeTargetOrBuilder |
getTopic()
public abstract String getTopic()
Required. The topic for which we should compute the cursor.
string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The topic. |
getTopicBytes()
public abstract ByteString getTopicBytes()
Required. The topic for which we should compute the cursor.
string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for topic. |
hasTarget()
public abstract boolean hasTarget()
Required. The target publish or event time. Specifying a future time will return an unset cursor.
.google.cloud.pubsublite.v1.TimeTarget target = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the target field is set. |