Class ListBackupPlanBindingsResponse.Builder (0.62.0)

public static final class ListBackupPlanBindingsResponse.Builder extends GeneratedMessageV3.Builder<ListBackupPlanBindingsResponse.Builder> implements ListBackupPlanBindingsResponseOrBuilder

Response message for ListBackupPlanBindings.

Protobuf type google.cloud.gkebackup.v1.ListBackupPlanBindingsResponse

Static Methods

getDescriptor()

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

Methods

addAllBackupPlanBindings(Iterable<? extends BackupPlanBinding> values)

public ListBackupPlanBindingsResponse.Builder addAllBackupPlanBindings(Iterable<? extends BackupPlanBinding> values)

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addBackupPlanBindings(BackupPlanBinding value)

public ListBackupPlanBindingsResponse.Builder addBackupPlanBindings(BackupPlanBinding value)

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Parameter
Name Description
value BackupPlanBinding
Returns
Type Description
ListBackupPlanBindingsResponse.Builder

addBackupPlanBindings(BackupPlanBinding.Builder builderForValue)

public ListBackupPlanBindingsResponse.Builder addBackupPlanBindings(BackupPlanBinding.Builder builderForValue)

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Parameter
Name Description
builderForValue BackupPlanBinding.Builder
Returns
Type Description
ListBackupPlanBindingsResponse.Builder

addBackupPlanBindings(int index, BackupPlanBinding value)

public ListBackupPlanBindingsResponse.Builder addBackupPlanBindings(int index, BackupPlanBinding value)

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Parameters
Name Description
index int
value BackupPlanBinding
Returns
Type Description
ListBackupPlanBindingsResponse.Builder

addBackupPlanBindings(int index, BackupPlanBinding.Builder builderForValue)

public ListBackupPlanBindingsResponse.Builder addBackupPlanBindings(int index, BackupPlanBinding.Builder builderForValue)

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Parameters
Name Description
index int
builderForValue BackupPlanBinding.Builder
Returns
Type Description
ListBackupPlanBindingsResponse.Builder

addBackupPlanBindingsBuilder()

public BackupPlanBinding.Builder addBackupPlanBindingsBuilder()

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Returns
Type Description
BackupPlanBinding.Builder

addBackupPlanBindingsBuilder(int index)

public BackupPlanBinding.Builder addBackupPlanBindingsBuilder(int index)

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupPlanBinding.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListBackupPlanBindingsResponse build()
Returns
Type Description
ListBackupPlanBindingsResponse

buildPartial()

public ListBackupPlanBindingsResponse buildPartial()
Returns
Type Description
ListBackupPlanBindingsResponse

clear()

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

clearBackupPlanBindings()

public ListBackupPlanBindingsResponse.Builder clearBackupPlanBindings()

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Returns
Type Description
ListBackupPlanBindingsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListBackupPlanBindingsResponse.Builder clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListBackupPlanBindingsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListBackupPlanBindingsResponse.Builder

This builder for chaining.

clone()

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

getBackupPlanBindings(int index)

public BackupPlanBinding getBackupPlanBindings(int index)

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupPlanBinding

getBackupPlanBindingsBuilder(int index)

public BackupPlanBinding.Builder getBackupPlanBindingsBuilder(int index)

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupPlanBinding.Builder

getBackupPlanBindingsBuilderList()

public List<BackupPlanBinding.Builder> getBackupPlanBindingsBuilderList()

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Returns
Type Description
List<Builder>

getBackupPlanBindingsCount()

public int getBackupPlanBindingsCount()

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Returns
Type Description
int

getBackupPlanBindingsList()

public List<BackupPlanBinding> getBackupPlanBindingsList()

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Returns
Type Description
List<BackupPlanBinding>

getBackupPlanBindingsOrBuilder(int index)

public BackupPlanBindingOrBuilder getBackupPlanBindingsOrBuilder(int index)

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupPlanBindingOrBuilder

getBackupPlanBindingsOrBuilderList()

public List<? extends BackupPlanBindingOrBuilder> getBackupPlanBindingsOrBuilderList()

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

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

getDefaultInstanceForType()

public ListBackupPlanBindingsResponse getDefaultInstanceForType()
Returns
Type Description
ListBackupPlanBindingsResponse

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 ListBackupPlanBindingss 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 ListBackupPlanBindingss 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 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(ListBackupPlanBindingsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeBackupPlanBindings(int index)

public ListBackupPlanBindingsResponse.Builder removeBackupPlanBindings(int index)

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
ListBackupPlanBindingsResponse.Builder

setBackupPlanBindings(int index, BackupPlanBinding value)

public ListBackupPlanBindingsResponse.Builder setBackupPlanBindings(int index, BackupPlanBinding value)

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Parameters
Name Description
index int
value BackupPlanBinding
Returns
Type Description
ListBackupPlanBindingsResponse.Builder

setBackupPlanBindings(int index, BackupPlanBinding.Builder builderForValue)

public ListBackupPlanBindingsResponse.Builder setBackupPlanBindings(int index, BackupPlanBinding.Builder builderForValue)

The list of BackupPlanBindings matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;

Parameters
Name Description
index int
builderForValue BackupPlanBinding.Builder
Returns
Type Description
ListBackupPlanBindingsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListBackupPlanBindingsResponse.Builder setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListBackupPlanBindingsResponse.Builder setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.