Interface BackendServiceHAPolicyLeaderNetworkEndpointOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BackendServiceHAPolicyLeaderNetworkEndpoint, BackendServiceHAPolicyLeaderNetworkEndpoint.Builder

@Generated public interface BackendServiceHAPolicyLeaderNetworkEndpointOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the VM instance of the leader network endpoint.
    com.google.protobuf.ByteString
    The name of the VM instance of the leader network endpoint.
    boolean
    The name of the VM instance of the leader network endpoint.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasInstance

      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:
      Whether the instance field is set.
    • getInstance

      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:
      The instance.
    • getInstanceBytes

      com.google.protobuf.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:
      The bytes for instance.