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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Network.Builder>
public Network.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Network.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Network.Builder>
public Network getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Network build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Network buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Network.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Network.Builder>
public Network.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Network.Builder>
public Network.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Network.Builder>
public Network.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Network.Builder>
public Network.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Network.Builder>
public Network.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Network.Builder>
public Network.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Network.Builder>
public Network.Builder mergeFrom(Network other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Network.Builder>
public Network.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Network.Builder>
java.io.IOException
public 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 NetworkOrBuilder
public 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 NetworkOrBuilder
public 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 NetworkOrBuilder
public 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 NetworkOrBuilder
public 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 NetworkOrBuilder
public ByteString getInstanceTagBytes()
Tag to apply to the VM instance during creation.
string instance_tag = 2;
getInstanceTagBytes
in interface NetworkOrBuilder
public 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 NetworkOrBuilder
public 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 NetworkOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Network.Builder>
public final Network.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Network.Builder>