- 0.57.0 (latest)
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 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.39.0
- 0.38.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.26.0
- 0.25.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.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.8
public static final class Network.Builder extends GeneratedMessageV3.Builder<Network.Builder> implements NetworkOrBuilder
VM networking options.
Protobuf type google.cloud.lifesciences.v2beta.Network
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Network.BuilderImplements
NetworkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Network.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Network.Builder |
build()
public Network build()
Returns | |
---|---|
Type | Description |
Network |
buildPartial()
public Network buildPartial()
Returns | |
---|---|
Type | Description |
Network |
clear()
public Network.Builder clear()
Returns | |
---|---|
Type | Description |
Network.Builder |
clearField(Descriptors.FieldDescriptor field)
public Network.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Network.Builder |
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 | |
---|---|
Type | Description |
Network.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Network.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Network.Builder |
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 | |
---|---|
Type | Description |
Network.Builder |
This builder for chaining. |
clearUsePrivateAddress()
public Network.Builder clearUsePrivateAddress()
If set to true, do not attach a public IP address to the VM. Note that without a public IP address, additional configuration is required to allow the VM to access Google services.
See https://cloud.google.com/vpc/docs/configure-private-google-access for more information.
bool use_private_address = 2;
Returns | |
---|---|
Type | Description |
Network.Builder |
This builder for chaining. |
clone()
public Network.Builder clone()
Returns | |
---|---|
Type | Description |
Network.Builder |
getDefaultInstanceForType()
public Network getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Network |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
If set to true, do not attach a public IP address to the VM. Note that without a public IP address, additional configuration is required to allow the VM to access Google services.
See https://cloud.google.com/vpc/docs/configure-private-google-access for more information.
bool use_private_address = 2;
Returns | |
---|---|
Type | Description |
boolean |
The usePrivateAddress. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Network other)
public Network.Builder mergeFrom(Network other)
Parameter | |
---|---|
Name | Description |
other |
Network |
Returns | |
---|---|
Type | Description |
Network.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Network.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Network.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Network.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Network.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Network.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Network.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Network.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Network.Builder |
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 | |
---|---|
Type | Description |
Network.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
Network.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Network.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Network.Builder |
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 | |
---|---|
Type | Description |
Network.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
Network.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Network.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Network.Builder |
setUsePrivateAddress(boolean value)
public Network.Builder setUsePrivateAddress(boolean value)
If set to true, do not attach a public IP address to the VM. Note that without a public IP address, additional configuration is required to allow the VM to access Google services.
See https://cloud.google.com/vpc/docs/configure-private-google-access for more information.
bool use_private_address = 2;
Parameter | |
---|---|
Name | Description |
value |
boolean The usePrivateAddress to set. |
Returns | |
---|---|
Type | Description |
Network.Builder |
This builder for chaining. |