public final class ListSubscriptionsRequest extends GeneratedMessageV3 implements ListSubscriptionsRequestOrBuilder
Request for ListSubscriptions.
Protobuf type google.cloud.pubsublite.v1.ListSubscriptionsRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListSubscriptionsRequestImplements
ListSubscriptionsRequestOrBuilderStatic Fields
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
Type | Description |
int |
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
Type | Description |
int |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ListSubscriptionsRequest getDefaultInstance()
Type | Description |
ListSubscriptionsRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ListSubscriptionsRequest.Builder newBuilder()
Type | Description |
ListSubscriptionsRequest.Builder |
newBuilder(ListSubscriptionsRequest prototype)
public static ListSubscriptionsRequest.Builder newBuilder(ListSubscriptionsRequest prototype)
Name | Description |
prototype | ListSubscriptionsRequest |
Type | Description |
ListSubscriptionsRequest.Builder |
parseDelimitedFrom(InputStream input)
public static ListSubscriptionsRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListSubscriptionsRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListSubscriptionsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSubscriptionsRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListSubscriptionsRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ListSubscriptionsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListSubscriptionsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSubscriptionsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListSubscriptionsRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ListSubscriptionsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListSubscriptionsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSubscriptionsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListSubscriptionsRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ListSubscriptionsRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListSubscriptionsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSubscriptionsRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListSubscriptionsRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListSubscriptionsRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListSubscriptionsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSubscriptionsRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListSubscriptionsRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ListSubscriptionsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListSubscriptionsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSubscriptionsRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListSubscriptionsRequest> parser()
Type | Description |
Parser<ListSubscriptionsRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ListSubscriptionsRequest getDefaultInstanceForType()
Type | Description |
ListSubscriptionsRequest |
getPageSize()
public int getPageSize()
The maximum number of subscriptions to return. The service may return fewer than this value. If unset or zero, all subscriptions for the parent will be returned.
int32 page_size = 2;
Type | Description |
int | The pageSize. |
getPageToken()
public String getPageToken()
A page token, received from a previous ListSubscriptions
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListSubscriptions
must
match the call that provided the page token.
string page_token = 3;
Type | Description |
String | The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
A page token, received from a previous ListSubscriptions
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListSubscriptions
must
match the call that provided the page token.
string page_token = 3;
Type | Description |
ByteString | The bytes for pageToken. |
getParent()
public String getParent()
Required. The parent whose subscriptions are to be listed.
Structured like projects/{project_number}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent whose subscriptions are to be listed.
Structured like projects/{project_number}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getParserForType()
public Parser<ListSubscriptionsRequest> getParserForType()
Type | Description |
Parser<ListSubscriptionsRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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 ListSubscriptionsRequest.Builder newBuilderForType()
Type | Description |
ListSubscriptionsRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListSubscriptionsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ListSubscriptionsRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ListSubscriptionsRequest.Builder toBuilder()
Type | Description |
ListSubscriptionsRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |