Interface CreateShareRequestOrBuilder (1.9.0)

public interface CreateShareRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The Filestore Instance to create the share for, in the format projects/{project_id}/locations/{location}/instances/{instance_id}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The Filestore Instance to create the share for, in the format projects/{project_id}/locations/{location}/instances/{instance_id}

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

Returns
TypeDescription
ByteString

The bytes for parent.

getShare()

public abstract Share getShare()

Required. A share resource

.google.cloud.filestore.v1beta1.Share share = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Share

The share.

getShareId()

public abstract String getShareId()

Required. The ID to use for the share. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

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

Returns
TypeDescription
String

The shareId.

getShareIdBytes()

public abstract ByteString getShareIdBytes()

Required. The ID to use for the share. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

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

Returns
TypeDescription
ByteString

The bytes for shareId.

getShareOrBuilder()

public abstract ShareOrBuilder getShareOrBuilder()

Required. A share resource

.google.cloud.filestore.v1beta1.Share share = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ShareOrBuilder

hasShare()

public abstract boolean hasShare()

Required. A share resource

.google.cloud.filestore.v1beta1.Share share = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the share field is set.