Class NetworkSettings.Builder (2.41.0)

public static final class NetworkSettings.Builder extends GeneratedMessageV3.Builder<NetworkSettings.Builder> implements NetworkSettingsOrBuilder

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

Protobuf type google.appengine.v1.NetworkSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NetworkSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworkSettings.Builder
Overrides

build()

public NetworkSettings build()
Returns
Type Description
NetworkSettings

buildPartial()

public NetworkSettings buildPartial()
Returns
Type Description
NetworkSettings

clear()

public NetworkSettings.Builder clear()
Returns
Type Description
NetworkSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NetworkSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NetworkSettings.Builder
Overrides

clearIngressTrafficAllowed()

public NetworkSettings.Builder clearIngressTrafficAllowed()

The ingress settings for version or service.

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

Returns
Type Description
NetworkSettings.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworkSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NetworkSettings.Builder
Overrides

clone()

public NetworkSettings.Builder clone()
Returns
Type Description
NetworkSettings.Builder
Overrides

getDefaultInstanceForType()

public NetworkSettings getDefaultInstanceForType()
Returns
Type Description
NetworkSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIngressTrafficAllowed()

public NetworkSettings.IngressTrafficAllowed getIngressTrafficAllowed()

The ingress settings for version or service.

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

Returns
Type Description
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
Type Description
int

The enum numeric value on the wire for ingressTrafficAllowed.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkSettings other)

public NetworkSettings.Builder mergeFrom(NetworkSettings other)
Parameter
Name Description
other NetworkSettings
Returns
Type Description
NetworkSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworkSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NetworkSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NetworkSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworkSettings.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworkSettings.Builder
Overrides

setIngressTrafficAllowed(NetworkSettings.IngressTrafficAllowed value)

public NetworkSettings.Builder setIngressTrafficAllowed(NetworkSettings.IngressTrafficAllowed value)

The ingress settings for version or service.

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

Parameter
Name Description
value NetworkSettings.IngressTrafficAllowed

The ingressTrafficAllowed to set.

Returns
Type Description
NetworkSettings.Builder

This builder for chaining.

setIngressTrafficAllowedValue(int value)

public NetworkSettings.Builder setIngressTrafficAllowedValue(int value)

The ingress settings for version or service.

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

Parameter
Name Description
value int

The enum numeric value on the wire for ingressTrafficAllowed to set.

Returns
Type Description
NetworkSettings.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NetworkSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NetworkSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworkSettings.Builder
Overrides