Package k8s.io.api.core.v1
Class Generated.EndpointSubset
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.EndpointSubset
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.EndpointSubsetOrBuilder
- Enclosing class:
- Generated
public static final class Generated.EndpointSubset extends com.google.protobuf.GeneratedMessageV3 implements Generated.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 typek8s.io.api.core.v1.EndpointSubset- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.EndpointSubset.BuilderEndpointSubset is a group of addresses with a common set of ports.-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intADDRESSES_FIELD_NUMBERstatic intNOTREADYADDRESSES_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.EndpointSubset>PARSERDeprecated.static intPORTS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Generated.EndpointAddressgetAddresses(int index)IP addresses which offer the related ports that are marked as ready.intgetAddressesCount()IP addresses which offer the related ports that are marked as ready.List<Generated.EndpointAddress>getAddressesList()IP addresses which offer the related ports that are marked as ready.Generated.EndpointAddressOrBuildergetAddressesOrBuilder(int index)IP addresses which offer the related ports that are marked as ready.List<? extends Generated.EndpointAddressOrBuilder>getAddressesOrBuilderList()IP addresses which offer the related ports that are marked as ready.static Generated.EndpointSubsetgetDefaultInstance()Generated.EndpointSubsetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Generated.EndpointAddressgetNotReadyAddresses(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.intgetNotReadyAddressesCount()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<Generated.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.Generated.EndpointAddressOrBuildergetNotReadyAddressesOrBuilder(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 Generated.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<Generated.EndpointSubset>getParserForType()Generated.EndpointPortgetPorts(int index)Port numbers available on the related IP addresses.intgetPortsCount()Port numbers available on the related IP addresses.List<Generated.EndpointPort>getPortsList()Port numbers available on the related IP addresses.Generated.EndpointPortOrBuildergetPortsOrBuilder(int index)Port numbers available on the related IP addresses.List<? extends Generated.EndpointPortOrBuilder>getPortsOrBuilderList()Port numbers available on the related IP addresses.intgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.EndpointSubset.BuildernewBuilder()static Generated.EndpointSubset.BuildernewBuilder(Generated.EndpointSubset prototype)Generated.EndpointSubset.BuildernewBuilderForType()protected Generated.EndpointSubset.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.EndpointSubsetparseDelimitedFrom(InputStream input)static Generated.EndpointSubsetparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EndpointSubsetparseFrom(byte[] data)static Generated.EndpointSubsetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EndpointSubsetparseFrom(com.google.protobuf.ByteString data)static Generated.EndpointSubsetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EndpointSubsetparseFrom(com.google.protobuf.CodedInputStream input)static Generated.EndpointSubsetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EndpointSubsetparseFrom(InputStream input)static Generated.EndpointSubsetparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EndpointSubsetparseFrom(ByteBuffer data)static Generated.EndpointSubsetparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.EndpointSubset>parser()Generated.EndpointSubset.BuildertoBuilder()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, 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
-
ADDRESSES_FIELD_NUMBER
public static final int ADDRESSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOTREADYADDRESSES_FIELD_NUMBER
public static final int NOTREADYADDRESSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PORTS_FIELD_NUMBER
public static final int PORTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.EndpointSubset> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
-
getAddressesList
public List<Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EndpointAddress addresses = 1;- Specified by:
getAddressesListin interfaceGenerated.EndpointSubsetOrBuilder
-
getAddressesOrBuilderList
public List<? extends Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EndpointAddress addresses = 1;- Specified by:
getAddressesOrBuilderListin interfaceGenerated.EndpointSubsetOrBuilder
-
getAddressesCount
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 +listType=atomic
repeated .k8s.io.api.core.v1.EndpointAddress addresses = 1;- Specified by:
getAddressesCountin interfaceGenerated.EndpointSubsetOrBuilder
-
getAddresses
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EndpointAddress addresses = 1;- Specified by:
getAddressesin interfaceGenerated.EndpointSubsetOrBuilder
-
getAddressesOrBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EndpointAddress addresses = 1;- Specified by:
getAddressesOrBuilderin interfaceGenerated.EndpointSubsetOrBuilder
-
getNotReadyAddressesList
public List<Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EndpointAddress notReadyAddresses = 2;- Specified by:
getNotReadyAddressesListin interfaceGenerated.EndpointSubsetOrBuilder
-
getNotReadyAddressesOrBuilderList
public List<? extends Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EndpointAddress notReadyAddresses = 2;- Specified by:
getNotReadyAddressesOrBuilderListin interfaceGenerated.EndpointSubsetOrBuilder
-
getNotReadyAddressesCount
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 +listType=atomic
repeated .k8s.io.api.core.v1.EndpointAddress notReadyAddresses = 2;- Specified by:
getNotReadyAddressesCountin interfaceGenerated.EndpointSubsetOrBuilder
-
getNotReadyAddresses
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EndpointAddress notReadyAddresses = 2;- Specified by:
getNotReadyAddressesin interfaceGenerated.EndpointSubsetOrBuilder
-
getNotReadyAddressesOrBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.EndpointAddress notReadyAddresses = 2;- Specified by:
getNotReadyAddressesOrBuilderin interfaceGenerated.EndpointSubsetOrBuilder
-
getPortsList
public List<Generated.EndpointPort> getPortsList()
Port numbers available on the related IP addresses. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EndpointPort ports = 3;- Specified by:
getPortsListin interfaceGenerated.EndpointSubsetOrBuilder
-
getPortsOrBuilderList
public List<? extends Generated.EndpointPortOrBuilder> getPortsOrBuilderList()
Port numbers available on the related IP addresses. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EndpointPort ports = 3;- Specified by:
getPortsOrBuilderListin interfaceGenerated.EndpointSubsetOrBuilder
-
getPortsCount
public int getPortsCount()
Port numbers available on the related IP addresses. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EndpointPort ports = 3;- Specified by:
getPortsCountin interfaceGenerated.EndpointSubsetOrBuilder
-
getPorts
public Generated.EndpointPort getPorts(int index)
Port numbers available on the related IP addresses. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EndpointPort ports = 3;- Specified by:
getPortsin interfaceGenerated.EndpointSubsetOrBuilder
-
getPortsOrBuilder
public Generated.EndpointPortOrBuilder getPortsOrBuilder(int index)
Port numbers available on the related IP addresses. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EndpointPort ports = 3;- Specified by:
getPortsOrBuilderin interfaceGenerated.EndpointSubsetOrBuilder
-
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 Generated.EndpointSubset parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EndpointSubset parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EndpointSubset parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EndpointSubset parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EndpointSubset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EndpointSubset parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EndpointSubset parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.EndpointSubset parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.EndpointSubset parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.EndpointSubset parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.EndpointSubset parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.EndpointSubset parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.EndpointSubset.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.EndpointSubset.Builder newBuilder()
-
newBuilder
public static Generated.EndpointSubset.Builder newBuilder(Generated.EndpointSubset prototype)
-
toBuilder
public Generated.EndpointSubset.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.EndpointSubset.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.EndpointSubset getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.EndpointSubset> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.EndpointSubset> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.EndpointSubset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-