public static final class NetworkMountPoint.Builder extends GeneratedMessage.Builder<NetworkMountPoint.Builder> implements NetworkMountPointOrBuilderMount point for a network.
Protobuf type google.cloud.baremetalsolution.v2.NetworkMountPoint
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NetworkMountPoint.BuilderImplements
NetworkMountPointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public NetworkMountPoint build()| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint |
|
buildPartial()
public NetworkMountPoint buildPartial()| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint |
|
clear()
public NetworkMountPoint.Builder clear()| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
|
clearDefaultGateway()
public NetworkMountPoint.Builder clearDefaultGateway()Network should be a default gateway.
bool default_gateway = 3;
| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
This builder for chaining. |
clearInstance()
public NetworkMountPoint.Builder clearInstance()Instance to attach network to.
string instance = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
This builder for chaining. |
clearIpAddress()
public NetworkMountPoint.Builder clearIpAddress()Ip address of the server.
string ip_address = 4;
| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
This builder for chaining. |
clearLogicalInterface()
public NetworkMountPoint.Builder clearLogicalInterface()Logical interface to detach from.
string logical_interface = 2;
| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
This builder for chaining. |
getDefaultGateway()
public boolean getDefaultGateway()Network should be a default gateway.
bool default_gateway = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The defaultGateway. |
getDefaultInstanceForType()
public NetworkMountPoint getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstance()
public String getInstance()Instance to attach network to.
string instance = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The instance. |
getInstanceBytes()
public ByteString getInstanceBytes()Instance to attach network to.
string instance = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for instance. |
getIpAddress()
public String getIpAddress()Ip address of the server.
string ip_address = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()Ip address of the server.
string ip_address = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ipAddress. |
getLogicalInterface()
public String getLogicalInterface()Logical interface to detach from.
string logical_interface = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The logicalInterface. |
getLogicalInterfaceBytes()
public ByteString getLogicalInterfaceBytes()Logical interface to detach from.
string logical_interface = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for logicalInterface. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(NetworkMountPoint other)
public NetworkMountPoint.Builder mergeFrom(NetworkMountPoint other)| Parameter | |
|---|---|
| Name | Description |
other |
NetworkMountPoint |
| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkMountPoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NetworkMountPoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
|
setDefaultGateway(boolean value)
public NetworkMountPoint.Builder setDefaultGateway(boolean value)Network should be a default gateway.
bool default_gateway = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe defaultGateway to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
This builder for chaining. |
setInstance(String value)
public NetworkMountPoint.Builder setInstance(String value)Instance to attach network to.
string instance = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe instance to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
This builder for chaining. |
setInstanceBytes(ByteString value)
public NetworkMountPoint.Builder setInstanceBytes(ByteString value)Instance to attach network to.
string instance = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for instance to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
This builder for chaining. |
setIpAddress(String value)
public NetworkMountPoint.Builder setIpAddress(String value)Ip address of the server.
string ip_address = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ipAddress to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
This builder for chaining. |
setIpAddressBytes(ByteString value)
public NetworkMountPoint.Builder setIpAddressBytes(ByteString value)Ip address of the server.
string ip_address = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ipAddress to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
This builder for chaining. |
setLogicalInterface(String value)
public NetworkMountPoint.Builder setLogicalInterface(String value)Logical interface to detach from.
string logical_interface = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe logicalInterface to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
This builder for chaining. |
setLogicalInterfaceBytes(ByteString value)
public NetworkMountPoint.Builder setLogicalInterfaceBytes(ByteString value)Logical interface to detach from.
string logical_interface = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for logicalInterface to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkMountPoint.Builder |
This builder for chaining. |