public final class SeekSubscriptionRequest extends GeneratedMessageV3 implements SeekSubscriptionRequestOrBuilder
Request for SeekSubscription.
Protobuf type google.cloud.pubsublite.v1.SeekSubscriptionRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SeekSubscriptionRequestImplements
SeekSubscriptionRequestOrBuilderStatic Fields
NAMED_TARGET_FIELD_NUMBER
public static final int NAMED_TARGET_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
TIME_TARGET_FIELD_NUMBER
public static final int TIME_TARGET_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static SeekSubscriptionRequest getDefaultInstance()
Type | Description |
SeekSubscriptionRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static SeekSubscriptionRequest.Builder newBuilder()
Type | Description |
SeekSubscriptionRequest.Builder |
newBuilder(SeekSubscriptionRequest prototype)
public static SeekSubscriptionRequest.Builder newBuilder(SeekSubscriptionRequest prototype)
Name | Description |
prototype | SeekSubscriptionRequest |
Type | Description |
SeekSubscriptionRequest.Builder |
parseDelimitedFrom(InputStream input)
public static SeekSubscriptionRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
SeekSubscriptionRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SeekSubscriptionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SeekSubscriptionRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static SeekSubscriptionRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
SeekSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SeekSubscriptionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SeekSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static SeekSubscriptionRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
SeekSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SeekSubscriptionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SeekSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static SeekSubscriptionRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
SeekSubscriptionRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SeekSubscriptionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SeekSubscriptionRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static SeekSubscriptionRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
SeekSubscriptionRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SeekSubscriptionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SeekSubscriptionRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static SeekSubscriptionRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
SeekSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SeekSubscriptionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SeekSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<SeekSubscriptionRequest> parser()
Type | Description |
Parser<SeekSubscriptionRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public SeekSubscriptionRequest getDefaultInstanceForType()
Type | Description |
SeekSubscriptionRequest |
getName()
public String getName()
Required. The name of the subscription to seek.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The name of the subscription to seek.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
getNamedTarget()
public SeekSubscriptionRequest.NamedTarget getNamedTarget()
Seek to a named position with respect to the message backlog.
.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
Type | Description |
SeekSubscriptionRequest.NamedTarget | The namedTarget. |
getNamedTargetValue()
public int getNamedTargetValue()
Seek to a named position with respect to the message backlog.
.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
Type | Description |
int | The enum numeric value on the wire for namedTarget. |
getParserForType()
public Parser<SeekSubscriptionRequest> getParserForType()
Type | Description |
Parser<SeekSubscriptionRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getTargetCase()
public SeekSubscriptionRequest.TargetCase getTargetCase()
Type | Description |
SeekSubscriptionRequest.TargetCase |
getTimeTarget()
public TimeTarget getTimeTarget()
Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.
.google.cloud.pubsublite.v1.TimeTarget time_target = 3;
Type | Description |
TimeTarget | The timeTarget. |
getTimeTargetOrBuilder()
public TimeTargetOrBuilder getTimeTargetOrBuilder()
Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.
.google.cloud.pubsublite.v1.TimeTarget time_target = 3;
Type | Description |
TimeTargetOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasNamedTarget()
public boolean hasNamedTarget()
Seek to a named position with respect to the message backlog.
.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
Type | Description |
boolean | Whether the namedTarget field is set. |
hasTimeTarget()
public boolean hasTimeTarget()
Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.
.google.cloud.pubsublite.v1.TimeTarget time_target = 3;
Type | Description |
boolean | Whether the timeTarget field is set. |
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 SeekSubscriptionRequest.Builder newBuilderForType()
Type | Description |
SeekSubscriptionRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SeekSubscriptionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
SeekSubscriptionRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public SeekSubscriptionRequest.Builder toBuilder()
Type | Description |
SeekSubscriptionRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |