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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the target field is set. |