Package com.google.cloud.compute.v1
Class Backend.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Backend.Builder>
com.google.cloud.compute.v1.Backend.Builder
- All Implemented Interfaces:
BackendOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Backend
public static final class Backend.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Backend.Builder>
implements BackendOrBuilder
Message containing information of one individual backend.Protobuf type
google.cloud.compute.v1.Backend-
Method Summary
Modifier and TypeMethodDescriptionaddAllCustomMetrics(Iterable<? extends BackendCustomMetric> values) List of custom metrics that are used for CUSTOM_METRICS BalancingMode.addCustomMetrics(int index, BackendCustomMetric value) List of custom metrics that are used for CUSTOM_METRICS BalancingMode.addCustomMetrics(int index, BackendCustomMetric.Builder builderForValue) List of custom metrics that are used for CUSTOM_METRICS BalancingMode.List of custom metrics that are used for CUSTOM_METRICS BalancingMode.addCustomMetrics(BackendCustomMetric.Builder builderForValue) List of custom metrics that are used for CUSTOM_METRICS BalancingMode.List of custom metrics that are used for CUSTOM_METRICS BalancingMode.addCustomMetricsBuilder(int index) List of custom metrics that are used for CUSTOM_METRICS BalancingMode.build()clear()Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded.A multiplier applied to the backend's target capacity of its balancing mode.List of custom metrics that are used for CUSTOM_METRICS BalancingMode.An optional description of this resource.This field designates whether this is a failover backend.The fully-qualified URL of aninstance group or network endpoint group (NEG) resource.Defines a target maximum number of simultaneous connections.Defines a target maximum number of simultaneous connections.Defines a target maximum number of simultaneous connections.Defines a maximum number of in-flight requests for the whole NEG or instance group.Defines a maximum number of in-flight requests for a single endpoint.Defines a maximum number of in-flight requests for a single VM.Defines a maximum number of HTTP requests per second (RPS).Defines a maximum target for requests per second (RPS).Defines a maximum target for requests per second (RPS).Optional parameter to define a target capacity for theUTILIZATION balancing mode.Information about the resource or system that manages the backend.This field indicates whether this backend should be fully utilized before sending traffic to backends with default preference.Check the TrafficDuration enum for the list of possible values.Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded.com.google.protobuf.ByteStringSpecifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded.floatA multiplier applied to the backend's target capacity of its balancing mode.getCustomMetrics(int index) List of custom metrics that are used for CUSTOM_METRICS BalancingMode.getCustomMetricsBuilder(int index) List of custom metrics that are used for CUSTOM_METRICS BalancingMode.List of custom metrics that are used for CUSTOM_METRICS BalancingMode.intList of custom metrics that are used for CUSTOM_METRICS BalancingMode.List of custom metrics that are used for CUSTOM_METRICS BalancingMode.getCustomMetricsOrBuilder(int index) List of custom metrics that are used for CUSTOM_METRICS BalancingMode.List<? extends BackendCustomMetricOrBuilder>List of custom metrics that are used for CUSTOM_METRICS BalancingMode.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanThis field designates whether this is a failover backend.getGroup()The fully-qualified URL of aninstance group or network endpoint group (NEG) resource.com.google.protobuf.ByteStringThe fully-qualified URL of aninstance group or network endpoint group (NEG) resource.intDefines a target maximum number of simultaneous connections.intDefines a target maximum number of simultaneous connections.intDefines a target maximum number of simultaneous connections.intDefines a maximum number of in-flight requests for the whole NEG or instance group.intDefines a maximum number of in-flight requests for a single endpoint.intDefines a maximum number of in-flight requests for a single VM.intDefines a maximum number of HTTP requests per second (RPS).floatDefines a maximum target for requests per second (RPS).floatDefines a maximum target for requests per second (RPS).floatOptional parameter to define a target capacity for theUTILIZATION balancing mode.Information about the resource or system that manages the backend.Information about the resource or system that manages the backend.Information about the resource or system that manages the backend.This field indicates whether this backend should be fully utilized before sending traffic to backends with default preference.com.google.protobuf.ByteStringThis field indicates whether this backend should be fully utilized before sending traffic to backends with default preference.Check the TrafficDuration enum for the list of possible values.com.google.protobuf.ByteStringCheck the TrafficDuration enum for the list of possible values.booleanSpecifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded.booleanA multiplier applied to the backend's target capacity of its balancing mode.booleanAn optional description of this resource.booleanThis field designates whether this is a failover backend.booleanhasGroup()The fully-qualified URL of aninstance group or network endpoint group (NEG) resource.booleanDefines a target maximum number of simultaneous connections.booleanDefines a target maximum number of simultaneous connections.booleanDefines a target maximum number of simultaneous connections.booleanDefines a maximum number of in-flight requests for the whole NEG or instance group.booleanDefines a maximum number of in-flight requests for a single endpoint.booleanDefines a maximum number of in-flight requests for a single VM.booleanDefines a maximum number of HTTP requests per second (RPS).booleanDefines a maximum target for requests per second (RPS).booleanDefines a maximum target for requests per second (RPS).booleanOptional parameter to define a target capacity for theUTILIZATION balancing mode.booleanInformation about the resource or system that manages the backend.booleanThis field indicates whether this backend should be fully utilized before sending traffic to backends with default preference.booleanCheck the TrafficDuration enum for the list of possible values.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Information about the resource or system that manages the backend.removeCustomMetrics(int index) List of custom metrics that are used for CUSTOM_METRICS BalancingMode.setBalancingMode(String value) Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded.setBalancingModeBytes(com.google.protobuf.ByteString value) Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded.setCapacityScaler(float value) A multiplier applied to the backend's target capacity of its balancing mode.setCustomMetrics(int index, BackendCustomMetric value) List of custom metrics that are used for CUSTOM_METRICS BalancingMode.setCustomMetrics(int index, BackendCustomMetric.Builder builderForValue) List of custom metrics that are used for CUSTOM_METRICS BalancingMode.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.setFailover(boolean value) This field designates whether this is a failover backend.The fully-qualified URL of aninstance group or network endpoint group (NEG) resource.setGroupBytes(com.google.protobuf.ByteString value) The fully-qualified URL of aninstance group or network endpoint group (NEG) resource.setMaxConnections(int value) Defines a target maximum number of simultaneous connections.setMaxConnectionsPerEndpoint(int value) Defines a target maximum number of simultaneous connections.setMaxConnectionsPerInstance(int value) Defines a target maximum number of simultaneous connections.setMaxInFlightRequests(int value) Defines a maximum number of in-flight requests for the whole NEG or instance group.setMaxInFlightRequestsPerEndpoint(int value) Defines a maximum number of in-flight requests for a single endpoint.setMaxInFlightRequestsPerInstance(int value) Defines a maximum number of in-flight requests for a single VM.setMaxRate(int value) Defines a maximum number of HTTP requests per second (RPS).setMaxRatePerEndpoint(float value) Defines a maximum target for requests per second (RPS).setMaxRatePerInstance(float value) Defines a maximum target for requests per second (RPS).setMaxUtilization(float value) Optional parameter to define a target capacity for theUTILIZATION balancing mode.Information about the resource or system that manages the backend.setOrchestrationInfo(BackendBackendOrchestrationInfo.Builder builderForValue) Information about the resource or system that manages the backend.setPreference(String value) This field indicates whether this backend should be fully utilized before sending traffic to backends with default preference.setPreferenceBytes(com.google.protobuf.ByteString value) This field indicates whether this backend should be fully utilized before sending traffic to backends with default preference.setTrafficDuration(String value) Check the TrafficDuration enum for the list of possible values.setTrafficDurationBytes(com.google.protobuf.ByteString value) Check the TrafficDuration enum for the list of possible values.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Backend.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Backend.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Backend.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Backend.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Backend.Builder>
-
mergeFrom
public Backend.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Backend.Builder>- Throws:
IOException
-
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:
hasBalancingModein interfaceBackendOrBuilder- Returns:
- Whether the balancingMode field is set.
-
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:
getBalancingModein interfaceBackendOrBuilder- 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:
getBalancingModeBytesin interfaceBackendOrBuilder- Returns:
- The bytes for balancingMode.
-
setBalancingMode
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;- Parameters:
value- The balancingMode to set.- Returns:
- This builder for chaining.
-
clearBalancingMode
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;- Returns:
- This builder for chaining.
-
setBalancingModeBytes
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;- Parameters:
value- The bytes for balancingMode to set.- Returns:
- This builder for chaining.
-
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:
hasCapacityScalerin interfaceBackendOrBuilder- 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:
getCapacityScalerin interfaceBackendOrBuilder- Returns:
- The capacityScaler.
-
setCapacityScaler
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;- Parameters:
value- The capacityScaler to set.- Returns:
- This builder for chaining.
-
clearCapacityScaler
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;- Returns:
- This builder for chaining.
-
getCustomMetricsList
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813;- Specified by:
getCustomMetricsListin interfaceBackendOrBuilder
-
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:
getCustomMetricsCountin interfaceBackendOrBuilder
-
getCustomMetrics
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813;- Specified by:
getCustomMetricsin interfaceBackendOrBuilder
-
setCustomMetrics
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813; -
setCustomMetrics
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813; -
addCustomMetrics
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813; -
addCustomMetrics
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813; -
addCustomMetrics
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813; -
addCustomMetrics
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813; -
addAllCustomMetrics
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813; -
clearCustomMetrics
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813; -
removeCustomMetrics
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813; -
getCustomMetricsBuilder
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813; -
getCustomMetricsOrBuilder
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813;- Specified by:
getCustomMetricsOrBuilderin interfaceBackendOrBuilder
-
getCustomMetricsOrBuilderList
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813;- Specified by:
getCustomMetricsOrBuilderListin interfaceBackendOrBuilder
-
addCustomMetricsBuilder
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813; -
addCustomMetricsBuilder
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813; -
getCustomMetricsBuilderList
List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
repeated .google.cloud.compute.v1.BackendCustomMetric custom_metrics = 429453813; -
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceBackendOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceBackendOrBuilder- 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:
getDescriptionBytesin interfaceBackendOrBuilder- Returns:
- The bytes for description.
-
setDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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:
hasFailoverin interfaceBackendOrBuilder- 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:
getFailoverin interfaceBackendOrBuilder- Returns:
- The failover.
-
setFailover
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;- Parameters:
value- The failover to set.- Returns:
- This builder for chaining.
-
clearFailover
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;- Returns:
- This builder for chaining.
-
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:
hasGroupin interfaceBackendOrBuilder- Returns:
- Whether the group field is set.
-
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:
getGroupin interfaceBackendOrBuilder- 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:
getGroupBytesin interfaceBackendOrBuilder- Returns:
- The bytes for group.
-
setGroup
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;- Parameters:
value- The group to set.- Returns:
- This builder for chaining.
-
clearGroup
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;- Returns:
- This builder for chaining.
-
setGroupBytes
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;- Parameters:
value- The bytes for group to set.- Returns:
- This builder for chaining.
-
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:
hasMaxConnectionsin interfaceBackendOrBuilder- 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:
getMaxConnectionsin interfaceBackendOrBuilder- Returns:
- The maxConnections.
-
setMaxConnections
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;- Parameters:
value- The maxConnections to set.- Returns:
- This builder for chaining.
-
clearMaxConnections
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;- Returns:
- This builder for chaining.
-
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:
hasMaxConnectionsPerEndpointin interfaceBackendOrBuilder- 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:
getMaxConnectionsPerEndpointin interfaceBackendOrBuilder- Returns:
- The maxConnectionsPerEndpoint.
-
setMaxConnectionsPerEndpoint
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;- Parameters:
value- The maxConnectionsPerEndpoint to set.- Returns:
- This builder for chaining.
-
clearMaxConnectionsPerEndpoint
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;- Returns:
- This builder for chaining.
-
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:
hasMaxConnectionsPerInstancein interfaceBackendOrBuilder- 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:
getMaxConnectionsPerInstancein interfaceBackendOrBuilder- Returns:
- The maxConnectionsPerInstance.
-
setMaxConnectionsPerInstance
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;- Parameters:
value- The maxConnectionsPerInstance to set.- Returns:
- This builder for chaining.
-
clearMaxConnectionsPerInstance
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;- Returns:
- This builder for chaining.
-
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:
hasMaxInFlightRequestsin interfaceBackendOrBuilder- 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:
getMaxInFlightRequestsin interfaceBackendOrBuilder- Returns:
- The maxInFlightRequests.
-
setMaxInFlightRequests
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;- Parameters:
value- The maxInFlightRequests to set.- Returns:
- This builder for chaining.
-
clearMaxInFlightRequests
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;- Returns:
- This builder for chaining.
-
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:
hasMaxInFlightRequestsPerEndpointin interfaceBackendOrBuilder- 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:
getMaxInFlightRequestsPerEndpointin interfaceBackendOrBuilder- Returns:
- The maxInFlightRequestsPerEndpoint.
-
setMaxInFlightRequestsPerEndpoint
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;- Parameters:
value- The maxInFlightRequestsPerEndpoint to set.- Returns:
- This builder for chaining.
-
clearMaxInFlightRequestsPerEndpoint
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;- Returns:
- This builder for chaining.
-
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:
hasMaxInFlightRequestsPerInstancein interfaceBackendOrBuilder- 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:
getMaxInFlightRequestsPerInstancein interfaceBackendOrBuilder- Returns:
- The maxInFlightRequestsPerInstance.
-
setMaxInFlightRequestsPerInstance
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;- Parameters:
value- The maxInFlightRequestsPerInstance to set.- Returns:
- This builder for chaining.
-
clearMaxInFlightRequestsPerInstance
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;- Returns:
- This builder for chaining.
-
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:
hasMaxRatein interfaceBackendOrBuilder- 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:
getMaxRatein interfaceBackendOrBuilder- Returns:
- The maxRate.
-
setMaxRate
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;- Parameters:
value- The maxRate to set.- Returns:
- This builder for chaining.
-
clearMaxRate
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;- Returns:
- This builder for chaining.
-
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:
hasMaxRatePerEndpointin interfaceBackendOrBuilder- 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:
getMaxRatePerEndpointin interfaceBackendOrBuilder- Returns:
- The maxRatePerEndpoint.
-
setMaxRatePerEndpoint
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;- Parameters:
value- The maxRatePerEndpoint to set.- Returns:
- This builder for chaining.
-
clearMaxRatePerEndpoint
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;- Returns:
- This builder for chaining.
-
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:
hasMaxRatePerInstancein interfaceBackendOrBuilder- 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:
getMaxRatePerInstancein interfaceBackendOrBuilder- Returns:
- The maxRatePerInstance.
-
setMaxRatePerInstance
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;- Parameters:
value- The maxRatePerInstance to set.- Returns:
- This builder for chaining.
-
clearMaxRatePerInstance
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;- Returns:
- This builder for chaining.
-
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:
hasMaxUtilizationin interfaceBackendOrBuilder- 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:
getMaxUtilizationin interfaceBackendOrBuilder- Returns:
- The maxUtilization.
-
setMaxUtilization
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;- Parameters:
value- The maxUtilization to set.- Returns:
- This builder for chaining.
-
clearMaxUtilization
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;- Returns:
- This builder for chaining.
-
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:
hasOrchestrationInfoin interfaceBackendOrBuilder- Returns:
- Whether the orchestrationInfo field is set.
-
getOrchestrationInfo
Information about the resource or system that manages the backend.
optional .google.cloud.compute.v1.BackendBackendOrchestrationInfo orchestration_info = 441144300;- Specified by:
getOrchestrationInfoin interfaceBackendOrBuilder- Returns:
- The orchestrationInfo.
-
setOrchestrationInfo
Information about the resource or system that manages the backend.
optional .google.cloud.compute.v1.BackendBackendOrchestrationInfo orchestration_info = 441144300; -
setOrchestrationInfo
public Backend.Builder setOrchestrationInfo(BackendBackendOrchestrationInfo.Builder builderForValue) Information about the resource or system that manages the backend.
optional .google.cloud.compute.v1.BackendBackendOrchestrationInfo orchestration_info = 441144300; -
mergeOrchestrationInfo
Information about the resource or system that manages the backend.
optional .google.cloud.compute.v1.BackendBackendOrchestrationInfo orchestration_info = 441144300; -
clearOrchestrationInfo
Information about the resource or system that manages the backend.
optional .google.cloud.compute.v1.BackendBackendOrchestrationInfo orchestration_info = 441144300; -
getOrchestrationInfoBuilder
Information about the resource or system that manages the backend.
optional .google.cloud.compute.v1.BackendBackendOrchestrationInfo orchestration_info = 441144300; -
getOrchestrationInfoOrBuilder
Information about the resource or system that manages the backend.
optional .google.cloud.compute.v1.BackendBackendOrchestrationInfo orchestration_info = 441144300;- Specified by:
getOrchestrationInfoOrBuilderin interfaceBackendOrBuilder
-
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:
hasPreferencein interfaceBackendOrBuilder- Returns:
- Whether the preference field is set.
-
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:
getPreferencein interfaceBackendOrBuilder- 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:
getPreferenceBytesin interfaceBackendOrBuilder- Returns:
- The bytes for preference.
-
setPreference
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;- Parameters:
value- The preference to set.- Returns:
- This builder for chaining.
-
clearPreference
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;- Returns:
- This builder for chaining.
-
setPreferenceBytes
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;- Parameters:
value- The bytes for preference to set.- Returns:
- This builder for chaining.
-
hasTrafficDuration
public boolean hasTrafficDuration()Check the TrafficDuration enum for the list of possible values.
optional string traffic_duration = 11618710;- Specified by:
hasTrafficDurationin interfaceBackendOrBuilder- Returns:
- Whether the trafficDuration field is set.
-
getTrafficDuration
Check the TrafficDuration enum for the list of possible values.
optional string traffic_duration = 11618710;- Specified by:
getTrafficDurationin interfaceBackendOrBuilder- 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:
getTrafficDurationBytesin interfaceBackendOrBuilder- Returns:
- The bytes for trafficDuration.
-
setTrafficDuration
Check the TrafficDuration enum for the list of possible values.
optional string traffic_duration = 11618710;- Parameters:
value- The trafficDuration to set.- Returns:
- This builder for chaining.
-
clearTrafficDuration
Check the TrafficDuration enum for the list of possible values.
optional string traffic_duration = 11618710;- Returns:
- This builder for chaining.
-
setTrafficDurationBytes
Check the TrafficDuration enum for the list of possible values.
optional string traffic_duration = 11618710;- Parameters:
value- The bytes for trafficDuration to set.- Returns:
- This builder for chaining.
-