public final class ListSubscriptionsResponse extends GeneratedMessageV3 implements ListSubscriptionsResponseOrBuilder
Response for ListSubscriptions.
Protobuf type google.cloud.pubsublite.v1.ListSubscriptionsResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListSubscriptionsResponseImplements
ListSubscriptionsResponseOrBuilderStatic Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Type | Description |
int |
SUBSCRIPTIONS_FIELD_NUMBER
public static final int SUBSCRIPTIONS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ListSubscriptionsResponse getDefaultInstance()
Type | Description |
ListSubscriptionsResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ListSubscriptionsResponse.Builder newBuilder()
Type | Description |
ListSubscriptionsResponse.Builder |
newBuilder(ListSubscriptionsResponse prototype)
public static ListSubscriptionsResponse.Builder newBuilder(ListSubscriptionsResponse prototype)
Name | Description |
prototype | ListSubscriptionsResponse |
Type | Description |
ListSubscriptionsResponse.Builder |
parseDelimitedFrom(InputStream input)
public static ListSubscriptionsResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListSubscriptionsResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListSubscriptionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSubscriptionsResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListSubscriptionsResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ListSubscriptionsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListSubscriptionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSubscriptionsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListSubscriptionsResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ListSubscriptionsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListSubscriptionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSubscriptionsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListSubscriptionsResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ListSubscriptionsResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListSubscriptionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSubscriptionsResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListSubscriptionsResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListSubscriptionsResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListSubscriptionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSubscriptionsResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListSubscriptionsResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ListSubscriptionsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListSubscriptionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSubscriptionsResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListSubscriptionsResponse> parser()
Type | Description |
Parser<ListSubscriptionsResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ListSubscriptionsResponse getDefaultInstanceForType()
Type | Description |
ListSubscriptionsResponse |
getNextPageToken()
public String getNextPageToken()
A token that can be sent as page_token
to retrieve the next page of
results. If this field is omitted, there are no more results.
string next_page_token = 2;
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token that can be sent as page_token
to retrieve the next page of
results. If this field is omitted, there are no more results.
string next_page_token = 2;
Type | Description |
ByteString | The bytes for nextPageToken. |
getParserForType()
public Parser<ListSubscriptionsResponse> getParserForType()
Type | Description |
Parser<ListSubscriptionsResponse> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getSubscriptions(int index)
public Subscription getSubscriptions(int index)
The list of subscriptions in the requested parent. The order of the subscriptions is unspecified.
repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
Name | Description |
index | int |
Type | Description |
Subscription |
getSubscriptionsCount()
public int getSubscriptionsCount()
The list of subscriptions in the requested parent. The order of the subscriptions is unspecified.
repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
Type | Description |
int |
getSubscriptionsList()
public List<Subscription> getSubscriptionsList()
The list of subscriptions in the requested parent. The order of the subscriptions is unspecified.
repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
Type | Description |
List<Subscription> |
getSubscriptionsOrBuilder(int index)
public SubscriptionOrBuilder getSubscriptionsOrBuilder(int index)
The list of subscriptions in the requested parent. The order of the subscriptions is unspecified.
repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
Name | Description |
index | int |
Type | Description |
SubscriptionOrBuilder |
getSubscriptionsOrBuilderList()
public List<? extends SubscriptionOrBuilder> getSubscriptionsOrBuilderList()
The list of subscriptions in the requested parent. The order of the subscriptions is unspecified.
repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
Type | Description |
List<? extends com.google.cloud.pubsublite.proto.SubscriptionOrBuilder> |
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 ListSubscriptionsResponse.Builder newBuilderForType()
Type | Description |
ListSubscriptionsResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListSubscriptionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ListSubscriptionsResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ListSubscriptionsResponse.Builder toBuilder()
Type | Description |
ListSubscriptionsResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |