Class ListBackupPlanAssociationsResponse.Builder (0.12.0)

public static final class ListBackupPlanAssociationsResponse.Builder extends GeneratedMessageV3.Builder<ListBackupPlanAssociationsResponse.Builder> implements ListBackupPlanAssociationsResponseOrBuilder

Response message for List BackupPlanAssociation

Protobuf type google.cloud.backupdr.v1.ListBackupPlanAssociationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllBackupPlanAssociations(Iterable<? extends BackupPlanAssociation> values)

public ListBackupPlanAssociationsResponse.Builder addAllBackupPlanAssociations(Iterable<? extends BackupPlanAssociation> values)

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.backupdr.v1.BackupPlanAssociation>
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListBackupPlanAssociationsResponse.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
ListBackupPlanAssociationsResponse.Builder

This builder for chaining.

addBackupPlanAssociations(BackupPlanAssociation value)

public ListBackupPlanAssociationsResponse.Builder addBackupPlanAssociations(BackupPlanAssociation value)

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Parameter
Name Description
value BackupPlanAssociation
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder

addBackupPlanAssociations(BackupPlanAssociation.Builder builderForValue)

public ListBackupPlanAssociationsResponse.Builder addBackupPlanAssociations(BackupPlanAssociation.Builder builderForValue)

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Parameter
Name Description
builderForValue BackupPlanAssociation.Builder
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder

addBackupPlanAssociations(int index, BackupPlanAssociation value)

public ListBackupPlanAssociationsResponse.Builder addBackupPlanAssociations(int index, BackupPlanAssociation value)

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Parameters
Name Description
index int
value BackupPlanAssociation
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder

addBackupPlanAssociations(int index, BackupPlanAssociation.Builder builderForValue)

public ListBackupPlanAssociationsResponse.Builder addBackupPlanAssociations(int index, BackupPlanAssociation.Builder builderForValue)

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Parameters
Name Description
index int
builderForValue BackupPlanAssociation.Builder
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder

addBackupPlanAssociationsBuilder()

public BackupPlanAssociation.Builder addBackupPlanAssociationsBuilder()

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Returns
Type Description
BackupPlanAssociation.Builder

addBackupPlanAssociationsBuilder(int index)

public BackupPlanAssociation.Builder addBackupPlanAssociationsBuilder(int index)

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupPlanAssociation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListBackupPlanAssociationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder
Overrides

addUnreachable(String value)

public ListBackupPlanAssociationsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListBackupPlanAssociationsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListBackupPlanAssociationsResponse.Builder addUnreachableBytes(ByteString value)

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
ListBackupPlanAssociationsResponse.Builder

This builder for chaining.

build()

public ListBackupPlanAssociationsResponse build()
Returns
Type Description
ListBackupPlanAssociationsResponse

buildPartial()

public ListBackupPlanAssociationsResponse buildPartial()
Returns
Type Description
ListBackupPlanAssociationsResponse

clear()

public ListBackupPlanAssociationsResponse.Builder clear()
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder
Overrides

clearBackupPlanAssociations()

public ListBackupPlanAssociationsResponse.Builder clearBackupPlanAssociations()

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Returns
Type Description
ListBackupPlanAssociationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListBackupPlanAssociationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder
Overrides

clearNextPageToken()

public ListBackupPlanAssociationsResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListBackupPlanAssociationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListBackupPlanAssociationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder
Overrides

clearUnreachable()

public ListBackupPlanAssociationsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListBackupPlanAssociationsResponse.Builder

This builder for chaining.

clone()

public ListBackupPlanAssociationsResponse.Builder clone()
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder
Overrides

getBackupPlanAssociations(int index)

public BackupPlanAssociation getBackupPlanAssociations(int index)

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupPlanAssociation

getBackupPlanAssociationsBuilder(int index)

public BackupPlanAssociation.Builder getBackupPlanAssociationsBuilder(int index)

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupPlanAssociation.Builder

getBackupPlanAssociationsBuilderList()

public List<BackupPlanAssociation.Builder> getBackupPlanAssociationsBuilderList()

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Returns
Type Description
List<Builder>

getBackupPlanAssociationsCount()

public int getBackupPlanAssociationsCount()

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Returns
Type Description
int

getBackupPlanAssociationsList()

public List<BackupPlanAssociation> getBackupPlanAssociationsList()

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Returns
Type Description
List<BackupPlanAssociation>

getBackupPlanAssociationsOrBuilder(int index)

public BackupPlanAssociationOrBuilder getBackupPlanAssociationsOrBuilder(int index)

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupPlanAssociationOrBuilder

getBackupPlanAssociationsOrBuilderList()

public List<? extends BackupPlanAssociationOrBuilder> getBackupPlanAssociationsOrBuilderList()

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.BackupPlanAssociationOrBuilder>

getDefaultInstanceForType()

public ListBackupPlanAssociationsResponse getDefaultInstanceForType()
Returns
Type Description
ListBackupPlanAssociationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 int

The 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 int

The 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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListBackupPlanAssociationsResponse other)

public ListBackupPlanAssociationsResponse.Builder mergeFrom(ListBackupPlanAssociationsResponse other)
Parameter
Name Description
other ListBackupPlanAssociationsResponse
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListBackupPlanAssociationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListBackupPlanAssociationsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListBackupPlanAssociationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder
Overrides

removeBackupPlanAssociations(int index)

public ListBackupPlanAssociationsResponse.Builder removeBackupPlanAssociations(int index)

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Parameter
Name Description
index int
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder

setBackupPlanAssociations(int index, BackupPlanAssociation value)

public ListBackupPlanAssociationsResponse.Builder setBackupPlanAssociations(int index, BackupPlanAssociation value)

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Parameters
Name Description
index int
value BackupPlanAssociation
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder

setBackupPlanAssociations(int index, BackupPlanAssociation.Builder builderForValue)

public ListBackupPlanAssociationsResponse.Builder setBackupPlanAssociations(int index, BackupPlanAssociation.Builder builderForValue)

The list of Backup Plan Associations 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 plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_associations = 1;

Parameters
Name Description
index int
builderForValue BackupPlanAssociation.Builder
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListBackupPlanAssociationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder
Overrides

setNextPageToken(String value)

public ListBackupPlanAssociationsResponse.Builder setNextPageToken(String value)

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
ListBackupPlanAssociationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListBackupPlanAssociationsResponse.Builder setNextPageTokenBytes(ByteString value)

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
ListBackupPlanAssociationsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListBackupPlanAssociationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListBackupPlanAssociationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListBackupPlanAssociationsResponse.Builder
Overrides

setUnreachable(int index, String value)

public ListBackupPlanAssociationsResponse.Builder setUnreachable(int index, String value)

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
ListBackupPlanAssociationsResponse.Builder

This builder for chaining.