Class HealthStatusForNetworkEndpoint.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HealthStatusForNetworkEndpoint.Builder>
com.google.cloud.compute.v1.HealthStatusForNetworkEndpoint.Builder
All Implemented Interfaces:
HealthStatusForNetworkEndpointOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
HealthStatusForNetworkEndpoint

public static final class HealthStatusForNetworkEndpoint.Builder extends com.google.protobuf.GeneratedMessage.Builder<HealthStatusForNetworkEndpoint.Builder> implements HealthStatusForNetworkEndpointOrBuilder
 
Protobuf type google.cloud.compute.v1.HealthStatusForNetworkEndpoint
  • 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.Builder<HealthStatusForNetworkEndpoint.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<HealthStatusForNetworkEndpoint.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<HealthStatusForNetworkEndpoint.Builder>
    • getDefaultInstanceForType

      public HealthStatusForNetworkEndpoint getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public HealthStatusForNetworkEndpoint buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public HealthStatusForNetworkEndpoint.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthStatusForNetworkEndpoint.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<HealthStatusForNetworkEndpoint.Builder>
    • mergeFrom

      public HealthStatusForNetworkEndpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthStatusForNetworkEndpoint.Builder>
      Throws:
      IOException
    • hasBackendService

      public boolean hasBackendService()
       URL of the backend service associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.BackendServiceReference backend_service = 306946058;
      Specified by:
      hasBackendService in interface HealthStatusForNetworkEndpointOrBuilder
      Returns:
      Whether the backendService field is set.
    • getBackendService

      public BackendServiceReference getBackendService()
       URL of the backend service associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.BackendServiceReference backend_service = 306946058;
      Specified by:
      getBackendService in interface HealthStatusForNetworkEndpointOrBuilder
      Returns:
      The backendService.
    • setBackendService

       URL of the backend service associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.BackendServiceReference backend_service = 306946058;
    • setBackendService

      public HealthStatusForNetworkEndpoint.Builder setBackendService(BackendServiceReference.Builder builderForValue)
       URL of the backend service associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.BackendServiceReference backend_service = 306946058;
    • mergeBackendService

       URL of the backend service associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.BackendServiceReference backend_service = 306946058;
    • clearBackendService

      public HealthStatusForNetworkEndpoint.Builder clearBackendService()
       URL of the backend service associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.BackendServiceReference backend_service = 306946058;
    • getBackendServiceBuilder

      public BackendServiceReference.Builder getBackendServiceBuilder()
       URL of the backend service associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.BackendServiceReference backend_service = 306946058;
    • getBackendServiceOrBuilder

      public BackendServiceReferenceOrBuilder getBackendServiceOrBuilder()
       URL of the backend service associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.BackendServiceReference backend_service = 306946058;
      Specified by:
      getBackendServiceOrBuilder in interface HealthStatusForNetworkEndpointOrBuilder
    • hasForwardingRule

      public boolean hasForwardingRule()
       URL of the forwarding rule associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.ForwardingRuleReference forwarding_rule = 269964030;
      Specified by:
      hasForwardingRule in interface HealthStatusForNetworkEndpointOrBuilder
      Returns:
      Whether the forwardingRule field is set.
    • getForwardingRule

      public ForwardingRuleReference getForwardingRule()
       URL of the forwarding rule associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.ForwardingRuleReference forwarding_rule = 269964030;
      Specified by:
      getForwardingRule in interface HealthStatusForNetworkEndpointOrBuilder
      Returns:
      The forwardingRule.
    • setForwardingRule

       URL of the forwarding rule associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.ForwardingRuleReference forwarding_rule = 269964030;
    • setForwardingRule

      public HealthStatusForNetworkEndpoint.Builder setForwardingRule(ForwardingRuleReference.Builder builderForValue)
       URL of the forwarding rule associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.ForwardingRuleReference forwarding_rule = 269964030;
    • mergeForwardingRule

       URL of the forwarding rule associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.ForwardingRuleReference forwarding_rule = 269964030;
    • clearForwardingRule

      public HealthStatusForNetworkEndpoint.Builder clearForwardingRule()
       URL of the forwarding rule associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.ForwardingRuleReference forwarding_rule = 269964030;
    • getForwardingRuleBuilder

      public ForwardingRuleReference.Builder getForwardingRuleBuilder()
       URL of the forwarding rule associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.ForwardingRuleReference forwarding_rule = 269964030;
    • getForwardingRuleOrBuilder

      public ForwardingRuleReferenceOrBuilder getForwardingRuleOrBuilder()
       URL of the forwarding rule associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.ForwardingRuleReference forwarding_rule = 269964030;
      Specified by:
      getForwardingRuleOrBuilder in interface HealthStatusForNetworkEndpointOrBuilder
    • hasHealthCheck

      public boolean hasHealthCheck()
       URL of the health check associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckReference health_check = 308876645;
      Specified by:
      hasHealthCheck in interface HealthStatusForNetworkEndpointOrBuilder
      Returns:
      Whether the healthCheck field is set.
    • getHealthCheck

      public HealthCheckReference getHealthCheck()
       URL of the health check associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckReference health_check = 308876645;
      Specified by:
      getHealthCheck in interface HealthStatusForNetworkEndpointOrBuilder
      Returns:
      The healthCheck.
    • setHealthCheck

       URL of the health check associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckReference health_check = 308876645;
    • setHealthCheck

       URL of the health check associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckReference health_check = 308876645;
    • mergeHealthCheck

       URL of the health check associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckReference health_check = 308876645;
    • clearHealthCheck

      public HealthStatusForNetworkEndpoint.Builder clearHealthCheck()
       URL of the health check associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckReference health_check = 308876645;
    • getHealthCheckBuilder

      public HealthCheckReference.Builder getHealthCheckBuilder()
       URL of the health check associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckReference health_check = 308876645;
    • getHealthCheckOrBuilder

      public HealthCheckReferenceOrBuilder getHealthCheckOrBuilder()
       URL of the health check associated with the health state of the network
       endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckReference health_check = 308876645;
      Specified by:
      getHealthCheckOrBuilder in interface HealthStatusForNetworkEndpointOrBuilder
    • hasHealthCheckService

      public boolean hasHealthCheckService()
       URL of the health check service associated with the health state of the
       network endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckServiceReference health_check_service = 408374747;
      Specified by:
      hasHealthCheckService in interface HealthStatusForNetworkEndpointOrBuilder
      Returns:
      Whether the healthCheckService field is set.
    • getHealthCheckService

      public HealthCheckServiceReference getHealthCheckService()
       URL of the health check service associated with the health state of the
       network endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckServiceReference health_check_service = 408374747;
      Specified by:
      getHealthCheckService in interface HealthStatusForNetworkEndpointOrBuilder
      Returns:
      The healthCheckService.
    • setHealthCheckService

       URL of the health check service associated with the health state of the
       network endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckServiceReference health_check_service = 408374747;
    • setHealthCheckService

      public HealthStatusForNetworkEndpoint.Builder setHealthCheckService(HealthCheckServiceReference.Builder builderForValue)
       URL of the health check service associated with the health state of the
       network endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckServiceReference health_check_service = 408374747;
    • mergeHealthCheckService

       URL of the health check service associated with the health state of the
       network endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckServiceReference health_check_service = 408374747;
    • clearHealthCheckService

      public HealthStatusForNetworkEndpoint.Builder clearHealthCheckService()
       URL of the health check service associated with the health state of the
       network endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckServiceReference health_check_service = 408374747;
    • getHealthCheckServiceBuilder

      public HealthCheckServiceReference.Builder getHealthCheckServiceBuilder()
       URL of the health check service associated with the health state of the
       network endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckServiceReference health_check_service = 408374747;
    • getHealthCheckServiceOrBuilder

      public HealthCheckServiceReferenceOrBuilder getHealthCheckServiceOrBuilder()
       URL of the health check service associated with the health state of the
       network endpoint.
       
      optional .google.cloud.compute.v1.HealthCheckServiceReference health_check_service = 408374747;
      Specified by:
      getHealthCheckServiceOrBuilder in interface HealthStatusForNetworkEndpointOrBuilder
    • hasHealthState

      public boolean hasHealthState()
       Health state of the network endpoint determined based on the health checks
       configured.
       Check the HealthState enum for the list of possible values.
       
      optional string health_state = 324007150;
      Specified by:
      hasHealthState in interface HealthStatusForNetworkEndpointOrBuilder
      Returns:
      Whether the healthState field is set.
    • getHealthState

      public String getHealthState()
       Health state of the network endpoint determined based on the health checks
       configured.
       Check the HealthState enum for the list of possible values.
       
      optional string health_state = 324007150;
      Specified by:
      getHealthState in interface HealthStatusForNetworkEndpointOrBuilder
      Returns:
      The healthState.
    • getHealthStateBytes

      public com.google.protobuf.ByteString getHealthStateBytes()
       Health state of the network endpoint determined based on the health checks
       configured.
       Check the HealthState enum for the list of possible values.
       
      optional string health_state = 324007150;
      Specified by:
      getHealthStateBytes in interface HealthStatusForNetworkEndpointOrBuilder
      Returns:
      The bytes for healthState.
    • setHealthState

      public HealthStatusForNetworkEndpoint.Builder setHealthState(String value)
       Health state of the network endpoint determined based on the health checks
       configured.
       Check the HealthState enum for the list of possible values.
       
      optional string health_state = 324007150;
      Parameters:
      value - The healthState to set.
      Returns:
      This builder for chaining.
    • clearHealthState

      public HealthStatusForNetworkEndpoint.Builder clearHealthState()
       Health state of the network endpoint determined based on the health checks
       configured.
       Check the HealthState enum for the list of possible values.
       
      optional string health_state = 324007150;
      Returns:
      This builder for chaining.
    • setHealthStateBytes

      public HealthStatusForNetworkEndpoint.Builder setHealthStateBytes(com.google.protobuf.ByteString value)
       Health state of the network endpoint determined based on the health checks
       configured.
       Check the HealthState enum for the list of possible values.
       
      optional string health_state = 324007150;
      Parameters:
      value - The bytes for healthState to set.
      Returns:
      This builder for chaining.
    • hasIpv6HealthState

      public boolean hasIpv6HealthState()
       Health state of the ipv6 network endpoint determined based on the health
       checks configured.
       Check the Ipv6HealthState enum for the list of possible values.
       
      optional string ipv6_health_state = 190316614;
      Specified by:
      hasIpv6HealthState in interface HealthStatusForNetworkEndpointOrBuilder
      Returns:
      Whether the ipv6HealthState field is set.
    • getIpv6HealthState

      public String getIpv6HealthState()
       Health state of the ipv6 network endpoint determined based on the health
       checks configured.
       Check the Ipv6HealthState enum for the list of possible values.
       
      optional string ipv6_health_state = 190316614;
      Specified by:
      getIpv6HealthState in interface HealthStatusForNetworkEndpointOrBuilder
      Returns:
      The ipv6HealthState.
    • getIpv6HealthStateBytes

      public com.google.protobuf.ByteString getIpv6HealthStateBytes()
       Health state of the ipv6 network endpoint determined based on the health
       checks configured.
       Check the Ipv6HealthState enum for the list of possible values.
       
      optional string ipv6_health_state = 190316614;
      Specified by:
      getIpv6HealthStateBytes in interface HealthStatusForNetworkEndpointOrBuilder
      Returns:
      The bytes for ipv6HealthState.
    • setIpv6HealthState

      public HealthStatusForNetworkEndpoint.Builder setIpv6HealthState(String value)
       Health state of the ipv6 network endpoint determined based on the health
       checks configured.
       Check the Ipv6HealthState enum for the list of possible values.
       
      optional string ipv6_health_state = 190316614;
      Parameters:
      value - The ipv6HealthState to set.
      Returns:
      This builder for chaining.
    • clearIpv6HealthState

      public HealthStatusForNetworkEndpoint.Builder clearIpv6HealthState()
       Health state of the ipv6 network endpoint determined based on the health
       checks configured.
       Check the Ipv6HealthState enum for the list of possible values.
       
      optional string ipv6_health_state = 190316614;
      Returns:
      This builder for chaining.
    • setIpv6HealthStateBytes

      public HealthStatusForNetworkEndpoint.Builder setIpv6HealthStateBytes(com.google.protobuf.ByteString value)
       Health state of the ipv6 network endpoint determined based on the health
       checks configured.
       Check the Ipv6HealthState enum for the list of possible values.
       
      optional string ipv6_health_state = 190316614;
      Parameters:
      value - The bytes for ipv6HealthState to set.
      Returns:
      This builder for chaining.