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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>
public ListTopicsRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>
public ListTopicsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListTopicsRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListTopicsRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListTopicsRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>
public ListTopicsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>
public ListTopicsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>
public ListTopicsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>
public ListTopicsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>
public ListTopicsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>
public ListTopicsRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListTopicsRequest.Builder>
public ListTopicsRequest.Builder mergeFrom(ListTopicsRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>
public ListTopicsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListTopicsRequest.Builder>
java.io.IOException
public java.lang.String getProject()
The name of the cloud project that topics belong to. Format is `projects/{project}`.
string project = 1;
getProject
in interface ListTopicsRequestOrBuilder
public ByteString getProjectBytes()
The name of the cloud project that topics belong to. Format is `projects/{project}`.
string project = 1;
getProjectBytes
in interface ListTopicsRequestOrBuilder
public 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 ListTopicsRequestOrBuilder
public 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 ListTopicsRequestOrBuilder
public 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 ListTopicsRequestOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>
public final ListTopicsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListTopicsRequest.Builder>