Interface CreateMirrorRequestOrBuilder (0.39.0)

public interface CreateMirrorRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMirror()

public abstract Mirror getMirror()

Required. The mirror to create.

.google.cloud.lustre.v1.Mirror mirror = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Mirror

The mirror.

getMirrorId()

public abstract String getMirrorId()

Required. The ID to use for the mirror.

  • Must contain only lowercase letters, numbers, and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.

    The ID cannot be changed after the mirror is created.

string mirror_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The mirrorId.

getMirrorIdBytes()

public abstract ByteString getMirrorIdBytes()

Required. The ID to use for the mirror.

  • Must contain only lowercase letters, numbers, and hyphens.
  • Must start with a letter.
  • Must be between 1-63 characters.
  • Must end with a number or a letter.

    The ID cannot be changed after the mirror is created.

string mirror_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for mirrorId.

getMirrorOrBuilder()

public abstract MirrorOrBuilder getMirrorOrBuilder()

Required. The mirror to create.

.google.cloud.lustre.v1.Mirror mirror = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MirrorOrBuilder

getParent()

public abstract String getParent()

Required. Parent instance resource where the mirror will be created, in the format: projects/{project}/locations/{location}/instances/{instance}

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Parent instance resource where the mirror will be created, in the format: projects/{project}/locations/{location}/instances/{instance}

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

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public abstract String getRequestId()

Optional. The unique ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate mirrors for at least 60 minutes.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate mirrors.

The request ID must be a valid UUID version 4 with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). This request is only idempotent if a request_id is provided.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

Optional. The unique ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate mirrors for at least 60 minutes.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate mirrors.

The request ID must be a valid UUID version 4 with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). This request is only idempotent if a request_id is provided.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

hasMirror()

public abstract boolean hasMirror()

Required. The mirror to create.

.google.cloud.lustre.v1.Mirror mirror = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the mirror field is set.