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 domainProtobuf type
envoy.data.dns.v3.DnsTable.DnsService- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThis message defines a service selection record returned for a service query in a domainNested 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 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 TypeMethodDescriptionbooleanstatic DnsTable.DnsServicestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<DnsTable.DnsService>The service protocol.The service protocol.intThe name of the service without the protocol or domain namecom.google.protobuf.ByteStringThe name of the service without the protocol or domain namegetTargets(int index) The list of targets hosting the serviceintThe list of targets hosting the serviceThe list of targets hosting the servicegetTargetsOrBuilder(int index) The list of targets hosting the serviceList<? extends DnsTable.DnsServiceTargetOrBuilder>The list of targets hosting the servicecom.google.protobuf.DurationgetTtl()The service entry time to live.com.google.protobuf.DurationOrBuilderThe service entry time to live.inthashCode()booleanThe service protocol.booleanhasTtl()The service entry time to live.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic DnsTable.DnsService.Builderstatic DnsTable.DnsService.BuildernewBuilder(DnsTable.DnsService prototype) 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()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
-
SERVICE_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER- See Also:
-
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER- See Also:
-
TTL_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER- See Also:
-
TARGETS_FIELD_NUMBER
public static final int TARGETS_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
-
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
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
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
The list of targets hosting the service
repeated .envoy.data.dns.v3.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... }- Specified by:
getTargetsListin interfaceDnsTable.DnsServiceOrBuilder
-
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
The list of targets hosting the service
repeated .envoy.data.dns.v3.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... }- Specified by:
getTargetsin interfaceDnsTable.DnsServiceOrBuilder
-
getTargetsOrBuilder
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
- 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 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
- Throws:
IOException
-
parseFrom
public static DnsTable.DnsService parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
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
-