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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>
public V1.Endpoints getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public V1.Endpoints build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public V1.Endpoints buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public V1.Endpoints.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1.Endpoints.Builder>
IOException
public boolean hasMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
hasMetadata
in interface V1.EndpointsOrBuilder
public Meta.ObjectMeta getMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
getMetadata
in interface V1.EndpointsOrBuilder
public V1.Endpoints.Builder setMetadata(Meta.ObjectMeta value)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/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/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/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/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/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/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
getMetadataOrBuilder
in interface V1.EndpointsOrBuilder
public 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.EndpointsOrBuilder
public 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.EndpointsOrBuilder
public 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.EndpointsOrBuilder
public 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.EndpointsOrBuilder
public 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.EndpointsOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Endpoints.Builder>
Copyright © 2021. All rights reserved.