Interface BackendServiceHAPolicyLeaderOrBuilder (1.74.0)

public interface BackendServiceHAPolicyLeaderOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackendGroup()

public abstract String getBackendGroup()

A fully-qualified URL (starting with https://www.googleapis.com/) of the zonal Network Endpoint Group (NEG) with GCE_VM_IP endpoints that the leader is attached to. The leader's backendGroup must already be specified as a backend of this backend service. Removing a backend that is designated as the leader's backendGroup is not permitted.

optional string backend_group = 457777428;

Returns
Type Description
String

The backendGroup.

getBackendGroupBytes()

public abstract ByteString getBackendGroupBytes()

A fully-qualified URL (starting with https://www.googleapis.com/) of the zonal Network Endpoint Group (NEG) with GCE_VM_IP endpoints that the leader is attached to. The leader's backendGroup must already be specified as a backend of this backend service. Removing a backend that is designated as the leader's backendGroup is not permitted.

optional string backend_group = 457777428;

Returns
Type Description
ByteString

The bytes for backendGroup.

getNetworkEndpoint()

public abstract BackendServiceHAPolicyLeaderNetworkEndpoint getNetworkEndpoint()

The network endpoint within the leader.backendGroup that is designated as the leader. This network endpoint cannot be detached from the NEG specified in the haPolicy.leader.backendGroup until the leader is updated with another network endpoint, or the leader is removed from the haPolicy.

optional .google.cloud.compute.v1.BackendServiceHAPolicyLeaderNetworkEndpoint network_endpoint = 56789126;

Returns
Type Description
BackendServiceHAPolicyLeaderNetworkEndpoint

The networkEndpoint.

getNetworkEndpointOrBuilder()

public abstract BackendServiceHAPolicyLeaderNetworkEndpointOrBuilder getNetworkEndpointOrBuilder()

The network endpoint within the leader.backendGroup that is designated as the leader. This network endpoint cannot be detached from the NEG specified in the haPolicy.leader.backendGroup until the leader is updated with another network endpoint, or the leader is removed from the haPolicy.

optional .google.cloud.compute.v1.BackendServiceHAPolicyLeaderNetworkEndpoint network_endpoint = 56789126;

Returns
Type Description
BackendServiceHAPolicyLeaderNetworkEndpointOrBuilder

hasBackendGroup()

public abstract boolean hasBackendGroup()

A fully-qualified URL (starting with https://www.googleapis.com/) of the zonal Network Endpoint Group (NEG) with GCE_VM_IP endpoints that the leader is attached to. The leader's backendGroup must already be specified as a backend of this backend service. Removing a backend that is designated as the leader's backendGroup is not permitted.

optional string backend_group = 457777428;

Returns
Type Description
boolean

Whether the backendGroup field is set.

hasNetworkEndpoint()

public abstract boolean hasNetworkEndpoint()

The network endpoint within the leader.backendGroup that is designated as the leader. This network endpoint cannot be detached from the NEG specified in the haPolicy.leader.backendGroup until the leader is updated with another network endpoint, or the leader is removed from the haPolicy.

optional .google.cloud.compute.v1.BackendServiceHAPolicyLeaderNetworkEndpoint network_endpoint = 56789126;

Returns
Type Description
boolean

Whether the networkEndpoint field is set.