Class RestoreConfig.RestoreOrder (0.52.0)

public static final class RestoreConfig.RestoreOrder extends GeneratedMessageV3 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 Fields

GROUP_KIND_DEPENDENCIES_FIELD_NUMBER

public static final int GROUP_KIND_DEPENDENCIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RestoreConfig.RestoreOrder getDefaultInstance()
Returns
Type Description
RestoreConfig.RestoreOrder

getDescriptor()

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

newBuilder()

public static RestoreConfig.RestoreOrder.Builder newBuilder()
Returns
Type Description
RestoreConfig.RestoreOrder.Builder

newBuilder(RestoreConfig.RestoreOrder prototype)

public static RestoreConfig.RestoreOrder.Builder newBuilder(RestoreConfig.RestoreOrder prototype)
Parameter
Name Description
prototype RestoreConfig.RestoreOrder
Returns
Type Description
RestoreConfig.RestoreOrder.Builder

parseDelimitedFrom(InputStream input)

public static RestoreConfig.RestoreOrder parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RestoreConfig.RestoreOrder
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RestoreConfig.RestoreOrder parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreConfig.RestoreOrder
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RestoreConfig.RestoreOrder parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RestoreConfig.RestoreOrder
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RestoreConfig.RestoreOrder parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreConfig.RestoreOrder
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RestoreConfig.RestoreOrder parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RestoreConfig.RestoreOrder
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RestoreConfig.RestoreOrder parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreConfig.RestoreOrder
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RestoreConfig.RestoreOrder parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RestoreConfig.RestoreOrder
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RestoreConfig.RestoreOrder parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreConfig.RestoreOrder
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RestoreConfig.RestoreOrder parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RestoreConfig.RestoreOrder
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RestoreConfig.RestoreOrder parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreConfig.RestoreOrder
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RestoreConfig.RestoreOrder parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RestoreConfig.RestoreOrder
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RestoreConfig.RestoreOrder parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreConfig.RestoreOrder
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RestoreConfig.RestoreOrder> parser()
Returns
Type Description
Parser<RestoreOrder>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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

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>

getParserForType()

public Parser<RestoreConfig.RestoreOrder> getParserForType()
Returns
Type Description
Parser<RestoreOrder>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RestoreConfig.RestoreOrder.Builder newBuilderForType()
Returns
Type Description
RestoreConfig.RestoreOrder.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RestoreConfig.RestoreOrder.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RestoreConfig.RestoreOrder.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RestoreConfig.RestoreOrder.Builder toBuilder()
Returns
Type Description
RestoreConfig.RestoreOrder.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException