public interface ServiceLbPolicyOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
Optional. Set of label tags associated with the ServiceLbPolicy resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getAutoCapacityDrain()
public abstract ServiceLbPolicy.AutoCapacityDrain getAutoCapacityDrain()
Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.
.google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrain auto_capacity_drain = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceLbPolicy.AutoCapacityDrain |
The autoCapacityDrain. |
getAutoCapacityDrainOrBuilder()
public abstract ServiceLbPolicy.AutoCapacityDrainOrBuilder getAutoCapacityDrainOrBuilder()
Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.
.google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrain auto_capacity_drain = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceLbPolicy.AutoCapacityDrainOrBuilder |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. The timestamp when this resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when this resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescription()
public abstract String getDescription()
Optional. A free-text description of the resource. Max length 1024 characters.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Optional. A free-text description of the resource. Max length 1024 characters.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getFailoverConfig()
public abstract ServiceLbPolicy.FailoverConfig getFailoverConfig()
Optional. Configuration related to health based failover.
.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfig failover_config = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceLbPolicy.FailoverConfig |
The failoverConfig. |
getFailoverConfigOrBuilder()
public abstract ServiceLbPolicy.FailoverConfigOrBuilder getFailoverConfigOrBuilder()
Optional. Configuration related to health based failover.
.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfig failover_config = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceLbPolicy.FailoverConfigOrBuilder |
getLabels() (deprecated)
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
Optional. Set of label tags associated with the ServiceLbPolicy resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
Optional. Set of label tags associated with the ServiceLbPolicy resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
Optional. Set of label tags associated with the ServiceLbPolicy resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
Optional. Set of label tags associated with the ServiceLbPolicy resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getLoadBalancingAlgorithm()
public abstract ServiceLbPolicy.LoadBalancingAlgorithm getLoadBalancingAlgorithm()
Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.
.google.cloud.networkservices.v1.ServiceLbPolicy.LoadBalancingAlgorithm load_balancing_algorithm = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceLbPolicy.LoadBalancingAlgorithm |
The loadBalancingAlgorithm. |
getLoadBalancingAlgorithmValue()
public abstract int getLoadBalancingAlgorithmValue()
Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.
.google.cloud.networkservices.v1.ServiceLbPolicy.LoadBalancingAlgorithm load_balancing_algorithm = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for loadBalancingAlgorithm. |
getName()
public abstract String getName()
Identifier. Name of the ServiceLbPolicy resource. It matches pattern
projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Identifier. Name of the ServiceLbPolicy resource. It matches pattern
projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getUpdateTime()
public abstract Timestamp getUpdateTime()
Output only. The timestamp when this resource was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when this resource was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasAutoCapacityDrain()
public abstract boolean hasAutoCapacityDrain()
Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.
.google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrain auto_capacity_drain = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the autoCapacityDrain field is set. |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. The timestamp when this resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasFailoverConfig()
public abstract boolean hasFailoverConfig()
Optional. Configuration related to health based failover.
.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfig failover_config = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the failoverConfig field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()
Output only. The timestamp when this resource was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |