public static final class BackendServiceLocalityLoadBalancingPolicyConfig.Builder extends GeneratedMessageV3.Builder<BackendServiceLocalityLoadBalancingPolicyConfig.Builder> implements BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder
Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user.
Protobuf type google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BackendServiceLocalityLoadBalancingPolicyConfig build()
buildPartial()
public BackendServiceLocalityLoadBalancingPolicyConfig buildPartial()
clear()
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder clear()
Overrides
clearCustomPolicy()
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder clearCustomPolicy()
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368;
clearField(Descriptors.FieldDescriptor field)
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPolicy()
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder clearPolicy()
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794;
clone()
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder clone()
Overrides
getCustomPolicy()
public BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy getCustomPolicy()
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368;
getCustomPolicyBuilder()
public BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.Builder getCustomPolicyBuilder()
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368;
getCustomPolicyOrBuilder()
public BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder getCustomPolicyOrBuilder()
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368;
getDefaultInstanceForType()
public BackendServiceLocalityLoadBalancingPolicyConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPolicy()
public BackendServiceLocalityLoadBalancingPolicyConfigPolicy getPolicy()
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794;
getPolicyBuilder()
public BackendServiceLocalityLoadBalancingPolicyConfigPolicy.Builder getPolicyBuilder()
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794;
getPolicyOrBuilder()
public BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder getPolicyOrBuilder()
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794;
hasCustomPolicy()
public boolean hasCustomPolicy()
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368;
Returns |
Type |
Description |
boolean |
Whether the customPolicy field is set.
|
hasPolicy()
public boolean hasPolicy()
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794;
Returns |
Type |
Description |
boolean |
Whether the policy field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCustomPolicy(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy value)
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder mergeCustomPolicy(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy value)
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368;
mergeFrom(BackendServiceLocalityLoadBalancingPolicyConfig other)
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder mergeFrom(BackendServiceLocalityLoadBalancingPolicyConfig other)
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePolicy(BackendServiceLocalityLoadBalancingPolicyConfigPolicy value)
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder mergePolicy(BackendServiceLocalityLoadBalancingPolicyConfigPolicy value)
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackendServiceLocalityLoadBalancingPolicyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCustomPolicy(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy value)
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder setCustomPolicy(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy value)
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368;
setCustomPolicy(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.Builder builderForValue)
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder setCustomPolicy(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.Builder builderForValue)
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368;
setField(Descriptors.FieldDescriptor field, Object value)
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPolicy(BackendServiceLocalityLoadBalancingPolicyConfigPolicy value)
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder setPolicy(BackendServiceLocalityLoadBalancingPolicyConfigPolicy value)
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794;
setPolicy(BackendServiceLocalityLoadBalancingPolicyConfigPolicy.Builder builderForValue)
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder setPolicy(BackendServiceLocalityLoadBalancingPolicyConfigPolicy.Builder builderForValue)
optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BackendServiceLocalityLoadBalancingPolicyConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides