public final class CreateShareRequest extends GeneratedMessageV3 implements CreateShareRequestOrBuilder
CreateShareRequest creates a share.
Protobuf type google.cloud.filestore.v1beta1.CreateShareRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SHARE_FIELD_NUMBER
public static final int SHARE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SHARE_ID_FIELD_NUMBER
public static final int SHARE_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static CreateShareRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CreateShareRequest.Builder newBuilder()
newBuilder(CreateShareRequest prototype)
public static CreateShareRequest.Builder newBuilder(CreateShareRequest prototype)
public static CreateShareRequest parseDelimitedFrom(InputStream input)
public static CreateShareRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CreateShareRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateShareRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CreateShareRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateShareRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateShareRequest parseFrom(CodedInputStream input)
public static CreateShareRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateShareRequest parseFrom(InputStream input)
public static CreateShareRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CreateShareRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateShareRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CreateShareRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public CreateShareRequest getDefaultInstanceForType()
getParent()
public 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 |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public 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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
getParserForType()
public Parser<CreateShareRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getShare()
Required. A share resource
.google.cloud.filestore.v1beta1.Share share = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Share | The share.
|
getShareId()
public 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 |
---|
Type | Description |
String | The shareId.
|
getShareIdBytes()
public 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 |
---|
Type | Description |
ByteString | The bytes for shareId.
|
getShareOrBuilder()
public ShareOrBuilder getShareOrBuilder()
Required. A share resource
.google.cloud.filestore.v1beta1.Share share = 3 [(.google.api.field_behavior) = REQUIRED];
hasShare()
public boolean hasShare()
Required. A share resource
.google.cloud.filestore.v1beta1.Share share = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the share field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CreateShareRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateShareRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CreateShareRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides