Class NetworkingConfig.Builder (1.18.0)

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

Configuration options for networking connections in the Composer 2 environment.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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 specifc connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment.

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

Returns
Type Description
NetworkingConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConnectionType()

public NetworkingConfig.ConnectionType getConnectionType()

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

.google.cloud.orchestration.airflow.service.v1.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 specifc connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment.

.google.cloud.orchestration.airflow.service.v1.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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConnectionType(NetworkingConfig.ConnectionType value)

public NetworkingConfig.Builder setConnectionType(NetworkingConfig.ConnectionType value)

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

.google.cloud.orchestration.airflow.service.v1.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 specifc connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment.

.google.cloud.orchestration.airflow.service.v1.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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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