Class FetchUsableBackupVaultsResponse.Builder (0.18.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass FetchUsableBackupVaultsResponse.BuilderextendsGeneratedMessageV3.Builder<FetchUsableBackupVaultsResponse.Builder>implementsFetchUsableBackupVaultsResponseOrBuilderResponse message for fetching usable BackupVaults.
Protobuf type google.cloud.backupdr.v1.FetchUsableBackupVaultsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FetchUsableBackupVaultsResponse.BuilderImplements
FetchUsableBackupVaultsResponseOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBackupVaults(Iterable<? extends BackupVault> values)
publicFetchUsableBackupVaultsResponse.BuilderaddAllBackupVaults(Iterable<?extendsBackupVault>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 |
FetchUsableBackupVaultsResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
publicFetchUsableBackupVaultsResponse.BuilderaddAllUnreachable(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 |
FetchUsableBackupVaultsResponse.Builder |
This builder for chaining. |
addBackupVaults(BackupVault value)
publicFetchUsableBackupVaultsResponse.BuilderaddBackupVaults(BackupVaultvalue)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 |
FetchUsableBackupVaultsResponse.Builder |
|
addBackupVaults(BackupVault.Builder builderForValue)
publicFetchUsableBackupVaultsResponse.BuilderaddBackupVaults(BackupVault.BuilderbuilderForValue)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 |
FetchUsableBackupVaultsResponse.Builder |
|
addBackupVaults(int index, BackupVault value)
publicFetchUsableBackupVaultsResponse.BuilderaddBackupVaults(intindex,BackupVaultvalue)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 |
FetchUsableBackupVaultsResponse.Builder |
|
addBackupVaults(int index, BackupVault.Builder builderForValue)
publicFetchUsableBackupVaultsResponse.BuilderaddBackupVaults(intindex,BackupVault.BuilderbuilderForValue)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 |
FetchUsableBackupVaultsResponse.Builder |
|
addBackupVaultsBuilder()
publicBackupVault.BuilderaddBackupVaultsBuilder()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)
publicBackupVault.BuilderaddBackupVaultsBuilder(intindex)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)
publicFetchUsableBackupVaultsResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
|
addUnreachable(String value)
publicFetchUsableBackupVaultsResponse.BuilderaddUnreachable(Stringvalue)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
String The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
publicFetchUsableBackupVaultsResponse.BuilderaddUnreachableBytes(ByteStringvalue)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
This builder for chaining. |
build()
publicFetchUsableBackupVaultsResponsebuild()| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse |
|
buildPartial()
publicFetchUsableBackupVaultsResponsebuildPartial()| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse |
|
clear()
publicFetchUsableBackupVaultsResponse.Builderclear()| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
|
clearBackupVaults()
publicFetchUsableBackupVaultsResponse.BuilderclearBackupVaults()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 |
FetchUsableBackupVaultsResponse.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicFetchUsableBackupVaultsResponse.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
|
clearNextPageToken()
publicFetchUsableBackupVaultsResponse.BuilderclearNextPageToken()A token identifying a page of results the server should return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicFetchUsableBackupVaultsResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
|
clearUnreachable()
publicFetchUsableBackupVaultsResponse.BuilderclearUnreachable()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
This builder for chaining. |
clone()
publicFetchUsableBackupVaultsResponse.Builderclone()| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
|
getBackupVaults(int index)
publicBackupVaultgetBackupVaults(intindex)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)
publicBackupVault.BuildergetBackupVaultsBuilder(intindex)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()
publicList<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()
publicintgetBackupVaultsCount()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()
publicList<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)
publicBackupVaultOrBuildergetBackupVaultsOrBuilder(intindex)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()
publicList<?extendsBackupVaultOrBuilder>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()
publicFetchUsableBackupVaultsResponsegetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
publicStringgetNextPageToken()A token identifying a page of results the server should return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
publicByteStringgetNextPageTokenBytes()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)
publicStringgetUnreachable(intindex)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
publicByteStringgetUnreachableBytes(intindex)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
publicintgetUnreachableCount()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
publicProtocolStringListgetUnreachableList()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchUsableBackupVaultsResponse other)
publicFetchUsableBackupVaultsResponse.BuildermergeFrom(FetchUsableBackupVaultsResponseother)| Parameter | |
|---|---|
| Name | Description |
other |
FetchUsableBackupVaultsResponse |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicFetchUsableBackupVaultsResponse.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicFetchUsableBackupVaultsResponse.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalFetchUsableBackupVaultsResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
|
removeBackupVaults(int index)
publicFetchUsableBackupVaultsResponse.BuilderremoveBackupVaults(intindex)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 |
FetchUsableBackupVaultsResponse.Builder |
|
setBackupVaults(int index, BackupVault value)
publicFetchUsableBackupVaultsResponse.BuildersetBackupVaults(intindex,BackupVaultvalue)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 |
FetchUsableBackupVaultsResponse.Builder |
|
setBackupVaults(int index, BackupVault.Builder builderForValue)
publicFetchUsableBackupVaultsResponse.BuildersetBackupVaults(intindex,BackupVault.BuilderbuilderForValue)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 |
FetchUsableBackupVaultsResponse.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicFetchUsableBackupVaultsResponse.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
|
setNextPageToken(String value)
publicFetchUsableBackupVaultsResponse.BuildersetNextPageToken(Stringvalue)A token identifying a page of results the server should return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
String The nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
publicFetchUsableBackupVaultsResponse.BuildersetNextPageTokenBytes(ByteStringvalue)A token identifying a page of results the server should return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicFetchUsableBackupVaultsResponse.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalFetchUsableBackupVaultsResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
|
setUnreachable(int index, String value)
publicFetchUsableBackupVaultsResponse.BuildersetUnreachable(intindex,Stringvalue)Locations that could not be reached.
repeated string unreachable = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int The index to set the value at. |
value |
String The unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
FetchUsableBackupVaultsResponse.Builder |
This builder for chaining. |