public static final class Network.Builder extends GeneratedMessageV3.Builder<Network.Builder> implements NetworkOrBuilder
Extra network settings. Only applicable for VM runtimes.Protobuf type
google.appengine.v1.Network| Modifier and Type | Method and Description |
|---|---|
Network.Builder |
addAllForwardedPorts(java.lang.Iterable<java.lang.String> values)
List of ports, or port pairs, to forward from the virtual machine to the
application container.
|
Network.Builder |
addForwardedPorts(java.lang.String value)
List of ports, or port pairs, to forward from the virtual machine to the
application container.
|
Network.Builder |
addForwardedPortsBytes(ByteString value)
List of ports, or port pairs, to forward from the virtual machine to the
application container.
|
Network.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Network |
build() |
Network |
buildPartial() |
Network.Builder |
clear() |
Network.Builder |
clearField(Descriptors.FieldDescriptor field) |
Network.Builder |
clearForwardedPorts()
List of ports, or port pairs, to forward from the virtual machine to the
application container.
|
Network.Builder |
clearInstanceTag()
Tag to apply to the VM instance during creation.
|
Network.Builder |
clearName()
Google Cloud Platform network where the virtual machines are created.
|
Network.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Network.Builder |
clone() |
Network |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getForwardedPorts(int index)
List of ports, or port pairs, to forward from the virtual machine to the
application container.
|
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.
|
ProtocolStringList |
getForwardedPortsList()
List of ports, or port pairs, to forward from the virtual machine to the
application container.
|
java.lang.String |
getInstanceTag()
Tag to apply to the VM instance during creation.
|
ByteString |
getInstanceTagBytes()
Tag to apply to the VM instance during creation.
|
java.lang.String |
getName()
Google Cloud Platform network where the virtual machines are created.
|
ByteString |
getNameBytes()
Google Cloud Platform network where the virtual machines are created.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Network.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Network.Builder |
mergeFrom(Message other) |
Network.Builder |
mergeFrom(Network other) |
Network.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Network.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Network.Builder |
setForwardedPorts(int index,
java.lang.String value)
List of ports, or port pairs, to forward from the virtual machine to the
application container.
|
Network.Builder |
setInstanceTag(java.lang.String value)
Tag to apply to the VM instance during creation.
|
Network.Builder |
setInstanceTagBytes(ByteString value)
Tag to apply to the VM instance during creation.
|
Network.Builder |
setName(java.lang.String value)
Google Cloud Platform network where the virtual machines are created.
|
Network.Builder |
setNameBytes(ByteString value)
Google Cloud Platform network where the virtual machines are created.
|
Network.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Network.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<Network.Builder>public Network.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Network.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Network.Builder>public Network getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Network build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Network buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Network.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Network.Builder>public Network.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Network.Builder>public Network.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Network.Builder>public Network.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Network.Builder>public Network.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Network.Builder>public Network.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Network.Builder>public Network.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Network.Builder>public Network.Builder mergeFrom(Network other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Network.Builder>public Network.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Network.Builder>java.io.IOExceptionpublic ProtocolStringList getForwardedPortsList()
List of ports, or port pairs, to forward from the virtual machine to the application container.
repeated string forwarded_ports = 1;getForwardedPortsList in interface NetworkOrBuilderpublic int getForwardedPortsCount()
List of ports, or port pairs, to forward from the virtual machine to the application container.
repeated string forwarded_ports = 1;getForwardedPortsCount in interface NetworkOrBuilderpublic java.lang.String getForwardedPorts(int index)
List of ports, or port pairs, to forward from the virtual machine to the application container.
repeated string forwarded_ports = 1;getForwardedPorts in interface NetworkOrBuilderpublic ByteString getForwardedPortsBytes(int index)
List of ports, or port pairs, to forward from the virtual machine to the application container.
repeated string forwarded_ports = 1;getForwardedPortsBytes in interface NetworkOrBuilderpublic Network.Builder setForwardedPorts(int index, java.lang.String value)
List of ports, or port pairs, to forward from the virtual machine to the application container.
repeated string forwarded_ports = 1;public Network.Builder addForwardedPorts(java.lang.String value)
List of ports, or port pairs, to forward from the virtual machine to the application container.
repeated string forwarded_ports = 1;public Network.Builder addAllForwardedPorts(java.lang.Iterable<java.lang.String> values)
List of ports, or port pairs, to forward from the virtual machine to the application container.
repeated string forwarded_ports = 1;public Network.Builder clearForwardedPorts()
List of ports, or port pairs, to forward from the virtual machine to the application container.
repeated string forwarded_ports = 1;public Network.Builder addForwardedPortsBytes(ByteString value)
List of ports, or port pairs, to forward from the virtual machine to the application container.
repeated string forwarded_ports = 1;public java.lang.String getInstanceTag()
Tag to apply to the VM instance during creation.
string instance_tag = 2;getInstanceTag in interface NetworkOrBuilderpublic ByteString getInstanceTagBytes()
Tag to apply to the VM instance during creation.
string instance_tag = 2;getInstanceTagBytes in interface NetworkOrBuilderpublic Network.Builder setInstanceTag(java.lang.String value)
Tag to apply to the VM instance during creation.
string instance_tag = 2;public Network.Builder clearInstanceTag()
Tag to apply to the VM instance during creation.
string instance_tag = 2;public Network.Builder setInstanceTagBytes(ByteString value)
Tag to apply to the VM instance during creation.
string instance_tag = 2;public java.lang.String getName()
Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path. Defaults to `default`.
string name = 3;getName in interface NetworkOrBuilderpublic ByteString getNameBytes()
Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path. Defaults to `default`.
string name = 3;getNameBytes in interface NetworkOrBuilderpublic Network.Builder setName(java.lang.String value)
Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path. Defaults to `default`.
string name = 3;public Network.Builder clearName()
Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path. Defaults to `default`.
string name = 3;public Network.Builder setNameBytes(ByteString value)
Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path. Defaults to `default`.
string name = 3;public final Network.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Network.Builder>public final Network.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Network.Builder>