Class NetworkSettings.Builder (2.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NetworkSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NetworkSettings.Builder
Overrides

build()

public NetworkSettings build()
Returns
TypeDescription
NetworkSettings

buildPartial()

public NetworkSettings buildPartial()
Returns
TypeDescription
NetworkSettings

clear()

public NetworkSettings.Builder clear()
Returns
TypeDescription
NetworkSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NetworkSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
NetworkSettings.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworkSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NetworkSettings.Builder
Overrides

clone()

public NetworkSettings.Builder clone()
Returns
TypeDescription
NetworkSettings.Builder
Overrides

getDefaultInstanceForType()

public NetworkSettings getDefaultInstanceForType()
Returns
TypeDescription
NetworkSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NetworkSettings other)

public NetworkSettings.Builder mergeFrom(NetworkSettings other)
Parameter
NameDescription
otherNetworkSettings
Returns
TypeDescription
NetworkSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworkSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkSettings.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NetworkSettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NetworkSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkSettings.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueNetworkSettings.IngressTrafficAllowed

The ingressTrafficAllowed to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NetworkSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkSettings.Builder
Overrides