Class AgentGateway.NetworkConfig (0.50.0)

public static final class AgentGateway.NetworkConfig extends GeneratedMessage implements AgentGateway.NetworkConfigOrBuilder

NetworkConfig contains network configurations for the AgentGateway.

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

Static Fields

DNS_PEERING_CONFIG_FIELD_NUMBER

public static final int DNS_PEERING_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

EGRESS_FIELD_NUMBER

public static final int EGRESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AgentGateway.NetworkConfig getDefaultInstance()
Returns
Type Description
AgentGateway.NetworkConfig

getDescriptor()

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

newBuilder()

public static AgentGateway.NetworkConfig.Builder newBuilder()
Returns
Type Description
AgentGateway.NetworkConfig.Builder

newBuilder(AgentGateway.NetworkConfig prototype)

public static AgentGateway.NetworkConfig.Builder newBuilder(AgentGateway.NetworkConfig prototype)
Parameter
Name Description
prototype AgentGateway.NetworkConfig
Returns
Type Description
AgentGateway.NetworkConfig.Builder

parseDelimitedFrom(InputStream input)

public static AgentGateway.NetworkConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentGateway.NetworkConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentGateway.NetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentGateway.NetworkConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AgentGateway.NetworkConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AgentGateway.NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AgentGateway.NetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentGateway.NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AgentGateway.NetworkConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AgentGateway.NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AgentGateway.NetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentGateway.NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AgentGateway.NetworkConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AgentGateway.NetworkConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentGateway.NetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentGateway.NetworkConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AgentGateway.NetworkConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentGateway.NetworkConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentGateway.NetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentGateway.NetworkConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AgentGateway.NetworkConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AgentGateway.NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AgentGateway.NetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentGateway.NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AgentGateway.NetworkConfig> parser()
Returns
Type Description
Parser<NetworkConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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.

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

getParserForType()

public Parser<AgentGateway.NetworkConfig> getParserForType()
Returns
Type Description
Parser<NetworkConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AgentGateway.NetworkConfig.Builder newBuilderForType()
Returns
Type Description
AgentGateway.NetworkConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AgentGateway.NetworkConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AgentGateway.NetworkConfig.Builder
Overrides

toBuilder()

public AgentGateway.NetworkConfig.Builder toBuilder()
Returns
Type Description
AgentGateway.NetworkConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException