Class ListBackupPlansResponse.Builder (0.38.0)

public static final class ListBackupPlansResponse.Builder extends GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder> implements ListBackupPlansResponseOrBuilder

Response message for ListBackupPlans.

Protobuf type google.cloud.gkebackup.v1.ListBackupPlansResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllBackupPlans(Iterable<? extends BackupPlan> values)

public ListBackupPlansResponse.Builder addAllBackupPlans(Iterable<? extends BackupPlan> values)

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.gkebackup.v1.BackupPlan>
Returns
TypeDescription
ListBackupPlansResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListBackupPlansResponse.Builder

This builder for chaining.

addBackupPlans(BackupPlan value)

public ListBackupPlansResponse.Builder addBackupPlans(BackupPlan value)

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Parameter
NameDescription
valueBackupPlan
Returns
TypeDescription
ListBackupPlansResponse.Builder

addBackupPlans(BackupPlan.Builder builderForValue)

public ListBackupPlansResponse.Builder addBackupPlans(BackupPlan.Builder builderForValue)

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Parameter
NameDescription
builderForValueBackupPlan.Builder
Returns
TypeDescription
ListBackupPlansResponse.Builder

addBackupPlans(int index, BackupPlan value)

public ListBackupPlansResponse.Builder addBackupPlans(int index, BackupPlan value)

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Parameters
NameDescription
indexint
valueBackupPlan
Returns
TypeDescription
ListBackupPlansResponse.Builder

addBackupPlans(int index, BackupPlan.Builder builderForValue)

public ListBackupPlansResponse.Builder addBackupPlans(int index, BackupPlan.Builder builderForValue)

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Parameters
NameDescription
indexint
builderForValueBackupPlan.Builder
Returns
TypeDescription
ListBackupPlansResponse.Builder

addBackupPlansBuilder()

public BackupPlan.Builder addBackupPlansBuilder()

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Returns
TypeDescription
BackupPlan.Builder

addBackupPlansBuilder(int index)

public BackupPlan.Builder addBackupPlansBuilder(int index)

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BackupPlan.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListBackupPlansResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListBackupPlansResponse.Builder
Overrides

addUnreachable(String value)

public ListBackupPlansResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListBackupPlansResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListBackupPlansResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListBackupPlansResponse.Builder

This builder for chaining.

build()

public ListBackupPlansResponse build()
Returns
TypeDescription
ListBackupPlansResponse

buildPartial()

public ListBackupPlansResponse buildPartial()
Returns
TypeDescription
ListBackupPlansResponse

clear()

public ListBackupPlansResponse.Builder clear()
Returns
TypeDescription
ListBackupPlansResponse.Builder
Overrides

clearBackupPlans()

public ListBackupPlansResponse.Builder clearBackupPlans()

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Returns
TypeDescription
ListBackupPlansResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListBackupPlansResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListBackupPlansResponse.Builder
Overrides

clearNextPageToken()

public ListBackupPlansResponse.Builder clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListBackupPlansResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListBackupPlansResponse.Builder
Overrides

clearUnreachable()

public ListBackupPlansResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListBackupPlansResponse.Builder

This builder for chaining.

clone()

public ListBackupPlansResponse.Builder clone()
Returns
TypeDescription
ListBackupPlansResponse.Builder
Overrides

getBackupPlans(int index)

public BackupPlan getBackupPlans(int index)

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BackupPlan

getBackupPlansBuilder(int index)

public BackupPlan.Builder getBackupPlansBuilder(int index)

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BackupPlan.Builder

getBackupPlansBuilderList()

public List<BackupPlan.Builder> getBackupPlansBuilderList()

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Returns
TypeDescription
List<Builder>

getBackupPlansCount()

public int getBackupPlansCount()

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Returns
TypeDescription
int

getBackupPlansList()

public List<BackupPlan> getBackupPlansList()

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Returns
TypeDescription
List<BackupPlan>

getBackupPlansOrBuilder(int index)

public BackupPlanOrBuilder getBackupPlansOrBuilder(int index)

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BackupPlanOrBuilder

getBackupPlansOrBuilderList()

public List<? extends BackupPlanOrBuilder> getBackupPlansOrBuilderList()

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Returns
TypeDescription
List<? extends com.google.cloud.gkebackup.v1.BackupPlanOrBuilder>

getDefaultInstanceForType()

public ListBackupPlansResponse getDefaultInstanceForType()
Returns
TypeDescription
ListBackupPlansResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

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

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListBackupPlansResponse other)

public ListBackupPlansResponse.Builder mergeFrom(ListBackupPlansResponse other)
Parameter
NameDescription
otherListBackupPlansResponse
Returns
TypeDescription
ListBackupPlansResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListBackupPlansResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBackupPlansResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListBackupPlansResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListBackupPlansResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListBackupPlansResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListBackupPlansResponse.Builder
Overrides

removeBackupPlans(int index)

public ListBackupPlansResponse.Builder removeBackupPlans(int index)

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListBackupPlansResponse.Builder

setBackupPlans(int index, BackupPlan value)

public ListBackupPlansResponse.Builder setBackupPlans(int index, BackupPlan value)

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Parameters
NameDescription
indexint
valueBackupPlan
Returns
TypeDescription
ListBackupPlansResponse.Builder

setBackupPlans(int index, BackupPlan.Builder builderForValue)

public ListBackupPlansResponse.Builder setBackupPlans(int index, BackupPlan.Builder builderForValue)

The list of BackupPlans matching the given criteria.

repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;

Parameters
NameDescription
indexint
builderForValueBackupPlan.Builder
Returns
TypeDescription
ListBackupPlansResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListBackupPlansResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListBackupPlansResponse.Builder
Overrides

setNextPageToken(String value)

public ListBackupPlansResponse.Builder setNextPageToken(String value)

A token which may be sent as page_token in a subsequent ListBackupPlans 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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListBackupPlansResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListBackupPlansResponse.Builder setNextPageTokenBytes(ByteString value)

A token which may be sent as page_token in a subsequent ListBackupPlans 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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListBackupPlansResponse.Builder

This builder for chaining.

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

public ListBackupPlansResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListBackupPlansResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListBackupPlansResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListBackupPlansResponse.Builder
Overrides

setUnreachable(int index, String value)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListBackupPlansResponse.Builder

This builder for chaining.