# Interface LoadBalancerBackendOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder)

    public interface LoadBalancerBackendOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getDisplayName()

    public abstract String getDisplayName()

Name of a Compute Engine instance or network endpoint.

`string display_name = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The displayName. |

### getDisplayNameBytes()

    public abstract ByteString getDisplayNameBytes()

Name of a Compute Engine instance or network endpoint.

`string display_name = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for displayName. |

### getHealthCheckAllowingFirewallRules(int index)

    public abstract String getHealthCheckAllowingFirewallRules(int index)

A list of firewall rule URIs allowing probes from health check IP ranges.

`repeated string health_check_allowing_firewall_rules = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The healthCheckAllowingFirewallRules at the given index. |

### getHealthCheckAllowingFirewallRulesBytes(int index)

    public abstract ByteString getHealthCheckAllowingFirewallRulesBytes(int index)

A list of firewall rule URIs allowing probes from health check IP ranges.

`repeated string health_check_allowing_firewall_rules = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the healthCheckAllowingFirewallRules at the given index. |

### getHealthCheckAllowingFirewallRulesCount()

    public abstract int getHealthCheckAllowingFirewallRulesCount()

A list of firewall rule URIs allowing probes from health check IP ranges.

`repeated string health_check_allowing_firewall_rules = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of healthCheckAllowingFirewallRules. |

### getHealthCheckAllowingFirewallRulesList()

    public abstract List<String> getHealthCheckAllowingFirewallRulesList()

A list of firewall rule URIs allowing probes from health check IP ranges.

`repeated string health_check_allowing_firewall_rules = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the healthCheckAllowingFirewallRules. |

### getHealthCheckBlockingFirewallRules(int index)

    public abstract String getHealthCheckBlockingFirewallRules(int index)

A list of firewall rule URIs blocking probes from health check IP ranges.

`repeated string health_check_blocking_firewall_rules = 5;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The healthCheckBlockingFirewallRules at the given index. |

### getHealthCheckBlockingFirewallRulesBytes(int index)

    public abstract ByteString getHealthCheckBlockingFirewallRulesBytes(int index)

A list of firewall rule URIs blocking probes from health check IP ranges.

`repeated string health_check_blocking_firewall_rules = 5;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the healthCheckBlockingFirewallRules at the given index. |

### getHealthCheckBlockingFirewallRulesCount()

    public abstract int getHealthCheckBlockingFirewallRulesCount()

A list of firewall rule URIs blocking probes from health check IP ranges.

`repeated string health_check_blocking_firewall_rules = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of healthCheckBlockingFirewallRules. |

### getHealthCheckBlockingFirewallRulesList()

    public abstract List<String> getHealthCheckBlockingFirewallRulesList()

A list of firewall rule URIs blocking probes from health check IP ranges.

`repeated string health_check_blocking_firewall_rules = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the healthCheckBlockingFirewallRules. |

### getHealthCheckFirewallState()

    public abstract LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState()

State of the health check firewall configuration.

`
.google.events.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState` | The healthCheckFirewallState. |

### getHealthCheckFirewallStateValue()

    public abstract int getHealthCheckFirewallStateValue()

State of the health check firewall configuration.

`
.google.events.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for healthCheckFirewallState. |

### getUri()

    public abstract String getUri()

URI of a Compute Engine instance or network endpoint.

`string uri = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The uri. |

### getUriBytes()

    public abstract ByteString getUriBytes()

URI of a Compute Engine instance or network endpoint.

`string uri = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for uri. |