Class Backend

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

@Generated public final class Backend extends com.google.protobuf.GeneratedMessage implements BackendOrBuilder
 Message containing information of one individual backend.
 
Protobuf type google.cloud.compute.v1.Backend
See Also:
  • Field Details

    • BALANCING_MODE_FIELD_NUMBER

      public static final int BALANCING_MODE_FIELD_NUMBER
      See Also:
    • CAPACITY_SCALER_FIELD_NUMBER

      public static final int CAPACITY_SCALER_FIELD_NUMBER
      See Also:
    • CUSTOM_METRICS_FIELD_NUMBER

      public static final int CUSTOM_METRICS_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • FAILOVER_FIELD_NUMBER

      public static final int FAILOVER_FIELD_NUMBER
      See Also:
    • GROUP_FIELD_NUMBER

      public static final int GROUP_FIELD_NUMBER
      See Also:
    • MAX_CONNECTIONS_FIELD_NUMBER

      public static final int MAX_CONNECTIONS_FIELD_NUMBER
      See Also:
    • MAX_CONNECTIONS_PER_ENDPOINT_FIELD_NUMBER

      public static final int MAX_CONNECTIONS_PER_ENDPOINT_FIELD_NUMBER
      See Also:
    • MAX_CONNECTIONS_PER_INSTANCE_FIELD_NUMBER

      public static final int MAX_CONNECTIONS_PER_INSTANCE_FIELD_NUMBER
      See Also:
    • MAX_IN_FLIGHT_REQUESTS_FIELD_NUMBER

      public static final int MAX_IN_FLIGHT_REQUESTS_FIELD_NUMBER
      See Also:
    • MAX_IN_FLIGHT_REQUESTS_PER_ENDPOINT_FIELD_NUMBER

      public static final int MAX_IN_FLIGHT_REQUESTS_PER_ENDPOINT_FIELD_NUMBER
      See Also:
    • MAX_IN_FLIGHT_REQUESTS_PER_INSTANCE_FIELD_NUMBER

      public static final int MAX_IN_FLIGHT_REQUESTS_PER_INSTANCE_FIELD_NUMBER
      See Also:
    • MAX_RATE_FIELD_NUMBER

      public static final int MAX_RATE_FIELD_NUMBER
      See Also:
    • MAX_RATE_PER_ENDPOINT_FIELD_NUMBER

      public static final int MAX_RATE_PER_ENDPOINT_FIELD_NUMBER
      See Also:
    • MAX_RATE_PER_INSTANCE_FIELD_NUMBER

      public static final int MAX_RATE_PER_INSTANCE_FIELD_NUMBER
      See Also:
    • MAX_UTILIZATION_FIELD_NUMBER

      public static final int MAX_UTILIZATION_FIELD_NUMBER
      See Also:
    • ORCHESTRATION_INFO_FIELD_NUMBER

      public static final int ORCHESTRATION_INFO_FIELD_NUMBER
      See Also:
    • PREFERENCE_FIELD_NUMBER

      public static final int PREFERENCE_FIELD_NUMBER
      See Also:
    • TRAFFIC_DURATION_FIELD_NUMBER

      public static final int TRAFFIC_DURATION_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
    • hasBalancingMode

      public boolean hasBalancingMode()
       Specifies how to determine whether the backend of a load balancer can
       handle additional traffic or is fully loaded. For usage guidelines, see
       Connection balancing mode.
      
       Backends must use compatible balancing modes. For more information, see
       Supported balancing modes and target capacity settings and
       Restrictions and guidance for instance groups.
      
       Note: Currently, if you use the API to configure incompatible balancing
       modes, the configuration might be accepted even though it has no impact
       and is ignored. Specifically, Backend.maxUtilization is ignored when
       Backend.balancingMode is RATE. In the future, this incompatible combination
       will be rejected.
       Check the BalancingMode enum for the list of possible values.
       
      optional string balancing_mode = 430286217;
      Specified by:
      hasBalancingMode in interface BackendOrBuilder
      Returns:
      Whether the balancingMode field is set.
    • getBalancingMode

      public String getBalancingMode()
       Specifies how to determine whether the backend of a load balancer can
       handle additional traffic or is fully loaded. For usage guidelines, see
       Connection balancing mode.
      
       Backends must use compatible balancing modes. For more information, see
       Supported balancing modes and target capacity settings and
       Restrictions and guidance for instance groups.
      
       Note: Currently, if you use the API to configure incompatible balancing
       modes, the configuration might be accepted even though it has no impact
       and is ignored. Specifically, Backend.maxUtilization is ignored when
       Backend.balancingMode is RATE. In the future, this incompatible combination
       will be rejected.
       Check the BalancingMode enum for the list of possible values.
       
      optional string balancing_mode = 430286217;
      Specified by:
      getBalancingMode in interface BackendOrBuilder
      Returns:
      The balancingMode.
    • getBalancingModeBytes

      public com.google.protobuf.ByteString getBalancingModeBytes()
       Specifies how to determine whether the backend of a load balancer can
       handle additional traffic or is fully loaded. For usage guidelines, see
       Connection balancing mode.
      
       Backends must use compatible balancing modes. For more information, see
       Supported balancing modes and target capacity settings and
       Restrictions and guidance for instance groups.
      
       Note: Currently, if you use the API to configure incompatible balancing
       modes, the configuration might be accepted even though it has no impact
       and is ignored. Specifically, Backend.maxUtilization is ignored when
       Backend.balancingMode is RATE. In the future, this incompatible combination
       will be rejected.
       Check the BalancingMode enum for the list of possible values.
       
      optional string balancing_mode = 430286217;
      Specified by:
      getBalancingModeBytes in interface BackendOrBuilder
      Returns:
      The bytes for balancingMode.
    • hasCapacityScaler

      public boolean hasCapacityScaler()
       A multiplier applied to the backend's target capacity of its balancing
       mode.
       The default value is 1, which means the group serves up to
       100% of its configured capacity (depending onbalancingMode). A setting of 0 means the group is
       completely drained, offering 0% of its available capacity. The valid ranges
       are 0.0 and [0.1,1.0].
       You cannot configure a setting larger than 0 and smaller than0.1.
       You cannot configure a setting of 0 when there is only one
       backend attached to the backend service.
      
       Not available with backends that don't support using abalancingMode. This includes backends such as global
       internet NEGs, regional serverless NEGs, and PSC NEGs.
       
      optional float capacity_scaler = 315958157;
      Specified by:
      hasCapacityScaler in interface BackendOrBuilder
      Returns:
      Whether the capacityScaler field is set.
    • getCapacityScaler

      public float getCapacityScaler()
       A multiplier applied to the backend's target capacity of its balancing
       mode.
       The default value is 1, which means the group serves up to
       100% of its configured capacity (depending onbalancingMode). A setting of 0 means the group is
       completely drained, offering 0% of its available capacity. The valid ranges
       are 0.0 and [0.1,1.0].
       You cannot configure a setting larger than 0 and smaller than0.1.
       You cannot configure a setting of 0 when there is only one
       backend attached to the backend service.
      
       Not available with backends that don't support using abalancingMode. This includes backends such as global
       internet NEGs, regional serverless NEGs, and PSC NEGs.
       
      optional float capacity_scaler = 315958157;
      Specified by:
      getCapacityScaler in interface BackendOrBuilder
      Returns:
      The capacityScaler.
    • getCustomMetricsList

      public List<BackendCustomMetric> getCustomMetricsList()
       List of custom metrics that are used for CUSTOM_METRICS
       BalancingMode.
       
      repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813;
      Specified by:
      getCustomMetricsList in interface BackendOrBuilder
    • getCustomMetricsOrBuilderList

      public List<? extends BackendCustomMetricOrBuilder> getCustomMetricsOrBuilderList()
       List of custom metrics that are used for CUSTOM_METRICS
       BalancingMode.
       
      repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813;
      Specified by:
      getCustomMetricsOrBuilderList in interface BackendOrBuilder
    • getCustomMetricsCount

      public int getCustomMetricsCount()
       List of custom metrics that are used for CUSTOM_METRICS
       BalancingMode.
       
      repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813;
      Specified by:
      getCustomMetricsCount in interface BackendOrBuilder
    • getCustomMetrics

      public BackendCustomMetric getCustomMetrics(int index)
       List of custom metrics that are used for CUSTOM_METRICS
       BalancingMode.
       
      repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813;
      Specified by:
      getCustomMetrics in interface BackendOrBuilder
    • getCustomMetricsOrBuilder

      public BackendCustomMetricOrBuilder getCustomMetricsOrBuilder(int index)
       List of custom metrics that are used for CUSTOM_METRICS
       BalancingMode.
       
      repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813;
      Specified by:
      getCustomMetricsOrBuilder in interface BackendOrBuilder
    • hasDescription

      public boolean hasDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      hasDescription in interface BackendOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      getDescription in interface BackendOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface BackendOrBuilder
      Returns:
      The bytes for description.
    • hasFailover

      public boolean hasFailover()
       This field designates whether this is a failover backend. More than one
       failover backend can be configured for a given BackendService.
       
      optional bool failover = 138892530;
      Specified by:
      hasFailover in interface BackendOrBuilder
      Returns:
      Whether the failover field is set.
    • getFailover

      public boolean getFailover()
       This field designates whether this is a failover backend. More than one
       failover backend can be configured for a given BackendService.
       
      optional bool failover = 138892530;
      Specified by:
      getFailover in interface BackendOrBuilder
      Returns:
      The failover.
    • hasGroup

      public boolean hasGroup()
       The fully-qualified URL of aninstance
       group or network endpoint
       group (NEG) resource. To determine what types of backends a load
       balancer supports, see the [Backend services
       overview](https://cloud.google.com/load-balancing/docs/backend-service#backends).
      
       You must use the *fully-qualified* URL (starting withhttps://www.googleapis.com/) to specify the instance group
       or NEG. Partial URLs are not supported.
      
       If haPolicy is specified, backends must refer to NEG resources of type
       GCE_VM_IP.
       
      optional string group = 98629247;
      Specified by:
      hasGroup in interface BackendOrBuilder
      Returns:
      Whether the group field is set.
    • getGroup

      public String getGroup()
       The fully-qualified URL of aninstance
       group or network endpoint
       group (NEG) resource. To determine what types of backends a load
       balancer supports, see the [Backend services
       overview](https://cloud.google.com/load-balancing/docs/backend-service#backends).
      
       You must use the *fully-qualified* URL (starting withhttps://www.googleapis.com/) to specify the instance group
       or NEG. Partial URLs are not supported.
      
       If haPolicy is specified, backends must refer to NEG resources of type
       GCE_VM_IP.
       
      optional string group = 98629247;
      Specified by:
      getGroup in interface BackendOrBuilder
      Returns:
      The group.
    • getGroupBytes

      public com.google.protobuf.ByteString getGroupBytes()
       The fully-qualified URL of aninstance
       group or network endpoint
       group (NEG) resource. To determine what types of backends a load
       balancer supports, see the [Backend services
       overview](https://cloud.google.com/load-balancing/docs/backend-service#backends).
      
       You must use the *fully-qualified* URL (starting withhttps://www.googleapis.com/) to specify the instance group
       or NEG. Partial URLs are not supported.
      
       If haPolicy is specified, backends must refer to NEG resources of type
       GCE_VM_IP.
       
      optional string group = 98629247;
      Specified by:
      getGroupBytes in interface BackendOrBuilder
      Returns:
      The bytes for group.
    • hasMaxConnections

      public boolean hasMaxConnections()
       Defines a target maximum number of simultaneous connections. For usage
       guidelines, seeConnection
       balancing mode and Utilization
       balancing mode. Not available if the backend'sbalancingMode is RATE.
       
      optional int32 max_connections = 110652154;
      Specified by:
      hasMaxConnections in interface BackendOrBuilder
      Returns:
      Whether the maxConnections field is set.
    • getMaxConnections

      public int getMaxConnections()
       Defines a target maximum number of simultaneous connections. For usage
       guidelines, seeConnection
       balancing mode and Utilization
       balancing mode. Not available if the backend'sbalancingMode is RATE.
       
      optional int32 max_connections = 110652154;
      Specified by:
      getMaxConnections in interface BackendOrBuilder
      Returns:
      The maxConnections.
    • hasMaxConnectionsPerEndpoint

      public boolean hasMaxConnectionsPerEndpoint()
       Defines a target maximum number of simultaneous connections.  For usage
       guidelines, seeConnection
       balancing mode and Utilization
       balancing mode.
      
       Not available if the backend's balancingMode isRATE.
       
      optional int32 max_connections_per_endpoint = 216904604;
      Specified by:
      hasMaxConnectionsPerEndpoint in interface BackendOrBuilder
      Returns:
      Whether the maxConnectionsPerEndpoint field is set.
    • getMaxConnectionsPerEndpoint

      public int getMaxConnectionsPerEndpoint()
       Defines a target maximum number of simultaneous connections.  For usage
       guidelines, seeConnection
       balancing mode and Utilization
       balancing mode.
      
       Not available if the backend's balancingMode isRATE.
       
      optional int32 max_connections_per_endpoint = 216904604;
      Specified by:
      getMaxConnectionsPerEndpoint in interface BackendOrBuilder
      Returns:
      The maxConnectionsPerEndpoint.
    • hasMaxConnectionsPerInstance

      public boolean hasMaxConnectionsPerInstance()
       Defines a target maximum number of simultaneous connections.
       For usage guidelines, seeConnection
       balancing mode and Utilization
       balancing mode.
      
       Not available if the backend's balancingMode isRATE.
       
      optional int32 max_connections_per_instance = 104671900;
      Specified by:
      hasMaxConnectionsPerInstance in interface BackendOrBuilder
      Returns:
      Whether the maxConnectionsPerInstance field is set.
    • getMaxConnectionsPerInstance

      public int getMaxConnectionsPerInstance()
       Defines a target maximum number of simultaneous connections.
       For usage guidelines, seeConnection
       balancing mode and Utilization
       balancing mode.
      
       Not available if the backend's balancingMode isRATE.
       
      optional int32 max_connections_per_instance = 104671900;
      Specified by:
      getMaxConnectionsPerInstance in interface BackendOrBuilder
      Returns:
      The maxConnectionsPerInstance.
    • hasMaxInFlightRequests

      public boolean hasMaxInFlightRequests()
       Defines a maximum number of in-flight requests for the whole NEG or
       instance group. Not available if backend's balancingMode isRATE or CONNECTION.
       
      optional int32 max_in_flight_requests = 273269332;
      Specified by:
      hasMaxInFlightRequests in interface BackendOrBuilder
      Returns:
      Whether the maxInFlightRequests field is set.
    • getMaxInFlightRequests

      public int getMaxInFlightRequests()
       Defines a maximum number of in-flight requests for the whole NEG or
       instance group. Not available if backend's balancingMode isRATE or CONNECTION.
       
      optional int32 max_in_flight_requests = 273269332;
      Specified by:
      getMaxInFlightRequests in interface BackendOrBuilder
      Returns:
      The maxInFlightRequests.
    • hasMaxInFlightRequestsPerEndpoint

      public boolean hasMaxInFlightRequestsPerEndpoint()
       Defines a maximum number of in-flight requests for a single endpoint.
       Not available if backend's balancingMode is RATE
       or CONNECTION.
       
      optional int32 max_in_flight_requests_per_endpoint = 307928706;
      Specified by:
      hasMaxInFlightRequestsPerEndpoint in interface BackendOrBuilder
      Returns:
      Whether the maxInFlightRequestsPerEndpoint field is set.
    • getMaxInFlightRequestsPerEndpoint

      public int getMaxInFlightRequestsPerEndpoint()
       Defines a maximum number of in-flight requests for a single endpoint.
       Not available if backend's balancingMode is RATE
       or CONNECTION.
       
      optional int32 max_in_flight_requests_per_endpoint = 307928706;
      Specified by:
      getMaxInFlightRequestsPerEndpoint in interface BackendOrBuilder
      Returns:
      The maxInFlightRequestsPerEndpoint.
    • hasMaxInFlightRequestsPerInstance

      public boolean hasMaxInFlightRequestsPerInstance()
       Defines a maximum number of in-flight requests for a single VM.
       Not available if backend's balancingMode is RATE
       or CONNECTION.
       
      optional int32 max_in_flight_requests_per_instance = 195696002;
      Specified by:
      hasMaxInFlightRequestsPerInstance in interface BackendOrBuilder
      Returns:
      Whether the maxInFlightRequestsPerInstance field is set.
    • getMaxInFlightRequestsPerInstance

      public int getMaxInFlightRequestsPerInstance()
       Defines a maximum number of in-flight requests for a single VM.
       Not available if backend's balancingMode is RATE
       or CONNECTION.
       
      optional int32 max_in_flight_requests_per_instance = 195696002;
      Specified by:
      getMaxInFlightRequestsPerInstance in interface BackendOrBuilder
      Returns:
      The maxInFlightRequestsPerInstance.
    • hasMaxRate

      public boolean hasMaxRate()
       Defines a maximum number of HTTP requests per second (RPS). For
       usage guidelines, seeRate
       balancing mode and Utilization
       balancing mode.
      
       Not available if the backend's balancingMode isCONNECTION.
       
      optional int32 max_rate = 408035035;
      Specified by:
      hasMaxRate in interface BackendOrBuilder
      Returns:
      Whether the maxRate field is set.
    • getMaxRate

      public int getMaxRate()
       Defines a maximum number of HTTP requests per second (RPS). For
       usage guidelines, seeRate
       balancing mode and Utilization
       balancing mode.
      
       Not available if the backend's balancingMode isCONNECTION.
       
      optional int32 max_rate = 408035035;
      Specified by:
      getMaxRate in interface BackendOrBuilder
      Returns:
      The maxRate.
    • hasMaxRatePerEndpoint

      public boolean hasMaxRatePerEndpoint()
       Defines a maximum target for requests per second (RPS). For usage
       guidelines, seeRate
       balancing mode and Utilization
       balancing mode.
      
       Not available if the backend's balancingMode isCONNECTION.
       
      optional float max_rate_per_endpoint = 129832283;
      Specified by:
      hasMaxRatePerEndpoint in interface BackendOrBuilder
      Returns:
      Whether the maxRatePerEndpoint field is set.
    • getMaxRatePerEndpoint

      public float getMaxRatePerEndpoint()
       Defines a maximum target for requests per second (RPS). For usage
       guidelines, seeRate
       balancing mode and Utilization
       balancing mode.
      
       Not available if the backend's balancingMode isCONNECTION.
       
      optional float max_rate_per_endpoint = 129832283;
      Specified by:
      getMaxRatePerEndpoint in interface BackendOrBuilder
      Returns:
      The maxRatePerEndpoint.
    • hasMaxRatePerInstance

      public boolean hasMaxRatePerInstance()
       Defines a maximum target for requests per second (RPS). For usage
       guidelines, seeRate
       balancing mode and Utilization
       balancing mode.
      
       Not available if the backend's balancingMode isCONNECTION.
       
      optional float max_rate_per_instance = 17599579;
      Specified by:
      hasMaxRatePerInstance in interface BackendOrBuilder
      Returns:
      Whether the maxRatePerInstance field is set.
    • getMaxRatePerInstance

      public float getMaxRatePerInstance()
       Defines a maximum target for requests per second (RPS). For usage
       guidelines, seeRate
       balancing mode and Utilization
       balancing mode.
      
       Not available if the backend's balancingMode isCONNECTION.
       
      optional float max_rate_per_instance = 17599579;
      Specified by:
      getMaxRatePerInstance in interface BackendOrBuilder
      Returns:
      The maxRatePerInstance.
    • hasMaxUtilization

      public boolean hasMaxUtilization()
       Optional parameter to define a target capacity for theUTILIZATION balancing mode. The valid range is[0.0, 1.0].
      
       For usage guidelines, seeUtilization
       balancing mode.
       
      optional float max_utilization = 148192199;
      Specified by:
      hasMaxUtilization in interface BackendOrBuilder
      Returns:
      Whether the maxUtilization field is set.
    • getMaxUtilization

      public float getMaxUtilization()
       Optional parameter to define a target capacity for theUTILIZATION balancing mode. The valid range is[0.0, 1.0].
      
       For usage guidelines, seeUtilization
       balancing mode.
       
      optional float max_utilization = 148192199;
      Specified by:
      getMaxUtilization in interface BackendOrBuilder
      Returns:
      The maxUtilization.
    • hasOrchestrationInfo

      public boolean hasOrchestrationInfo()
       Information about the resource or system that manages the backend.
       
      optional .google.cloud.compute.v1.BackendBackendOrchestrationInfo orchestration_info = 441144300;
      Specified by:
      hasOrchestrationInfo in interface BackendOrBuilder
      Returns:
      Whether the orchestrationInfo field is set.
    • getOrchestrationInfo

      public BackendBackendOrchestrationInfo getOrchestrationInfo()
       Information about the resource or system that manages the backend.
       
      optional .google.cloud.compute.v1.BackendBackendOrchestrationInfo orchestration_info = 441144300;
      Specified by:
      getOrchestrationInfo in interface BackendOrBuilder
      Returns:
      The orchestrationInfo.
    • getOrchestrationInfoOrBuilder

      public BackendBackendOrchestrationInfoOrBuilder getOrchestrationInfoOrBuilder()
       Information about the resource or system that manages the backend.
       
      optional .google.cloud.compute.v1.BackendBackendOrchestrationInfo orchestration_info = 441144300;
      Specified by:
      getOrchestrationInfoOrBuilder in interface BackendOrBuilder
    • hasPreference

      public boolean hasPreference()
       This field indicates whether this backend should be fully utilized before
       sending traffic to backends with default preference. The possible values
       are:
      
       - PREFERRED: Backends with this preference level will be
       filled up to their capacity limits first, based on RTT.
       - DEFAULT:  If preferred backends don't have enough
       capacity, backends in this layer would be used and traffic would be
       assigned based on the load balancing algorithm you use. This is the
       default
       Check the Preference enum for the list of possible values.
       
      optional string preference = 150781147;
      Specified by:
      hasPreference in interface BackendOrBuilder
      Returns:
      Whether the preference field is set.
    • getPreference

      public String getPreference()
       This field indicates whether this backend should be fully utilized before
       sending traffic to backends with default preference. The possible values
       are:
      
       - PREFERRED: Backends with this preference level will be
       filled up to their capacity limits first, based on RTT.
       - DEFAULT:  If preferred backends don't have enough
       capacity, backends in this layer would be used and traffic would be
       assigned based on the load balancing algorithm you use. This is the
       default
       Check the Preference enum for the list of possible values.
       
      optional string preference = 150781147;
      Specified by:
      getPreference in interface BackendOrBuilder
      Returns:
      The preference.
    • getPreferenceBytes

      public com.google.protobuf.ByteString getPreferenceBytes()
       This field indicates whether this backend should be fully utilized before
       sending traffic to backends with default preference. The possible values
       are:
      
       - PREFERRED: Backends with this preference level will be
       filled up to their capacity limits first, based on RTT.
       - DEFAULT:  If preferred backends don't have enough
       capacity, backends in this layer would be used and traffic would be
       assigned based on the load balancing algorithm you use. This is the
       default
       Check the Preference enum for the list of possible values.
       
      optional string preference = 150781147;
      Specified by:
      getPreferenceBytes in interface BackendOrBuilder
      Returns:
      The bytes for preference.
    • hasTrafficDuration

      public boolean hasTrafficDuration()
      
       Check the TrafficDuration enum for the list of possible values.
       
      optional string traffic_duration = 11618710;
      Specified by:
      hasTrafficDuration in interface BackendOrBuilder
      Returns:
      Whether the trafficDuration field is set.
    • getTrafficDuration

      public String getTrafficDuration()
      
       Check the TrafficDuration enum for the list of possible values.
       
      optional string traffic_duration = 11618710;
      Specified by:
      getTrafficDuration in interface BackendOrBuilder
      Returns:
      The trafficDuration.
    • getTrafficDurationBytes

      public com.google.protobuf.ByteString getTrafficDurationBytes()
      
       Check the TrafficDuration enum for the list of possible values.
       
      optional string traffic_duration = 11618710;
      Specified by:
      getTrafficDurationBytes in interface BackendOrBuilder
      Returns:
      The bytes for trafficDuration.
    • 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 Backend parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Backend.Builder newBuilder()
    • newBuilder

      public static Backend.Builder newBuilder(Backend prototype)
    • toBuilder

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

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

      public static Backend getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Backend> 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 Backend getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder