- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.8
- 0.2.1
- 0.1.1
public static final class NfsShare.Builder extends GeneratedMessageV3.Builder<NfsShare.Builder> implements NfsShareOrBuilder
An NFS share.
Protobuf type google.cloud.baremetalsolution.v2.NfsShare
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NfsShare.BuilderImplements
NfsShareOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllAllowedClients(Iterable<? extends NfsShare.AllowedClient> values)
public NfsShare.Builder addAllAllowedClients(Iterable<? extends NfsShare.AllowedClient> values)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Name | Description |
values | Iterable<? extends com.google.cloud.baremetalsolution.v2.NfsShare.AllowedClient> |
Type | Description |
NfsShare.Builder |
addAllowedClients(NfsShare.AllowedClient value)
public NfsShare.Builder addAllowedClients(NfsShare.AllowedClient value)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Name | Description |
value | NfsShare.AllowedClient |
Type | Description |
NfsShare.Builder |
addAllowedClients(NfsShare.AllowedClient.Builder builderForValue)
public NfsShare.Builder addAllowedClients(NfsShare.AllowedClient.Builder builderForValue)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Name | Description |
builderForValue | NfsShare.AllowedClient.Builder |
Type | Description |
NfsShare.Builder |
addAllowedClients(int index, NfsShare.AllowedClient value)
public NfsShare.Builder addAllowedClients(int index, NfsShare.AllowedClient value)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Name | Description |
index | int |
value | NfsShare.AllowedClient |
Type | Description |
NfsShare.Builder |
addAllowedClients(int index, NfsShare.AllowedClient.Builder builderForValue)
public NfsShare.Builder addAllowedClients(int index, NfsShare.AllowedClient.Builder builderForValue)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Name | Description |
index | int |
builderForValue | NfsShare.AllowedClient.Builder |
Type | Description |
NfsShare.Builder |
addAllowedClientsBuilder()
public NfsShare.AllowedClient.Builder addAllowedClientsBuilder()
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Type | Description |
NfsShare.AllowedClient.Builder |
addAllowedClientsBuilder(int index)
public NfsShare.AllowedClient.Builder addAllowedClientsBuilder(int index)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Name | Description |
index | int |
Type | Description |
NfsShare.AllowedClient.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NfsShare.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NfsShare.Builder |
build()
public NfsShare build()
Type | Description |
NfsShare |
buildPartial()
public NfsShare buildPartial()
Type | Description |
NfsShare |
clear()
public NfsShare.Builder clear()
Type | Description |
NfsShare.Builder |
clearAllowedClients()
public NfsShare.Builder clearAllowedClients()
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Type | Description |
NfsShare.Builder |
clearField(Descriptors.FieldDescriptor field)
public NfsShare.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
NfsShare.Builder |
clearLabels()
public NfsShare.Builder clearLabels()
Type | Description |
NfsShare.Builder |
clearName()
public NfsShare.Builder clearName()
Output only. The name of the NFS share.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
NfsShare.Builder | This builder for chaining. |
clearNfsShareId()
public NfsShare.Builder clearNfsShareId()
Output only. An identifier for the NFS share, generated by the backend.
string nfs_share_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
NfsShare.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NfsShare.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
NfsShare.Builder |
clearState()
public NfsShare.Builder clearState()
The state of the NFS share.
.google.cloud.baremetalsolution.v2.NfsShare.State state = 3;
Type | Description |
NfsShare.Builder | This builder for chaining. |
clearVolume()
public NfsShare.Builder clearVolume()
The volume containing the share.
string volume = 4 [(.google.api.resource_reference) = { ... }
Type | Description |
NfsShare.Builder | This builder for chaining. |
clone()
public NfsShare.Builder clone()
Type | Description |
NfsShare.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 6;
Name | Description |
key | String |
Type | Description |
boolean |
getAllowedClients(int index)
public NfsShare.AllowedClient getAllowedClients(int index)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Name | Description |
index | int |
Type | Description |
NfsShare.AllowedClient |
getAllowedClientsBuilder(int index)
public NfsShare.AllowedClient.Builder getAllowedClientsBuilder(int index)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Name | Description |
index | int |
Type | Description |
NfsShare.AllowedClient.Builder |
getAllowedClientsBuilderList()
public List<NfsShare.AllowedClient.Builder> getAllowedClientsBuilderList()
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Type | Description |
List<Builder> |
getAllowedClientsCount()
public int getAllowedClientsCount()
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Type | Description |
int |
getAllowedClientsList()
public List<NfsShare.AllowedClient> getAllowedClientsList()
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Type | Description |
List<AllowedClient> |
getAllowedClientsOrBuilder(int index)
public NfsShare.AllowedClientOrBuilder getAllowedClientsOrBuilder(int index)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Name | Description |
index | int |
Type | Description |
NfsShare.AllowedClientOrBuilder |
getAllowedClientsOrBuilderList()
public List<? extends NfsShare.AllowedClientOrBuilder> getAllowedClientsOrBuilderList()
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Type | Description |
List<? extends com.google.cloud.baremetalsolution.v2.NfsShare.AllowedClientOrBuilder> |
getDefaultInstanceForType()
public NfsShare getDefaultInstanceForType()
Type | Description |
NfsShare |
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()
Labels as key value pairs.
map<string, string> labels = 6;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 6;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 6;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 6;
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Output only. The name of the NFS share.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The name of the NFS share.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getNfsShareId()
public String getNfsShareId()
Output only. An identifier for the NFS share, generated by the backend.
string nfs_share_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The nfsShareId. |
getNfsShareIdBytes()
public ByteString getNfsShareIdBytes()
Output only. An identifier for the NFS share, generated by the backend.
string nfs_share_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for nfsShareId. |
getState()
public NfsShare.State getState()
The state of the NFS share.
.google.cloud.baremetalsolution.v2.NfsShare.State state = 3;
Type | Description |
NfsShare.State | The state. |
getStateValue()
public int getStateValue()
The state of the NFS share.
.google.cloud.baremetalsolution.v2.NfsShare.State state = 3;
Type | Description |
int | The enum numeric value on the wire for state. |
getVolume()
public String getVolume()
The volume containing the share.
string volume = 4 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The volume. |
getVolumeBytes()
public ByteString getVolumeBytes()
The volume containing the share.
string volume = 4 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for volume. |
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 |
mergeFrom(NfsShare other)
public NfsShare.Builder mergeFrom(NfsShare other)
Name | Description |
other | NfsShare |
Type | Description |
NfsShare.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NfsShare.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NfsShare.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public NfsShare.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
NfsShare.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NfsShare.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NfsShare.Builder |
putAllLabels(Map<String,String> values)
public NfsShare.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs.
map<string, string> labels = 6;
Name | Description |
values | Map<String,String> |
Type | Description |
NfsShare.Builder |
putLabels(String key, String value)
public NfsShare.Builder putLabels(String key, String value)
Labels as key value pairs.
map<string, string> labels = 6;
Name | Description |
key | String |
value | String |
Type | Description |
NfsShare.Builder |
removeAllowedClients(int index)
public NfsShare.Builder removeAllowedClients(int index)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Name | Description |
index | int |
Type | Description |
NfsShare.Builder |
removeLabels(String key)
public NfsShare.Builder removeLabels(String key)
Labels as key value pairs.
map<string, string> labels = 6;
Name | Description |
key | String |
Type | Description |
NfsShare.Builder |
setAllowedClients(int index, NfsShare.AllowedClient value)
public NfsShare.Builder setAllowedClients(int index, NfsShare.AllowedClient value)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Name | Description |
index | int |
value | NfsShare.AllowedClient |
Type | Description |
NfsShare.Builder |
setAllowedClients(int index, NfsShare.AllowedClient.Builder builderForValue)
public NfsShare.Builder setAllowedClients(int index, NfsShare.AllowedClient.Builder builderForValue)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
Name | Description |
index | int |
builderForValue | NfsShare.AllowedClient.Builder |
Type | Description |
NfsShare.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public NfsShare.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NfsShare.Builder |
setName(String value)
public NfsShare.Builder setName(String value)
Output only. The name of the NFS share.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
NfsShare.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public NfsShare.Builder setNameBytes(ByteString value)
Output only. The name of the NFS share.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
NfsShare.Builder | This builder for chaining. |
setNfsShareId(String value)
public NfsShare.Builder setNfsShareId(String value)
Output only. An identifier for the NFS share, generated by the backend.
string nfs_share_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The nfsShareId to set. |
Type | Description |
NfsShare.Builder | This builder for chaining. |
setNfsShareIdBytes(ByteString value)
public NfsShare.Builder setNfsShareIdBytes(ByteString value)
Output only. An identifier for the NFS share, generated by the backend.
string nfs_share_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for nfsShareId to set. |
Type | Description |
NfsShare.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NfsShare.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
NfsShare.Builder |
setState(NfsShare.State value)
public NfsShare.Builder setState(NfsShare.State value)
The state of the NFS share.
.google.cloud.baremetalsolution.v2.NfsShare.State state = 3;
Name | Description |
value | NfsShare.State The state to set. |
Type | Description |
NfsShare.Builder | This builder for chaining. |
setStateValue(int value)
public NfsShare.Builder setStateValue(int value)
The state of the NFS share.
.google.cloud.baremetalsolution.v2.NfsShare.State state = 3;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
NfsShare.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NfsShare.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NfsShare.Builder |
setVolume(String value)
public NfsShare.Builder setVolume(String value)
The volume containing the share.
string volume = 4 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The volume to set. |
Type | Description |
NfsShare.Builder | This builder for chaining. |
setVolumeBytes(ByteString value)
public NfsShare.Builder setVolumeBytes(ByteString value)
The volume containing the share.
string volume = 4 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for volume to set. |
Type | Description |
NfsShare.Builder | This builder for chaining. |