- 1.79.0 (latest)
- 1.77.0
- 1.76.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.71.0
- 1.69.0
- 1.68.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.61.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.2.0
public static final class Share.Builder extends GeneratedMessageV3.Builder<Share.Builder> implements ShareOrBuilderA Filestore share.
Protobuf type google.cloud.filestore.v1beta1.Share
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Share.BuilderImplements
ShareOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllNfsExportOptions(Iterable<? extends NfsExportOptions> values)
public Share.Builder addAllNfsExportOptions(Iterable<? extends NfsExportOptions> values)Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Name | Description |
| values | Iterable<? extends com.google.cloud.filestore.v1beta1.NfsExportOptions> |
| Type | Description |
| Share.Builder |
addNfsExportOptions(NfsExportOptions value)
public Share.Builder addNfsExportOptions(NfsExportOptions value)Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Name | Description |
| value | NfsExportOptions |
| Type | Description |
| Share.Builder |
addNfsExportOptions(NfsExportOptions.Builder builderForValue)
public Share.Builder addNfsExportOptions(NfsExportOptions.Builder builderForValue)Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Name | Description |
| builderForValue | NfsExportOptions.Builder |
| Type | Description |
| Share.Builder |
addNfsExportOptions(int index, NfsExportOptions value)
public Share.Builder addNfsExportOptions(int index, NfsExportOptions value)Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Name | Description |
| index | int |
| value | NfsExportOptions |
| Type | Description |
| Share.Builder |
addNfsExportOptions(int index, NfsExportOptions.Builder builderForValue)
public Share.Builder addNfsExportOptions(int index, NfsExportOptions.Builder builderForValue)Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Name | Description |
| index | int |
| builderForValue | NfsExportOptions.Builder |
| Type | Description |
| Share.Builder |
addNfsExportOptionsBuilder()
public NfsExportOptions.Builder addNfsExportOptionsBuilder()Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Type | Description |
| NfsExportOptions.Builder |
addNfsExportOptionsBuilder(int index)
public NfsExportOptions.Builder addNfsExportOptionsBuilder(int index)Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Name | Description |
| index | int |
| Type | Description |
| NfsExportOptions.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Share.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Share.Builder |
build()
public Share build()| Type | Description |
| Share |
buildPartial()
public Share buildPartial()| Type | Description |
| Share |
clear()
public Share.Builder clear()| Type | Description |
| Share.Builder |
clearCapacityGb()
public Share.Builder clearCapacityGb()File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.
int64 capacity_gb = 4;
| Type | Description |
| Share.Builder | This builder for chaining. |
clearCreateTime()
public Share.Builder clearCreateTime()Output only. The time when the share was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Share.Builder |
clearDescription()
public Share.Builder clearDescription()A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.
string description = 3;
| Type | Description |
| Share.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Share.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| Share.Builder |
clearLabels()
public Share.Builder clearLabels()| Type | Description |
| Share.Builder |
clearMountName()
public Share.Builder clearMountName()The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.
string mount_name = 2;
| Type | Description |
| Share.Builder | This builder for chaining. |
clearName()
public Share.Builder clearName() Output only. The resource name of the share, in the format
projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Share.Builder | This builder for chaining. |
clearNfsExportOptions()
public Share.Builder clearNfsExportOptions()Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Type | Description |
| Share.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Share.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| Share.Builder |
clearState()
public Share.Builder clearState()Output only. The share state.
.google.cloud.filestore.v1beta1.Share.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Share.Builder | This builder for chaining. |
clone()
public Share.Builder clone()| Type | Description |
| Share.Builder |
containsLabels(String key)
public boolean containsLabels(String key)Resource labels to represent user provided metadata.
map<string, string> labels = 8;
| Name | Description |
| key | String |
| Type | Description |
| boolean |
getCapacityGb()
public long getCapacityGb()File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.
int64 capacity_gb = 4;
| Type | Description |
| long | The capacityGb. |
getCreateTime()
public Timestamp getCreateTime()Output only. The time when the share was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The time when the share was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the share was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| TimestampOrBuilder |
getDefaultInstanceForType()
public Share getDefaultInstanceForType()| Type | Description |
| Share |
getDescription()
public String getDescription()A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.
string description = 3;
| Type | Description |
| String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.
string description = 3;
| Type | Description |
| ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getLabels()
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Type | Description |
| Map<String,String> |
getLabelsCount()
public int getLabelsCount()Resource labels to represent user provided metadata.
map<string, string> labels = 8;
| Type | Description |
| int |
getLabelsMap()
public Map<String,String> getLabelsMap()Resource labels to represent user provided metadata.
map<string, string> labels = 8;
| Type | Description |
| Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Resource labels to represent user provided metadata.
map<string, string> labels = 8;
| Name | Description |
| key | String |
| defaultValue | String |
| Type | Description |
| String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Resource labels to represent user provided metadata.
map<string, string> labels = 8;
| Name | Description |
| key | String |
| Type | Description |
| String |
getMountName()
public String getMountName()The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.
string mount_name = 2;
| Type | Description |
| String | The mountName. |
getMountNameBytes()
public ByteString getMountNameBytes()The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.
string mount_name = 2;
| Type | Description |
| ByteString | The bytes for mountName. |
getMutableLabels()
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Type | Description |
| Map<String,String> |
getName()
public String getName() Output only. The resource name of the share, in the format
projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| String | The name. |
getNameBytes()
public ByteString getNameBytes() Output only. The resource name of the share, in the format
projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| ByteString | The bytes for name. |
getNfsExportOptions(int index)
public NfsExportOptions getNfsExportOptions(int index)Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Name | Description |
| index | int |
| Type | Description |
| NfsExportOptions |
getNfsExportOptionsBuilder(int index)
public NfsExportOptions.Builder getNfsExportOptionsBuilder(int index)Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Name | Description |
| index | int |
| Type | Description |
| NfsExportOptions.Builder |
getNfsExportOptionsBuilderList()
public List<NfsExportOptions.Builder> getNfsExportOptionsBuilderList()Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Type | Description |
| List<Builder> |
getNfsExportOptionsCount()
public int getNfsExportOptionsCount()Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Type | Description |
| int |
getNfsExportOptionsList()
public List<NfsExportOptions> getNfsExportOptionsList()Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Type | Description |
| List<NfsExportOptions> |
getNfsExportOptionsOrBuilder(int index)
public NfsExportOptionsOrBuilder getNfsExportOptionsOrBuilder(int index)Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Name | Description |
| index | int |
| Type | Description |
| NfsExportOptionsOrBuilder |
getNfsExportOptionsOrBuilderList()
public List<? extends NfsExportOptionsOrBuilder> getNfsExportOptionsOrBuilderList()Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Type | Description |
| List<? extends com.google.cloud.filestore.v1beta1.NfsExportOptionsOrBuilder> |
getState()
public Share.State getState()Output only. The share state.
.google.cloud.filestore.v1beta1.Share.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Share.State | The state. |
getStateValue()
public int getStateValue()Output only. The share state.
.google.cloud.filestore.v1beta1.Share.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| int | The enum numeric value on the wire for state. |
hasCreateTime()
public boolean hasCreateTime()Output only. The time when the share was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| boolean | Whether the createTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)| Name | Description |
| number | int |
| Type | Description |
| MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)| Name | Description |
| number | int |
| Type | Description |
| MapField |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeCreateTime(Timestamp value)
public Share.Builder mergeCreateTime(Timestamp value)Output only. The time when the share was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| Share.Builder |
mergeFrom(Share other)
public Share.Builder mergeFrom(Share other)| Name | Description |
| other | Share |
| Type | Description |
| Share.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Share.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| Share.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public Share.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| Share.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Share.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Share.Builder |
putAllLabels(Map<String,String> values)
public Share.Builder putAllLabels(Map<String,String> values)Resource labels to represent user provided metadata.
map<string, string> labels = 8;
| Name | Description |
| values | Map<String,String> |
| Type | Description |
| Share.Builder |
putLabels(String key, String value)
public Share.Builder putLabels(String key, String value)Resource labels to represent user provided metadata.
map<string, string> labels = 8;
| Name | Description |
| key | String |
| value | String |
| Type | Description |
| Share.Builder |
removeLabels(String key)
public Share.Builder removeLabels(String key)Resource labels to represent user provided metadata.
map<string, string> labels = 8;
| Name | Description |
| key | String |
| Type | Description |
| Share.Builder |
removeNfsExportOptions(int index)
public Share.Builder removeNfsExportOptions(int index)Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Name | Description |
| index | int |
| Type | Description |
| Share.Builder |
setCapacityGb(long value)
public Share.Builder setCapacityGb(long value)File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.
int64 capacity_gb = 4;
| Name | Description |
| value | longThe capacityGb to set. |
| Type | Description |
| Share.Builder | This builder for chaining. |
setCreateTime(Timestamp value)
public Share.Builder setCreateTime(Timestamp value)Output only. The time when the share was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| Share.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Share.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The time when the share was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| Share.Builder |
setDescription(String value)
public Share.Builder setDescription(String value)A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.
string description = 3;
| Name | Description |
| value | StringThe description to set. |
| Type | Description |
| Share.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Share.Builder setDescriptionBytes(ByteString value)A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.
string description = 3;
| Name | Description |
| value | ByteStringThe bytes for description to set. |
| Type | Description |
| Share.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Share.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Share.Builder |
setMountName(String value)
public Share.Builder setMountName(String value)The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.
string mount_name = 2;
| Name | Description |
| value | StringThe mountName to set. |
| Type | Description |
| Share.Builder | This builder for chaining. |
setMountNameBytes(ByteString value)
public Share.Builder setMountNameBytes(ByteString value)The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.
string mount_name = 2;
| Name | Description |
| value | ByteStringThe bytes for mountName to set. |
| Type | Description |
| Share.Builder | This builder for chaining. |
setName(String value)
public Share.Builder setName(String value) Output only. The resource name of the share, in the format
projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | StringThe name to set. |
| Type | Description |
| Share.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Share.Builder setNameBytes(ByteString value) Output only. The resource name of the share, in the format
projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | ByteStringThe bytes for name to set. |
| Type | Description |
| Share.Builder | This builder for chaining. |
setNfsExportOptions(int index, NfsExportOptions value)
public Share.Builder setNfsExportOptions(int index, NfsExportOptions value)Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Name | Description |
| index | int |
| value | NfsExportOptions |
| Type | Description |
| Share.Builder |
setNfsExportOptions(int index, NfsExportOptions.Builder builderForValue)
public Share.Builder setNfsExportOptions(int index, NfsExportOptions.Builder builderForValue)Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 5;
| Name | Description |
| index | int |
| builderForValue | NfsExportOptions.Builder |
| Type | Description |
| Share.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Share.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| Share.Builder |
setState(Share.State value)
public Share.Builder setState(Share.State value)Output only. The share state.
.google.cloud.filestore.v1beta1.Share.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Share.StateThe state to set. |
| Type | Description |
| Share.Builder | This builder for chaining. |
setStateValue(int value)
public Share.Builder setStateValue(int value)Output only. The share state.
.google.cloud.filestore.v1beta1.Share.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | intThe enum numeric value on the wire for state to set. |
| Type | Description |
| Share.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Share.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Share.Builder |