Class RestoreConfig.RestoreOrder.Builder (0.44.0)

public static final class RestoreConfig.RestoreOrder.Builder extends GeneratedMessageV3.Builder<RestoreConfig.RestoreOrder.Builder> implements RestoreConfig.RestoreOrderOrBuilder

Allows customers to specify dependencies between resources that Backup for GKE can use to compute a resasonable restore order.

Protobuf type google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder

Static Methods

getDescriptor()

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

Methods

addAllGroupKindDependencies(Iterable<? extends RestoreConfig.RestoreOrder.GroupKindDependency> values)

public RestoreConfig.RestoreOrder.Builder addAllGroupKindDependencies(Iterable<? extends RestoreConfig.RestoreOrder.GroupKindDependency> values)

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency>
Returns
Type Description
RestoreConfig.RestoreOrder.Builder

addGroupKindDependencies(RestoreConfig.RestoreOrder.GroupKindDependency value)

public RestoreConfig.RestoreOrder.Builder addGroupKindDependencies(RestoreConfig.RestoreOrder.GroupKindDependency value)

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RestoreConfig.RestoreOrder.GroupKindDependency
Returns
Type Description
RestoreConfig.RestoreOrder.Builder

addGroupKindDependencies(RestoreConfig.RestoreOrder.GroupKindDependency.Builder builderForValue)

public RestoreConfig.RestoreOrder.Builder addGroupKindDependencies(RestoreConfig.RestoreOrder.GroupKindDependency.Builder builderForValue)

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue RestoreConfig.RestoreOrder.GroupKindDependency.Builder
Returns
Type Description
RestoreConfig.RestoreOrder.Builder

addGroupKindDependencies(int index, RestoreConfig.RestoreOrder.GroupKindDependency value)

public RestoreConfig.RestoreOrder.Builder addGroupKindDependencies(int index, RestoreConfig.RestoreOrder.GroupKindDependency value)

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value RestoreConfig.RestoreOrder.GroupKindDependency
Returns
Type Description
RestoreConfig.RestoreOrder.Builder

addGroupKindDependencies(int index, RestoreConfig.RestoreOrder.GroupKindDependency.Builder builderForValue)

public RestoreConfig.RestoreOrder.Builder addGroupKindDependencies(int index, RestoreConfig.RestoreOrder.GroupKindDependency.Builder builderForValue)

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue RestoreConfig.RestoreOrder.GroupKindDependency.Builder
Returns
Type Description
RestoreConfig.RestoreOrder.Builder

addGroupKindDependenciesBuilder()

public RestoreConfig.RestoreOrder.GroupKindDependency.Builder addGroupKindDependenciesBuilder()

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RestoreConfig.RestoreOrder.GroupKindDependency.Builder

addGroupKindDependenciesBuilder(int index)

public RestoreConfig.RestoreOrder.GroupKindDependency.Builder addGroupKindDependenciesBuilder(int index)

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
RestoreConfig.RestoreOrder.GroupKindDependency.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RestoreConfig.RestoreOrder build()
Returns
Type Description
RestoreConfig.RestoreOrder

buildPartial()

public RestoreConfig.RestoreOrder buildPartial()
Returns
Type Description
RestoreConfig.RestoreOrder

clear()

public RestoreConfig.RestoreOrder.Builder clear()
Returns
Type Description
RestoreConfig.RestoreOrder.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearGroupKindDependencies()

public RestoreConfig.RestoreOrder.Builder clearGroupKindDependencies()

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RestoreConfig.RestoreOrder.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public RestoreConfig.RestoreOrder.Builder clone()
Returns
Type Description
RestoreConfig.RestoreOrder.Builder
Overrides

getDefaultInstanceForType()

public RestoreConfig.RestoreOrder getDefaultInstanceForType()
Returns
Type Description
RestoreConfig.RestoreOrder

getDescriptorForType()

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

getGroupKindDependencies(int index)

public RestoreConfig.RestoreOrder.GroupKindDependency getGroupKindDependencies(int index)

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
RestoreConfig.RestoreOrder.GroupKindDependency

getGroupKindDependenciesBuilder(int index)

public RestoreConfig.RestoreOrder.GroupKindDependency.Builder getGroupKindDependenciesBuilder(int index)

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
RestoreConfig.RestoreOrder.GroupKindDependency.Builder

getGroupKindDependenciesBuilderList()

public List<RestoreConfig.RestoreOrder.GroupKindDependency.Builder> getGroupKindDependenciesBuilderList()

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getGroupKindDependenciesCount()

public int getGroupKindDependenciesCount()

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getGroupKindDependenciesList()

public List<RestoreConfig.RestoreOrder.GroupKindDependency> getGroupKindDependenciesList()

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<GroupKindDependency>

getGroupKindDependenciesOrBuilder(int index)

public RestoreConfig.RestoreOrder.GroupKindDependencyOrBuilder getGroupKindDependenciesOrBuilder(int index)

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
RestoreConfig.RestoreOrder.GroupKindDependencyOrBuilder

getGroupKindDependenciesOrBuilderList()

public List<? extends RestoreConfig.RestoreOrder.GroupKindDependencyOrBuilder> getGroupKindDependenciesOrBuilderList()

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependencyOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RestoreConfig.RestoreOrder other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeGroupKindDependencies(int index)

public RestoreConfig.RestoreOrder.Builder removeGroupKindDependencies(int index)

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
RestoreConfig.RestoreOrder.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGroupKindDependencies(int index, RestoreConfig.RestoreOrder.GroupKindDependency value)

public RestoreConfig.RestoreOrder.Builder setGroupKindDependencies(int index, RestoreConfig.RestoreOrder.GroupKindDependency value)

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value RestoreConfig.RestoreOrder.GroupKindDependency
Returns
Type Description
RestoreConfig.RestoreOrder.Builder

setGroupKindDependencies(int index, RestoreConfig.RestoreOrder.GroupKindDependency.Builder builderForValue)

public RestoreConfig.RestoreOrder.Builder setGroupKindDependencies(int index, RestoreConfig.RestoreOrder.GroupKindDependency.Builder builderForValue)

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.

repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue RestoreConfig.RestoreOrder.GroupKindDependency.Builder
Returns
Type Description
RestoreConfig.RestoreOrder.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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