public static final class ListBackupPlanRevisionsResponse.Builder extends GeneratedMessageV3.Builder<ListBackupPlanRevisionsResponse.Builder> implements ListBackupPlanRevisionsResponseOrBuilder The response message for getting a list of BackupPlanRevision.
 Protobuf type google.cloud.backupdr.v1.ListBackupPlanRevisionsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListBackupPlanRevisionsResponse.BuilderImplements
ListBackupPlanRevisionsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllBackupPlanRevisions(Iterable<? extends BackupPlanRevision> values)
public ListBackupPlanRevisionsResponse.Builder addAllBackupPlanRevisions(Iterable<? extends BackupPlanRevision> values) The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.cloud.backupdr.v1.BackupPlanRevision> | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
addAllUnreachable(Iterable<String> values)
public ListBackupPlanRevisionsResponse.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 | 
| ListBackupPlanRevisionsResponse.Builder | This builder for chaining. | 
addBackupPlanRevisions(BackupPlanRevision value)
public ListBackupPlanRevisionsResponse.Builder addBackupPlanRevisions(BackupPlanRevision value) The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | BackupPlanRevision | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
addBackupPlanRevisions(BackupPlanRevision.Builder builderForValue)
public ListBackupPlanRevisionsResponse.Builder addBackupPlanRevisions(BackupPlanRevision.Builder builderForValue) The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | BackupPlanRevision.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
addBackupPlanRevisions(int index, BackupPlanRevision value)
public ListBackupPlanRevisionsResponse.Builder addBackupPlanRevisions(int index, BackupPlanRevision value) The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | BackupPlanRevision | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
addBackupPlanRevisions(int index, BackupPlanRevision.Builder builderForValue)
public ListBackupPlanRevisionsResponse.Builder addBackupPlanRevisions(int index, BackupPlanRevision.Builder builderForValue) The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | BackupPlanRevision.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
addBackupPlanRevisionsBuilder()
public BackupPlanRevision.Builder addBackupPlanRevisionsBuilder() The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
addBackupPlanRevisionsBuilder(int index)
public BackupPlanRevision.Builder addBackupPlanRevisionsBuilder(int index) The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBackupPlanRevisionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
addUnreachable(String value)
public ListBackupPlanRevisionsResponse.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 | 
| ListBackupPlanRevisionsResponse.Builder | This builder for chaining. | 
addUnreachableBytes(ByteString value)
public ListBackupPlanRevisionsResponse.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 | 
| ListBackupPlanRevisionsResponse.Builder | This builder for chaining. | 
build()
public ListBackupPlanRevisionsResponse build()| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse | |
buildPartial()
public ListBackupPlanRevisionsResponse buildPartial()| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse | |
clear()
public ListBackupPlanRevisionsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
clearBackupPlanRevisions()
public ListBackupPlanRevisionsResponse.Builder clearBackupPlanRevisions() The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
clearField(Descriptors.FieldDescriptor field)
public ListBackupPlanRevisionsResponse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
clearNextPageToken()
public ListBackupPlanRevisionsResponse.Builder clearNextPageToken() A token which may be sent as
 page_token
 in a subsequent ListBackupPlanRevisions 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 | 
| ListBackupPlanRevisionsResponse.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBackupPlanRevisionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
clearUnreachable()
public ListBackupPlanRevisionsResponse.Builder clearUnreachable()Locations that could not be reached.
 repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | This builder for chaining. | 
clone()
public ListBackupPlanRevisionsResponse.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
getBackupPlanRevisions(int index)
public BackupPlanRevision getBackupPlanRevisions(int index) The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision | |
getBackupPlanRevisionsBuilder(int index)
public BackupPlanRevision.Builder getBackupPlanRevisionsBuilder(int index) The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
getBackupPlanRevisionsBuilderList()
public List<BackupPlanRevision.Builder> getBackupPlanRevisionsBuilderList() The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Returns | |
|---|---|
| Type | Description | 
| List<Builder> | |
getBackupPlanRevisionsCount()
public int getBackupPlanRevisionsCount() The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Returns | |
|---|---|
| Type | Description | 
| int | |
getBackupPlanRevisionsList()
public List<BackupPlanRevision> getBackupPlanRevisionsList() The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Returns | |
|---|---|
| Type | Description | 
| List<BackupPlanRevision> | |
getBackupPlanRevisionsOrBuilder(int index)
public BackupPlanRevisionOrBuilder getBackupPlanRevisionsOrBuilder(int index) The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevisionOrBuilder | |
getBackupPlanRevisionsOrBuilderList()
public List<? extends BackupPlanRevisionOrBuilder> getBackupPlanRevisionsOrBuilderList() The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.backupdr.v1.BackupPlanRevisionOrBuilder> | |
getDefaultInstanceForType()
public ListBackupPlanRevisionsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse | |
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 ListBackupPlanRevisions 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 ListBackupPlanRevisions 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(ListBackupPlanRevisionsResponse other)
public ListBackupPlanRevisionsResponse.Builder mergeFrom(ListBackupPlanRevisionsResponse other)| Parameter | |
|---|---|
| Name | Description | 
| other | ListBackupPlanRevisionsResponse | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListBackupPlanRevisionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public ListBackupPlanRevisionsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBackupPlanRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
removeBackupPlanRevisions(int index)
public ListBackupPlanRevisionsResponse.Builder removeBackupPlanRevisions(int index) The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
setBackupPlanRevisions(int index, BackupPlanRevision value)
public ListBackupPlanRevisionsResponse.Builder setBackupPlanRevisions(int index, BackupPlanRevision value) The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | BackupPlanRevision | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
setBackupPlanRevisions(int index, BackupPlanRevision.Builder builderForValue)
public ListBackupPlanRevisionsResponse.Builder setBackupPlanRevisions(int index, BackupPlanRevision.Builder builderForValue) The list of BackupPlanRevisions 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.
 repeated .google.cloud.backupdr.v1.BackupPlanRevision backup_plan_revisions = 1;
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | BackupPlanRevision.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public ListBackupPlanRevisionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
setNextPageToken(String value)
public ListBackupPlanRevisionsResponse.Builder setNextPageToken(String value) A token which may be sent as
 page_token
 in a subsequent ListBackupPlanRevisions 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 | 
| ListBackupPlanRevisionsResponse.Builder | This builder for chaining. | 
setNextPageTokenBytes(ByteString value)
public ListBackupPlanRevisionsResponse.Builder setNextPageTokenBytes(ByteString value) A token which may be sent as
 page_token
 in a subsequent ListBackupPlanRevisions 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 | 
| ListBackupPlanRevisionsResponse.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBackupPlanRevisionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBackupPlanRevisionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ListBackupPlanRevisionsResponse.Builder | |
setUnreachable(int index, String value)
public ListBackupPlanRevisionsResponse.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 | 
| ListBackupPlanRevisionsResponse.Builder | This builder for chaining. |