public static interface DnsForwarding.ForwardingRuleOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDomain()
public abstract String getDomain() Required. Domain used to resolve a name_servers list.
string domain = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The domain. |
getDomainBytes()
public abstract ByteString getDomainBytes() Required. Domain used to resolve a name_servers list.
string domain = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for domain. |
getNameServers(int index)
public abstract String getNameServers(int index)Required. List of DNS servers to use for domain resolution
repeated string name_servers = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The nameServers at the given index. |
getNameServersBytes(int index)
public abstract ByteString getNameServersBytes(int index)Required. List of DNS servers to use for domain resolution
repeated string name_servers = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the nameServers at the given index. |
getNameServersCount()
public abstract int getNameServersCount()Required. List of DNS servers to use for domain resolution
repeated string name_servers = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of nameServers. |
getNameServersList()
public abstract List<String> getNameServersList()Required. List of DNS servers to use for domain resolution
repeated string name_servers = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the nameServers. |