public static final class Meta.APIGroup extends com.google.protobuf.GeneratedMessageV3 implements Meta.APIGroupOrBuilder
APIGroup contains the name, the supported versions, and the preferred version of a group.Protobuf type
k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup| Modifier and Type | Class and Description |
|---|---|
static class |
Meta.APIGroup.Builder
APIGroup contains the name, the supported versions, and the preferred version
of a group.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<Meta.APIGroup> |
PARSER
Deprecated.
|
static int |
PREFERREDVERSION_FIELD_NUMBER |
static int |
SERVERADDRESSBYCLIENTCIDRS_FIELD_NUMBER |
static int |
VERSIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Meta.APIGroup |
getDefaultInstance() |
Meta.APIGroup |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
name is the name of the group.
|
com.google.protobuf.ByteString |
getNameBytes()
name is the name of the group.
|
com.google.protobuf.Parser<Meta.APIGroup> |
getParserForType() |
Meta.GroupVersionForDiscovery |
getPreferredVersion()
preferredVersion is the version preferred by the API server, which
probably is the storage version.
|
Meta.GroupVersionForDiscoveryOrBuilder |
getPreferredVersionOrBuilder()
preferredVersion is the version preferred by the API server, which
probably is the storage version.
|
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() |
Meta.GroupVersionForDiscovery |
getVersions(int index)
versions are the versions supported in this group.
|
int |
getVersionsCount()
versions are the versions supported in this group.
|
List<Meta.GroupVersionForDiscovery> |
getVersionsList()
versions are the versions supported in this group.
|
Meta.GroupVersionForDiscoveryOrBuilder |
getVersionsOrBuilder(int index)
versions are the versions supported in this group.
|
List<? extends Meta.GroupVersionForDiscoveryOrBuilder> |
getVersionsOrBuilderList()
versions are the versions supported in this group.
|
int |
hashCode() |
boolean |
hasName()
name is the name of the group.
|
boolean |
hasPreferredVersion()
preferredVersion is the version preferred by the API server, which
probably is the storage version.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Meta.APIGroup.Builder |
newBuilder() |
static Meta.APIGroup.Builder |
newBuilder(Meta.APIGroup prototype) |
Meta.APIGroup.Builder |
newBuilderForType() |
protected Meta.APIGroup.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Meta.APIGroup |
parseDelimitedFrom(InputStream input) |
static Meta.APIGroup |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.APIGroup |
parseFrom(byte[] data) |
static Meta.APIGroup |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.APIGroup |
parseFrom(ByteBuffer data) |
static Meta.APIGroup |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.APIGroup |
parseFrom(com.google.protobuf.ByteString data) |
static Meta.APIGroup |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.APIGroup |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Meta.APIGroup |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.APIGroup |
parseFrom(InputStream input) |
static Meta.APIGroup |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Meta.APIGroup> |
parser() |
Meta.APIGroup.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 NAME_FIELD_NUMBER
public static final int VERSIONS_FIELD_NUMBER
public static final int PREFERREDVERSION_FIELD_NUMBER
public static final int SERVERADDRESSBYCLIENTCIDRS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Meta.APIGroup> 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 boolean hasName()
name is the name of the group.
optional string name = 1;hasName in interface Meta.APIGroupOrBuilderpublic String getName()
name is the name of the group.
optional string name = 1;getName in interface Meta.APIGroupOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
name is the name of the group.
optional string name = 1;getNameBytes in interface Meta.APIGroupOrBuilderpublic List<Meta.GroupVersionForDiscovery> getVersionsList()
versions are the versions supported in this group.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;getVersionsList in interface Meta.APIGroupOrBuilderpublic List<? extends Meta.GroupVersionForDiscoveryOrBuilder> getVersionsOrBuilderList()
versions are the versions supported in this group.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;getVersionsOrBuilderList in interface Meta.APIGroupOrBuilderpublic int getVersionsCount()
versions are the versions supported in this group.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;getVersionsCount in interface Meta.APIGroupOrBuilderpublic Meta.GroupVersionForDiscovery getVersions(int index)
versions are the versions supported in this group.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;getVersions in interface Meta.APIGroupOrBuilderpublic Meta.GroupVersionForDiscoveryOrBuilder getVersionsOrBuilder(int index)
versions are the versions supported in this group.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;getVersionsOrBuilder in interface Meta.APIGroupOrBuilderpublic boolean hasPreferredVersion()
preferredVersion is the version preferred by the API server, which probably is the storage version. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3;hasPreferredVersion in interface Meta.APIGroupOrBuilderpublic Meta.GroupVersionForDiscovery getPreferredVersion()
preferredVersion is the version preferred by the API server, which probably is the storage version. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3;getPreferredVersion in interface Meta.APIGroupOrBuilderpublic Meta.GroupVersionForDiscoveryOrBuilder getPreferredVersionOrBuilder()
preferredVersion is the version preferred by the API server, which probably is the storage version. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3;getPreferredVersionOrBuilder in interface Meta.APIGroupOrBuilderpublic 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 = 4;getServerAddressByClientCIDRsList in interface Meta.APIGroupOrBuilderpublic 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 = 4;getServerAddressByClientCIDRsOrBuilderList in interface Meta.APIGroupOrBuilderpublic 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 = 4;getServerAddressByClientCIDRsCount in interface Meta.APIGroupOrBuilderpublic 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 = 4;getServerAddressByClientCIDRs in interface Meta.APIGroupOrBuilderpublic 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 = 4;getServerAddressByClientCIDRsOrBuilder in interface Meta.APIGroupOrBuilderpublic 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.APIGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.APIGroup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.APIGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.APIGroup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.APIGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.APIGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.APIGroup parseFrom(InputStream input) throws IOException
IOExceptionpublic static Meta.APIGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Meta.APIGroup parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Meta.APIGroup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Meta.APIGroup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Meta.APIGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Meta.APIGroup.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Meta.APIGroup.Builder newBuilder()
public static Meta.APIGroup.Builder newBuilder(Meta.APIGroup prototype)
public Meta.APIGroup.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Meta.APIGroup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Meta.APIGroup getDefaultInstance()
public static com.google.protobuf.Parser<Meta.APIGroup> parser()
public com.google.protobuf.Parser<Meta.APIGroup> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Meta.APIGroup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.