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 class
Network.Builder
Extra 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 int
FORWARDED_PORTS_FIELD_NUMBER
static int
INSTANCE_TAG_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
SESSION_AFFINITY_FIELD_NUMBER
static int
SUBNETWORK_NAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static Network
getDefaultInstance()
Network
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getForwardedPorts(int index)
List of ports, or port pairs, to forward from the virtual machine to the application container.com.google.protobuf.ByteString
getForwardedPortsBytes(int index)
List of ports, or port pairs, to forward from the virtual machine to the application container.int
getForwardedPortsCount()
List of ports, or port pairs, to forward from the virtual machine to the application container.com.google.protobuf.ProtocolStringList
getForwardedPortsList()
List of ports, or port pairs, to forward from the virtual machine to the application container.String
getInstanceTag()
Tag to apply to the instance during creation.com.google.protobuf.ByteString
getInstanceTagBytes()
Tag to apply to the instance during creation.String
getName()
Google Compute Engine network where the virtual machines are created.com.google.protobuf.ByteString
getNameBytes()
Google Compute Engine network where the virtual machines are created.com.google.protobuf.Parser<Network>
getParserForType()
int
getSerializedSize()
boolean
getSessionAffinity()
Enable session affinity.String
getSubnetworkName()
Google Cloud Platform sub-network where the virtual machines are created.com.google.protobuf.ByteString
getSubnetworkNameBytes()
Google Cloud Platform sub-network where the virtual machines are created.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Network.Builder
newBuilder()
static Network.Builder
newBuilder(Network prototype)
Network.Builder
newBuilderForType()
protected Network.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Network
parseDelimitedFrom(InputStream input)
static Network
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Network
parseFrom(byte[] data)
static Network
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Network
parseFrom(com.google.protobuf.ByteString data)
static Network
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Network
parseFrom(com.google.protobuf.CodedInputStream input)
static Network
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Network
parseFrom(InputStream input)
static Network
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Network
parseFrom(ByteBuffer data)
static Network
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Network>
parser()
Network.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getForwardedPortsList
in 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:
getForwardedPortsCount
in 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:
getForwardedPorts
in 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:
getForwardedPortsBytes
in 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:
getInstanceTag
in 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:
getInstanceTagBytes
in 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:
getName
in 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:
getNameBytes
in 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:
getSubnetworkName
in 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:
getSubnetworkNameBytes
in 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:
getSessionAffinity
in interfaceNetworkOrBuilder
- Returns:
- The sessionAffinity.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Network.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Network getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-