public static final class FetchBackupsForResourceTypeResponse.Builder extends GeneratedMessage.Builder<FetchBackupsForResourceTypeResponse.Builder> implements FetchBackupsForResourceTypeResponseOrBuilderResponse for the FetchBackupsForResourceType method.
Protobuf type google.cloud.backupdr.v1.FetchBackupsForResourceTypeResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchBackupsForResourceTypeResponse.BuilderImplements
FetchBackupsForResourceTypeResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBackups(Iterable<? extends Backup> values)
public FetchBackupsForResourceTypeResponse.Builder addAllBackups(Iterable<? extends Backup> values)The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.backupdr.v1.Backup> |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
|
addBackups(Backup value)
public FetchBackupsForResourceTypeResponse.Builder addBackups(Backup value)The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Backup |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
|
addBackups(Backup.Builder builderForValue)
public FetchBackupsForResourceTypeResponse.Builder addBackups(Backup.Builder builderForValue)The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Backup.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
|
addBackups(int index, Backup value)
public FetchBackupsForResourceTypeResponse.Builder addBackups(int index, Backup value)The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Backup |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
|
addBackups(int index, Backup.Builder builderForValue)
public FetchBackupsForResourceTypeResponse.Builder addBackups(int index, Backup.Builder builderForValue)The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Backup.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
|
addBackupsBuilder()
public Backup.Builder addBackupsBuilder()The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Returns | |
|---|---|
| Type | Description |
Backup.Builder |
|
addBackupsBuilder(int index)
public Backup.Builder addBackupsBuilder(int index)The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Backup.Builder |
|
build()
public FetchBackupsForResourceTypeResponse build()| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse |
|
buildPartial()
public FetchBackupsForResourceTypeResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse |
|
clear()
public FetchBackupsForResourceTypeResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
|
clearBackups()
public FetchBackupsForResourceTypeResponse.Builder clearBackups()The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
|
clearNextPageToken()
public FetchBackupsForResourceTypeResponse.Builder clearNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
This builder for chaining. |
getBackups(int index)
public Backup getBackups(int index)The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Backup |
|
getBackupsBuilder(int index)
public Backup.Builder getBackupsBuilder(int index)The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Backup.Builder |
|
getBackupsBuilderList()
public List<Backup.Builder> getBackupsBuilderList()The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getBackupsCount()
public int getBackupsCount()The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getBackupsList()
public List<Backup> getBackupsList()The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Returns | |
|---|---|
| Type | Description |
List<Backup> |
|
getBackupsOrBuilder(int index)
public BackupOrBuilder getBackupsOrBuilder(int index)The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BackupOrBuilder |
|
getBackupsOrBuilderList()
public List<? extends BackupOrBuilder> getBackupsOrBuilderList()The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.BackupOrBuilder> |
|
getDefaultInstanceForType()
public FetchBackupsForResourceTypeResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchBackupsForResourceTypeResponse other)
public FetchBackupsForResourceTypeResponse.Builder mergeFrom(FetchBackupsForResourceTypeResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchBackupsForResourceTypeResponse |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchBackupsForResourceTypeResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchBackupsForResourceTypeResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
|
removeBackups(int index)
public FetchBackupsForResourceTypeResponse.Builder removeBackups(int index)The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
|
setBackups(int index, Backup value)
public FetchBackupsForResourceTypeResponse.Builder setBackups(int index, Backup value)The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Backup |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
|
setBackups(int index, Backup.Builder builderForValue)
public FetchBackupsForResourceTypeResponse.Builder setBackups(int index, Backup.Builder builderForValue)The Backups from the specified parent.
repeated .google.cloud.backupdr.v1.Backup backups = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Backup.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
|
setNextPageToken(String value)
public FetchBackupsForResourceTypeResponse.Builder setNextPageToken(String value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public FetchBackupsForResourceTypeResponse.Builder setNextPageTokenBytes(ByteString value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeResponse.Builder |
This builder for chaining. |