Class AgentGateway.NetworkConfig.Egress.Builder (0.50.0)

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

Configuration for Egress

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearNetworkAttachment()

public AgentGateway.NetworkConfig.Egress.Builder clearNetworkAttachment()

Optional. The URI of the Network Attachment resource.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGateway.NetworkConfig.Egress.Builder

This builder for chaining.

clearTrustConfig()

public AgentGateway.NetworkConfig.Egress.Builder clearTrustConfig()

Optional. TrustConfig defines the trust configuration for egress.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress.TrustConfig trust_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGateway.NetworkConfig.Egress.Builder

getDefaultInstanceForType()

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

getDescriptorForType()

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

getNetworkAttachment()

public String getNetworkAttachment()

Optional. The URI of the Network Attachment resource.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The networkAttachment.

getNetworkAttachmentBytes()

public ByteString getNetworkAttachmentBytes()

Optional. The URI of the Network Attachment resource.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for networkAttachment.

getTrustConfig()

public AgentGateway.NetworkConfig.Egress.TrustConfig getTrustConfig()

Optional. TrustConfig defines the trust configuration for egress.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress.TrustConfig trust_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGateway.NetworkConfig.Egress.TrustConfig

The trustConfig.

getTrustConfigBuilder()

public AgentGateway.NetworkConfig.Egress.TrustConfig.Builder getTrustConfigBuilder()

Optional. TrustConfig defines the trust configuration for egress.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress.TrustConfig trust_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGateway.NetworkConfig.Egress.TrustConfig.Builder

getTrustConfigOrBuilder()

public AgentGateway.NetworkConfig.Egress.TrustConfigOrBuilder getTrustConfigOrBuilder()

Optional. TrustConfig defines the trust configuration for egress.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress.TrustConfig trust_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGateway.NetworkConfig.Egress.TrustConfigOrBuilder

hasTrustConfig()

public boolean hasTrustConfig()

Optional. TrustConfig defines the trust configuration for egress.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress.TrustConfig trust_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the trustConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AgentGateway.NetworkConfig.Egress other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTrustConfig(AgentGateway.NetworkConfig.Egress.TrustConfig value)

public AgentGateway.NetworkConfig.Egress.Builder mergeTrustConfig(AgentGateway.NetworkConfig.Egress.TrustConfig value)

Optional. TrustConfig defines the trust configuration for egress.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress.TrustConfig trust_config = 2 [(.google.api.field_behavior) = OPTIONAL];

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

setNetworkAttachment(String value)

public AgentGateway.NetworkConfig.Egress.Builder setNetworkAttachment(String value)

Optional. The URI of the Network Attachment resource.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The networkAttachment to set.

Returns
Type Description
AgentGateway.NetworkConfig.Egress.Builder

This builder for chaining.

setNetworkAttachmentBytes(ByteString value)

public AgentGateway.NetworkConfig.Egress.Builder setNetworkAttachmentBytes(ByteString value)

Optional. The URI of the Network Attachment resource.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for networkAttachment to set.

Returns
Type Description
AgentGateway.NetworkConfig.Egress.Builder

This builder for chaining.

setTrustConfig(AgentGateway.NetworkConfig.Egress.TrustConfig value)

public AgentGateway.NetworkConfig.Egress.Builder setTrustConfig(AgentGateway.NetworkConfig.Egress.TrustConfig value)

Optional. TrustConfig defines the trust configuration for egress.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress.TrustConfig trust_config = 2 [(.google.api.field_behavior) = OPTIONAL];

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

setTrustConfig(AgentGateway.NetworkConfig.Egress.TrustConfig.Builder builderForValue)

public AgentGateway.NetworkConfig.Egress.Builder setTrustConfig(AgentGateway.NetworkConfig.Egress.TrustConfig.Builder builderForValue)

Optional. TrustConfig defines the trust configuration for egress.

.google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress.TrustConfig trust_config = 2 [(.google.api.field_behavior) = OPTIONAL];

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