public static final class XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism extends com.google.protobuf.GeneratedMessageV3 implements XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder
Describes a discovery mechanism instance. For EDS or LOGICAL_DNS clusters, there will be exactly one DiscoveryMechanism, which will describe the cluster of the parent CDS policy. For aggregate clusters, there will be one DiscoveryMechanism for each underlying cluster.Protobuf type
grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism| Modifier and Type | Class and Description |
|---|---|
static class |
XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder
Describes a discovery mechanism instance.
|
static class |
XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type
Protobuf enum
grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type |
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 |
DNS_HOSTNAME_FIELD_NUMBER |
static int |
EDS_SERVICE_NAME_FIELD_NUMBER |
static int |
LRS_LOAD_REPORTING_SERVER_FIELD_NUMBER |
static int |
LRS_LOAD_REPORTING_SERVER_NAME_FIELD_NUMBER |
static int |
MAX_CONCURRENT_REQUESTS_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCluster()
Cluster name.
|
com.google.protobuf.ByteString |
getClusterBytes()
Cluster name.
|
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism |
getDefaultInstance() |
XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDnsHostname()
For type LOGICAL_DNS only.
|
com.google.protobuf.ByteString |
getDnsHostnameBytes()
For type LOGICAL_DNS only.
|
String |
getEdsServiceName()
For type EDS only.
|
com.google.protobuf.ByteString |
getEdsServiceNameBytes()
For type EDS only.
|
XdsServer |
getLrsLoadReportingServer()
LRS server to send load reports to.
|
com.google.protobuf.StringValue |
getLrsLoadReportingServerName()
Deprecated.
grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.lrs_load_reporting_server_name is deprecated.
See service_config.proto;l=285
|
com.google.protobuf.StringValueOrBuilder |
getLrsLoadReportingServerNameOrBuilder()
Deprecated.
|
XdsServerOrBuilder |
getLrsLoadReportingServerOrBuilder()
LRS server to send load reports to.
|
com.google.protobuf.UInt32Value |
getMaxConcurrentRequests()
Maximum number of outstanding requests can be made to the upstream
cluster.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxConcurrentRequestsOrBuilder()
Maximum number of outstanding requests can be made to the upstream
cluster.
|
com.google.protobuf.Parser<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism> |
getParserForType() |
int |
getSerializedSize() |
XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type |
getType()
.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type type = 4; |
int |
getTypeValue()
.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type type = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasLrsLoadReportingServer()
LRS server to send load reports to.
|
boolean |
hasLrsLoadReportingServerName()
Deprecated.
grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.lrs_load_reporting_server_name is deprecated.
See service_config.proto;l=285
|
boolean |
hasMaxConcurrentRequests()
Maximum number of outstanding requests can be made to the upstream
cluster.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder |
newBuilder() |
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder |
newBuilder(XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism prototype) |
XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder |
newBuilderForType() |
protected XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism |
parseDelimitedFrom(InputStream input) |
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism |
parseFrom(byte[] data) |
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism |
parseFrom(ByteBuffer data) |
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism |
parseFrom(com.google.protobuf.ByteString data) |
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism |
parseFrom(com.google.protobuf.CodedInputStream input) |
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism |
parseFrom(InputStream input) |
static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism> |
parser() |
XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.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 LRS_LOAD_REPORTING_SERVER_NAME_FIELD_NUMBER
public static final int LRS_LOAD_REPORTING_SERVER_FIELD_NUMBER
public static final int MAX_CONCURRENT_REQUESTS_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int EDS_SERVICE_NAME_FIELD_NUMBER
public static final int DNS_HOSTNAME_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.
string cluster = 1;getCluster in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic com.google.protobuf.ByteString getClusterBytes()
Cluster name.
string cluster = 1;getClusterBytes in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder@Deprecated public boolean hasLrsLoadReportingServerName()
LRS server to send load reports to. If not present, load reporting will be disabled. If set to the empty string, load reporting will be sent to the same server that we obtained CDS data from. DEPRECATED: Use new lrs_load_reporting_server field instead.
.google.protobuf.StringValue lrs_load_reporting_server_name = 2 [deprecated = true];hasLrsLoadReportingServerName in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder@Deprecated public com.google.protobuf.StringValue getLrsLoadReportingServerName()
LRS server to send load reports to. If not present, load reporting will be disabled. If set to the empty string, load reporting will be sent to the same server that we obtained CDS data from. DEPRECATED: Use new lrs_load_reporting_server field instead.
.google.protobuf.StringValue lrs_load_reporting_server_name = 2 [deprecated = true];getLrsLoadReportingServerName in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder@Deprecated public com.google.protobuf.StringValueOrBuilder getLrsLoadReportingServerNameOrBuilder()
LRS server to send load reports to. If not present, load reporting will be disabled. If set to the empty string, load reporting will be sent to the same server that we obtained CDS data from. DEPRECATED: Use new lrs_load_reporting_server field instead.
.google.protobuf.StringValue lrs_load_reporting_server_name = 2 [deprecated = true];getLrsLoadReportingServerNameOrBuilder in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic 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;hasLrsLoadReportingServer in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic XdsServer 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;getLrsLoadReportingServer in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic XdsServerOrBuilder 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;getLrsLoadReportingServerOrBuilder in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic boolean hasMaxConcurrentRequests()
Maximum number of outstanding requests can be made to the upstream cluster. Default is 1024.
.google.protobuf.UInt32Value max_concurrent_requests = 3;hasMaxConcurrentRequests in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic 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 = 3;getMaxConcurrentRequests in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic 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 = 3;getMaxConcurrentRequestsOrBuilder in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic int getTypeValue()
.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type type = 4;getTypeValue in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type getType()
.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type type = 4;getType in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic String getEdsServiceName()
For type EDS only. EDS service name, as returned in CDS. May be unset if not specified in CDS.
string eds_service_name = 5;getEdsServiceName in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic com.google.protobuf.ByteString getEdsServiceNameBytes()
For type EDS only. EDS service name, as returned in CDS. May be unset if not specified in CDS.
string eds_service_name = 5;getEdsServiceNameBytes in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic String getDnsHostname()
For type LOGICAL_DNS only. DNS name to resolve in "host:port" form.
string dns_hostname = 6;getDnsHostname in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic com.google.protobuf.ByteString getDnsHostnameBytes()
For type LOGICAL_DNS only. DNS name to resolve in "host:port" form.
string dns_hostname = 6;getDnsHostnameBytes in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic 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 XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(InputStream input) throws IOException
IOExceptionpublic static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder newBuilder()
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder newBuilder(XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism prototype)
public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism getDefaultInstance()
public static com.google.protobuf.Parser<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism> parser()
public com.google.protobuf.Parser<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.