Package io.envoyproxy.envoy.data.dns.v3
Class DnsTable.DnsService
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.data.dns.v3.DnsTable.DnsService
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DnsTable.DnsServiceOrBuilder,Serializable
- Enclosing class:
- DnsTable
public static final class DnsTable.DnsService extends com.google.protobuf.GeneratedMessageV3 implements DnsTable.DnsServiceOrBuilder
This message defines a service selection record returned for a service query in a domain
Protobuf typeenvoy.data.dns.v3.DnsTable.DnsService- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDnsTable.DnsService.BuilderThis message defines a service selection record returned for a service query in a domain-
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 intPROTOCOL_FIELD_NUMBERstatic intSERVICE_NAME_FIELD_NUMBERstatic intTARGETS_FIELD_NUMBERstatic intTTL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static DnsTable.DnsServicegetDefaultInstance()DnsTable.DnsServicegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<DnsTable.DnsService>getParserForType()DnsTable.DnsServiceProtocolgetProtocol()The service protocol.DnsTable.DnsServiceProtocolOrBuildergetProtocolOrBuilder()The service protocol.intgetSerializedSize()StringgetServiceName()The name of the service without the protocol or domain namecom.google.protobuf.ByteStringgetServiceNameBytes()The name of the service without the protocol or domain nameDnsTable.DnsServiceTargetgetTargets(int index)The list of targets hosting the serviceintgetTargetsCount()The list of targets hosting the serviceList<DnsTable.DnsServiceTarget>getTargetsList()The list of targets hosting the serviceDnsTable.DnsServiceTargetOrBuildergetTargetsOrBuilder(int index)The list of targets hosting the serviceList<? extends DnsTable.DnsServiceTargetOrBuilder>getTargetsOrBuilderList()The list of targets hosting the servicecom.google.protobuf.DurationgetTtl()The service entry time to live.com.google.protobuf.DurationOrBuildergetTtlOrBuilder()The service entry time to live.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasProtocol()The service protocol.booleanhasTtl()The service entry time to live.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DnsTable.DnsService.BuildernewBuilder()static DnsTable.DnsService.BuildernewBuilder(DnsTable.DnsService prototype)DnsTable.DnsService.BuildernewBuilderForType()protected DnsTable.DnsService.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DnsTable.DnsServiceparseDelimitedFrom(InputStream input)static DnsTable.DnsServiceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsTable.DnsServiceparseFrom(byte[] data)static DnsTable.DnsServiceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsTable.DnsServiceparseFrom(com.google.protobuf.ByteString data)static DnsTable.DnsServiceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsTable.DnsServiceparseFrom(com.google.protobuf.CodedInputStream input)static DnsTable.DnsServiceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsTable.DnsServiceparseFrom(InputStream input)static DnsTable.DnsServiceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsTable.DnsServiceparseFrom(ByteBuffer data)static DnsTable.DnsServiceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DnsTable.DnsService>parser()DnsTable.DnsService.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
-
SERVICE_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TTL_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGETS_FIELD_NUMBER
public static final int TARGETS_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
-
getServiceName
public String getServiceName()
The name of the service without the protocol or domain name
string service_name = 1 [(.validate.rules) = { ... }- Specified by:
getServiceNamein interfaceDnsTable.DnsServiceOrBuilder- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()
The name of the service without the protocol or domain name
string service_name = 1 [(.validate.rules) = { ... }- Specified by:
getServiceNameBytesin interfaceDnsTable.DnsServiceOrBuilder- Returns:
- The bytes for serviceName.
-
hasProtocol
public boolean hasProtocol()
The service protocol. This can be specified as a string or the numeric value of the protocol
.envoy.data.dns.v3.DnsTable.DnsServiceProtocol protocol = 2;- Specified by:
hasProtocolin interfaceDnsTable.DnsServiceOrBuilder- Returns:
- Whether the protocol field is set.
-
getProtocol
public DnsTable.DnsServiceProtocol getProtocol()
The service protocol. This can be specified as a string or the numeric value of the protocol
.envoy.data.dns.v3.DnsTable.DnsServiceProtocol protocol = 2;- Specified by:
getProtocolin interfaceDnsTable.DnsServiceOrBuilder- Returns:
- The protocol.
-
getProtocolOrBuilder
public DnsTable.DnsServiceProtocolOrBuilder getProtocolOrBuilder()
The service protocol. This can be specified as a string or the numeric value of the protocol
.envoy.data.dns.v3.DnsTable.DnsServiceProtocol protocol = 2;- Specified by:
getProtocolOrBuilderin interfaceDnsTable.DnsServiceOrBuilder
-
hasTtl
public boolean hasTtl()
The service entry time to live. This is independent from the DNS Answer record TTL
.google.protobuf.Duration ttl = 3 [(.validate.rules) = { ... }- Specified by:
hasTtlin interfaceDnsTable.DnsServiceOrBuilder- Returns:
- Whether the ttl field is set.
-
getTtl
public com.google.protobuf.Duration getTtl()
The service entry time to live. This is independent from the DNS Answer record TTL
.google.protobuf.Duration ttl = 3 [(.validate.rules) = { ... }- Specified by:
getTtlin interfaceDnsTable.DnsServiceOrBuilder- Returns:
- The ttl.
-
getTtlOrBuilder
public com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
The service entry time to live. This is independent from the DNS Answer record TTL
.google.protobuf.Duration ttl = 3 [(.validate.rules) = { ... }- Specified by:
getTtlOrBuilderin interfaceDnsTable.DnsServiceOrBuilder
-
getTargetsList
public List<DnsTable.DnsServiceTarget> getTargetsList()
The list of targets hosting the service
repeated .envoy.data.dns.v3.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... }- Specified by:
getTargetsListin interfaceDnsTable.DnsServiceOrBuilder
-
getTargetsOrBuilderList
public List<? extends DnsTable.DnsServiceTargetOrBuilder> getTargetsOrBuilderList()
The list of targets hosting the service
repeated .envoy.data.dns.v3.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... }- Specified by:
getTargetsOrBuilderListin interfaceDnsTable.DnsServiceOrBuilder
-
getTargetsCount
public int getTargetsCount()
The list of targets hosting the service
repeated .envoy.data.dns.v3.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... }- Specified by:
getTargetsCountin interfaceDnsTable.DnsServiceOrBuilder
-
getTargets
public DnsTable.DnsServiceTarget getTargets(int index)
The list of targets hosting the service
repeated .envoy.data.dns.v3.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... }- Specified by:
getTargetsin interfaceDnsTable.DnsServiceOrBuilder
-
getTargetsOrBuilder
public DnsTable.DnsServiceTargetOrBuilder getTargetsOrBuilder(int index)
The list of targets hosting the service
repeated .envoy.data.dns.v3.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... }- Specified by:
getTargetsOrBuilderin interfaceDnsTable.DnsServiceOrBuilder
-
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 DnsTable.DnsService parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsTable.DnsService parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsTable.DnsService parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsTable.DnsService parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsTable.DnsService parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsTable.DnsService parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsTable.DnsService parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DnsTable.DnsService parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DnsTable.DnsService parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DnsTable.DnsService parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DnsTable.DnsService parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DnsTable.DnsService parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DnsTable.DnsService.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DnsTable.DnsService.Builder newBuilder()
-
newBuilder
public static DnsTable.DnsService.Builder newBuilder(DnsTable.DnsService prototype)
-
toBuilder
public DnsTable.DnsService.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DnsTable.DnsService.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DnsTable.DnsService getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DnsTable.DnsService> parser()
-
getParserForType
public com.google.protobuf.Parser<DnsTable.DnsService> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DnsTable.DnsService getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-