public static final class ListTopicsRequest.Builder extends GeneratedMessageV3.Builder<ListTopicsRequest.Builder> implements ListTopicsRequestOrBuilder
Request for the `ListTopics` method.Protobuf type
google.pubsub.v1.ListTopicsRequest| Modifier and Type | Method and Description |
|---|---|
ListTopicsRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListTopicsRequest |
build() |
ListTopicsRequest |
buildPartial() |
ListTopicsRequest.Builder |
clear() |
ListTopicsRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
ListTopicsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ListTopicsRequest.Builder |
clearPageSize()
Maximum number of topics to return.
|
ListTopicsRequest.Builder |
clearPageToken()
The value returned by the last `ListTopicsResponse`; indicates that this is
a continuation of a prior `ListTopics` call, and that the system should
return the next page of data.
|
ListTopicsRequest.Builder |
clearProject()
The name of the cloud project that topics belong to.
|
ListTopicsRequest.Builder |
clone() |
ListTopicsRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
int |
getPageSize()
Maximum number of topics to return.
|
java.lang.String |
getPageToken()
The value returned by the last `ListTopicsResponse`; indicates that this is
a continuation of a prior `ListTopics` call, and that the system should
return the next page of data.
|
ByteString |
getPageTokenBytes()
The value returned by the last `ListTopicsResponse`; indicates that this is
a continuation of a prior `ListTopics` call, and that the system should
return the next page of data.
|
java.lang.String |
getProject()
The name of the cloud project that topics belong to.
|
ByteString |
getProjectBytes()
The name of the cloud project that topics belong to.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListTopicsRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListTopicsRequest.Builder |
mergeFrom(ListTopicsRequest other) |
ListTopicsRequest.Builder |
mergeFrom(Message other) |
ListTopicsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListTopicsRequest.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListTopicsRequest.Builder |
setPageSize(int value)
Maximum number of topics to return.
|
ListTopicsRequest.Builder |
setPageToken(java.lang.String value)
The value returned by the last `ListTopicsResponse`; indicates that this is
a continuation of a prior `ListTopics` call, and that the system should
return the next page of data.
|
ListTopicsRequest.Builder |
setPageTokenBytes(ByteString value)
The value returned by the last `ListTopicsResponse`; indicates that this is
a continuation of a prior `ListTopics` call, and that the system should
return the next page of data.
|
ListTopicsRequest.Builder |
setProject(java.lang.String value)
The name of the cloud project that topics belong to.
|
ListTopicsRequest.Builder |
setProjectBytes(ByteString value)
The name of the cloud project that topics belong to.
|
ListTopicsRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ListTopicsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>public ListTopicsRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>public ListTopicsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic ListTopicsRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic ListTopicsRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic ListTopicsRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>public ListTopicsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>public ListTopicsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>public ListTopicsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>public ListTopicsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>public ListTopicsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>public ListTopicsRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<ListTopicsRequest.Builder>public ListTopicsRequest.Builder mergeFrom(ListTopicsRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>public ListTopicsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<ListTopicsRequest.Builder>java.io.IOExceptionpublic java.lang.String getProject()
The name of the cloud project that topics belong to.
Format is `projects/{project}`.
string project = 1;getProject in interface ListTopicsRequestOrBuilderpublic ByteString getProjectBytes()
The name of the cloud project that topics belong to.
Format is `projects/{project}`.
string project = 1;getProjectBytes in interface ListTopicsRequestOrBuilderpublic ListTopicsRequest.Builder setProject(java.lang.String value)
The name of the cloud project that topics belong to.
Format is `projects/{project}`.
string project = 1;public ListTopicsRequest.Builder clearProject()
The name of the cloud project that topics belong to.
Format is `projects/{project}`.
string project = 1;public ListTopicsRequest.Builder setProjectBytes(ByteString value)
The name of the cloud project that topics belong to.
Format is `projects/{project}`.
string project = 1;public int getPageSize()
Maximum number of topics to return.
int32 page_size = 2;getPageSize in interface ListTopicsRequestOrBuilderpublic ListTopicsRequest.Builder setPageSize(int value)
Maximum number of topics to return.
int32 page_size = 2;public ListTopicsRequest.Builder clearPageSize()
Maximum number of topics to return.
int32 page_size = 2;public java.lang.String getPageToken()
The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a prior `ListTopics` call, and that the system should return the next page of data.
string page_token = 3;getPageToken in interface ListTopicsRequestOrBuilderpublic ByteString getPageTokenBytes()
The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a prior `ListTopics` call, and that the system should return the next page of data.
string page_token = 3;getPageTokenBytes in interface ListTopicsRequestOrBuilderpublic ListTopicsRequest.Builder setPageToken(java.lang.String value)
The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a prior `ListTopics` call, and that the system should return the next page of data.
string page_token = 3;public ListTopicsRequest.Builder clearPageToken()
The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a prior `ListTopics` call, and that the system should return the next page of data.
string page_token = 3;public ListTopicsRequest.Builder setPageTokenBytes(ByteString value)
The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a prior `ListTopics` call, and that the system should return the next page of data.
string page_token = 3;public final ListTopicsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>public final ListTopicsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>