public static final class ListBackupPlansResponse.Builder extends GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder> implements ListBackupPlansResponseOrBuilder 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
ListBackupPlansResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllBackupPlans(Iterable<? extends BackupPlan> values)
public ListBackupPlansResponse.Builder addAllBackupPlans(Iterable<? extends BackupPlan> 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)
public ListBackupPlansResponse.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 | 
| ListBackupPlansResponse.Builder | This builder for chaining. | 
addBackupPlans(BackupPlan value)
public ListBackupPlansResponse.Builder addBackupPlans(BackupPlan value) 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)
public ListBackupPlansResponse.Builder addBackupPlans(BackupPlan.Builder builderForValue) 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)
public ListBackupPlansResponse.Builder addBackupPlans(int index, BackupPlan value) 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)
public ListBackupPlansResponse.Builder addBackupPlans(int index, BackupPlan.Builder builderForValue) 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()
public BackupPlan.Builder addBackupPlansBuilder() 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)
public BackupPlan.Builder addBackupPlansBuilder(int index) 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)
public ListBackupPlansResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | |
addUnreachable(String value)
public ListBackupPlansResponse.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 | 
| ListBackupPlansResponse.Builder | This builder for chaining. | 
addUnreachableBytes(ByteString value)
public ListBackupPlansResponse.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 | 
| ListBackupPlansResponse.Builder | This builder for chaining. | 
build()
public ListBackupPlansResponse build()| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse | |
buildPartial()
public ListBackupPlansResponse buildPartial()| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse | |
clear()
public ListBackupPlansResponse.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | |
clearBackupPlans()
public ListBackupPlansResponse.Builder clearBackupPlans() 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)
public ListBackupPlansResponse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | |
clearNextPageToken()
public ListBackupPlansResponse.Builder clearNextPageToken() 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)
public ListBackupPlansResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | |
clearUnreachable()
public ListBackupPlansResponse.Builder clearUnreachable()Locations that could not be reached.
 repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | This builder for chaining. | 
clone()
public ListBackupPlansResponse.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | |
getBackupPlans(int index)
public BackupPlan getBackupPlans(int index) 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)
public BackupPlan.Builder getBackupPlansBuilder(int index) 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()
public List<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()
public int getBackupPlansCount() 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()
public List<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)
public BackupPlanOrBuilder getBackupPlansOrBuilder(int index) 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()
public List<? extends BackupPlanOrBuilder> 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()
public ListBackupPlansResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getNextPageToken()
public String getNextPageToken() 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()
public ByteString getNextPageTokenBytes() 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)
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(ListBackupPlansResponse other)
public ListBackupPlansResponse.Builder mergeFrom(ListBackupPlansResponse other)| Parameter | |
|---|---|
| Name | Description | 
| other | ListBackupPlansResponse | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListBackupPlansResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public ListBackupPlansResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBackupPlansResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | |
removeBackupPlans(int index)
public ListBackupPlansResponse.Builder removeBackupPlans(int index) 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)
public ListBackupPlansResponse.Builder setBackupPlans(int index, BackupPlan value) 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)
public ListBackupPlansResponse.Builder setBackupPlans(int index, BackupPlan.Builder builderForValue) 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)
public ListBackupPlansResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | |
setNextPageToken(String value)
public ListBackupPlansResponse.Builder setNextPageToken(String value) 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 | StringThe nextPageToken to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | This builder for chaining. | 
setNextPageTokenBytes(ByteString value)
public ListBackupPlansResponse.Builder setNextPageTokenBytes(ByteString value) 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 | ByteStringThe bytes for nextPageToken to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBackupPlansResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBackupPlansResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlansResponse.Builder | |
setUnreachable(int index, String value)
public ListBackupPlansResponse.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 | 
| ListBackupPlansResponse.Builder | This builder for chaining. |