Class ListTopicsResponse

public final class ListTopicsResponse extends GeneratedMessageV3 implements ListTopicsResponseOrBuilder

Response for ListTopics.

Protobuf type google.cloud.pubsublite.v1.ListTopicsResponse

Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

TOPICS_FIELD_NUMBER

public static final int TOPICS_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstance()

public static ListTopicsResponse getDefaultInstance()
Returns
TypeDescription
ListTopicsResponse

getDefaultInstanceForType()

public ListTopicsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTopicsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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;

Returns
TypeDescription
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;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListTopicsResponse> getParserForType()
Returns
TypeDescription
Parser<ListTopicsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTopics(int index)

public Topic getTopics(int index)

The list of topic in the requested parent. The order of the topics is unspecified.

repeated .google.cloud.pubsublite.v1.Topic topics = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Topic

getTopicsCount()

public int getTopicsCount()

The list of topic in the requested parent. The order of the topics is unspecified.

repeated .google.cloud.pubsublite.v1.Topic topics = 1;

Returns
TypeDescription
int

getTopicsList()

public List<Topic> getTopicsList()

The list of topic in the requested parent. The order of the topics is unspecified.

repeated .google.cloud.pubsublite.v1.Topic topics = 1;

Returns
TypeDescription
List<Topic>

getTopicsOrBuilder(int index)

public TopicOrBuilder getTopicsOrBuilder(int index)

The list of topic in the requested parent. The order of the topics is unspecified.

repeated .google.cloud.pubsublite.v1.Topic topics = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TopicOrBuilder

getTopicsOrBuilderList()

public List<? extends TopicOrBuilder> getTopicsOrBuilderList()

The list of topic in the requested parent. The order of the topics is unspecified.

repeated .google.cloud.pubsublite.v1.Topic topics = 1;

Returns
TypeDescription
List<? extends com.google.cloud.pubsublite.proto.TopicOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static ListTopicsResponse.Builder newBuilder()
Returns
TypeDescription
ListTopicsResponse.Builder

newBuilder(ListTopicsResponse prototype)

public static ListTopicsResponse.Builder newBuilder(ListTopicsResponse prototype)
Parameter
NameDescription
prototypeListTopicsResponse
Returns
TypeDescription
ListTopicsResponse.Builder

newBuilderForType()

public ListTopicsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListTopicsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListTopicsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListTopicsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static ListTopicsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListTopicsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTopicsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTopicsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListTopicsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListTopicsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListTopicsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTopicsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListTopicsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListTopicsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListTopicsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTopicsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListTopicsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListTopicsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTopicsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTopicsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListTopicsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListTopicsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTopicsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTopicsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListTopicsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListTopicsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListTopicsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTopicsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListTopicsResponse> parser()
Returns
TypeDescription
Parser<ListTopicsResponse>

toBuilder()

public ListTopicsResponse.Builder toBuilder()
Returns
TypeDescription
ListTopicsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException