public static final class XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder> 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.DiscoveryMechanismgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder>public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder>public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder>public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder>public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder>public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder>public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder>public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder>public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder>public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder mergeFrom(XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder>public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder>IOExceptionpublic 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.DiscoveryMechanismOrBuilderpublic XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setCluster(String value)
Cluster name.
string cluster = 1;value - The cluster to set.public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder clearCluster()
Cluster name.
string cluster = 1;public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setClusterBytes(com.google.protobuf.ByteString value)
Cluster name.
string cluster = 1;value - The bytes for cluster to set.@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 XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setLrsLoadReportingServerName(com.google.protobuf.StringValue value)
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];@Deprecated public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setLrsLoadReportingServerName(com.google.protobuf.StringValue.Builder builderForValue)
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];@Deprecated public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder mergeLrsLoadReportingServerName(com.google.protobuf.StringValue value)
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];@Deprecated public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder clearLrsLoadReportingServerName()
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];@Deprecated public com.google.protobuf.StringValue.Builder getLrsLoadReportingServerNameBuilder()
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];@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 XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setLrsLoadReportingServer(XdsServer value)
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;public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setLrsLoadReportingServer(XdsServer.Builder builderForValue)
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;public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder mergeLrsLoadReportingServer(XdsServer value)
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;public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder clearLrsLoadReportingServer()
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;public XdsServer.Builder getLrsLoadReportingServerBuilder()
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;public 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 XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setMaxConcurrentRequests(com.google.protobuf.UInt32Value value)
Maximum number of outstanding requests can be made to the upstream cluster. Default is 1024.
.google.protobuf.UInt32Value max_concurrent_requests = 3;public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setMaxConcurrentRequests(com.google.protobuf.UInt32Value.Builder builderForValue)
Maximum number of outstanding requests can be made to the upstream cluster. Default is 1024.
.google.protobuf.UInt32Value max_concurrent_requests = 3;public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder mergeMaxConcurrentRequests(com.google.protobuf.UInt32Value value)
Maximum number of outstanding requests can be made to the upstream cluster. Default is 1024.
.google.protobuf.UInt32Value max_concurrent_requests = 3;public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder clearMaxConcurrentRequests()
Maximum number of outstanding requests can be made to the upstream cluster. Default is 1024.
.google.protobuf.UInt32Value max_concurrent_requests = 3;public com.google.protobuf.UInt32Value.Builder getMaxConcurrentRequestsBuilder()
Maximum number of outstanding requests can be made to the upstream cluster. Default is 1024.
.google.protobuf.UInt32Value max_concurrent_requests = 3;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 = 3;getMaxConcurrentRequestsOrBuilder in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic int getTypeValue()
.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type type = 4;getTypeValue in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setTypeValue(int value)
.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type type = 4;value - The enum numeric value on the wire for type to set.public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type getType()
.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type type = 4;getType in interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilderpublic XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setType(XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type value)
.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type type = 4;value - The type to set.public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder clearType()
.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type type = 4;public 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 XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setEdsServiceName(String value)
For type EDS only. EDS service name, as returned in CDS. May be unset if not specified in CDS.
string eds_service_name = 5;value - The edsServiceName to set.public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder clearEdsServiceName()
For type EDS only. EDS service name, as returned in CDS. May be unset if not specified in CDS.
string eds_service_name = 5;public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setEdsServiceNameBytes(com.google.protobuf.ByteString value)
For type EDS only. EDS service name, as returned in CDS. May be unset if not specified in CDS.
string eds_service_name = 5;value - The bytes for edsServiceName to set.public 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 XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setDnsHostname(String value)
For type LOGICAL_DNS only. DNS name to resolve in "host:port" form.
string dns_hostname = 6;value - The dnsHostname to set.public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder clearDnsHostname()
For type LOGICAL_DNS only. DNS name to resolve in "host:port" form.
string dns_hostname = 6;public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setDnsHostnameBytes(com.google.protobuf.ByteString value)
For type LOGICAL_DNS only. DNS name to resolve in "host:port" form.
string dns_hostname = 6;value - The bytes for dnsHostname to set.public final XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder>public final XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder>Copyright © 2022 Google LLC. All rights reserved.