Class NetworkingConfig.Builder (1.85.0)

public static final class NetworkingConfig.Builder extends GeneratedMessage.Builder<NetworkingConfig.Builder> implements NetworkingConfigOrBuilder

Configuration options for networking connections in the Composer 2 environment.

Protobuf type google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig

Static Methods

getDescriptor()

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

Methods

build()

public NetworkingConfig build()
Returns
Type Description
NetworkingConfig

buildPartial()

public NetworkingConfig buildPartial()
Returns
Type Description
NetworkingConfig

clear()

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

clearConnectionType()

public NetworkingConfig.Builder clearConnectionType()

Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment.

.google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig.ConnectionType connection_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NetworkingConfig.Builder

This builder for chaining.

getConnectionType()

public NetworkingConfig.ConnectionType getConnectionType()

Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment.

.google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig.ConnectionType connection_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NetworkingConfig.ConnectionType

The connectionType.

getConnectionTypeValue()

public int getConnectionTypeValue()

Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment.

.google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig.ConnectionType connection_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for connectionType.

getDefaultInstanceForType()

public NetworkingConfig getDefaultInstanceForType()
Returns
Type Description
NetworkingConfig

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkingConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setConnectionType(NetworkingConfig.ConnectionType value)

public NetworkingConfig.Builder setConnectionType(NetworkingConfig.ConnectionType value)

Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment.

.google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig.ConnectionType connection_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NetworkingConfig.ConnectionType

The connectionType to set.

Returns
Type Description
NetworkingConfig.Builder

This builder for chaining.

setConnectionTypeValue(int value)

public NetworkingConfig.Builder setConnectionTypeValue(int value)

Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment.

.google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig.ConnectionType connection_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
NetworkingConfig.Builder

This builder for chaining.