Interface CreateShareRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateShareRequest
,CreateShareRequest.Builder
public interface CreateShareRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.Share
getShare()
Required.String
getShareId()
Required.com.google.protobuf.ByteString
getShareIdBytes()
Required.ShareOrBuilder
getShareOrBuilder()
Required.boolean
hasShare()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
getShareId
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:
- The shareId.
-
getShareIdBytes
com.google.protobuf.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:
- The bytes for shareId.
-
hasShare
boolean hasShare()
Required. A share resource
.google.cloud.filestore.v1beta1.Share share = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the share field is set.
-
getShare
Share getShare()
Required. A share resource
.google.cloud.filestore.v1beta1.Share share = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The share.
-
getShareOrBuilder
ShareOrBuilder getShareOrBuilder()
Required. A share resource
.google.cloud.filestore.v1beta1.Share share = 3 [(.google.api.field_behavior) = REQUIRED];
-
-