public static final class V1.EndpointSubset extends com.google.protobuf.GeneratedMessageV3 implements V1.EndpointSubsetOrBuilder
EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given: { Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] } The resulting set of endpoints can be viewed as: a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ]Protobuf type
k8s.io.api.core.v1.EndpointSubset
Modifier and Type | Class and Description |
---|---|
static class |
V1.EndpointSubset.Builder
EndpointSubset is a group of addresses with a common set of ports.
|
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 |
ADDRESSES_FIELD_NUMBER |
static int |
NOTREADYADDRESSES_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.EndpointSubset> |
PARSER
Deprecated.
|
static int |
PORTS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
V1.EndpointAddress |
getAddresses(int index)
IP addresses which offer the related ports that are marked as ready.
|
int |
getAddressesCount()
IP addresses which offer the related ports that are marked as ready.
|
List<V1.EndpointAddress> |
getAddressesList()
IP addresses which offer the related ports that are marked as ready.
|
V1.EndpointAddressOrBuilder |
getAddressesOrBuilder(int index)
IP addresses which offer the related ports that are marked as ready.
|
List<? extends V1.EndpointAddressOrBuilder> |
getAddressesOrBuilderList()
IP addresses which offer the related ports that are marked as ready.
|
static V1.EndpointSubset |
getDefaultInstance() |
V1.EndpointSubset |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
V1.EndpointAddress |
getNotReadyAddresses(int index)
IP addresses which offer the related ports but are not currently marked as ready
because they have not yet finished starting, have recently failed a readiness check,
or have recently failed a liveness check.
|
int |
getNotReadyAddressesCount()
IP addresses which offer the related ports but are not currently marked as ready
because they have not yet finished starting, have recently failed a readiness check,
or have recently failed a liveness check.
|
List<V1.EndpointAddress> |
getNotReadyAddressesList()
IP addresses which offer the related ports but are not currently marked as ready
because they have not yet finished starting, have recently failed a readiness check,
or have recently failed a liveness check.
|
V1.EndpointAddressOrBuilder |
getNotReadyAddressesOrBuilder(int index)
IP addresses which offer the related ports but are not currently marked as ready
because they have not yet finished starting, have recently failed a readiness check,
or have recently failed a liveness check.
|
List<? extends V1.EndpointAddressOrBuilder> |
getNotReadyAddressesOrBuilderList()
IP addresses which offer the related ports but are not currently marked as ready
because they have not yet finished starting, have recently failed a readiness check,
or have recently failed a liveness check.
|
com.google.protobuf.Parser<V1.EndpointSubset> |
getParserForType() |
V1.EndpointPort |
getPorts(int index)
Port numbers available on the related IP addresses.
|
int |
getPortsCount()
Port numbers available on the related IP addresses.
|
List<V1.EndpointPort> |
getPortsList()
Port numbers available on the related IP addresses.
|
V1.EndpointPortOrBuilder |
getPortsOrBuilder(int index)
Port numbers available on the related IP addresses.
|
List<? extends V1.EndpointPortOrBuilder> |
getPortsOrBuilderList()
Port numbers available on the related IP addresses.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.EndpointSubset.Builder |
newBuilder() |
static V1.EndpointSubset.Builder |
newBuilder(V1.EndpointSubset prototype) |
V1.EndpointSubset.Builder |
newBuilderForType() |
protected V1.EndpointSubset.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.EndpointSubset |
parseDelimitedFrom(InputStream input) |
static V1.EndpointSubset |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EndpointSubset |
parseFrom(byte[] data) |
static V1.EndpointSubset |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EndpointSubset |
parseFrom(ByteBuffer data) |
static V1.EndpointSubset |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EndpointSubset |
parseFrom(com.google.protobuf.ByteString data) |
static V1.EndpointSubset |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EndpointSubset |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.EndpointSubset |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EndpointSubset |
parseFrom(InputStream input) |
static V1.EndpointSubset |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.EndpointSubset> |
parser() |
V1.EndpointSubset.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, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int ADDRESSES_FIELD_NUMBER
public static final int NOTREADYADDRESSES_FIELD_NUMBER
public static final int PORTS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.EndpointSubset> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public List<V1.EndpointAddress> getAddressesList()
IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize. +optional
repeated .k8s.io.api.core.v1.EndpointAddress addresses = 1;
getAddressesList
in interface V1.EndpointSubsetOrBuilder
public List<? extends V1.EndpointAddressOrBuilder> getAddressesOrBuilderList()
IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize. +optional
repeated .k8s.io.api.core.v1.EndpointAddress addresses = 1;
getAddressesOrBuilderList
in interface V1.EndpointSubsetOrBuilder
public int getAddressesCount()
IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize. +optional
repeated .k8s.io.api.core.v1.EndpointAddress addresses = 1;
getAddressesCount
in interface V1.EndpointSubsetOrBuilder
public V1.EndpointAddress getAddresses(int index)
IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize. +optional
repeated .k8s.io.api.core.v1.EndpointAddress addresses = 1;
getAddresses
in interface V1.EndpointSubsetOrBuilder
public V1.EndpointAddressOrBuilder getAddressesOrBuilder(int index)
IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize. +optional
repeated .k8s.io.api.core.v1.EndpointAddress addresses = 1;
getAddressesOrBuilder
in interface V1.EndpointSubsetOrBuilder
public List<V1.EndpointAddress> getNotReadyAddressesList()
IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check. +optional
repeated .k8s.io.api.core.v1.EndpointAddress notReadyAddresses = 2;
getNotReadyAddressesList
in interface V1.EndpointSubsetOrBuilder
public List<? extends V1.EndpointAddressOrBuilder> getNotReadyAddressesOrBuilderList()
IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check. +optional
repeated .k8s.io.api.core.v1.EndpointAddress notReadyAddresses = 2;
getNotReadyAddressesOrBuilderList
in interface V1.EndpointSubsetOrBuilder
public int getNotReadyAddressesCount()
IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check. +optional
repeated .k8s.io.api.core.v1.EndpointAddress notReadyAddresses = 2;
getNotReadyAddressesCount
in interface V1.EndpointSubsetOrBuilder
public V1.EndpointAddress getNotReadyAddresses(int index)
IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check. +optional
repeated .k8s.io.api.core.v1.EndpointAddress notReadyAddresses = 2;
getNotReadyAddresses
in interface V1.EndpointSubsetOrBuilder
public V1.EndpointAddressOrBuilder getNotReadyAddressesOrBuilder(int index)
IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check. +optional
repeated .k8s.io.api.core.v1.EndpointAddress notReadyAddresses = 2;
getNotReadyAddressesOrBuilder
in interface V1.EndpointSubsetOrBuilder
public List<V1.EndpointPort> getPortsList()
Port numbers available on the related IP addresses. +optional
repeated .k8s.io.api.core.v1.EndpointPort ports = 3;
getPortsList
in interface V1.EndpointSubsetOrBuilder
public List<? extends V1.EndpointPortOrBuilder> getPortsOrBuilderList()
Port numbers available on the related IP addresses. +optional
repeated .k8s.io.api.core.v1.EndpointPort ports = 3;
getPortsOrBuilderList
in interface V1.EndpointSubsetOrBuilder
public int getPortsCount()
Port numbers available on the related IP addresses. +optional
repeated .k8s.io.api.core.v1.EndpointPort ports = 3;
getPortsCount
in interface V1.EndpointSubsetOrBuilder
public V1.EndpointPort getPorts(int index)
Port numbers available on the related IP addresses. +optional
repeated .k8s.io.api.core.v1.EndpointPort ports = 3;
getPorts
in interface V1.EndpointSubsetOrBuilder
public V1.EndpointPortOrBuilder getPortsOrBuilder(int index)
Port numbers available on the related IP addresses. +optional
repeated .k8s.io.api.core.v1.EndpointPort ports = 3;
getPortsOrBuilder
in interface V1.EndpointSubsetOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static V1.EndpointSubset parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.EndpointSubset parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.EndpointSubset parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.EndpointSubset parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.EndpointSubset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.EndpointSubset parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.EndpointSubset parseFrom(InputStream input) throws IOException
IOException
public static V1.EndpointSubset parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static V1.EndpointSubset parseDelimitedFrom(InputStream input) throws IOException
IOException
public static V1.EndpointSubset parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static V1.EndpointSubset parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static V1.EndpointSubset parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public V1.EndpointSubset.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static V1.EndpointSubset.Builder newBuilder()
public static V1.EndpointSubset.Builder newBuilder(V1.EndpointSubset prototype)
public V1.EndpointSubset.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected V1.EndpointSubset.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static V1.EndpointSubset getDefaultInstance()
public static com.google.protobuf.Parser<V1.EndpointSubset> parser()
public com.google.protobuf.Parser<V1.EndpointSubset> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public V1.EndpointSubset getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2021. All rights reserved.