- 0.58.0 (latest)
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.49.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.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.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class NfsExport.Builder extends GeneratedMessageV3.Builder<NfsExport.Builder> implements NfsExportOrBuilderNFS export.
Protobuf type google.cloud.migrationcenter.v1.NfsExport
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NfsExport.BuilderImplements
NfsExportOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllHosts(Iterable<String> values)
public NfsExport.Builder addAllHosts(Iterable<String> values)The hosts or networks to which the export is being shared.
repeated string hosts = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The hosts to add. |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
This builder for chaining. |
addHosts(String value)
public NfsExport.Builder addHosts(String value)The hosts or networks to which the export is being shared.
repeated string hosts = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe hosts to add. |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
This builder for chaining. |
addHostsBytes(ByteString value)
public NfsExport.Builder addHostsBytes(ByteString value)The hosts or networks to which the export is being shared.
repeated string hosts = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the hosts to add. |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NfsExport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
|
build()
public NfsExport build()| Returns | |
|---|---|
| Type | Description |
NfsExport |
|
buildPartial()
public NfsExport buildPartial()| Returns | |
|---|---|
| Type | Description |
NfsExport |
|
clear()
public NfsExport.Builder clear()| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
|
clearExportDirectory()
public NfsExport.Builder clearExportDirectory()The directory being exported.
string export_directory = 1;
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NfsExport.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
|
clearHosts()
public NfsExport.Builder clearHosts()The hosts or networks to which the export is being shared.
repeated string hosts = 2;
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NfsExport.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
|
clone()
public NfsExport.Builder clone()| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
|
getDefaultInstanceForType()
public NfsExport getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NfsExport |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExportDirectory()
public String getExportDirectory()The directory being exported.
string export_directory = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The exportDirectory. |
getExportDirectoryBytes()
public ByteString getExportDirectoryBytes()The directory being exported.
string export_directory = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for exportDirectory. |
getHosts(int index)
public String getHosts(int index)The hosts or networks to which the export is being shared.
repeated string hosts = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The hosts at the given index. |
getHostsBytes(int index)
public ByteString getHostsBytes(int index)The hosts or networks to which the export is being shared.
repeated string hosts = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the hosts at the given index. |
getHostsCount()
public int getHostsCount()The hosts or networks to which the export is being shared.
repeated string hosts = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of hosts. |
getHostsList()
public ProtocolStringList getHostsList()The hosts or networks to which the export is being shared.
repeated string hosts = 2;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the hosts. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(NfsExport other)
public NfsExport.Builder mergeFrom(NfsExport other)| Parameter | |
|---|---|
| Name | Description |
other |
NfsExport |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NfsExport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NfsExport.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NfsExport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
|
setExportDirectory(String value)
public NfsExport.Builder setExportDirectory(String value)The directory being exported.
string export_directory = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe exportDirectory to set. |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
This builder for chaining. |
setExportDirectoryBytes(ByteString value)
public NfsExport.Builder setExportDirectoryBytes(ByteString value)The directory being exported.
string export_directory = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for exportDirectory to set. |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NfsExport.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
|
setHosts(int index, String value)
public NfsExport.Builder setHosts(int index, String value)The hosts or networks to which the export is being shared.
repeated string hosts = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe hosts to set. |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NfsExport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final NfsExport.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
NfsExport.Builder |
|