Package k8s.io.api.core.v1
Class Generated.HostAlias
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.HostAlias
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.HostAliasOrBuilder
- Enclosing class:
- Generated
public static final class Generated.HostAlias extends com.google.protobuf.GeneratedMessageV3 implements Generated.HostAliasOrBuilder
HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
Protobuf typek8s.io.api.core.v1.HostAlias- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.HostAlias.BuilderHostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.-
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 intHOSTNAMES_FIELD_NUMBERstatic intIP_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.HostAlias>PARSERDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.HostAliasgetDefaultInstance()Generated.HostAliasgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetHostnames(int index)Hostnames for the above IP address.com.google.protobuf.ByteStringgetHostnamesBytes(int index)Hostnames for the above IP address.intgetHostnamesCount()Hostnames for the above IP address.com.google.protobuf.ProtocolStringListgetHostnamesList()Hostnames for the above IP address.StringgetIp()IP address of the host file entry.com.google.protobuf.ByteStringgetIpBytes()IP address of the host file entry.com.google.protobuf.Parser<Generated.HostAlias>getParserForType()intgetSerializedSize()inthashCode()booleanhasIp()IP address of the host file entry.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.HostAlias.BuildernewBuilder()static Generated.HostAlias.BuildernewBuilder(Generated.HostAlias prototype)Generated.HostAlias.BuildernewBuilderForType()protected Generated.HostAlias.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.HostAliasparseDelimitedFrom(InputStream input)static Generated.HostAliasparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.HostAliasparseFrom(byte[] data)static Generated.HostAliasparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.HostAliasparseFrom(com.google.protobuf.ByteString data)static Generated.HostAliasparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.HostAliasparseFrom(com.google.protobuf.CodedInputStream input)static Generated.HostAliasparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.HostAliasparseFrom(InputStream input)static Generated.HostAliasparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.HostAliasparseFrom(ByteBuffer data)static Generated.HostAliasparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.HostAlias>parser()Generated.HostAlias.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
-
IP_FIELD_NUMBER
public static final int IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOSTNAMES_FIELD_NUMBER
public static final int HOSTNAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.HostAlias> 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
-
hasIp
public boolean hasIp()
IP address of the host file entry. +required
optional string ip = 1;- Specified by:
hasIpin interfaceGenerated.HostAliasOrBuilder- Returns:
- Whether the ip field is set.
-
getIp
public String getIp()
IP address of the host file entry. +required
optional string ip = 1;- Specified by:
getIpin interfaceGenerated.HostAliasOrBuilder- Returns:
- The ip.
-
getIpBytes
public com.google.protobuf.ByteString getIpBytes()
IP address of the host file entry. +required
optional string ip = 1;- Specified by:
getIpBytesin interfaceGenerated.HostAliasOrBuilder- Returns:
- The bytes for ip.
-
getHostnamesList
public com.google.protobuf.ProtocolStringList getHostnamesList()
Hostnames for the above IP address. +listType=atomic
repeated string hostnames = 2;- Specified by:
getHostnamesListin interfaceGenerated.HostAliasOrBuilder- Returns:
- A list containing the hostnames.
-
getHostnamesCount
public int getHostnamesCount()
Hostnames for the above IP address. +listType=atomic
repeated string hostnames = 2;- Specified by:
getHostnamesCountin interfaceGenerated.HostAliasOrBuilder- Returns:
- The count of hostnames.
-
getHostnames
public String getHostnames(int index)
Hostnames for the above IP address. +listType=atomic
repeated string hostnames = 2;- Specified by:
getHostnamesin interfaceGenerated.HostAliasOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The hostnames at the given index.
-
getHostnamesBytes
public com.google.protobuf.ByteString getHostnamesBytes(int index)
Hostnames for the above IP address. +listType=atomic
repeated string hostnames = 2;- Specified by:
getHostnamesBytesin interfaceGenerated.HostAliasOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the hostnames at the given index.
-
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.HostAlias parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.HostAlias parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.HostAlias parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.HostAlias 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.HostAlias parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.HostAlias parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.HostAlias parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.HostAlias parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.HostAlias parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.HostAlias parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.HostAlias parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.HostAlias parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.HostAlias.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.HostAlias.Builder newBuilder()
-
newBuilder
public static Generated.HostAlias.Builder newBuilder(Generated.HostAlias prototype)
-
toBuilder
public Generated.HostAlias.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.HostAlias.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.HostAlias getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.HostAlias> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.HostAlias> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.HostAlias getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-