- 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 LogicalInterface.LogicalNetworkInterface.Builder extends GeneratedMessageV3.Builder<LogicalInterface.LogicalNetworkInterface.Builder> implements LogicalInterface.LogicalNetworkInterfaceOrBuilder
Each logical network interface is effectively a network and IP pair.
Protobuf type
google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterface
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LogicalInterface.LogicalNetworkInterface.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LogicalInterface.LogicalNetworkInterface.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
build()
public LogicalInterface.LogicalNetworkInterface build()
Type | Description |
LogicalInterface.LogicalNetworkInterface |
buildPartial()
public LogicalInterface.LogicalNetworkInterface buildPartial()
Type | Description |
LogicalInterface.LogicalNetworkInterface |
clear()
public LogicalInterface.LogicalNetworkInterface.Builder clear()
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
clearDefaultGateway()
public LogicalInterface.LogicalNetworkInterface.Builder clearDefaultGateway()
Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance.
bool default_gateway = 3;
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public LogicalInterface.LogicalNetworkInterface.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
clearId()
public LogicalInterface.LogicalNetworkInterface.Builder clearId()
An identifier for the Network
, generated by the backend.
string id = 5;
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder | This builder for chaining. |
clearIpAddress()
public LogicalInterface.LogicalNetworkInterface.Builder clearIpAddress()
IP address in the network
string ip_address = 2;
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder | This builder for chaining. |
clearNetwork()
public LogicalInterface.LogicalNetworkInterface.Builder clearNetwork()
Name of the network
string network = 1;
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder | This builder for chaining. |
clearNetworkType()
public LogicalInterface.LogicalNetworkInterface.Builder clearNetworkType()
Type of network.
.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LogicalInterface.LogicalNetworkInterface.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
clone()
public LogicalInterface.LogicalNetworkInterface.Builder clone()
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
getDefaultGateway()
public boolean getDefaultGateway()
Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance.
bool default_gateway = 3;
Type | Description |
boolean | The defaultGateway. |
getDefaultInstanceForType()
public LogicalInterface.LogicalNetworkInterface getDefaultInstanceForType()
Type | Description |
LogicalInterface.LogicalNetworkInterface |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getId()
public String getId()
An identifier for the Network
, generated by the backend.
string id = 5;
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
An identifier for the Network
, generated by the backend.
string id = 5;
Type | Description |
ByteString | The bytes for id. |
getIpAddress()
public String getIpAddress()
IP address in the network
string ip_address = 2;
Type | Description |
String | The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()
IP address in the network
string ip_address = 2;
Type | Description |
ByteString | The bytes for ipAddress. |
getNetwork()
public String getNetwork()
Name of the network
string network = 1;
Type | Description |
String | The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
Name of the network
string network = 1;
Type | Description |
ByteString | The bytes for network. |
getNetworkType()
public Network.Type getNetworkType()
Type of network.
.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;
Type | Description |
Network.Type | The networkType. |
getNetworkTypeValue()
public int getNetworkTypeValue()
Type of network.
.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;
Type | Description |
int | The enum numeric value on the wire for networkType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(LogicalInterface.LogicalNetworkInterface other)
public LogicalInterface.LogicalNetworkInterface.Builder mergeFrom(LogicalInterface.LogicalNetworkInterface other)
Name | Description |
other | LogicalInterface.LogicalNetworkInterface |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LogicalInterface.LogicalNetworkInterface.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public LogicalInterface.LogicalNetworkInterface.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LogicalInterface.LogicalNetworkInterface.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
setDefaultGateway(boolean value)
public LogicalInterface.LogicalNetworkInterface.Builder setDefaultGateway(boolean value)
Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance.
bool default_gateway = 3;
Name | Description |
value | boolean The defaultGateway to set. |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public LogicalInterface.LogicalNetworkInterface.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
setId(String value)
public LogicalInterface.LogicalNetworkInterface.Builder setId(String value)
An identifier for the Network
, generated by the backend.
string id = 5;
Name | Description |
value | String The id to set. |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public LogicalInterface.LogicalNetworkInterface.Builder setIdBytes(ByteString value)
An identifier for the Network
, generated by the backend.
string id = 5;
Name | Description |
value | ByteString The bytes for id to set. |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder | This builder for chaining. |
setIpAddress(String value)
public LogicalInterface.LogicalNetworkInterface.Builder setIpAddress(String value)
IP address in the network
string ip_address = 2;
Name | Description |
value | String The ipAddress to set. |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder | This builder for chaining. |
setIpAddressBytes(ByteString value)
public LogicalInterface.LogicalNetworkInterface.Builder setIpAddressBytes(ByteString value)
IP address in the network
string ip_address = 2;
Name | Description |
value | ByteString The bytes for ipAddress to set. |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder | This builder for chaining. |
setNetwork(String value)
public LogicalInterface.LogicalNetworkInterface.Builder setNetwork(String value)
Name of the network
string network = 1;
Name | Description |
value | String The network to set. |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder | This builder for chaining. |
setNetworkBytes(ByteString value)
public LogicalInterface.LogicalNetworkInterface.Builder setNetworkBytes(ByteString value)
Name of the network
string network = 1;
Name | Description |
value | ByteString The bytes for network to set. |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder | This builder for chaining. |
setNetworkType(Network.Type value)
public LogicalInterface.LogicalNetworkInterface.Builder setNetworkType(Network.Type value)
Type of network.
.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;
Name | Description |
value | Network.Type The networkType to set. |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder | This builder for chaining. |
setNetworkTypeValue(int value)
public LogicalInterface.LogicalNetworkInterface.Builder setNetworkTypeValue(int value)
Type of network.
.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;
Name | Description |
value | int The enum numeric value on the wire for networkType to set. |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LogicalInterface.LogicalNetworkInterface.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LogicalInterface.LogicalNetworkInterface.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |