Class ListBackupPlansResponse.Builder (0.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass ListBackupPlansResponse.BuilderextendsGeneratedMessageV3.Builder<ListBackupPlansResponse.Builder>implementsListBackupPlansResponseOrBuilder The response message for getting a list of BackupPlan.
Protobuf type google.cloud.backupdr.v1.ListBackupPlansResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListBackupPlansResponse.BuilderImplements
ListBackupPlansResponseOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBackupPlans(Iterable<? extends BackupPlan> values)
publicListBackupPlansResponse.BuilderaddAllBackupPlans(Iterable<?extendsBackupPlan>values) The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.backupdr.v1.BackupPlan> |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
publicListBackupPlansResponse.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 |
ListBackupPlansResponse.Builder |
This builder for chaining. |
addBackupPlans(BackupPlan value)
publicListBackupPlansResponse.BuilderaddBackupPlans(BackupPlanvalue) The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
BackupPlan |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
addBackupPlans(BackupPlan.Builder builderForValue)
publicListBackupPlansResponse.BuilderaddBackupPlans(BackupPlan.BuilderbuilderForValue) The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BackupPlan.Builder |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
addBackupPlans(int index, BackupPlan value)
publicListBackupPlansResponse.BuilderaddBackupPlans(intindex,BackupPlanvalue) The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
BackupPlan |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
addBackupPlans(int index, BackupPlan.Builder builderForValue)
publicListBackupPlansResponse.BuilderaddBackupPlans(intindex,BackupPlan.BuilderbuilderForValue) The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BackupPlan.Builder |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
addBackupPlansBuilder()
publicBackupPlan.BuilderaddBackupPlansBuilder() The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Returns | |
|---|---|
| Type | Description |
BackupPlan.Builder |
|
addBackupPlansBuilder(int index)
publicBackupPlan.BuilderaddBackupPlansBuilder(intindex) The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BackupPlan.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicListBackupPlansResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
addUnreachable(String value)
publicListBackupPlansResponse.BuilderaddUnreachable(Stringvalue)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
String The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
publicListBackupPlansResponse.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 |
ListBackupPlansResponse.Builder |
This builder for chaining. |
build()
publicListBackupPlansResponsebuild()| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse |
|
buildPartial()
publicListBackupPlansResponsebuildPartial()| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse |
|
clear()
publicListBackupPlansResponse.Builderclear()| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
clearBackupPlans()
publicListBackupPlansResponse.BuilderclearBackupPlans() The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicListBackupPlansResponse.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
clearNextPageToken()
publicListBackupPlansResponse.BuilderclearNextPageToken() A token which may be sent as
page_token in
a subsequent ListBackupPlans call to retrieve the next page of results.
If this field is omitted or empty, then there are no more results to
return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicListBackupPlansResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
clearUnreachable()
publicListBackupPlansResponse.BuilderclearUnreachable()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
This builder for chaining. |
clone()
publicListBackupPlansResponse.Builderclone()| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
getBackupPlans(int index)
publicBackupPlangetBackupPlans(intindex) The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BackupPlan |
|
getBackupPlansBuilder(int index)
publicBackupPlan.BuildergetBackupPlansBuilder(intindex) The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BackupPlan.Builder |
|
getBackupPlansBuilderList()
publicList<BackupPlan.Builder>getBackupPlansBuilderList() The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getBackupPlansCount()
publicintgetBackupPlansCount() The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getBackupPlansList()
publicList<BackupPlan>getBackupPlansList() The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Returns | |
|---|---|
| Type | Description |
List<BackupPlan> |
|
getBackupPlansOrBuilder(int index)
publicBackupPlanOrBuildergetBackupPlansOrBuilder(intindex) The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BackupPlanOrBuilder |
|
getBackupPlansOrBuilderList()
publicList<?extendsBackupPlanOrBuilder>getBackupPlansOrBuilderList() The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.BackupPlanOrBuilder> |
|
getDefaultInstanceForType()
publicListBackupPlansResponsegetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
publicStringgetNextPageToken() A token which may be sent as
page_token in
a subsequent ListBackupPlans call to retrieve the next page of results.
If this field is omitted or empty, then there are no more results to
return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
publicByteStringgetNextPageTokenBytes() A token which may be sent as
page_token in
a subsequent ListBackupPlans call to retrieve the next page of results.
If this field is omitted or empty, then there are no more results to
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(ListBackupPlansResponse other)
publicListBackupPlansResponse.BuildermergeFrom(ListBackupPlansResponseother)| Parameter | |
|---|---|
| Name | Description |
other |
ListBackupPlansResponse |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicListBackupPlansResponse.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicListBackupPlansResponse.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalListBackupPlansResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
removeBackupPlans(int index)
publicListBackupPlansResponse.BuilderremoveBackupPlans(intindex) The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
setBackupPlans(int index, BackupPlan value)
publicListBackupPlansResponse.BuildersetBackupPlans(intindex,BackupPlanvalue) The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
BackupPlan |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
setBackupPlans(int index, BackupPlan.Builder builderForValue)
publicListBackupPlansResponse.BuildersetBackupPlans(intindex,BackupPlan.BuilderbuilderForValue) The list of BackupPlans in the project for the specified
location.
If the {location} value in the request is "-", the response contains a
list of resources from all locations. In case any location is unreachable,
the response will only return backup plans in reachable locations and
the 'unreachable' field will be populated with a list of unreachable
locations.
BackupPlan
repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BackupPlan.Builder |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicListBackupPlansResponse.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
setNextPageToken(String value)
publicListBackupPlansResponse.BuildersetNextPageToken(Stringvalue) A token which may be sent as
page_token in
a subsequent ListBackupPlans call to retrieve the next page of results.
If this field is omitted or empty, then there are no more results to
return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
String The nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
publicListBackupPlansResponse.BuildersetNextPageTokenBytes(ByteStringvalue) A token which may be sent as
page_token in
a subsequent ListBackupPlans call to retrieve the next page of results.
If this field is omitted or empty, then there are no more results to
return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicListBackupPlansResponse.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalListBackupPlansResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListBackupPlansResponse.Builder |
|
setUnreachable(int index, String value)
publicListBackupPlansResponse.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 |
ListBackupPlansResponse.Builder |
This builder for chaining. |