Interface CreateRestorePlanRequestOrBuilder (0.28.0)

public interface CreateRestorePlanRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The location within which to create the RestorePlan. Format: projects/*/locations/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The location within which to create the RestorePlan. Format: projects/*/locations/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getRestorePlan()

public abstract RestorePlan getRestorePlan()

Required. The RestorePlan resource object to create.

.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RestorePlan

The restorePlan.

getRestorePlanId()

public abstract String getRestorePlanId()

Required. The client-provided short name for the RestorePlan resource. This name must:

  • be between 1 and 63 characters long (inclusive)
  • consist of only lower-case ASCII letters, numbers, and dashes
  • start with a lower-case letter
  • end with a lower-case letter or number
  • be unique within the set of RestorePlans in this location

string restore_plan_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The restorePlanId.

getRestorePlanIdBytes()

public abstract ByteString getRestorePlanIdBytes()

Required. The client-provided short name for the RestorePlan resource. This name must:

  • be between 1 and 63 characters long (inclusive)
  • consist of only lower-case ASCII letters, numbers, and dashes
  • start with a lower-case letter
  • end with a lower-case letter or number
  • be unique within the set of RestorePlans in this location

string restore_plan_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for restorePlanId.

getRestorePlanOrBuilder()

public abstract RestorePlanOrBuilder getRestorePlanOrBuilder()

Required. The RestorePlan resource object to create.

.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RestorePlanOrBuilder

hasRestorePlan()

public abstract boolean hasRestorePlan()

Required. The RestorePlan resource object to create.

.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the restorePlan field is set.