Package com.google.appengine.v1
Class Network
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.appengine.v1.Network
-
- All Implemented Interfaces:
NetworkOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Network extends com.google.protobuf.GeneratedMessageV3 implements NetworkOrBuilder
Extra network settings. Only applicable in the App Engine flexible environment.
Protobuf typegoogle.appengine.v1.Network- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNetwork.BuilderExtra network settings.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intFORWARDED_PORTS_FIELD_NUMBERstatic intINSTANCE_TAG_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intSESSION_AFFINITY_FIELD_NUMBERstatic intSUBNETWORK_NAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static NetworkgetDefaultInstance()NetworkgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetForwardedPorts(int index)List of ports, or port pairs, to forward from the virtual machine to the application container.com.google.protobuf.ByteStringgetForwardedPortsBytes(int index)List of ports, or port pairs, to forward from the virtual machine to the application container.intgetForwardedPortsCount()List of ports, or port pairs, to forward from the virtual machine to the application container.com.google.protobuf.ProtocolStringListgetForwardedPortsList()List of ports, or port pairs, to forward from the virtual machine to the application container.StringgetInstanceTag()Tag to apply to the instance during creation.com.google.protobuf.ByteStringgetInstanceTagBytes()Tag to apply to the instance during creation.StringgetName()Google Compute Engine network where the virtual machines are created.com.google.protobuf.ByteStringgetNameBytes()Google Compute Engine network where the virtual machines are created.com.google.protobuf.Parser<Network>getParserForType()intgetSerializedSize()booleangetSessionAffinity()Enable session affinity.StringgetSubnetworkName()Google Cloud Platform sub-network where the virtual machines are created.com.google.protobuf.ByteStringgetSubnetworkNameBytes()Google Cloud Platform sub-network where the virtual machines are created.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Network.BuildernewBuilder()static Network.BuildernewBuilder(Network prototype)Network.BuildernewBuilderForType()protected Network.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NetworkparseDelimitedFrom(InputStream input)static NetworkparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkparseFrom(byte[] data)static NetworkparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkparseFrom(com.google.protobuf.ByteString data)static NetworkparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkparseFrom(com.google.protobuf.CodedInputStream input)static NetworkparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkparseFrom(InputStream input)static NetworkparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkparseFrom(ByteBuffer data)static NetworkparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Network>parser()Network.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
FORWARDED_PORTS_FIELD_NUMBER
public static final int FORWARDED_PORTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTANCE_TAG_FIELD_NUMBER
public static final int INSTANCE_TAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBNETWORK_NAME_FIELD_NUMBER
public static final int SUBNETWORK_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SESSION_AFFINITY_FIELD_NUMBER
public static final int SESSION_AFFINITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getForwardedPortsList
public com.google.protobuf.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;- Specified by:
getForwardedPortsListin interfaceNetworkOrBuilder- Returns:
- A list containing the forwardedPorts.
-
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;- Specified by:
getForwardedPortsCountin interfaceNetworkOrBuilder- Returns:
- The count of forwardedPorts.
-
getForwardedPorts
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;- Specified by:
getForwardedPortsin interfaceNetworkOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The forwardedPorts at the given index.
-
getForwardedPortsBytes
public com.google.protobuf.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;- Specified by:
getForwardedPortsBytesin interfaceNetworkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the forwardedPorts at the given index.
-
getInstanceTag
public String getInstanceTag()
Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
string instance_tag = 2;- Specified by:
getInstanceTagin interfaceNetworkOrBuilder- Returns:
- The instanceTag.
-
getInstanceTagBytes
public com.google.protobuf.ByteString getInstanceTagBytes()
Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
string instance_tag = 2;- Specified by:
getInstanceTagBytesin interfaceNetworkOrBuilder- Returns:
- 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;- Specified by:
getNamein interfaceNetworkOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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;- Specified by:
getNameBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for name.
-
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;- Specified by:
getSubnetworkNamein interfaceNetworkOrBuilder- Returns:
- The subnetworkName.
-
getSubnetworkNameBytes
public com.google.protobuf.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;- Specified by:
getSubnetworkNameBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for subnetworkName.
-
getSessionAffinity
public boolean getSessionAffinity()
Enable session affinity. Only applicable in the App Engine flexible environment.
bool session_affinity = 5;- Specified by:
getSessionAffinityin interfaceNetworkOrBuilder- Returns:
- The sessionAffinity.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Network parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Network parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Network parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Network parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Network parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Network parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Network parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Network parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Network parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Network parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Network parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Network parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Network.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Network.Builder newBuilder()
-
newBuilder
public static Network.Builder newBuilder(Network prototype)
-
toBuilder
public Network.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Network.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Network getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Network> parser()
-
getParserForType
public com.google.protobuf.Parser<Network> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Network getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-