public static final class ListTopicSnapshotsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSnapshotsResponse.Builder> implements ListTopicSnapshotsResponseOrBuilder
Response for the `ListTopicSnapshots` method.Protobuf type
google.pubsub.v1.ListTopicSnapshotsResponse
Modifier and Type | Method and Description |
---|---|
ListTopicSnapshotsResponse.Builder |
addAllSnapshots(Iterable<String> values)
The names of the snapshots that match the request.
|
ListTopicSnapshotsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListTopicSnapshotsResponse.Builder |
addSnapshots(String value)
The names of the snapshots that match the request.
|
ListTopicSnapshotsResponse.Builder |
addSnapshotsBytes(com.google.protobuf.ByteString value)
The names of the snapshots that match the request.
|
ListTopicSnapshotsResponse |
build() |
ListTopicSnapshotsResponse |
buildPartial() |
ListTopicSnapshotsResponse.Builder |
clear() |
ListTopicSnapshotsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListTopicSnapshotsResponse.Builder |
clearNextPageToken()
If not empty, indicates that there may be more snapshots that match
the request; this value should be passed in a new
`ListTopicSnapshotsRequest` to get more snapshots.
|
ListTopicSnapshotsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListTopicSnapshotsResponse.Builder |
clearSnapshots()
The names of the snapshots that match the request.
|
ListTopicSnapshotsResponse.Builder |
clone() |
ListTopicSnapshotsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
If not empty, indicates that there may be more snapshots that match
the request; this value should be passed in a new
`ListTopicSnapshotsRequest` to get more snapshots.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
If not empty, indicates that there may be more snapshots that match
the request; this value should be passed in a new
`ListTopicSnapshotsRequest` to get more snapshots.
|
String |
getSnapshots(int index)
The names of the snapshots that match the request.
|
com.google.protobuf.ByteString |
getSnapshotsBytes(int index)
The names of the snapshots that match the request.
|
int |
getSnapshotsCount()
The names of the snapshots that match the request.
|
com.google.protobuf.ProtocolStringList |
getSnapshotsList()
The names of the snapshots that match the request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListTopicSnapshotsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListTopicSnapshotsResponse.Builder |
mergeFrom(ListTopicSnapshotsResponse other) |
ListTopicSnapshotsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListTopicSnapshotsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListTopicSnapshotsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListTopicSnapshotsResponse.Builder |
setNextPageToken(String value)
If not empty, indicates that there may be more snapshots that match
the request; this value should be passed in a new
`ListTopicSnapshotsRequest` to get more snapshots.
|
ListTopicSnapshotsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
If not empty, indicates that there may be more snapshots that match
the request; this value should be passed in a new
`ListTopicSnapshotsRequest` to get more snapshots.
|
ListTopicSnapshotsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListTopicSnapshotsResponse.Builder |
setSnapshots(int index,
String value)
The names of the snapshots that match the request.
|
ListTopicSnapshotsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSnapshotsResponse.Builder>
public ListTopicSnapshotsResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSnapshotsResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSnapshotsResponse.Builder>
public ListTopicSnapshotsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListTopicSnapshotsResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListTopicSnapshotsResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListTopicSnapshotsResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSnapshotsResponse.Builder>
public ListTopicSnapshotsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSnapshotsResponse.Builder>
public ListTopicSnapshotsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSnapshotsResponse.Builder>
public ListTopicSnapshotsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSnapshotsResponse.Builder>
public ListTopicSnapshotsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSnapshotsResponse.Builder>
public ListTopicSnapshotsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSnapshotsResponse.Builder>
public ListTopicSnapshotsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListTopicSnapshotsResponse.Builder>
public ListTopicSnapshotsResponse.Builder mergeFrom(ListTopicSnapshotsResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSnapshotsResponse.Builder>
public ListTopicSnapshotsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListTopicSnapshotsResponse.Builder>
IOException
public com.google.protobuf.ProtocolStringList getSnapshotsList()
The names of the snapshots that match the request.
repeated string snapshots = 1;
getSnapshotsList
in interface ListTopicSnapshotsResponseOrBuilder
public int getSnapshotsCount()
The names of the snapshots that match the request.
repeated string snapshots = 1;
getSnapshotsCount
in interface ListTopicSnapshotsResponseOrBuilder
public String getSnapshots(int index)
The names of the snapshots that match the request.
repeated string snapshots = 1;
getSnapshots
in interface ListTopicSnapshotsResponseOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getSnapshotsBytes(int index)
The names of the snapshots that match the request.
repeated string snapshots = 1;
getSnapshotsBytes
in interface ListTopicSnapshotsResponseOrBuilder
index
- The index of the value to return.public ListTopicSnapshotsResponse.Builder setSnapshots(int index, String value)
The names of the snapshots that match the request.
repeated string snapshots = 1;
index
- The index to set the value at.value
- The snapshots to set.public ListTopicSnapshotsResponse.Builder addSnapshots(String value)
The names of the snapshots that match the request.
repeated string snapshots = 1;
value
- The snapshots to add.public ListTopicSnapshotsResponse.Builder addAllSnapshots(Iterable<String> values)
The names of the snapshots that match the request.
repeated string snapshots = 1;
values
- The snapshots to add.public ListTopicSnapshotsResponse.Builder clearSnapshots()
The names of the snapshots that match the request.
repeated string snapshots = 1;
public ListTopicSnapshotsResponse.Builder addSnapshotsBytes(com.google.protobuf.ByteString value)
The names of the snapshots that match the request.
repeated string snapshots = 1;
value
- The bytes of the snapshots to add.public String getNextPageToken()
If not empty, indicates that there may be more snapshots that match the request; this value should be passed in a new `ListTopicSnapshotsRequest` to get more snapshots.
string next_page_token = 2;
getNextPageToken
in interface ListTopicSnapshotsResponseOrBuilder
public com.google.protobuf.ByteString getNextPageTokenBytes()
If not empty, indicates that there may be more snapshots that match the request; this value should be passed in a new `ListTopicSnapshotsRequest` to get more snapshots.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListTopicSnapshotsResponseOrBuilder
public ListTopicSnapshotsResponse.Builder setNextPageToken(String value)
If not empty, indicates that there may be more snapshots that match the request; this value should be passed in a new `ListTopicSnapshotsRequest` to get more snapshots.
string next_page_token = 2;
value
- The nextPageToken to set.public ListTopicSnapshotsResponse.Builder clearNextPageToken()
If not empty, indicates that there may be more snapshots that match the request; this value should be passed in a new `ListTopicSnapshotsRequest` to get more snapshots.
string next_page_token = 2;
public ListTopicSnapshotsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
If not empty, indicates that there may be more snapshots that match the request; this value should be passed in a new `ListTopicSnapshotsRequest` to get more snapshots.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public final ListTopicSnapshotsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSnapshotsResponse.Builder>
public final ListTopicSnapshotsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSnapshotsResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.