Class ListAppliedAutoProtectionPoliciesResponse.Builder (0.58.0)

public static final class ListAppliedAutoProtectionPoliciesResponse.Builder extends GeneratedMessage.Builder<ListAppliedAutoProtectionPoliciesResponse.Builder> implements ListAppliedAutoProtectionPoliciesResponseOrBuilder

Response message for ListAppliedAutoProtectionPolicies.

Protobuf type google.cloud.backupdr.v1beta.ListAppliedAutoProtectionPoliciesResponse

Static Methods

getDescriptor()

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

Methods

addAllAppliedAutoProtectionPolicies(Iterable<? extends AppliedAutoProtectionPolicy> values)

public ListAppliedAutoProtectionPoliciesResponse.Builder addAllAppliedAutoProtectionPolicies(Iterable<? extends AppliedAutoProtectionPolicy> values)

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy>
Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListAppliedAutoProtectionPoliciesResponse.Builder addAllUnreachable(Iterable<String> values)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

This builder for chaining.

addAppliedAutoProtectionPolicies(AppliedAutoProtectionPolicy value)

public ListAppliedAutoProtectionPoliciesResponse.Builder addAppliedAutoProtectionPolicies(AppliedAutoProtectionPolicy value)

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Parameter
Name Description
value AppliedAutoProtectionPolicy
Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

addAppliedAutoProtectionPolicies(AppliedAutoProtectionPolicy.Builder builderForValue)

public ListAppliedAutoProtectionPoliciesResponse.Builder addAppliedAutoProtectionPolicies(AppliedAutoProtectionPolicy.Builder builderForValue)

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Parameter
Name Description
builderForValue AppliedAutoProtectionPolicy.Builder
Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

addAppliedAutoProtectionPolicies(int index, AppliedAutoProtectionPolicy value)

public ListAppliedAutoProtectionPoliciesResponse.Builder addAppliedAutoProtectionPolicies(int index, AppliedAutoProtectionPolicy value)

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Parameters
Name Description
index int
value AppliedAutoProtectionPolicy
Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

addAppliedAutoProtectionPolicies(int index, AppliedAutoProtectionPolicy.Builder builderForValue)

public ListAppliedAutoProtectionPoliciesResponse.Builder addAppliedAutoProtectionPolicies(int index, AppliedAutoProtectionPolicy.Builder builderForValue)

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Parameters
Name Description
index int
builderForValue AppliedAutoProtectionPolicy.Builder
Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

addAppliedAutoProtectionPoliciesBuilder()

public AppliedAutoProtectionPolicy.Builder addAppliedAutoProtectionPoliciesBuilder()

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Returns
Type Description
AppliedAutoProtectionPolicy.Builder

addAppliedAutoProtectionPoliciesBuilder(int index)

public AppliedAutoProtectionPolicy.Builder addAppliedAutoProtectionPoliciesBuilder(int index)

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
AppliedAutoProtectionPolicy.Builder

addUnreachable(String value)

public ListAppliedAutoProtectionPoliciesResponse.Builder addUnreachable(String value)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListAppliedAutoProtectionPoliciesResponse.Builder addUnreachableBytes(ByteString value)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

This builder for chaining.

build()

public ListAppliedAutoProtectionPoliciesResponse build()
Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse

buildPartial()

public ListAppliedAutoProtectionPoliciesResponse buildPartial()
Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse

clear()

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

clearAppliedAutoProtectionPolicies()

public ListAppliedAutoProtectionPoliciesResponse.Builder clearAppliedAutoProtectionPolicies()

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

clearNextPageToken()

public ListAppliedAutoProtectionPoliciesResponse.Builder clearNextPageToken()

A token that can be sent as page_token to retrieve the next page.

string next_page_token = 2;

Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

This builder for chaining.

clearUnreachable()

public ListAppliedAutoProtectionPoliciesResponse.Builder clearUnreachable()

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

This builder for chaining.

getAppliedAutoProtectionPolicies(int index)

public AppliedAutoProtectionPolicy getAppliedAutoProtectionPolicies(int index)

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
AppliedAutoProtectionPolicy

getAppliedAutoProtectionPoliciesBuilder(int index)

public AppliedAutoProtectionPolicy.Builder getAppliedAutoProtectionPoliciesBuilder(int index)

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
AppliedAutoProtectionPolicy.Builder

getAppliedAutoProtectionPoliciesBuilderList()

public List<AppliedAutoProtectionPolicy.Builder> getAppliedAutoProtectionPoliciesBuilderList()

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Returns
Type Description
List<Builder>

getAppliedAutoProtectionPoliciesCount()

public int getAppliedAutoProtectionPoliciesCount()

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Returns
Type Description
int

getAppliedAutoProtectionPoliciesList()

public List<AppliedAutoProtectionPolicy> getAppliedAutoProtectionPoliciesList()

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Returns
Type Description
List<AppliedAutoProtectionPolicy>

getAppliedAutoProtectionPoliciesOrBuilder(int index)

public AppliedAutoProtectionPolicyOrBuilder getAppliedAutoProtectionPoliciesOrBuilder(int index)

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
AppliedAutoProtectionPolicyOrBuilder

getAppliedAutoProtectionPoliciesOrBuilderList()

public List<? extends AppliedAutoProtectionPolicyOrBuilder> getAppliedAutoProtectionPoliciesOrBuilderList()

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicyOrBuilder>

getDefaultInstanceForType()

public ListAppliedAutoProtectionPoliciesResponse getDefaultInstanceForType()
Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token that can be sent as page_token to retrieve the next page.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that can be sent as page_token to retrieve the next page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

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)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

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()

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAppliedAutoProtectionPoliciesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeAppliedAutoProtectionPolicies(int index)

public ListAppliedAutoProtectionPoliciesResponse.Builder removeAppliedAutoProtectionPolicies(int index)

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

setAppliedAutoProtectionPolicies(int index, AppliedAutoProtectionPolicy value)

public ListAppliedAutoProtectionPoliciesResponse.Builder setAppliedAutoProtectionPolicies(int index, AppliedAutoProtectionPolicy value)

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Parameters
Name Description
index int
value AppliedAutoProtectionPolicy
Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

setAppliedAutoProtectionPolicies(int index, AppliedAutoProtectionPolicy.Builder builderForValue)

public ListAppliedAutoProtectionPoliciesResponse.Builder setAppliedAutoProtectionPolicies(int index, AppliedAutoProtectionPolicy.Builder builderForValue)

A list of the AppliedAutoProtectionPolicy resources found.

repeated .google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy applied_auto_protection_policies = 1;

Parameters
Name Description
index int
builderForValue AppliedAutoProtectionPolicy.Builder
Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

setNextPageToken(String value)

public ListAppliedAutoProtectionPoliciesResponse.Builder setNextPageToken(String value)

A token that can be sent as page_token to retrieve the next page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAppliedAutoProtectionPoliciesResponse.Builder setNextPageTokenBytes(ByteString value)

A token that can be sent as page_token to retrieve the next page.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

This builder for chaining.

setUnreachable(int index, String value)

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

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListAppliedAutoProtectionPoliciesResponse.Builder

This builder for chaining.