Interface BackendServiceHAPolicyLeaderNetworkEndpointOrBuilder (1.74.0)

public interface BackendServiceHAPolicyLeaderNetworkEndpointOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract String getInstance()

The name of the VM instance of the leader network endpoint. The instance must already be attached to the NEG specified in the haPolicy.leader.backendGroup. The name must be 1-63 characters long, and comply with RFC1035. Authorization requires the following IAM permission on the specified resource instance: compute.instances.use

optional string instance = 18257045;

Returns
Type Description
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

The name of the VM instance of the leader network endpoint. The instance must already be attached to the NEG specified in the haPolicy.leader.backendGroup. The name must be 1-63 characters long, and comply with RFC1035. Authorization requires the following IAM permission on the specified resource instance: compute.instances.use

optional string instance = 18257045;

Returns
Type Description
ByteString

The bytes for instance.

hasInstance()

public abstract boolean hasInstance()

The name of the VM instance of the leader network endpoint. The instance must already be attached to the NEG specified in the haPolicy.leader.backendGroup. The name must be 1-63 characters long, and comply with RFC1035. Authorization requires the following IAM permission on the specified resource instance: compute.instances.use

optional string instance = 18257045;

Returns
Type Description
boolean

Whether the instance field is set.