public static final class ListBackupsResponse.Builder extends GeneratedMessageV3.Builder<ListBackupsResponse.Builder> implements ListBackupsResponseOrBuilder
The response for ListBackups.
Protobuf type google.spanner.admin.database.v1.ListBackupsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllBackups(Iterable<? extends Backup> values)
public ListBackupsResponse.Builder addAllBackups(Iterable<? extends Backup> values)
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.spanner.admin.database.v1.Backup>
|
addBackups(Backup value)
public ListBackupsResponse.Builder addBackups(Backup value)
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
Parameter |
---|
Name | Description |
value | Backup
|
addBackups(Backup.Builder builderForValue)
public ListBackupsResponse.Builder addBackups(Backup.Builder builderForValue)
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
addBackups(int index, Backup value)
public ListBackupsResponse.Builder addBackups(int index, Backup value)
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
addBackups(int index, Backup.Builder builderForValue)
public ListBackupsResponse.Builder addBackups(int index, Backup.Builder builderForValue)
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
addBackupsBuilder()
public Backup.Builder addBackupsBuilder()
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
addBackupsBuilder(int index)
public Backup.Builder addBackupsBuilder(int index)
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBackupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListBackupsResponse build()
buildPartial()
public ListBackupsResponse buildPartial()
clear()
public ListBackupsResponse.Builder clear()
Overrides
clearBackups()
public ListBackupsResponse.Builder clearBackups()
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
clearField(Descriptors.FieldDescriptor field)
public ListBackupsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListBackupsResponse.Builder clearNextPageToken()
next_page_token
can be sent in a subsequent
ListBackups call to fetch more
of the matching backups.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBackupsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListBackupsResponse.Builder clone()
Overrides
getBackups(int index)
public Backup getBackups(int index)
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
Parameter |
---|
Name | Description |
index | int
|
getBackupsBuilder(int index)
public Backup.Builder getBackupsBuilder(int index)
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
Parameter |
---|
Name | Description |
index | int
|
getBackupsBuilderList()
public List<Backup.Builder> getBackupsBuilderList()
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
getBackupsCount()
public int getBackupsCount()
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
Returns |
---|
Type | Description |
int | |
getBackupsList()
public List<Backup> getBackupsList()
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
getBackupsOrBuilder(int index)
public BackupOrBuilder getBackupsOrBuilder(int index)
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
Parameter |
---|
Name | Description |
index | int
|
getBackupsOrBuilderList()
public List<? extends BackupOrBuilder> getBackupsOrBuilderList()
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
Returns |
---|
Type | Description |
List<? extends com.google.spanner.admin.database.v1.BackupOrBuilder> | |
getDefaultInstanceForType()
public ListBackupsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
next_page_token
can be sent in a subsequent
ListBackups call to fetch more
of the matching backups.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
next_page_token
can be sent in a subsequent
ListBackups call to fetch more
of the matching backups.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public ListBackupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListBackupsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(ListBackupsResponse other)
public ListBackupsResponse.Builder mergeFrom(ListBackupsResponse other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBackupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeBackups(int index)
public ListBackupsResponse.Builder removeBackups(int index)
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
Parameter |
---|
Name | Description |
index | int
|
setBackups(int index, Backup value)
public ListBackupsResponse.Builder setBackups(int index, Backup value)
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
setBackups(int index, Backup.Builder builderForValue)
public ListBackupsResponse.Builder setBackups(int index, Backup.Builder builderForValue)
The list of matching backups. Backups returned are ordered by create_time
in descending order, starting from the most recent create_time
.
repeated .google.spanner.admin.database.v1.Backup backups = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListBackupsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListBackupsResponse.Builder setNextPageToken(String value)
next_page_token
can be sent in a subsequent
ListBackups call to fetch more
of the matching backups.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListBackupsResponse.Builder setNextPageTokenBytes(ByteString value)
next_page_token
can be sent in a subsequent
ListBackups call to fetch more
of the matching backups.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBackupsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBackupsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides