public final class ListReservationTopicsResponse extends GeneratedMessageV3 implements ListReservationTopicsResponseOrBuilder
Response for ListReservationTopics.
Protobuf type google.cloud.pubsublite.v1.ListReservationTopicsResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListReservationTopicsResponseImplements
ListReservationTopicsResponseOrBuilderStatic Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Type | Description |
int |
TOPICS_FIELD_NUMBER
public static final int TOPICS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ListReservationTopicsResponse getDefaultInstance()
Type | Description |
ListReservationTopicsResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ListReservationTopicsResponse.Builder newBuilder()
Type | Description |
ListReservationTopicsResponse.Builder |
newBuilder(ListReservationTopicsResponse prototype)
public static ListReservationTopicsResponse.Builder newBuilder(ListReservationTopicsResponse prototype)
Name | Description |
prototype | ListReservationTopicsResponse |
Type | Description |
ListReservationTopicsResponse.Builder |
parseDelimitedFrom(InputStream input)
public static ListReservationTopicsResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListReservationTopicsResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListReservationTopicsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListReservationTopicsResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListReservationTopicsResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ListReservationTopicsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListReservationTopicsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListReservationTopicsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListReservationTopicsResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ListReservationTopicsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListReservationTopicsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListReservationTopicsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListReservationTopicsResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ListReservationTopicsResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListReservationTopicsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListReservationTopicsResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListReservationTopicsResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListReservationTopicsResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListReservationTopicsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListReservationTopicsResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListReservationTopicsResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ListReservationTopicsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListReservationTopicsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListReservationTopicsResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListReservationTopicsResponse> parser()
Type | Description |
Parser<ListReservationTopicsResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ListReservationTopicsResponse getDefaultInstanceForType()
Type | Description |
ListReservationTopicsResponse |
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<ListReservationTopicsResponse> getParserForType()
Type | Description |
Parser<ListReservationTopicsResponse> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getTopics(int index)
public String getTopics(int index)
The names of topics attached to the reservation. The order of the topics is unspecified.
repeated string topics = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The topics at the given index. |
getTopicsBytes(int index)
public ByteString getTopicsBytes(int index)
The names of topics attached to the reservation. The order of the topics is unspecified.
repeated string topics = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the topics at the given index. |
getTopicsCount()
public int getTopicsCount()
The names of topics attached to the reservation. The order of the topics is unspecified.
repeated string topics = 1;
Type | Description |
int | The count of topics. |
getTopicsList()
public ProtocolStringList getTopicsList()
The names of topics attached to the reservation. The order of the topics is unspecified.
repeated string topics = 1;
Type | Description |
ProtocolStringList | A list containing the topics. |
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 ListReservationTopicsResponse.Builder newBuilderForType()
Type | Description |
ListReservationTopicsResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListReservationTopicsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ListReservationTopicsResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ListReservationTopicsResponse.Builder toBuilder()
Type | Description |
ListReservationTopicsResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |