- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.4
- 2.2.0
- 2.1.10
- 0.2.0
public static final class Network.Builder extends GeneratedMessageV3.Builder<Network.Builder> implements NetworkOrBuilder
Extra network settings. Only applicable in the App Engine flexible environment.
Protobuf type google.appengine.v1.Network
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Network.BuilderImplements
NetworkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllForwardedPorts(Iterable<String> values)
public Network.Builder addAllForwardedPorts(Iterable<String> values)
List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
repeated string forwarded_ports = 1;
Name | Description |
values | Iterable<String> The forwardedPorts to add. |
Type | Description |
Network.Builder | This builder for chaining. |
addForwardedPorts(String value)
public Network.Builder addForwardedPorts(String value)
List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
repeated string forwarded_ports = 1;
Name | Description |
value | String The forwardedPorts to add. |
Type | Description |
Network.Builder | This builder for chaining. |
addForwardedPortsBytes(ByteString value)
public Network.Builder addForwardedPortsBytes(ByteString value)
List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
repeated string forwarded_ports = 1;
Name | Description |
value | ByteString The bytes of the forwardedPorts to add. |
Type | Description |
Network.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Network.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Network.Builder |
build()
public Network build()
Type | Description |
Network |
buildPartial()
public Network buildPartial()
Type | Description |
Network |
clear()
public Network.Builder clear()
Type | Description |
Network.Builder |
clearField(Descriptors.FieldDescriptor field)
public Network.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Network.Builder |
clearForwardedPorts()
public Network.Builder clearForwardedPorts()
List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
repeated string forwarded_ports = 1;
Type | Description |
Network.Builder | This builder for chaining. |
clearInstanceTag()
public Network.Builder clearInstanceTag()
Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
string instance_tag = 2;
Type | Description |
Network.Builder | This builder for chaining. |
clearName()
public Network.Builder clearName()
Google Compute Engine network where the virtual machines are created.
Specify the short name, not the resource path.
Defaults to default
.
string name = 3;
Type | Description |
Network.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Network.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Network.Builder |
clearSessionAffinity()
public Network.Builder clearSessionAffinity()
Enable session affinity. Only applicable in the App Engine flexible environment.
bool session_affinity = 5;
Type | Description |
Network.Builder | This builder for chaining. |
clearSubnetworkName()
public Network.Builder clearSubnetworkName()
Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If a subnetwork name is specified, a network name will also be required unless it is for the default network.
- If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
- If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network.
- If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
string subnetwork_name = 4;
Type | Description |
Network.Builder | This builder for chaining. |
clone()
public Network.Builder clone()
Type | Description |
Network.Builder |
getDefaultInstanceForType()
public Network getDefaultInstanceForType()
Type | Description |
Network |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getForwardedPorts(int index)
public String getForwardedPorts(int index)
List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
repeated string forwarded_ports = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The forwardedPorts at the given index. |
getForwardedPortsBytes(int index)
public ByteString getForwardedPortsBytes(int index)
List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
repeated string forwarded_ports = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the forwardedPorts at the given index. |
getForwardedPortsCount()
public int getForwardedPortsCount()
List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
repeated string forwarded_ports = 1;
Type | Description |
int | The count of forwardedPorts. |
getForwardedPortsList()
public ProtocolStringList getForwardedPortsList()
List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
repeated string forwarded_ports = 1;
Type | Description |
ProtocolStringList | A list containing the forwardedPorts. |
getInstanceTag()
public String getInstanceTag()
Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
string instance_tag = 2;
Type | Description |
String | The instanceTag. |
getInstanceTagBytes()
public ByteString getInstanceTagBytes()
Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
string instance_tag = 2;
Type | Description |
ByteString | The bytes for instanceTag. |
getName()
public String getName()
Google Compute Engine network where the virtual machines are created.
Specify the short name, not the resource path.
Defaults to default
.
string name = 3;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Google Compute Engine network where the virtual machines are created.
Specify the short name, not the resource path.
Defaults to default
.
string name = 3;
Type | Description |
ByteString | The bytes for name. |
getSessionAffinity()
public boolean getSessionAffinity()
Enable session affinity. Only applicable in the App Engine flexible environment.
bool session_affinity = 5;
Type | Description |
boolean | The sessionAffinity. |
getSubnetworkName()
public String getSubnetworkName()
Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If a subnetwork name is specified, a network name will also be required unless it is for the default network.
- If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
- If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network.
- If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
string subnetwork_name = 4;
Type | Description |
String | The subnetworkName. |
getSubnetworkNameBytes()
public ByteString getSubnetworkNameBytes()
Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If a subnetwork name is specified, a network name will also be required unless it is for the default network.
- If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
- If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network.
- If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
string subnetwork_name = 4;
Type | Description |
ByteString | The bytes for subnetworkName. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Network other)
public Network.Builder mergeFrom(Network other)
Name | Description |
other | Network |
Type | Description |
Network.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Network.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Network.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Network.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Network.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Network.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Network.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Network.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Network.Builder |
setForwardedPorts(int index, String value)
public Network.Builder setForwardedPorts(int index, String value)
List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
repeated string forwarded_ports = 1;
Name | Description |
index | int The index to set the value at. |
value | String The forwardedPorts to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setInstanceTag(String value)
public Network.Builder setInstanceTag(String value)
Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
string instance_tag = 2;
Name | Description |
value | String The instanceTag to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setInstanceTagBytes(ByteString value)
public Network.Builder setInstanceTagBytes(ByteString value)
Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
string instance_tag = 2;
Name | Description |
value | ByteString The bytes for instanceTag to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setName(String value)
public Network.Builder setName(String value)
Google Compute Engine network where the virtual machines are created.
Specify the short name, not the resource path.
Defaults to default
.
string name = 3;
Name | Description |
value | String The name to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Network.Builder setNameBytes(ByteString value)
Google Compute Engine network where the virtual machines are created.
Specify the short name, not the resource path.
Defaults to default
.
string name = 3;
Name | Description |
value | ByteString The bytes for name to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Network.Builder |
setSessionAffinity(boolean value)
public Network.Builder setSessionAffinity(boolean value)
Enable session affinity. Only applicable in the App Engine flexible environment.
bool session_affinity = 5;
Name | Description |
value | boolean The sessionAffinity to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setSubnetworkName(String value)
public Network.Builder setSubnetworkName(String value)
Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If a subnetwork name is specified, a network name will also be required unless it is for the default network.
- If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
- If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network.
- If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
string subnetwork_name = 4;
Name | Description |
value | String The subnetworkName to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setSubnetworkNameBytes(ByteString value)
public Network.Builder setSubnetworkNameBytes(ByteString value)
Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If a subnetwork name is specified, a network name will also be required unless it is for the default network.
- If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
- If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network.
- If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
string subnetwork_name = 4;
Name | Description |
value | ByteString The bytes for subnetworkName to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Network.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Network.Builder |