Class AgentGateway.NetworkConfig.Builder (0.50.0)

public static final class AgentGateway.NetworkConfig.Builder extends GeneratedMessage.Builder<AgentGateway.NetworkConfig.Builder> implements AgentGateway.NetworkConfigOrBuilder

NetworkConfig contains network configurations for the AgentGateway.

Protobuf type google.cloud.networkservices.v1.AgentGateway.NetworkConfig

Static Methods

getDescriptor()

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

Methods

build()

public AgentGateway.NetworkConfig build()
Returns
Type Description
AgentGateway.NetworkConfig

buildPartial()

public AgentGateway.NetworkConfig buildPartial()
Returns
Type Description
AgentGateway.NetworkConfig

clear()

public AgentGateway.NetworkConfig.Builder clear()
Returns
Type Description
AgentGateway.NetworkConfig.Builder
Overrides

clearDnsPeeringConfig()

public AgentGateway.NetworkConfig.Builder clearDnsPeeringConfig()

Optional. Optional DNS peering configuration for connectivity to your private VPC network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.DnsPeeringConfig dns_peering_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGateway.NetworkConfig.Builder

clearEgress()

public AgentGateway.NetworkConfig.Builder clearEgress()

Optional. Optional PSC-Interface network attachment for connectivity to your private VPCs network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress egress = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGateway.NetworkConfig.Builder

getDefaultInstanceForType()

public AgentGateway.NetworkConfig getDefaultInstanceForType()
Returns
Type Description
AgentGateway.NetworkConfig

getDescriptorForType()

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

getDnsPeeringConfig()

public AgentGateway.NetworkConfig.DnsPeeringConfig getDnsPeeringConfig()

Optional. Optional DNS peering configuration for connectivity to your private VPC network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.DnsPeeringConfig dns_peering_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGateway.NetworkConfig.DnsPeeringConfig

The dnsPeeringConfig.

getDnsPeeringConfigBuilder()

public AgentGateway.NetworkConfig.DnsPeeringConfig.Builder getDnsPeeringConfigBuilder()

Optional. Optional DNS peering configuration for connectivity to your private VPC network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.DnsPeeringConfig dns_peering_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGateway.NetworkConfig.DnsPeeringConfig.Builder

getDnsPeeringConfigOrBuilder()

public AgentGateway.NetworkConfig.DnsPeeringConfigOrBuilder getDnsPeeringConfigOrBuilder()

Optional. Optional DNS peering configuration for connectivity to your private VPC network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.DnsPeeringConfig dns_peering_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGateway.NetworkConfig.DnsPeeringConfigOrBuilder

getEgress()

public AgentGateway.NetworkConfig.Egress getEgress()

Optional. Optional PSC-Interface network attachment for connectivity to your private VPCs network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress egress = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGateway.NetworkConfig.Egress

The egress.

getEgressBuilder()

public AgentGateway.NetworkConfig.Egress.Builder getEgressBuilder()

Optional. Optional PSC-Interface network attachment for connectivity to your private VPCs network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress egress = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGateway.NetworkConfig.Egress.Builder

getEgressOrBuilder()

public AgentGateway.NetworkConfig.EgressOrBuilder getEgressOrBuilder()

Optional. Optional PSC-Interface network attachment for connectivity to your private VPCs network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress egress = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGateway.NetworkConfig.EgressOrBuilder

hasDnsPeeringConfig()

public boolean hasDnsPeeringConfig()

Optional. Optional DNS peering configuration for connectivity to your private VPC network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.DnsPeeringConfig dns_peering_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dnsPeeringConfig field is set.

hasEgress()

public boolean hasEgress()

Optional. Optional PSC-Interface network attachment for connectivity to your private VPCs network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress egress = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the egress field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDnsPeeringConfig(AgentGateway.NetworkConfig.DnsPeeringConfig value)

public AgentGateway.NetworkConfig.Builder mergeDnsPeeringConfig(AgentGateway.NetworkConfig.DnsPeeringConfig value)

Optional. Optional DNS peering configuration for connectivity to your private VPC network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.DnsPeeringConfig dns_peering_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AgentGateway.NetworkConfig.DnsPeeringConfig
Returns
Type Description
AgentGateway.NetworkConfig.Builder

mergeEgress(AgentGateway.NetworkConfig.Egress value)

public AgentGateway.NetworkConfig.Builder mergeEgress(AgentGateway.NetworkConfig.Egress value)

Optional. Optional PSC-Interface network attachment for connectivity to your private VPCs network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress egress = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AgentGateway.NetworkConfig.Egress
Returns
Type Description
AgentGateway.NetworkConfig.Builder

mergeFrom(AgentGateway.NetworkConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDnsPeeringConfig(AgentGateway.NetworkConfig.DnsPeeringConfig value)

public AgentGateway.NetworkConfig.Builder setDnsPeeringConfig(AgentGateway.NetworkConfig.DnsPeeringConfig value)

Optional. Optional DNS peering configuration for connectivity to your private VPC network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.DnsPeeringConfig dns_peering_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AgentGateway.NetworkConfig.DnsPeeringConfig
Returns
Type Description
AgentGateway.NetworkConfig.Builder

setDnsPeeringConfig(AgentGateway.NetworkConfig.DnsPeeringConfig.Builder builderForValue)

public AgentGateway.NetworkConfig.Builder setDnsPeeringConfig(AgentGateway.NetworkConfig.DnsPeeringConfig.Builder builderForValue)

Optional. Optional DNS peering configuration for connectivity to your private VPC network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.DnsPeeringConfig dns_peering_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AgentGateway.NetworkConfig.DnsPeeringConfig.Builder
Returns
Type Description
AgentGateway.NetworkConfig.Builder

setEgress(AgentGateway.NetworkConfig.Egress value)

public AgentGateway.NetworkConfig.Builder setEgress(AgentGateway.NetworkConfig.Egress value)

Optional. Optional PSC-Interface network attachment for connectivity to your private VPCs network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress egress = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AgentGateway.NetworkConfig.Egress
Returns
Type Description
AgentGateway.NetworkConfig.Builder

setEgress(AgentGateway.NetworkConfig.Egress.Builder builderForValue)

public AgentGateway.NetworkConfig.Builder setEgress(AgentGateway.NetworkConfig.Egress.Builder builderForValue)

Optional. Optional PSC-Interface network attachment for connectivity to your private VPCs network.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress egress = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AgentGateway.NetworkConfig.Egress.Builder
Returns
Type Description
AgentGateway.NetworkConfig.Builder