Class NetworkSettings (2.36.0)

public final class NetworkSettings extends GeneratedMessageV3 implements NetworkSettingsOrBuilder

A NetworkSettings resource is a container for ingress settings for a version or service.

Protobuf type google.appengine.v1.NetworkSettings

Static Fields

INGRESS_TRAFFIC_ALLOWED_FIELD_NUMBER

public static final int INGRESS_TRAFFIC_ALLOWED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NetworkSettings getDefaultInstance()
Returns
TypeDescription
NetworkSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NetworkSettings.Builder newBuilder()
Returns
TypeDescription
NetworkSettings.Builder

newBuilder(NetworkSettings prototype)

public static NetworkSettings.Builder newBuilder(NetworkSettings prototype)
Parameter
NameDescription
prototypeNetworkSettings
Returns
TypeDescription
NetworkSettings.Builder

parseDelimitedFrom(InputStream input)

public static NetworkSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NetworkSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NetworkSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NetworkSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NetworkSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NetworkSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NetworkSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NetworkSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NetworkSettings> parser()
Returns
TypeDescription
Parser<NetworkSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public NetworkSettings getDefaultInstanceForType()
Returns
TypeDescription
NetworkSettings

getIngressTrafficAllowed()

public NetworkSettings.IngressTrafficAllowed getIngressTrafficAllowed()

The ingress settings for version or service.

.google.appengine.v1.NetworkSettings.IngressTrafficAllowed ingress_traffic_allowed = 1;

Returns
TypeDescription
NetworkSettings.IngressTrafficAllowed

The ingressTrafficAllowed.

getIngressTrafficAllowedValue()

public int getIngressTrafficAllowedValue()

The ingress settings for version or service.

.google.appengine.v1.NetworkSettings.IngressTrafficAllowed ingress_traffic_allowed = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for ingressTrafficAllowed.

getParserForType()

public Parser<NetworkSettings> getParserForType()
Returns
TypeDescription
Parser<NetworkSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NetworkSettings.Builder newBuilderForType()
Returns
TypeDescription
NetworkSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NetworkSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NetworkSettings.Builder toBuilder()
Returns
TypeDescription
NetworkSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException