public static final class ListBackupVaultsResponse.Builder extends GeneratedMessageV3.Builder<ListBackupVaultsResponse.Builder> implements ListBackupVaultsResponseOrBuilderResponse message for listing BackupVaults.
 Protobuf type google.cloud.backupdr.v1.ListBackupVaultsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListBackupVaultsResponse.BuilderImplements
ListBackupVaultsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addAllBackupVaults(Iterable<? extends BackupVault> values)
public ListBackupVaultsResponse.Builder addAllBackupVaults(Iterable<? extends BackupVault> values)The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<? extends com.google.cloud.backupdr.v1.BackupVault> | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
addAllUnreachable(Iterable<String> values)
public ListBackupVaultsResponse.Builder addAllUnreachable(Iterable<String> values)Locations that could not be reached.
 repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<String>The unreachable to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        This builder for chaining.  | 
      
addBackupVaults(BackupVault value)
public ListBackupVaultsResponse.Builder addBackupVaults(BackupVault value)The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        BackupVault | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
addBackupVaults(BackupVault.Builder builderForValue)
public ListBackupVaultsResponse.Builder addBackupVaults(BackupVault.Builder builderForValue)The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        BackupVault.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
addBackupVaults(int index, BackupVault value)
public ListBackupVaultsResponse.Builder addBackupVaults(int index, BackupVault value)The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        BackupVault | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
addBackupVaults(int index, BackupVault.Builder builderForValue)
public ListBackupVaultsResponse.Builder addBackupVaults(int index, BackupVault.Builder builderForValue)The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        BackupVault.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
addBackupVaultsBuilder()
public BackupVault.Builder addBackupVaultsBuilder()The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Returns | |
|---|---|
| Type | Description | 
BackupVault.Builder | 
        |
addBackupVaultsBuilder(int index)
public BackupVault.Builder addBackupVaultsBuilder(int index)The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
BackupVault.Builder | 
        |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBackupVaultsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
addUnreachable(String value)
public ListBackupVaultsResponse.Builder addUnreachable(String value)Locations that could not be reached.
 repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe unreachable to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        This builder for chaining.  | 
      
addUnreachableBytes(ByteString value)
public ListBackupVaultsResponse.Builder addUnreachableBytes(ByteString value)Locations that could not be reached.
 repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes of the unreachable to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        This builder for chaining.  | 
      
build()
public ListBackupVaultsResponse build()| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse | 
        |
buildPartial()
public ListBackupVaultsResponse buildPartial()| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse | 
        |
clear()
public ListBackupVaultsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
clearBackupVaults()
public ListBackupVaultsResponse.Builder clearBackupVaults()The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public ListBackupVaultsResponse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
clearNextPageToken()
public ListBackupVaultsResponse.Builder clearNextPageToken()A token identifying a page of results the server should return.
 string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBackupVaultsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
clearUnreachable()
public ListBackupVaultsResponse.Builder clearUnreachable()Locations that could not be reached.
 repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        This builder for chaining.  | 
      
clone()
public ListBackupVaultsResponse.Builder clone()| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
getBackupVaults(int index)
public BackupVault getBackupVaults(int index)The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
BackupVault | 
        |
getBackupVaultsBuilder(int index)
public BackupVault.Builder getBackupVaultsBuilder(int index)The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
BackupVault.Builder | 
        |
getBackupVaultsBuilderList()
public List<BackupVault.Builder> getBackupVaultsBuilderList()The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Returns | |
|---|---|
| Type | Description | 
List<Builder> | 
        |
getBackupVaultsCount()
public int getBackupVaultsCount()The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
getBackupVaultsList()
public List<BackupVault> getBackupVaultsList()The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Returns | |
|---|---|
| Type | Description | 
List<BackupVault> | 
        |
getBackupVaultsOrBuilder(int index)
public BackupVaultOrBuilder getBackupVaultsOrBuilder(int index)The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
BackupVaultOrBuilder | 
        |
getBackupVaultsOrBuilderList()
public List<? extends BackupVaultOrBuilder> getBackupVaultsOrBuilderList()The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Returns | |
|---|---|
| Type | Description | 
List<? extends com.google.cloud.backupdr.v1.BackupVaultOrBuilder> | 
        |
getDefaultInstanceForType()
public ListBackupVaultsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getNextPageToken()
public String getNextPageToken()A token identifying a page of results the server should return.
 string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The nextPageToken.  | 
      
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()A token identifying a page of results the server should return.
 string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for nextPageToken.  | 
      
getUnreachable(int index)
public String getUnreachable(int index)Locations that could not be reached.
 repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the element to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
String | 
        The unreachable at the given index.  | 
      
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)Locations that could not be reached.
 repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the value to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes of the unreachable at the given index.  | 
      
getUnreachableCount()
public int getUnreachableCount()Locations that could not be reached.
 repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The count of unreachable.  | 
      
getUnreachableList()
public ProtocolStringList getUnreachableList()Locations that could not be reached.
 repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description | 
ProtocolStringList | 
        A list containing the unreachable.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(ListBackupVaultsResponse other)
public ListBackupVaultsResponse.Builder mergeFrom(ListBackupVaultsResponse other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        ListBackupVaultsResponse | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListBackupVaultsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public ListBackupVaultsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBackupVaultsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
removeBackupVaults(int index)
public ListBackupVaultsResponse.Builder removeBackupVaults(int index)The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
setBackupVaults(int index, BackupVault value)
public ListBackupVaultsResponse.Builder setBackupVaults(int index, BackupVault value)The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        BackupVault | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
setBackupVaults(int index, BackupVault.Builder builderForValue)
public ListBackupVaultsResponse.Builder setBackupVaults(int index, BackupVault.Builder builderForValue)The list of BackupVault instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
 repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        BackupVault.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public ListBackupVaultsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
setNextPageToken(String value)
public ListBackupVaultsResponse.Builder setNextPageToken(String value)A token identifying a page of results the server should return.
 string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe nextPageToken to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        This builder for chaining.  | 
      
setNextPageTokenBytes(ByteString value)
public ListBackupVaultsResponse.Builder setNextPageTokenBytes(ByteString value)A token identifying a page of results the server should return.
 string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for nextPageToken to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBackupVaultsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBackupVaultsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        |
setUnreachable(int index, String value)
public ListBackupVaultsResponse.Builder setUnreachable(int index, String value)Locations that could not be reached.
 repeated string unreachable = 3;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        StringThe unreachable to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListBackupVaultsResponse.Builder | 
        This builder for chaining.  |