Class NetworkEndpointWithHealthStatus.Builder

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

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

      public NetworkEndpointWithHealthStatus 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 NetworkEndpointWithHealthStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public NetworkEndpointWithHealthStatus.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<NetworkEndpointWithHealthStatus.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<NetworkEndpointWithHealthStatus.Builder>
    • mergeFrom

      public NetworkEndpointWithHealthStatus.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<NetworkEndpointWithHealthStatus.Builder>
      Throws:
      IOException
    • getHealthsList

      public List<HealthStatusForNetworkEndpoint> getHealthsList()
       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
      Specified by:
      getHealthsList in interface NetworkEndpointWithHealthStatusOrBuilder
    • getHealthsCount

      public int getHealthsCount()
       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
      Specified by:
      getHealthsCount in interface NetworkEndpointWithHealthStatusOrBuilder
    • getHealths

      public HealthStatusForNetworkEndpoint getHealths(int index)
       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
      Specified by:
      getHealths in interface NetworkEndpointWithHealthStatusOrBuilder
    • setHealths

       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
    • setHealths

       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
    • addHealths

       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
    • addHealths

       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
    • addHealths

       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
    • addHealths

       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
    • addAllHealths

       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
    • clearHealths

       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
    • removeHealths

      public NetworkEndpointWithHealthStatus.Builder removeHealths(int index)
       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
    • getHealthsBuilder

      public HealthStatusForNetworkEndpoint.Builder getHealthsBuilder(int index)
       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
    • getHealthsOrBuilder

      public HealthStatusForNetworkEndpointOrBuilder getHealthsOrBuilder(int index)
       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
      Specified by:
      getHealthsOrBuilder in interface NetworkEndpointWithHealthStatusOrBuilder
    • getHealthsOrBuilderList

      public List<? extends HealthStatusForNetworkEndpointOrBuilder> getHealthsOrBuilderList()
       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
      Specified by:
      getHealthsOrBuilderList in interface NetworkEndpointWithHealthStatusOrBuilder
    • addHealthsBuilder

      public HealthStatusForNetworkEndpoint.Builder addHealthsBuilder()
       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
    • addHealthsBuilder

      public HealthStatusForNetworkEndpoint.Builder addHealthsBuilder(int index)
       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
    • getHealthsBuilderList

      public List<HealthStatusForNetworkEndpoint.Builder> getHealthsBuilderList()
       Output only. [Output only] The health status of network endpoint.
      
       Optional. Displayed only if the network endpoint has centralized health
       checking configured.
       
      repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
    • hasNetworkEndpoint

      public boolean hasNetworkEndpoint()
       Output only. [Output only] The network endpoint.
       
      optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;
      Specified by:
      hasNetworkEndpoint in interface NetworkEndpointWithHealthStatusOrBuilder
      Returns:
      Whether the networkEndpoint field is set.
    • getNetworkEndpoint

      public NetworkEndpoint getNetworkEndpoint()
       Output only. [Output only] The network endpoint.
       
      optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;
      Specified by:
      getNetworkEndpoint in interface NetworkEndpointWithHealthStatusOrBuilder
      Returns:
      The networkEndpoint.
    • setNetworkEndpoint

      public NetworkEndpointWithHealthStatus.Builder setNetworkEndpoint(NetworkEndpoint value)
       Output only. [Output only] The network endpoint.
       
      optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;
    • setNetworkEndpoint

      public NetworkEndpointWithHealthStatus.Builder setNetworkEndpoint(NetworkEndpoint.Builder builderForValue)
       Output only. [Output only] The network endpoint.
       
      optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;
    • mergeNetworkEndpoint

      public NetworkEndpointWithHealthStatus.Builder mergeNetworkEndpoint(NetworkEndpoint value)
       Output only. [Output only] The network endpoint.
       
      optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;
    • clearNetworkEndpoint

      public NetworkEndpointWithHealthStatus.Builder clearNetworkEndpoint()
       Output only. [Output only] The network endpoint.
       
      optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;
    • getNetworkEndpointBuilder

      public NetworkEndpoint.Builder getNetworkEndpointBuilder()
       Output only. [Output only] The network endpoint.
       
      optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;
    • getNetworkEndpointOrBuilder

      public NetworkEndpointOrBuilder getNetworkEndpointOrBuilder()
       Output only. [Output only] The network endpoint.
       
      optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;
      Specified by:
      getNetworkEndpointOrBuilder in interface NetworkEndpointWithHealthStatusOrBuilder