public final class EdsLoadBalancingPolicyConfig extends com.google.protobuf.GeneratedMessageV3 implements EdsLoadBalancingPolicyConfigOrBuilder
Configuration for eds LB policy.Protobuf type
grpc.service_config.EdsLoadBalancingPolicyConfig| Modifier and Type | Class and Description |
|---|---|
static class |
EdsLoadBalancingPolicyConfig.Builder
Configuration for eds LB policy.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_FIELD_NUMBER |
static int |
EDS_SERVICE_NAME_FIELD_NUMBER |
static int |
ENDPOINT_PICKING_POLICY_FIELD_NUMBER |
static int |
LOCALITY_PICKING_POLICY_FIELD_NUMBER |
static int |
LRS_LOAD_REPORTING_SERVER_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCluster()
Cluster name.
|
com.google.protobuf.ByteString |
getClusterBytes()
Cluster name.
|
static EdsLoadBalancingPolicyConfig |
getDefaultInstance() |
EdsLoadBalancingPolicyConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEdsServiceName()
EDS service name, as returned in CDS.
|
com.google.protobuf.ByteString |
getEdsServiceNameBytes()
EDS service name, as returned in CDS.
|
LoadBalancingConfig |
getEndpointPickingPolicy(int index)
Endpoint-picking policy.
|
int |
getEndpointPickingPolicyCount()
Endpoint-picking policy.
|
List<LoadBalancingConfig> |
getEndpointPickingPolicyList()
Endpoint-picking policy.
|
LoadBalancingConfigOrBuilder |
getEndpointPickingPolicyOrBuilder(int index)
Endpoint-picking policy.
|
List<? extends LoadBalancingConfigOrBuilder> |
getEndpointPickingPolicyOrBuilderList()
Endpoint-picking policy.
|
LoadBalancingConfig |
getLocalityPickingPolicy(int index)
Locality-picking policy.
|
int |
getLocalityPickingPolicyCount()
Locality-picking policy.
|
List<LoadBalancingConfig> |
getLocalityPickingPolicyList()
Locality-picking policy.
|
LoadBalancingConfigOrBuilder |
getLocalityPickingPolicyOrBuilder(int index)
Locality-picking policy.
|
List<? extends LoadBalancingConfigOrBuilder> |
getLocalityPickingPolicyOrBuilderList()
Locality-picking policy.
|
com.google.protobuf.StringValue |
getLrsLoadReportingServerName()
Server to send load reports to.
|
com.google.protobuf.StringValueOrBuilder |
getLrsLoadReportingServerNameOrBuilder()
Server to send load reports to.
|
com.google.protobuf.Parser<EdsLoadBalancingPolicyConfig> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasLrsLoadReportingServerName()
Server to send load reports to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static EdsLoadBalancingPolicyConfig.Builder |
newBuilder() |
static EdsLoadBalancingPolicyConfig.Builder |
newBuilder(EdsLoadBalancingPolicyConfig prototype) |
EdsLoadBalancingPolicyConfig.Builder |
newBuilderForType() |
protected EdsLoadBalancingPolicyConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static EdsLoadBalancingPolicyConfig |
parseDelimitedFrom(InputStream input) |
static EdsLoadBalancingPolicyConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EdsLoadBalancingPolicyConfig |
parseFrom(byte[] data) |
static EdsLoadBalancingPolicyConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EdsLoadBalancingPolicyConfig |
parseFrom(ByteBuffer data) |
static EdsLoadBalancingPolicyConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EdsLoadBalancingPolicyConfig |
parseFrom(com.google.protobuf.ByteString data) |
static EdsLoadBalancingPolicyConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EdsLoadBalancingPolicyConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EdsLoadBalancingPolicyConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EdsLoadBalancingPolicyConfig |
parseFrom(InputStream input) |
static EdsLoadBalancingPolicyConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EdsLoadBalancingPolicyConfig> |
parser() |
EdsLoadBalancingPolicyConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CLUSTER_FIELD_NUMBER
public static final int EDS_SERVICE_NAME_FIELD_NUMBER
public static final int LRS_LOAD_REPORTING_SERVER_NAME_FIELD_NUMBER
public static final int LOCALITY_PICKING_POLICY_FIELD_NUMBER
public static final int ENDPOINT_PICKING_POLICY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getCluster()
Cluster name. Required.
string cluster = 1;getCluster in interface EdsLoadBalancingPolicyConfigOrBuilderpublic com.google.protobuf.ByteString getClusterBytes()
Cluster name. Required.
string cluster = 1;getClusterBytes in interface EdsLoadBalancingPolicyConfigOrBuilderpublic String getEdsServiceName()
EDS service name, as returned in CDS. May be unset if not specified in CDS.
string eds_service_name = 2;getEdsServiceName in interface EdsLoadBalancingPolicyConfigOrBuilderpublic com.google.protobuf.ByteString getEdsServiceNameBytes()
EDS service name, as returned in CDS. May be unset if not specified in CDS.
string eds_service_name = 2;getEdsServiceNameBytes in interface EdsLoadBalancingPolicyConfigOrBuilderpublic boolean hasLrsLoadReportingServerName()
Server to send load reports to. If unset, no load reporting is done. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3;hasLrsLoadReportingServerName in interface EdsLoadBalancingPolicyConfigOrBuilderpublic com.google.protobuf.StringValue getLrsLoadReportingServerName()
Server to send load reports to. If unset, no load reporting is done. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3;getLrsLoadReportingServerName in interface EdsLoadBalancingPolicyConfigOrBuilderpublic com.google.protobuf.StringValueOrBuilder getLrsLoadReportingServerNameOrBuilder()
Server to send load reports to. If unset, no load reporting is done. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3;getLrsLoadReportingServerNameOrBuilder in interface EdsLoadBalancingPolicyConfigOrBuilderpublic List<LoadBalancingConfig> getLocalityPickingPolicyList()
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;getLocalityPickingPolicyList in interface EdsLoadBalancingPolicyConfigOrBuilderpublic List<? extends LoadBalancingConfigOrBuilder> getLocalityPickingPolicyOrBuilderList()
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;getLocalityPickingPolicyOrBuilderList in interface EdsLoadBalancingPolicyConfigOrBuilderpublic int getLocalityPickingPolicyCount()
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;getLocalityPickingPolicyCount in interface EdsLoadBalancingPolicyConfigOrBuilderpublic LoadBalancingConfig getLocalityPickingPolicy(int index)
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;getLocalityPickingPolicy in interface EdsLoadBalancingPolicyConfigOrBuilderpublic LoadBalancingConfigOrBuilder getLocalityPickingPolicyOrBuilder(int index)
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;getLocalityPickingPolicyOrBuilder in interface EdsLoadBalancingPolicyConfigOrBuilderpublic List<LoadBalancingConfig> getEndpointPickingPolicyList()
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;getEndpointPickingPolicyList in interface EdsLoadBalancingPolicyConfigOrBuilderpublic List<? extends LoadBalancingConfigOrBuilder> getEndpointPickingPolicyOrBuilderList()
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;getEndpointPickingPolicyOrBuilderList in interface EdsLoadBalancingPolicyConfigOrBuilderpublic int getEndpointPickingPolicyCount()
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;getEndpointPickingPolicyCount in interface EdsLoadBalancingPolicyConfigOrBuilderpublic LoadBalancingConfig getEndpointPickingPolicy(int index)
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;getEndpointPickingPolicy in interface EdsLoadBalancingPolicyConfigOrBuilderpublic LoadBalancingConfigOrBuilder getEndpointPickingPolicyOrBuilder(int index)
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;getEndpointPickingPolicyOrBuilder in interface EdsLoadBalancingPolicyConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static EdsLoadBalancingPolicyConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EdsLoadBalancingPolicyConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EdsLoadBalancingPolicyConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EdsLoadBalancingPolicyConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EdsLoadBalancingPolicyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EdsLoadBalancingPolicyConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EdsLoadBalancingPolicyConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static EdsLoadBalancingPolicyConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EdsLoadBalancingPolicyConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static EdsLoadBalancingPolicyConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EdsLoadBalancingPolicyConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static EdsLoadBalancingPolicyConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic EdsLoadBalancingPolicyConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static EdsLoadBalancingPolicyConfig.Builder newBuilder()
public static EdsLoadBalancingPolicyConfig.Builder newBuilder(EdsLoadBalancingPolicyConfig prototype)
public EdsLoadBalancingPolicyConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected EdsLoadBalancingPolicyConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static EdsLoadBalancingPolicyConfig getDefaultInstance()
public static com.google.protobuf.Parser<EdsLoadBalancingPolicyConfig> parser()
public com.google.protobuf.Parser<EdsLoadBalancingPolicyConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public EdsLoadBalancingPolicyConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.