public final class Network extends GeneratedMessageV3 implements NetworkOrBuilder
VM networking options.
Protobuf type google.cloud.lifesciences.v2beta.Network
Static Fields
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
Field Value
USE_PRIVATE_ADDRESS_FIELD_NUMBER
public static final int USE_PRIVATE_ADDRESS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Network getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Network.Builder newBuilder()
Returns
newBuilder(Network prototype)
public static Network.Builder newBuilder(Network prototype)
Parameter
Returns
public static Network parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Network parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Network parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Network parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Network parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Network parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Network parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Network parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Network parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Network parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Network parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Network parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Network> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Network getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<Network> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUsePrivateAddress()
public boolean getUsePrivateAddress()
Returns
Type | Description |
boolean | The usePrivateAddress.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Network.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Network.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Network.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions