Class BackendServiceHAPolicyLeader

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.BackendServiceHAPolicyLeader
All Implemented Interfaces:
BackendServiceHAPolicyLeaderOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class BackendServiceHAPolicyLeader extends com.google.protobuf.GeneratedMessage implements BackendServiceHAPolicyLeaderOrBuilder
 
Protobuf type google.cloud.compute.v1.BackendServiceHAPolicyLeader
See Also:
  • Field Details

    • BACKEND_GROUP_FIELD_NUMBER

      public static final int BACKEND_GROUP_FIELD_NUMBER
      See Also:
    • NETWORK_ENDPOINT_FIELD_NUMBER

      public static final int NETWORK_ENDPOINT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasBackendGroup

      public 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;
      Specified by:
      hasBackendGroup in interface BackendServiceHAPolicyLeaderOrBuilder
      Returns:
      Whether the backendGroup field is set.
    • getBackendGroup

      public 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;
      Specified by:
      getBackendGroup in interface BackendServiceHAPolicyLeaderOrBuilder
      Returns:
      The backendGroup.
    • getBackendGroupBytes

      public com.google.protobuf.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;
      Specified by:
      getBackendGroupBytes in interface BackendServiceHAPolicyLeaderOrBuilder
      Returns:
      The bytes for backendGroup.
    • hasNetworkEndpoint

      public 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;
      Specified by:
      hasNetworkEndpoint in interface BackendServiceHAPolicyLeaderOrBuilder
      Returns:
      Whether the networkEndpoint field is set.
    • getNetworkEndpoint

      public 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;
      Specified by:
      getNetworkEndpoint in interface BackendServiceHAPolicyLeaderOrBuilder
      Returns:
      The networkEndpoint.
    • getNetworkEndpointOrBuilder

      public 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;
      Specified by:
      getNetworkEndpointOrBuilder in interface BackendServiceHAPolicyLeaderOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static BackendServiceHAPolicyLeader parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BackendServiceHAPolicyLeader parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BackendServiceHAPolicyLeader parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BackendServiceHAPolicyLeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BackendServiceHAPolicyLeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BackendServiceHAPolicyLeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BackendServiceHAPolicyLeader parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BackendServiceHAPolicyLeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BackendServiceHAPolicyLeader parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BackendServiceHAPolicyLeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BackendServiceHAPolicyLeader parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BackendServiceHAPolicyLeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public BackendServiceHAPolicyLeader.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static BackendServiceHAPolicyLeader.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected BackendServiceHAPolicyLeader.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static BackendServiceHAPolicyLeader getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<BackendServiceHAPolicyLeader> parser()
    • getParserForType

      public com.google.protobuf.Parser<BackendServiceHAPolicyLeader> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public BackendServiceHAPolicyLeader getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder