Package io.grpc.serviceconfig
Class XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.grpc.serviceconfig.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder,Serializable
- Enclosing class:
- XdsClusterResolverLoadBalancingPolicyConfig
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 typegrpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.BuilderDescribes a discovery mechanism instance.static classXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.TypeProtobuf enumgrpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intCLUSTER_FIELD_NUMBERstatic intDNS_HOSTNAME_FIELD_NUMBERstatic intEDS_SERVICE_NAME_FIELD_NUMBERstatic intLRS_LOAD_REPORTING_SERVER_FIELD_NUMBERstatic intLRS_LOAD_REPORTING_SERVER_NAME_FIELD_NUMBERstatic intMAX_CONCURRENT_REQUESTS_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCluster()Cluster name.com.google.protobuf.ByteStringgetClusterBytes()Cluster name.static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismgetDefaultInstance()XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDnsHostname()For type LOGICAL_DNS only.com.google.protobuf.ByteStringgetDnsHostnameBytes()For type LOGICAL_DNS only.StringgetEdsServiceName()For type EDS only.com.google.protobuf.ByteStringgetEdsServiceNameBytes()For type EDS only.XdsServergetLrsLoadReportingServer()LRS server to send load reports to.com.google.protobuf.StringValuegetLrsLoadReportingServerName()Deprecated.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.lrs_load_reporting_server_name is deprecated.com.google.protobuf.StringValueOrBuildergetLrsLoadReportingServerNameOrBuilder()Deprecated.XdsServerOrBuildergetLrsLoadReportingServerOrBuilder()LRS server to send load reports to.com.google.protobuf.UInt32ValuegetMaxConcurrentRequests()Maximum number of outstanding requests can be made to the upstream cluster.com.google.protobuf.UInt32ValueOrBuildergetMaxConcurrentRequestsOrBuilder()Maximum number of outstanding requests can be made to the upstream cluster.com.google.protobuf.Parser<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism>getParserForType()intgetSerializedSize()XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.TypegetType().grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type type = 4;intgetTypeValue().grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type type = 4;com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasLrsLoadReportingServer()LRS server to send load reports to.booleanhasLrsLoadReportingServerName()Deprecated.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.lrs_load_reporting_server_name is deprecated.booleanhasMaxConcurrentRequests()Maximum number of outstanding requests can be made to the upstream cluster.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.BuildernewBuilder()static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.BuildernewBuilder(XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism prototype)XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.BuildernewBuilderForType()protected XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismparseDelimitedFrom(InputStream input)static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismparseFrom(byte[] data)static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismparseFrom(com.google.protobuf.ByteString data)static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismparseFrom(com.google.protobuf.CodedInputStream input)static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismparseFrom(InputStream input)static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismparseFrom(ByteBuffer data)static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism>parser()XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LRS_LOAD_REPORTING_SERVER_NAME_FIELD_NUMBER
public static final int LRS_LOAD_REPORTING_SERVER_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LRS_LOAD_REPORTING_SERVER_FIELD_NUMBER
public static final int LRS_LOAD_REPORTING_SERVER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_CONCURRENT_REQUESTS_FIELD_NUMBER
public static final int MAX_CONCURRENT_REQUESTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EDS_SERVICE_NAME_FIELD_NUMBER
public static final int EDS_SERVICE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DNS_HOSTNAME_FIELD_NUMBER
public static final int DNS_HOSTNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
public String getCluster()
Cluster name.
string cluster = 1;- Specified by:
getClusterin interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()
Cluster name.
string cluster = 1;- Specified by:
getClusterBytesin interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder- Returns:
- The bytes for cluster.
-
hasLrsLoadReportingServerName
@Deprecated public boolean hasLrsLoadReportingServerName()
Deprecated.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.lrs_load_reporting_server_name is deprecated. See service_config.proto;l=285LRS 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];- Specified by:
hasLrsLoadReportingServerNamein interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder- Returns:
- Whether the lrsLoadReportingServerName field is set.
-
getLrsLoadReportingServerName
@Deprecated public com.google.protobuf.StringValue getLrsLoadReportingServerName()
Deprecated.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.lrs_load_reporting_server_name is deprecated. See service_config.proto;l=285LRS 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];- Specified by:
getLrsLoadReportingServerNamein interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder- Returns:
- The lrsLoadReportingServerName.
-
getLrsLoadReportingServerNameOrBuilder
@Deprecated public com.google.protobuf.StringValueOrBuilder getLrsLoadReportingServerNameOrBuilder()
Deprecated.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];- Specified by:
getLrsLoadReportingServerNameOrBuilderin interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder
-
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 interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder- Returns:
- Whether the lrsLoadReportingServer field is set.
-
getLrsLoadReportingServer
public 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;- Specified by:
getLrsLoadReportingServerin interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder- Returns:
- The lrsLoadReportingServer.
-
getLrsLoadReportingServerOrBuilder
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;- Specified by:
getLrsLoadReportingServerOrBuilderin interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder
-
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 = 3;- Specified by:
hasMaxConcurrentRequestsin interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder- 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 = 3;- Specified by:
getMaxConcurrentRequestsin interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder- 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 = 3;- Specified by:
getMaxConcurrentRequestsOrBuilderin interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder
-
getTypeValue
public int getTypeValue()
.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type type = 4;- Specified by:
getTypeValuein interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type getType()
.grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type type = 4;- Specified by:
getTypein interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder- Returns:
- The type.
-
getEdsServiceName
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;- Specified by:
getEdsServiceNamein interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder- Returns:
- The edsServiceName.
-
getEdsServiceNameBytes
public 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;- Specified by:
getEdsServiceNameBytesin interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder- Returns:
- The bytes for edsServiceName.
-
getDnsHostname
public String getDnsHostname()
For type LOGICAL_DNS only. DNS name to resolve in "host:port" form.
string dns_hostname = 6;- Specified by:
getDnsHostnamein interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder- Returns:
- The dnsHostname.
-
getDnsHostnameBytes
public com.google.protobuf.ByteString getDnsHostnameBytes()
For type LOGICAL_DNS only. DNS name to resolve in "host:port" form.
string dns_hostname = 6;- Specified by:
getDnsHostnameBytesin interfaceXdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder- Returns:
- The bytes for dnsHostname.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder newBuilder()
-
newBuilder
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder newBuilder(XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism prototype)
-
toBuilder
public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism> parser()
-
getParserForType
public com.google.protobuf.Parser<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-