Interface AgentGateway.NetworkConfig.DnsPeeringConfigOrBuilder (0.50.0)

public static interface AgentGateway.NetworkConfig.DnsPeeringConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDomains(int index)

public abstract String getDomains(int index)

Required. Domain names for which DNS queries should be forwarded to the target network.

repeated string domains = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The domains at the given index.

getDomainsBytes(int index)

public abstract ByteString getDomainsBytes(int index)

Required. Domain names for which DNS queries should be forwarded to the target network.

repeated string domains = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the domains at the given index.

getDomainsCount()

public abstract int getDomainsCount()

Required. Domain names for which DNS queries should be forwarded to the target network.

repeated string domains = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of domains.

getDomainsList()

public abstract List<String> getDomainsList()

Required. Domain names for which DNS queries should be forwarded to the target network.

repeated string domains = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the domains.

getTargetNetwork()

public abstract String getTargetNetwork()

Required. Target network in 'target project' to which DNS queries should be forwarded to. Must be in format of projects/{project}/global/networks/{network}.

string target_network = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The targetNetwork.

getTargetNetworkBytes()

public abstract ByteString getTargetNetworkBytes()

Required. Target network in 'target project' to which DNS queries should be forwarded to. Must be in format of projects/{project}/global/networks/{network}.

string target_network = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for targetNetwork.

getTargetProject()

public abstract String getTargetProject()

Required. Target project ID to which DNS queries should be forwarded to. This can be the same project that contains the AgentGateway or a different project.

string target_project = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The targetProject.

getTargetProjectBytes()

public abstract ByteString getTargetProjectBytes()

Required. Target project ID to which DNS queries should be forwarded to. This can be the same project that contains the AgentGateway or a different project.

string target_project = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for targetProject.