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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Network.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Network buildPartial()
Returns
clear()
public Network.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Network.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Network.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
clearUsePrivateAddress()
public Network.Builder clearUsePrivateAddress()
Returns
clone()
public Network.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Network getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Network other)
public Network.Builder mergeFrom(Network other)
Parameter
Returns
public Network.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Network.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Network.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Network.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Network.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Network.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUsePrivateAddress(boolean value)
public Network.Builder setUsePrivateAddress(boolean value)
Parameter
Name | Description |
value | boolean
The usePrivateAddress to set.
|
Returns