public static final class Network.Builder extends GeneratedMessageV3.Builder<Network.Builder> implements NetworkOrBuilder
VM networking options.
Protobuf type google.cloud.lifesciences.v2beta.Network
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Network.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Network buildPartial()
clear()
public Network.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Network.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNetwork()
public Network.Builder clearNetwork()
The network name to attach the VM's network interface to. The value will
be prefixed with global/networks/
unless it contains a /
, in which
case it is assumed to be a fully specified network resource URL.
If unspecified, the global default network is used.
string network = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Network.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSubnetwork()
public Network.Builder clearSubnetwork()
If the specified network is configured for custom subnet creation, the
name of the subnetwork to attach the instance to must be specified here.
The value is prefixed with regions/*/subnetworks/
unless it contains a
/
, in which case it is assumed to be a fully specified subnetwork
resource URL.
If the *
character appears in the value, it is replaced with the region
that the virtual machine has been allocated in.
string subnetwork = 3;
clearUsePrivateAddress()
public Network.Builder clearUsePrivateAddress()
clone()
public Network.Builder clone()
Overrides
getDefaultInstanceForType()
public Network getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNetwork()
public String getNetwork()
The network name to attach the VM's network interface to. The value will
be prefixed with global/networks/
unless it contains a /
, in which
case it is assumed to be a fully specified network resource URL.
If unspecified, the global default network is used.
string network = 1;
Returns |
---|
Type | Description |
String | The network.
|
getNetworkBytes()
public ByteString getNetworkBytes()
The network name to attach the VM's network interface to. The value will
be prefixed with global/networks/
unless it contains a /
, in which
case it is assumed to be a fully specified network resource URL.
If unspecified, the global default network is used.
string network = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for network.
|
getSubnetwork()
public String getSubnetwork()
If the specified network is configured for custom subnet creation, the
name of the subnetwork to attach the instance to must be specified here.
The value is prefixed with regions/*/subnetworks/
unless it contains a
/
, in which case it is assumed to be a fully specified subnetwork
resource URL.
If the *
character appears in the value, it is replaced with the region
that the virtual machine has been allocated in.
string subnetwork = 3;
Returns |
---|
Type | Description |
String | The subnetwork.
|
getSubnetworkBytes()
public ByteString getSubnetworkBytes()
If the specified network is configured for custom subnet creation, the
name of the subnetwork to attach the instance to must be specified here.
The value is prefixed with regions/*/subnetworks/
unless it contains a
/
, in which case it is assumed to be a fully specified subnetwork
resource URL.
If the *
character appears in the value, it is replaced with the region
that the virtual machine has been allocated in.
string subnetwork = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for subnetwork.
|
getUsePrivateAddress()
public boolean getUsePrivateAddress()
Returns |
---|
Type | Description |
boolean | The usePrivateAddress.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Network other)
public Network.Builder mergeFrom(Network other)
Parameter |
---|
Name | Description |
other | Network
|
public Network.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Network.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Network.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Network.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNetwork(String value)
public Network.Builder setNetwork(String value)
The network name to attach the VM's network interface to. The value will
be prefixed with global/networks/
unless it contains a /
, in which
case it is assumed to be a fully specified network resource URL.
If unspecified, the global default network is used.
string network = 1;
Parameter |
---|
Name | Description |
value | String
The network to set.
|
setNetworkBytes(ByteString value)
public Network.Builder setNetworkBytes(ByteString value)
The network name to attach the VM's network interface to. The value will
be prefixed with global/networks/
unless it contains a /
, in which
case it is assumed to be a fully specified network resource URL.
If unspecified, the global default network is used.
string network = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for network to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Network.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSubnetwork(String value)
public Network.Builder setSubnetwork(String value)
If the specified network is configured for custom subnet creation, the
name of the subnetwork to attach the instance to must be specified here.
The value is prefixed with regions/*/subnetworks/
unless it contains a
/
, in which case it is assumed to be a fully specified subnetwork
resource URL.
If the *
character appears in the value, it is replaced with the region
that the virtual machine has been allocated in.
string subnetwork = 3;
Parameter |
---|
Name | Description |
value | String
The subnetwork to set.
|
setSubnetworkBytes(ByteString value)
public Network.Builder setSubnetworkBytes(ByteString value)
If the specified network is configured for custom subnet creation, the
name of the subnetwork to attach the instance to must be specified here.
The value is prefixed with regions/*/subnetworks/
unless it contains a
/
, in which case it is assumed to be a fully specified subnetwork
resource URL.
If the *
character appears in the value, it is replaced with the region
that the virtual machine has been allocated in.
string subnetwork = 3;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for subnetwork to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Network.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUsePrivateAddress(boolean value)
public Network.Builder setUsePrivateAddress(boolean value)
Parameter |
---|
Name | Description |
value | boolean
The usePrivateAddress to set.
|