Class Generated.APIGroup
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.apimachinery.pkg.apis.meta.v1.Generated.APIGroup
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.APIGroupOrBuilder
- Enclosing class:
- Generated
public static final class Generated.APIGroup extends com.google.protobuf.GeneratedMessageV3 implements Generated.APIGroupOrBuilder
APIGroup contains the name, the supported versions, and the preferred version of a group.
Protobuf typek8s.io.apimachinery.pkg.apis.meta.v1.APIGroup- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.APIGroup.BuilderAPIGroup contains the name, the supported versions, and the preferred version of a group.-
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 intNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.APIGroup>PARSERDeprecated.static intPREFERREDVERSION_FIELD_NUMBERstatic intSERVERADDRESSBYCLIENTCIDRS_FIELD_NUMBERstatic intVERSIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.APIGroupgetDefaultInstance()Generated.APIGroupgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetName()name is the name of the group.com.google.protobuf.ByteStringgetNameBytes()name is the name of the group.com.google.protobuf.Parser<Generated.APIGroup>getParserForType()Generated.GroupVersionForDiscoverygetPreferredVersion()preferredVersion is the version preferred by the API server, which probably is the storage version.Generated.GroupVersionForDiscoveryOrBuildergetPreferredVersionOrBuilder()preferredVersion is the version preferred by the API server, which probably is the storage version.intgetSerializedSize()Generated.ServerAddressByClientCIDRgetServerAddressByClientCIDRs(int index)a map of client CIDR to server address that is serving this group.intgetServerAddressByClientCIDRsCount()a map of client CIDR to server address that is serving this group.List<Generated.ServerAddressByClientCIDR>getServerAddressByClientCIDRsList()a map of client CIDR to server address that is serving this group.Generated.ServerAddressByClientCIDROrBuildergetServerAddressByClientCIDRsOrBuilder(int index)a map of client CIDR to server address that is serving this group.List<? extends Generated.ServerAddressByClientCIDROrBuilder>getServerAddressByClientCIDRsOrBuilderList()a map of client CIDR to server address that is serving this group.Generated.GroupVersionForDiscoverygetVersions(int index)versions are the versions supported in this group.intgetVersionsCount()versions are the versions supported in this group.List<Generated.GroupVersionForDiscovery>getVersionsList()versions are the versions supported in this group.Generated.GroupVersionForDiscoveryOrBuildergetVersionsOrBuilder(int index)versions are the versions supported in this group.List<? extends Generated.GroupVersionForDiscoveryOrBuilder>getVersionsOrBuilderList()versions are the versions supported in this group.inthashCode()booleanhasName()name is the name of the group.booleanhasPreferredVersion()preferredVersion is the version preferred by the API server, which probably is the storage version.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.APIGroup.BuildernewBuilder()static Generated.APIGroup.BuildernewBuilder(Generated.APIGroup prototype)Generated.APIGroup.BuildernewBuilderForType()protected Generated.APIGroup.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.APIGroupparseDelimitedFrom(InputStream input)static Generated.APIGroupparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.APIGroupparseFrom(byte[] data)static Generated.APIGroupparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.APIGroupparseFrom(com.google.protobuf.ByteString data)static Generated.APIGroupparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.APIGroupparseFrom(com.google.protobuf.CodedInputStream input)static Generated.APIGroupparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.APIGroupparseFrom(InputStream input)static Generated.APIGroupparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.APIGroupparseFrom(ByteBuffer data)static Generated.APIGroupparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.APIGroup>parser()Generated.APIGroup.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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSIONS_FIELD_NUMBER
public static final int VERSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PREFERREDVERSION_FIELD_NUMBER
public static final int PREFERREDVERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVERADDRESSBYCLIENTCIDRS_FIELD_NUMBER
public static final int SERVERADDRESSBYCLIENTCIDRS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.APIGroup> 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
-
hasName
public boolean hasName()
name is the name of the group.
optional string name = 1;- Specified by:
hasNamein interfaceGenerated.APIGroupOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
name is the name of the group.
optional string name = 1;- Specified by:
getNamein interfaceGenerated.APIGroupOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
name is the name of the group.
optional string name = 1;- Specified by:
getNameBytesin interfaceGenerated.APIGroupOrBuilder- Returns:
- The bytes for name.
-
getVersionsList
public List<Generated.GroupVersionForDiscovery> getVersionsList()
versions are the versions supported in this group. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;- Specified by:
getVersionsListin interfaceGenerated.APIGroupOrBuilder
-
getVersionsOrBuilderList
public List<? extends Generated.GroupVersionForDiscoveryOrBuilder> getVersionsOrBuilderList()
versions are the versions supported in this group. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;- Specified by:
getVersionsOrBuilderListin interfaceGenerated.APIGroupOrBuilder
-
getVersionsCount
public int getVersionsCount()
versions are the versions supported in this group. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;- Specified by:
getVersionsCountin interfaceGenerated.APIGroupOrBuilder
-
getVersions
public Generated.GroupVersionForDiscovery getVersions(int index)
versions are the versions supported in this group. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;- Specified by:
getVersionsin interfaceGenerated.APIGroupOrBuilder
-
getVersionsOrBuilder
public Generated.GroupVersionForDiscoveryOrBuilder getVersionsOrBuilder(int index)
versions are the versions supported in this group. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;- Specified by:
getVersionsOrBuilderin interfaceGenerated.APIGroupOrBuilder
-
hasPreferredVersion
public 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;- Specified by:
hasPreferredVersionin interfaceGenerated.APIGroupOrBuilder- Returns:
- Whether the preferredVersion field is set.
-
getPreferredVersion
public Generated.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;- Specified by:
getPreferredVersionin interfaceGenerated.APIGroupOrBuilder- Returns:
- The preferredVersion.
-
getPreferredVersionOrBuilder
public Generated.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;- Specified by:
getPreferredVersionOrBuilderin interfaceGenerated.APIGroupOrBuilder
-
getServerAddressByClientCIDRsList
public List<Generated.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. +optional +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4;- Specified by:
getServerAddressByClientCIDRsListin interfaceGenerated.APIGroupOrBuilder
-
getServerAddressByClientCIDRsOrBuilderList
public List<? extends Generated.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. +optional +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4;- Specified by:
getServerAddressByClientCIDRsOrBuilderListin interfaceGenerated.APIGroupOrBuilder
-
getServerAddressByClientCIDRsCount
public 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. +optional +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4;- Specified by:
getServerAddressByClientCIDRsCountin interfaceGenerated.APIGroupOrBuilder
-
getServerAddressByClientCIDRs
public Generated.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. +optional +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4;- Specified by:
getServerAddressByClientCIDRsin interfaceGenerated.APIGroupOrBuilder
-
getServerAddressByClientCIDRsOrBuilder
public Generated.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. +optional +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4;- Specified by:
getServerAddressByClientCIDRsOrBuilderin interfaceGenerated.APIGroupOrBuilder
-
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.APIGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.APIGroup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.APIGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.APIGroup 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.APIGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.APIGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.APIGroup parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.APIGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.APIGroup parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.APIGroup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.APIGroup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.APIGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.APIGroup.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.APIGroup.Builder newBuilder()
-
newBuilder
public static Generated.APIGroup.Builder newBuilder(Generated.APIGroup prototype)
-
toBuilder
public Generated.APIGroup.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.APIGroup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.APIGroup getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.APIGroup> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.APIGroup> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.APIGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-