public static final class Meta.APIVersions extends com.google.protobuf.GeneratedMessageV3 implements Meta.APIVersionsOrBuilder
APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API. +protobuf.options.(gogoproto.goproto_stringer)=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.ObjectProtobuf type
k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions| Modifier and Type | Class and Description |
|---|---|
static class |
Meta.APIVersions.Builder
APIVersions lists the versions that are available, to allow clients to
discover the API at /api, which is the root path of the legacy v1 API.
|
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 com.google.protobuf.Parser<Meta.APIVersions> |
PARSER
Deprecated.
|
static int |
SERVERADDRESSBYCLIENTCIDRS_FIELD_NUMBER |
static int |
VERSIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Meta.APIVersions |
getDefaultInstance() |
Meta.APIVersions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Meta.APIVersions> |
getParserForType() |
int |
getSerializedSize() |
Meta.ServerAddressByClientCIDR |
getServerAddressByClientCIDRs(int index)
a map of client CIDR to server address that is serving this group.
|
int |
getServerAddressByClientCIDRsCount()
a map of client CIDR to server address that is serving this group.
|
List<Meta.ServerAddressByClientCIDR> |
getServerAddressByClientCIDRsList()
a map of client CIDR to server address that is serving this group.
|
Meta.ServerAddressByClientCIDROrBuilder |
getServerAddressByClientCIDRsOrBuilder(int index)
a map of client CIDR to server address that is serving this group.
|
List<? extends Meta.ServerAddressByClientCIDROrBuilder> |
getServerAddressByClientCIDRsOrBuilderList()
a map of client CIDR to server address that is serving this group.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVersions(int index)
versions are the api versions that are available.
|
com.google.protobuf.ByteString |
getVersionsBytes(int index)
versions are the api versions that are available.
|
int |
getVersionsCount()
versions are the api versions that are available.
|
com.google.protobuf.ProtocolStringList |
getVersionsList()
versions are the api versions that are available.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Meta.APIVersions.Builder |
newBuilder() |
static Meta.APIVersions.Builder |
newBuilder(Meta.APIVersions prototype) |
Meta.APIVersions.Builder |
newBuilderForType() |
protected Meta.APIVersions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Meta.APIVersions |
parseDelimitedFrom(InputStream input) |
static Meta.APIVersions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.APIVersions |
parseFrom(byte[] data) |
static Meta.APIVersions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.APIVersions |
parseFrom(ByteBuffer data) |
static Meta.APIVersions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.APIVersions |
parseFrom(com.google.protobuf.ByteString data) |
static Meta.APIVersions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.APIVersions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Meta.APIVersions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.APIVersions |
parseFrom(InputStream input) |
static Meta.APIVersions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Meta.APIVersions> |
parser() |
Meta.APIVersions.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, isStringEmpty, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VERSIONS_FIELD_NUMBER
public static final int SERVERADDRESSBYCLIENTCIDRS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Meta.APIVersions> PARSER
public 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 com.google.protobuf.ProtocolStringList getVersionsList()
versions are the api versions that are available.
repeated string versions = 1;getVersionsList in interface Meta.APIVersionsOrBuilderpublic int getVersionsCount()
versions are the api versions that are available.
repeated string versions = 1;getVersionsCount in interface Meta.APIVersionsOrBuilderpublic String getVersions(int index)
versions are the api versions that are available.
repeated string versions = 1;getVersions in interface Meta.APIVersionsOrBuilderpublic com.google.protobuf.ByteString getVersionsBytes(int index)
versions are the api versions that are available.
repeated string versions = 1;getVersionsBytes in interface Meta.APIVersionsOrBuilderpublic List<Meta.ServerAddressByClientCIDR> getServerAddressByClientCIDRsList()
a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2;
getServerAddressByClientCIDRsList in interface Meta.APIVersionsOrBuilderpublic List<? extends Meta.ServerAddressByClientCIDROrBuilder> getServerAddressByClientCIDRsOrBuilderList()
a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2;
getServerAddressByClientCIDRsOrBuilderList in interface Meta.APIVersionsOrBuilderpublic int getServerAddressByClientCIDRsCount()
a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2;
getServerAddressByClientCIDRsCount in interface Meta.APIVersionsOrBuilderpublic Meta.ServerAddressByClientCIDR getServerAddressByClientCIDRs(int index)
a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2;
getServerAddressByClientCIDRs in interface Meta.APIVersionsOrBuilderpublic Meta.ServerAddressByClientCIDROrBuilder getServerAddressByClientCIDRsOrBuilder(int index)
a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2;
getServerAddressByClientCIDRsOrBuilder in interface Meta.APIVersionsOrBuilderpublic 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 Meta.APIVersions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.APIVersions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.APIVersions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.APIVersions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.APIVersions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.APIVersions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.APIVersions parseFrom(InputStream input) throws IOException
IOExceptionpublic static Meta.APIVersions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Meta.APIVersions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Meta.APIVersions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Meta.APIVersions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Meta.APIVersions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Meta.APIVersions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Meta.APIVersions.Builder newBuilder()
public static Meta.APIVersions.Builder newBuilder(Meta.APIVersions prototype)
public Meta.APIVersions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Meta.APIVersions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Meta.APIVersions getDefaultInstance()
public static com.google.protobuf.Parser<Meta.APIVersions> parser()
public com.google.protobuf.Parser<Meta.APIVersions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Meta.APIVersions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.