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.v4alpha.DnsTable.DnsService| Modifier and Type | Class and Description |
|---|---|
static class |
DnsTable.DnsService.Builder
This message defines a service selection record returned for a service query in a domain
Protobuf type
envoy.data.dns.v4alpha.DnsTable.DnsService |
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 |
PROTOCOL_FIELD_NUMBER |
static int |
SERVICE_NAME_FIELD_NUMBER |
static int |
TARGETS_FIELD_NUMBER |
static int |
TTL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DnsTable.DnsService |
getDefaultInstance() |
DnsTable.DnsService |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<DnsTable.DnsService> |
getParserForType() |
DnsTable.DnsServiceProtocol |
getProtocol()
The service protocol.
|
DnsTable.DnsServiceProtocolOrBuilder |
getProtocolOrBuilder()
The service protocol.
|
int |
getSerializedSize() |
String |
getServiceName()
The name of the service without the protocol or domain name
string service_name = 1 [(.validate.rules) = { ... } |
com.google.protobuf.ByteString |
getServiceNameBytes()
The name of the service without the protocol or domain name
string service_name = 1 [(.validate.rules) = { ... } |
DnsTable.DnsServiceTarget |
getTargets(int index)
The list of targets hosting the service
repeated .envoy.data.dns.v4alpha.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... } |
int |
getTargetsCount()
The list of targets hosting the service
repeated .envoy.data.dns.v4alpha.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... } |
List<DnsTable.DnsServiceTarget> |
getTargetsList()
The list of targets hosting the service
repeated .envoy.data.dns.v4alpha.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... } |
DnsTable.DnsServiceTargetOrBuilder |
getTargetsOrBuilder(int index)
The list of targets hosting the service
repeated .envoy.data.dns.v4alpha.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... } |
List<? extends DnsTable.DnsServiceTargetOrBuilder> |
getTargetsOrBuilderList()
The list of targets hosting the service
repeated .envoy.data.dns.v4alpha.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... } |
com.google.protobuf.Duration |
getTtl()
The service entry time to live.
|
com.google.protobuf.DurationOrBuilder |
getTtlOrBuilder()
The service entry time to live.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasProtocol()
The service protocol.
|
boolean |
hasTtl()
The service entry time to live.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DnsTable.DnsService.Builder |
newBuilder() |
static DnsTable.DnsService.Builder |
newBuilder(DnsTable.DnsService prototype) |
DnsTable.DnsService.Builder |
newBuilderForType() |
protected DnsTable.DnsService.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DnsTable.DnsService |
parseDelimitedFrom(InputStream input) |
static DnsTable.DnsService |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DnsTable.DnsService |
parseFrom(byte[] data) |
static DnsTable.DnsService |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DnsTable.DnsService |
parseFrom(ByteBuffer data) |
static DnsTable.DnsService |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DnsTable.DnsService |
parseFrom(com.google.protobuf.ByteString data) |
static DnsTable.DnsService |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DnsTable.DnsService |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DnsTable.DnsService |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DnsTable.DnsService |
parseFrom(InputStream input) |
static DnsTable.DnsService |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DnsTable.DnsService> |
parser() |
DnsTable.DnsService.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, 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 SERVICE_NAME_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER
public static final int TARGETS_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 getServiceName()
The name of the service without the protocol or domain name
string service_name = 1 [(.validate.rules) = { ... }getServiceName in interface DnsTable.DnsServiceOrBuilderpublic com.google.protobuf.ByteString getServiceNameBytes()
The name of the service without the protocol or domain name
string service_name = 1 [(.validate.rules) = { ... }getServiceNameBytes in interface DnsTable.DnsServiceOrBuilderpublic boolean hasProtocol()
The service protocol. This can be specified as a string or the numeric value of the protocol
.envoy.data.dns.v4alpha.DnsTable.DnsServiceProtocol protocol = 2;hasProtocol in interface DnsTable.DnsServiceOrBuilderpublic DnsTable.DnsServiceProtocol getProtocol()
The service protocol. This can be specified as a string or the numeric value of the protocol
.envoy.data.dns.v4alpha.DnsTable.DnsServiceProtocol protocol = 2;getProtocol in interface DnsTable.DnsServiceOrBuilderpublic DnsTable.DnsServiceProtocolOrBuilder getProtocolOrBuilder()
The service protocol. This can be specified as a string or the numeric value of the protocol
.envoy.data.dns.v4alpha.DnsTable.DnsServiceProtocol protocol = 2;getProtocolOrBuilder in interface DnsTable.DnsServiceOrBuilderpublic boolean hasTtl()
The service entry time to live. This is independent from the DNS Answer record TTL
.google.protobuf.Duration ttl = 3 [(.validate.rules) = { ... }hasTtl in interface DnsTable.DnsServiceOrBuilderpublic 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) = { ... }getTtl in interface DnsTable.DnsServiceOrBuilderpublic 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) = { ... }getTtlOrBuilder in interface DnsTable.DnsServiceOrBuilderpublic List<DnsTable.DnsServiceTarget> getTargetsList()
The list of targets hosting the service
repeated .envoy.data.dns.v4alpha.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... }getTargetsList in interface DnsTable.DnsServiceOrBuilderpublic List<? extends DnsTable.DnsServiceTargetOrBuilder> getTargetsOrBuilderList()
The list of targets hosting the service
repeated .envoy.data.dns.v4alpha.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... }getTargetsOrBuilderList in interface DnsTable.DnsServiceOrBuilderpublic int getTargetsCount()
The list of targets hosting the service
repeated .envoy.data.dns.v4alpha.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... }getTargetsCount in interface DnsTable.DnsServiceOrBuilderpublic DnsTable.DnsServiceTarget getTargets(int index)
The list of targets hosting the service
repeated .envoy.data.dns.v4alpha.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... }getTargets in interface DnsTable.DnsServiceOrBuilderpublic DnsTable.DnsServiceTargetOrBuilder getTargetsOrBuilder(int index)
The list of targets hosting the service
repeated .envoy.data.dns.v4alpha.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... }getTargetsOrBuilder in interface DnsTable.DnsServiceOrBuilderpublic 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 DnsTable.DnsService parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DnsTable.DnsService parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DnsTable.DnsService parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DnsTable.DnsService parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DnsTable.DnsService parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DnsTable.DnsService parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DnsTable.DnsService parseFrom(InputStream input) throws IOException
IOExceptionpublic static DnsTable.DnsService parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DnsTable.DnsService parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DnsTable.DnsService parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DnsTable.DnsService parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DnsTable.DnsService parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DnsTable.DnsService.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DnsTable.DnsService.Builder newBuilder()
public static DnsTable.DnsService.Builder newBuilder(DnsTable.DnsService prototype)
public DnsTable.DnsService.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DnsTable.DnsService.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DnsTable.DnsService getDefaultInstance()
public static com.google.protobuf.Parser<DnsTable.DnsService> parser()
public com.google.protobuf.Parser<DnsTable.DnsService> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DnsTable.DnsService getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.