Interface DirectoryPolicyOrBuilder (0.39.0)

public interface DirectoryPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDirectoryPath()

public abstract String getDirectoryPath()

Required. Immutable. The lustre instance filesystem full path of the directory. It must start with a slash. e.g. /lustre/testFolder

string directory_path = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The directoryPath.

getDirectoryPathBytes()

public abstract ByteString getDirectoryPathBytes()

Required. Immutable. The lustre instance filesystem full path of the directory. It must start with a slash. e.g. /lustre/testFolder

string directory_path = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for directoryPath.

getLustreProjectId()

public abstract long getLustreProjectId()

Output only. The lustre project ID assigned for the directory by the service. This read-only ID can be used to manage quotas. See more details in https://docs.cloud.google.com/managed-lustre/docs/file-system-quotas#set_quotas

int64 lustre_project_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The lustreProjectId.

getName()

public abstract String getName()

Immutable. Identifier. The resource name of the directory policy. DirectoryPolicy names have the form projects/{project}/locations/{location}/instances/{instance}/directoryPolicies/{id}. {id} is user provided.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Immutable. Identifier. The resource name of the directory policy. DirectoryPolicy names have the form projects/{project}/locations/{location}/instances/{instance}/directoryPolicies/{id}. {id} is user provided.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

getState()

public abstract DirectoryPolicy.State getState()

Output only. The current state of the directory policy.

.google.cloud.lustre.v1.DirectoryPolicy.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DirectoryPolicy.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. The current state of the directory policy.

.google.cloud.lustre.v1.DirectoryPolicy.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUid()

public abstract String getUid()

Output only. Unique ID of the resource.

string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
String

The uid.

getUidBytes()

public abstract ByteString getUidBytes()

Output only. Unique ID of the resource.

string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for uid.