public static final class V1.Endpoints.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder> implements V1.EndpointsOrBuilder
Endpoints is a collection of endpoints that implement the actual service. Example:
Name: "mysvc",
Subsets: [
{
Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
},
{
Addresses: [{"ip": "10.10.3.3"}],
Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
},
]
Protobuf type k8s.io.api.core.v1.Endpoints| Modifier and Type | Method and Description |
|---|---|
V1.Endpoints.Builder |
addAllSubsets(Iterable<? extends V1.EndpointSubset> values)
The set of all endpoints is the union of all subsets.
|
V1.Endpoints.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.Endpoints.Builder |
addSubsets(int index,
V1.EndpointSubset.Builder builderForValue)
The set of all endpoints is the union of all subsets.
|
V1.Endpoints.Builder |
addSubsets(int index,
V1.EndpointSubset value)
The set of all endpoints is the union of all subsets.
|
V1.Endpoints.Builder |
addSubsets(V1.EndpointSubset.Builder builderForValue)
The set of all endpoints is the union of all subsets.
|
V1.Endpoints.Builder |
addSubsets(V1.EndpointSubset value)
The set of all endpoints is the union of all subsets.
|
V1.EndpointSubset.Builder |
addSubsetsBuilder()
The set of all endpoints is the union of all subsets.
|
V1.EndpointSubset.Builder |
addSubsetsBuilder(int index)
The set of all endpoints is the union of all subsets.
|
V1.Endpoints |
build() |
V1.Endpoints |
buildPartial() |
V1.Endpoints.Builder |
clear() |
V1.Endpoints.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.Endpoints.Builder |
clearMetadata()
Standard object's metadata.
|
V1.Endpoints.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.Endpoints.Builder |
clearSubsets()
The set of all endpoints is the union of all subsets.
|
V1.Endpoints.Builder |
clone() |
V1.Endpoints |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Meta.ObjectMeta |
getMetadata()
Standard object's metadata.
|
Meta.ObjectMeta.Builder |
getMetadataBuilder()
Standard object's metadata.
|
Meta.ObjectMetaOrBuilder |
getMetadataOrBuilder()
Standard object's metadata.
|
V1.EndpointSubset |
getSubsets(int index)
The set of all endpoints is the union of all subsets.
|
V1.EndpointSubset.Builder |
getSubsetsBuilder(int index)
The set of all endpoints is the union of all subsets.
|
List<V1.EndpointSubset.Builder> |
getSubsetsBuilderList()
The set of all endpoints is the union of all subsets.
|
int |
getSubsetsCount()
The set of all endpoints is the union of all subsets.
|
List<V1.EndpointSubset> |
getSubsetsList()
The set of all endpoints is the union of all subsets.
|
V1.EndpointSubsetOrBuilder |
getSubsetsOrBuilder(int index)
The set of all endpoints is the union of all subsets.
|
List<? extends V1.EndpointSubsetOrBuilder> |
getSubsetsOrBuilderList()
The set of all endpoints is the union of all subsets.
|
boolean |
hasMetadata()
Standard object's metadata.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.Endpoints.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.Endpoints.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.Endpoints.Builder |
mergeFrom(V1.Endpoints other) |
V1.Endpoints.Builder |
mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1.Endpoints.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.Endpoints.Builder |
removeSubsets(int index)
The set of all endpoints is the union of all subsets.
|
V1.Endpoints.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.Endpoints.Builder |
setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata.
|
V1.Endpoints.Builder |
setMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1.Endpoints.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.Endpoints.Builder |
setSubsets(int index,
V1.EndpointSubset.Builder builderForValue)
The set of all endpoints is the union of all subsets.
|
V1.Endpoints.Builder |
setSubsets(int index,
V1.EndpointSubset value)
The set of all endpoints is the union of all subsets.
|
V1.Endpoints.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>public V1.Endpoints.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>public V1.Endpoints getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.Endpoints build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.Endpoints buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.Endpoints.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>public V1.Endpoints.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>public V1.Endpoints.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>public V1.Endpoints.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>public V1.Endpoints.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>public V1.Endpoints.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>public V1.Endpoints.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.Endpoints.Builder>public V1.Endpoints.Builder mergeFrom(V1.Endpoints other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>public V1.Endpoints.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.Endpoints.Builder>IOExceptionpublic boolean hasMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;hasMetadata in interface V1.EndpointsOrBuilderpublic Meta.ObjectMeta getMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadata in interface V1.EndpointsOrBuilderpublic V1.Endpoints.Builder setMetadata(Meta.ObjectMeta value)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1.Endpoints.Builder setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1.Endpoints.Builder mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1.Endpoints.Builder clearMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public Meta.ObjectMeta.Builder getMetadataBuilder()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public Meta.ObjectMetaOrBuilder getMetadataOrBuilder()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadataOrBuilder in interface V1.EndpointsOrBuilderpublic List<V1.EndpointSubset> getSubsetsList()
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;getSubsetsList in interface V1.EndpointsOrBuilderpublic int getSubsetsCount()
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;getSubsetsCount in interface V1.EndpointsOrBuilderpublic V1.EndpointSubset getSubsets(int index)
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;getSubsets in interface V1.EndpointsOrBuilderpublic V1.Endpoints.Builder setSubsets(int index, V1.EndpointSubset value)
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;public V1.Endpoints.Builder setSubsets(int index, V1.EndpointSubset.Builder builderForValue)
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;public V1.Endpoints.Builder addSubsets(V1.EndpointSubset value)
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;public V1.Endpoints.Builder addSubsets(int index, V1.EndpointSubset value)
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;public V1.Endpoints.Builder addSubsets(V1.EndpointSubset.Builder builderForValue)
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;public V1.Endpoints.Builder addSubsets(int index, V1.EndpointSubset.Builder builderForValue)
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;public V1.Endpoints.Builder addAllSubsets(Iterable<? extends V1.EndpointSubset> values)
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;public V1.Endpoints.Builder clearSubsets()
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;public V1.Endpoints.Builder removeSubsets(int index)
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;public V1.EndpointSubset.Builder getSubsetsBuilder(int index)
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;public V1.EndpointSubsetOrBuilder getSubsetsOrBuilder(int index)
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;getSubsetsOrBuilder in interface V1.EndpointsOrBuilderpublic List<? extends V1.EndpointSubsetOrBuilder> getSubsetsOrBuilderList()
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;getSubsetsOrBuilderList in interface V1.EndpointsOrBuilderpublic V1.EndpointSubset.Builder addSubsetsBuilder()
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;public V1.EndpointSubset.Builder addSubsetsBuilder(int index)
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;public List<V1.EndpointSubset.Builder> getSubsetsBuilderList()
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. +optional
repeated .k8s.io.api.core.v1.EndpointSubset subsets = 2;public final V1.Endpoints.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>public final V1.Endpoints.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>Copyright © 2023. All rights reserved.