Class ListAutoProtectionPolicyBindingsResponse.Builder (0.58.0)

public static final class ListAutoProtectionPolicyBindingsResponse.Builder extends GeneratedMessage.Builder<ListAutoProtectionPolicyBindingsResponse.Builder> implements ListAutoProtectionPolicyBindingsResponseOrBuilder

Response message for ListAutoProtectionPolicyBindings.

Protobuf type google.cloud.backupdr.v1beta.ListAutoProtectionPolicyBindingsResponse

Static Methods

getDescriptor()

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

Methods

addAllAutoProtectionPolicyBindings(Iterable<? extends AutoProtectionPolicyBinding> values)

public ListAutoProtectionPolicyBindingsResponse.Builder addAllAutoProtectionPolicyBindings(Iterable<? extends AutoProtectionPolicyBinding> values)

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addAutoProtectionPolicyBindings(AutoProtectionPolicyBinding value)

public ListAutoProtectionPolicyBindingsResponse.Builder addAutoProtectionPolicyBindings(AutoProtectionPolicyBinding value)

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Parameter
Name Description
value AutoProtectionPolicyBinding
Returns
Type Description
ListAutoProtectionPolicyBindingsResponse.Builder

addAutoProtectionPolicyBindings(AutoProtectionPolicyBinding.Builder builderForValue)

public ListAutoProtectionPolicyBindingsResponse.Builder addAutoProtectionPolicyBindings(AutoProtectionPolicyBinding.Builder builderForValue)

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Parameter
Name Description
builderForValue AutoProtectionPolicyBinding.Builder
Returns
Type Description
ListAutoProtectionPolicyBindingsResponse.Builder

addAutoProtectionPolicyBindings(int index, AutoProtectionPolicyBinding value)

public ListAutoProtectionPolicyBindingsResponse.Builder addAutoProtectionPolicyBindings(int index, AutoProtectionPolicyBinding value)

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Parameters
Name Description
index int
value AutoProtectionPolicyBinding
Returns
Type Description
ListAutoProtectionPolicyBindingsResponse.Builder

addAutoProtectionPolicyBindings(int index, AutoProtectionPolicyBinding.Builder builderForValue)

public ListAutoProtectionPolicyBindingsResponse.Builder addAutoProtectionPolicyBindings(int index, AutoProtectionPolicyBinding.Builder builderForValue)

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Parameters
Name Description
index int
builderForValue AutoProtectionPolicyBinding.Builder
Returns
Type Description
ListAutoProtectionPolicyBindingsResponse.Builder

addAutoProtectionPolicyBindingsBuilder()

public AutoProtectionPolicyBinding.Builder addAutoProtectionPolicyBindingsBuilder()

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Returns
Type Description
AutoProtectionPolicyBinding.Builder

addAutoProtectionPolicyBindingsBuilder(int index)

public AutoProtectionPolicyBinding.Builder addAutoProtectionPolicyBindingsBuilder(int index)

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
AutoProtectionPolicyBinding.Builder

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListAutoProtectionPolicyBindingsResponse build()
Returns
Type Description
ListAutoProtectionPolicyBindingsResponse

buildPartial()

public ListAutoProtectionPolicyBindingsResponse buildPartial()
Returns
Type Description
ListAutoProtectionPolicyBindingsResponse

clear()

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

clearAutoProtectionPolicyBindings()

public ListAutoProtectionPolicyBindingsResponse.Builder clearAutoProtectionPolicyBindings()

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Returns
Type Description
ListAutoProtectionPolicyBindingsResponse.Builder

clearNextPageToken()

public ListAutoProtectionPolicyBindingsResponse.Builder clearNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListAutoProtectionPolicyBindingsResponse.Builder

This builder for chaining.

clearUnreachable()

public ListAutoProtectionPolicyBindingsResponse.Builder clearUnreachable()

Unordered list. Locations that could not be reached.

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

Returns
Type Description
ListAutoProtectionPolicyBindingsResponse.Builder

This builder for chaining.

getAutoProtectionPolicyBindings(int index)

public AutoProtectionPolicyBinding getAutoProtectionPolicyBindings(int index)

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
AutoProtectionPolicyBinding

getAutoProtectionPolicyBindingsBuilder(int index)

public AutoProtectionPolicyBinding.Builder getAutoProtectionPolicyBindingsBuilder(int index)

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
AutoProtectionPolicyBinding.Builder

getAutoProtectionPolicyBindingsBuilderList()

public List<AutoProtectionPolicyBinding.Builder> getAutoProtectionPolicyBindingsBuilderList()

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Returns
Type Description
List<Builder>

getAutoProtectionPolicyBindingsCount()

public int getAutoProtectionPolicyBindingsCount()

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Returns
Type Description
int

getAutoProtectionPolicyBindingsList()

public List<AutoProtectionPolicyBinding> getAutoProtectionPolicyBindingsList()

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Returns
Type Description
List<AutoProtectionPolicyBinding>

getAutoProtectionPolicyBindingsOrBuilder(int index)

public AutoProtectionPolicyBindingOrBuilder getAutoProtectionPolicyBindingsOrBuilder(int index)

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
AutoProtectionPolicyBindingOrBuilder

getAutoProtectionPolicyBindingsOrBuilderList()

public List<? extends AutoProtectionPolicyBindingOrBuilder> getAutoProtectionPolicyBindingsOrBuilderList()

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

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

getDefaultInstanceForType()

public ListAutoProtectionPolicyBindingsResponse getDefaultInstanceForType()
Returns
Type Description
ListAutoProtectionPolicyBindingsResponse

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. If this field is omitted, there are no subsequent pages.

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. If this field is omitted, there are no subsequent pages.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeAutoProtectionPolicyBindings(int index)

public ListAutoProtectionPolicyBindingsResponse.Builder removeAutoProtectionPolicyBindings(int index)

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAutoProtectionPolicyBindingsResponse.Builder

setAutoProtectionPolicyBindings(int index, AutoProtectionPolicyBinding value)

public ListAutoProtectionPolicyBindingsResponse.Builder setAutoProtectionPolicyBindings(int index, AutoProtectionPolicyBinding value)

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Parameters
Name Description
index int
value AutoProtectionPolicyBinding
Returns
Type Description
ListAutoProtectionPolicyBindingsResponse.Builder

setAutoProtectionPolicyBindings(int index, AutoProtectionPolicyBinding.Builder builderForValue)

public ListAutoProtectionPolicyBindingsResponse.Builder setAutoProtectionPolicyBindings(int index, AutoProtectionPolicyBinding.Builder builderForValue)

A list of the AutoProtectionPolicyBindings resources found.

repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding auto_protection_policy_bindings = 1;

Parameters
Name Description
index int
builderForValue AutoProtectionPolicyBinding.Builder
Returns
Type Description
ListAutoProtectionPolicyBindingsResponse.Builder

setNextPageToken(String value)

public ListAutoProtectionPolicyBindingsResponse.Builder setNextPageToken(String value)

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAutoProtectionPolicyBindingsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAutoProtectionPolicyBindingsResponse.Builder setNextPageTokenBytes(ByteString value)

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAutoProtectionPolicyBindingsResponse.Builder

This builder for chaining.

setUnreachable(int index, String value)

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

This builder for chaining.