Package io.grpc.serviceconfig
Class XdsClusterImplLoadBalancingPolicyConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.grpc.serviceconfig.XdsClusterImplLoadBalancingPolicyConfig
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,XdsClusterImplLoadBalancingPolicyConfigOrBuilder,Serializable
public final class XdsClusterImplLoadBalancingPolicyConfig
extends com.google.protobuf.GeneratedMessageV3
implements XdsClusterImplLoadBalancingPolicyConfigOrBuilder
Configuration for xds_cluster_impl LB policy.Protobuf type
grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration for xds_cluster_impl LB policy.static final classDrop configuration.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetChildPolicy(int index) Child policy.intChild policy.Child policy.getChildPolicyOrBuilder(int index) Child policy.List<? extends LoadBalancingConfigOrBuilder>Child policy.Cluster name.com.google.protobuf.ByteStringCluster name.static final com.google.protobuf.Descriptors.DescriptorgetDropCategories(int index) repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;intrepeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;getDropCategoriesOrBuilder(int index) repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;EDS service name.com.google.protobuf.ByteStringEDS service name.LRS server to send load reports to.com.google.protobuf.StringValueDeprecated.grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.lrs_load_reporting_server_name is deprecated.com.google.protobuf.StringValueOrBuilderDeprecated.LRS server to send load reports to.com.google.protobuf.UInt32ValueMaximum number of outstanding requests can be made to the upstream cluster.com.google.protobuf.UInt32ValueOrBuilderMaximum number of outstanding requests can be made to the upstream cluster.com.google.protobuf.Parser<XdsClusterImplLoadBalancingPolicyConfig>intinthashCode()booleanLRS server to send load reports to.booleanDeprecated.grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.lrs_load_reporting_server_name is deprecated.booleanMaximum number of outstanding requests can be made to the upstream cluster.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<XdsClusterImplLoadBalancingPolicyConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER- See Also:
-
EDS_SERVICE_NAME_FIELD_NUMBER
public static final int EDS_SERVICE_NAME_FIELD_NUMBER- See Also:
-
LRS_LOAD_REPORTING_SERVER_NAME_FIELD_NUMBER
public static final int LRS_LOAD_REPORTING_SERVER_NAME_FIELD_NUMBER- See Also:
-
LRS_LOAD_REPORTING_SERVER_FIELD_NUMBER
public static final int LRS_LOAD_REPORTING_SERVER_FIELD_NUMBER- See Also:
-
MAX_CONCURRENT_REQUESTS_FIELD_NUMBER
public static final int MAX_CONCURRENT_REQUESTS_FIELD_NUMBER- See Also:
-
DROP_CATEGORIES_FIELD_NUMBER
public static final int DROP_CATEGORIES_FIELD_NUMBER- See Also:
-
CHILD_POLICY_FIELD_NUMBER
public static final int CHILD_POLICY_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCluster
Cluster name. Required.
string cluster = 1;- Specified by:
getClusterin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()Cluster name. Required.
string cluster = 1;- Specified by:
getClusterBytesin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder- Returns:
- The bytes for cluster.
-
getEdsServiceName
EDS service name. Not set if cluster is not an EDS cluster or if it does not specify an EDS service name.
string eds_service_name = 2;- Specified by:
getEdsServiceNamein interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder- Returns:
- The edsServiceName.
-
getEdsServiceNameBytes
public com.google.protobuf.ByteString getEdsServiceNameBytes()EDS service name. Not set if cluster is not an EDS cluster or if it does not specify an EDS service name.
string eds_service_name = 2;- Specified by:
getEdsServiceNameBytesin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder- Returns:
- The bytes for edsServiceName.
-
hasLrsLoadReportingServerName
Deprecated.grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.lrs_load_reporting_server_name is deprecated. See service_config.proto;l=344Server 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. DEPRECATED: Use new lrs_load_reporting_server field instead.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3 [deprecated = true];- Specified by:
hasLrsLoadReportingServerNamein interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder- Returns:
- Whether the lrsLoadReportingServerName field is set.
-
getLrsLoadReportingServerName
Deprecated.grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.lrs_load_reporting_server_name is deprecated. See service_config.proto;l=344Server 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. DEPRECATED: Use new lrs_load_reporting_server field instead.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3 [deprecated = true];- Specified by:
getLrsLoadReportingServerNamein interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder- Returns:
- The lrsLoadReportingServerName.
-
getLrsLoadReportingServerNameOrBuilder
@Deprecated public com.google.protobuf.StringValueOrBuilder getLrsLoadReportingServerNameOrBuilder()Deprecated.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. DEPRECATED: Use new lrs_load_reporting_server field instead.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3 [deprecated = true];- Specified by:
getLrsLoadReportingServerNameOrBuilderin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder
-
hasLrsLoadReportingServer
public boolean hasLrsLoadReportingServer()LRS server to send load reports to. If not present, load reporting will be disabled. Supercedes lrs_load_reporting_server_name field.
.grpc.service_config.XdsServer lrs_load_reporting_server = 7;- Specified by:
hasLrsLoadReportingServerin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder- Returns:
- Whether the lrsLoadReportingServer field is set.
-
getLrsLoadReportingServer
LRS server to send load reports to. If not present, load reporting will be disabled. Supercedes lrs_load_reporting_server_name field.
.grpc.service_config.XdsServer lrs_load_reporting_server = 7;- Specified by:
getLrsLoadReportingServerin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder- Returns:
- The lrsLoadReportingServer.
-
getLrsLoadReportingServerOrBuilder
LRS server to send load reports to. If not present, load reporting will be disabled. Supercedes lrs_load_reporting_server_name field.
.grpc.service_config.XdsServer lrs_load_reporting_server = 7;- Specified by:
getLrsLoadReportingServerOrBuilderin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder
-
hasMaxConcurrentRequests
public boolean hasMaxConcurrentRequests()Maximum number of outstanding requests can be made to the upstream cluster. Default is 1024.
.google.protobuf.UInt32Value max_concurrent_requests = 4;- Specified by:
hasMaxConcurrentRequestsin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder- Returns:
- Whether the maxConcurrentRequests field is set.
-
getMaxConcurrentRequests
public com.google.protobuf.UInt32Value getMaxConcurrentRequests()Maximum number of outstanding requests can be made to the upstream cluster. Default is 1024.
.google.protobuf.UInt32Value max_concurrent_requests = 4;- Specified by:
getMaxConcurrentRequestsin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder- Returns:
- The maxConcurrentRequests.
-
getMaxConcurrentRequestsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxConcurrentRequestsOrBuilder()Maximum number of outstanding requests can be made to the upstream cluster. Default is 1024.
.google.protobuf.UInt32Value max_concurrent_requests = 4;- Specified by:
getMaxConcurrentRequestsOrBuilderin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder
-
getDropCategoriesList
repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;- Specified by:
getDropCategoriesListin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder
-
getDropCategoriesOrBuilderList
public List<? extends XdsClusterImplLoadBalancingPolicyConfig.DropCategoryOrBuilder> getDropCategoriesOrBuilderList()repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;- Specified by:
getDropCategoriesOrBuilderListin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder
-
getDropCategoriesCount
public int getDropCategoriesCount()repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;- Specified by:
getDropCategoriesCountin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder
-
getDropCategories
repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;- Specified by:
getDropCategoriesin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder
-
getDropCategoriesOrBuilder
public XdsClusterImplLoadBalancingPolicyConfig.DropCategoryOrBuilder getDropCategoriesOrBuilder(int index) repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;- Specified by:
getDropCategoriesOrBuilderin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder
-
getChildPolicyList
Child policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 6;- Specified by:
getChildPolicyListin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder
-
getChildPolicyOrBuilderList
Child policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 6;- Specified by:
getChildPolicyOrBuilderListin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder
-
getChildPolicyCount
public int getChildPolicyCount()Child policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 6;- Specified by:
getChildPolicyCountin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder
-
getChildPolicy
Child policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 6;- Specified by:
getChildPolicyin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder
-
getChildPolicyOrBuilder
Child policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 6;- Specified by:
getChildPolicyOrBuilderin interfaceXdsClusterImplLoadBalancingPolicyConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static XdsClusterImplLoadBalancingPolicyConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XdsClusterImplLoadBalancingPolicyConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XdsClusterImplLoadBalancingPolicyConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XdsClusterImplLoadBalancingPolicyConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XdsClusterImplLoadBalancingPolicyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XdsClusterImplLoadBalancingPolicyConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XdsClusterImplLoadBalancingPolicyConfig parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static XdsClusterImplLoadBalancingPolicyConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static XdsClusterImplLoadBalancingPolicyConfig parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static XdsClusterImplLoadBalancingPolicyConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static XdsClusterImplLoadBalancingPolicyConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static XdsClusterImplLoadBalancingPolicyConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static XdsClusterImplLoadBalancingPolicyConfig.Builder newBuilder(XdsClusterImplLoadBalancingPolicyConfig prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected XdsClusterImplLoadBalancingPolicyConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-