- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LogicalInterface.LogicalNetworkInterface.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
build()
public LogicalInterface.LogicalNetworkInterface build()
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface |
buildPartial()
public LogicalInterface.LogicalNetworkInterface buildPartial()
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface |
clear()
public LogicalInterface.LogicalNetworkInterface.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public LogicalInterface.LogicalNetworkInterface.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
clearId()
public LogicalInterface.LogicalNetworkInterface.Builder clearId()
An identifier for the Network
, generated by the backend.
string id = 5;
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
This builder for chaining. |
clearIpAddress()
public LogicalInterface.LogicalNetworkInterface.Builder clearIpAddress()
IP address in the network
string ip_address = 2;
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
This builder for chaining. |
clearNetwork()
public LogicalInterface.LogicalNetworkInterface.Builder clearNetwork()
Name of the network
string network = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LogicalInterface.LogicalNetworkInterface.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
clone()
public LogicalInterface.LogicalNetworkInterface.Builder clone()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean |
The defaultGateway. |
getDefaultInstanceForType()
public LogicalInterface.LogicalNetworkInterface getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getId()
public String getId()
An identifier for the Network
, generated by the backend.
string id = 5;
Returns | |
---|---|
Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()
An identifier for the Network
, generated by the backend.
string id = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for id. |
getIpAddress()
public String getIpAddress()
IP address in the network
string ip_address = 2;
Returns | |
---|---|
Type | Description |
String |
The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()
IP address in the network
string ip_address = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ipAddress. |
getNetwork()
public String getNetwork()
Name of the network
string network = 1;
Returns | |
---|---|
Type | Description |
String |
The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
Name of the network
string network = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for network. |
getNetworkType()
public Network.Type getNetworkType()
Type of network.
.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;
Returns | |
---|---|
Type | Description |
Network.Type |
The networkType. |
getNetworkTypeValue()
public int getNetworkTypeValue()
Type of network.
.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for networkType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(LogicalInterface.LogicalNetworkInterface other)
public LogicalInterface.LogicalNetworkInterface.Builder mergeFrom(LogicalInterface.LogicalNetworkInterface other)
Parameter | |
---|---|
Name | Description |
other |
LogicalInterface.LogicalNetworkInterface |
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LogicalInterface.LogicalNetworkInterface.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LogicalInterface.LogicalNetworkInterface.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LogicalInterface.LogicalNetworkInterface.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The defaultGateway to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The id to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for id to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The ipAddress to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for ipAddress to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The network to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for network to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Network.Type The networkType to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for networkType to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LogicalInterface.LogicalNetworkInterface.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LogicalInterface.LogicalNetworkInterface.Builder |