Class ListRestorePlanBindingsResponse.Builder (0.62.0)

public static final class ListRestorePlanBindingsResponse.Builder extends GeneratedMessageV3.Builder<ListRestorePlanBindingsResponse.Builder> implements ListRestorePlanBindingsResponseOrBuilder

Response message for ListRestorePlanBindings.

Protobuf type google.cloud.gkebackup.v1.ListRestorePlanBindingsResponse

Static Methods

getDescriptor()

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

Methods

addAllRestorePlanBindings(Iterable<? extends RestorePlanBinding> values)

public ListRestorePlanBindingsResponse.Builder addAllRestorePlanBindings(Iterable<? extends RestorePlanBinding> values)

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkebackup.v1.RestorePlanBinding>
Returns
Type Description
ListRestorePlanBindingsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRestorePlanBindings(RestorePlanBinding value)

public ListRestorePlanBindingsResponse.Builder addRestorePlanBindings(RestorePlanBinding value)

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Parameter
Name Description
value RestorePlanBinding
Returns
Type Description
ListRestorePlanBindingsResponse.Builder

addRestorePlanBindings(RestorePlanBinding.Builder builderForValue)

public ListRestorePlanBindingsResponse.Builder addRestorePlanBindings(RestorePlanBinding.Builder builderForValue)

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Parameter
Name Description
builderForValue RestorePlanBinding.Builder
Returns
Type Description
ListRestorePlanBindingsResponse.Builder

addRestorePlanBindings(int index, RestorePlanBinding value)

public ListRestorePlanBindingsResponse.Builder addRestorePlanBindings(int index, RestorePlanBinding value)

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Parameters
Name Description
index int
value RestorePlanBinding
Returns
Type Description
ListRestorePlanBindingsResponse.Builder

addRestorePlanBindings(int index, RestorePlanBinding.Builder builderForValue)

public ListRestorePlanBindingsResponse.Builder addRestorePlanBindings(int index, RestorePlanBinding.Builder builderForValue)

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Parameters
Name Description
index int
builderForValue RestorePlanBinding.Builder
Returns
Type Description
ListRestorePlanBindingsResponse.Builder

addRestorePlanBindingsBuilder()

public RestorePlanBinding.Builder addRestorePlanBindingsBuilder()

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Returns
Type Description
RestorePlanBinding.Builder

addRestorePlanBindingsBuilder(int index)

public RestorePlanBinding.Builder addRestorePlanBindingsBuilder(int index)

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
RestorePlanBinding.Builder

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListRestorePlanBindingsResponse build()
Returns
Type Description
ListRestorePlanBindingsResponse

buildPartial()

public ListRestorePlanBindingsResponse buildPartial()
Returns
Type Description
ListRestorePlanBindingsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListRestorePlanBindingsResponse.Builder clearNextPageToken()

A token which may be sent as page_token in a subsequent ListRestorePlanBindings 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
ListRestorePlanBindingsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRestorePlanBindings()

public ListRestorePlanBindingsResponse.Builder clearRestorePlanBindings()

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Returns
Type Description
ListRestorePlanBindingsResponse.Builder

clearUnreachable()

public ListRestorePlanBindingsResponse.Builder clearUnreachable()

Unordered list. Locations that could not be reached.

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

Returns
Type Description
ListRestorePlanBindingsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListRestorePlanBindingsResponse getDefaultInstanceForType()
Returns
Type Description
ListRestorePlanBindingsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token which may be sent as page_token in a subsequent ListRestorePlanBindings 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 ListRestorePlanBindings 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.

getRestorePlanBindings(int index)

public RestorePlanBinding getRestorePlanBindings(int index)

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
RestorePlanBinding

getRestorePlanBindingsBuilder(int index)

public RestorePlanBinding.Builder getRestorePlanBindingsBuilder(int index)

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
RestorePlanBinding.Builder

getRestorePlanBindingsBuilderList()

public List<RestorePlanBinding.Builder> getRestorePlanBindingsBuilderList()

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Returns
Type Description
List<Builder>

getRestorePlanBindingsCount()

public int getRestorePlanBindingsCount()

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Returns
Type Description
int

getRestorePlanBindingsList()

public List<RestorePlanBinding> getRestorePlanBindingsList()

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Returns
Type Description
List<RestorePlanBinding>

getRestorePlanBindingsOrBuilder(int index)

public RestorePlanBindingOrBuilder getRestorePlanBindingsOrBuilder(int index)

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
RestorePlanBindingOrBuilder

getRestorePlanBindingsOrBuilderList()

public List<? extends RestorePlanBindingOrBuilder> getRestorePlanBindingsOrBuilderList()

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Returns
Type Description
List<? extends com.google.cloud.gkebackup.v1.RestorePlanBindingOrBuilder>

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListRestorePlanBindingsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRestorePlanBindings(int index)

public ListRestorePlanBindingsResponse.Builder removeRestorePlanBindings(int index)

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
ListRestorePlanBindingsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListRestorePlanBindingsResponse.Builder setNextPageToken(String value)

A token which may be sent as page_token in a subsequent ListRestorePlanBindings 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 String

The nextPageToken to set.

Returns
Type Description
ListRestorePlanBindingsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListRestorePlanBindingsResponse.Builder setNextPageTokenBytes(ByteString value)

A token which may be sent as page_token in a subsequent ListRestorePlanBindings 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 ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListRestorePlanBindingsResponse.Builder

This builder for chaining.

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

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

setRestorePlanBindings(int index, RestorePlanBinding value)

public ListRestorePlanBindingsResponse.Builder setRestorePlanBindings(int index, RestorePlanBinding value)

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Parameters
Name Description
index int
value RestorePlanBinding
Returns
Type Description
ListRestorePlanBindingsResponse.Builder

setRestorePlanBindings(int index, RestorePlanBinding.Builder builderForValue)

public ListRestorePlanBindingsResponse.Builder setRestorePlanBindings(int index, RestorePlanBinding.Builder builderForValue)

The list of RestorePlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;

Parameters
Name Description
index int
builderForValue RestorePlanBinding.Builder
Returns
Type Description
ListRestorePlanBindingsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.