Package k8s.io.api.core.v1
Class Generated.EndpointAddress
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.EndpointAddress
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.EndpointAddressOrBuilder
- Enclosing class:
- Generated
public static final class Generated.EndpointAddress extends com.google.protobuf.GeneratedMessageV3 implements Generated.EndpointAddressOrBuilder
EndpointAddress is a tuple that describes single IP address. +structType=atomic
Protobuf typek8s.io.api.core.v1.EndpointAddress- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.EndpointAddress.BuilderEndpointAddress is a tuple that describes single IP address.-
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 intHOSTNAME_FIELD_NUMBERstatic intIP_FIELD_NUMBERstatic intNODENAME_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.EndpointAddress>PARSERDeprecated.static intTARGETREF_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.EndpointAddressgetDefaultInstance()Generated.EndpointAddressgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetHostname()The Hostname of this endpoint +optionalcom.google.protobuf.ByteStringgetHostnameBytes()The Hostname of this endpoint +optionalStringgetIp()The IP of this endpoint.com.google.protobuf.ByteStringgetIpBytes()The IP of this endpoint.StringgetNodeName()Optional: Node hosting this endpoint.com.google.protobuf.ByteStringgetNodeNameBytes()Optional: Node hosting this endpoint.com.google.protobuf.Parser<Generated.EndpointAddress>getParserForType()intgetSerializedSize()Generated.ObjectReferencegetTargetRef()Reference to object providing the endpoint.Generated.ObjectReferenceOrBuildergetTargetRefOrBuilder()Reference to object providing the endpoint.inthashCode()booleanhasHostname()The Hostname of this endpoint +optionalbooleanhasIp()The IP of this endpoint.booleanhasNodeName()Optional: Node hosting this endpoint.booleanhasTargetRef()Reference to object providing the endpoint.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.EndpointAddress.BuildernewBuilder()static Generated.EndpointAddress.BuildernewBuilder(Generated.EndpointAddress prototype)Generated.EndpointAddress.BuildernewBuilderForType()protected Generated.EndpointAddress.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.EndpointAddressparseDelimitedFrom(InputStream input)static Generated.EndpointAddressparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EndpointAddressparseFrom(byte[] data)static Generated.EndpointAddressparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EndpointAddressparseFrom(com.google.protobuf.ByteString data)static Generated.EndpointAddressparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EndpointAddressparseFrom(com.google.protobuf.CodedInputStream input)static Generated.EndpointAddressparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EndpointAddressparseFrom(InputStream input)static Generated.EndpointAddressparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EndpointAddressparseFrom(ByteBuffer data)static Generated.EndpointAddressparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.EndpointAddress>parser()Generated.EndpointAddress.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
-
HOSTNAME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODENAME_FIELD_NUMBER
public static final int NODENAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGETREF_FIELD_NUMBER
public static final int TARGETREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.EndpointAddress> 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()
The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).
optional string ip = 1;- Specified by:
hasIpin interfaceGenerated.EndpointAddressOrBuilder- Returns:
- Whether the ip field is set.
-
getIp
public String getIp()
The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).
optional string ip = 1;- Specified by:
getIpin interfaceGenerated.EndpointAddressOrBuilder- Returns:
- The ip.
-
getIpBytes
public com.google.protobuf.ByteString getIpBytes()
The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).
optional string ip = 1;- Specified by:
getIpBytesin interfaceGenerated.EndpointAddressOrBuilder- Returns:
- The bytes for ip.
-
hasHostname
public boolean hasHostname()
The Hostname of this endpoint +optional
optional string hostname = 3;- Specified by:
hasHostnamein interfaceGenerated.EndpointAddressOrBuilder- Returns:
- Whether the hostname field is set.
-
getHostname
public String getHostname()
The Hostname of this endpoint +optional
optional string hostname = 3;- Specified by:
getHostnamein interfaceGenerated.EndpointAddressOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.ByteString getHostnameBytes()
The Hostname of this endpoint +optional
optional string hostname = 3;- Specified by:
getHostnameBytesin interfaceGenerated.EndpointAddressOrBuilder- Returns:
- The bytes for hostname.
-
hasNodeName
public boolean hasNodeName()
Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. +optional
optional string nodeName = 4;- Specified by:
hasNodeNamein interfaceGenerated.EndpointAddressOrBuilder- Returns:
- Whether the nodeName field is set.
-
getNodeName
public String getNodeName()
Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. +optional
optional string nodeName = 4;- Specified by:
getNodeNamein interfaceGenerated.EndpointAddressOrBuilder- Returns:
- The nodeName.
-
getNodeNameBytes
public com.google.protobuf.ByteString getNodeNameBytes()
Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. +optional
optional string nodeName = 4;- Specified by:
getNodeNameBytesin interfaceGenerated.EndpointAddressOrBuilder- Returns:
- The bytes for nodeName.
-
hasTargetRef
public boolean hasTargetRef()
Reference to object providing the endpoint. +optional
optional .k8s.io.api.core.v1.ObjectReference targetRef = 2;- Specified by:
hasTargetRefin interfaceGenerated.EndpointAddressOrBuilder- Returns:
- Whether the targetRef field is set.
-
getTargetRef
public Generated.ObjectReference getTargetRef()
Reference to object providing the endpoint. +optional
optional .k8s.io.api.core.v1.ObjectReference targetRef = 2;- Specified by:
getTargetRefin interfaceGenerated.EndpointAddressOrBuilder- Returns:
- The targetRef.
-
getTargetRefOrBuilder
public Generated.ObjectReferenceOrBuilder getTargetRefOrBuilder()
Reference to object providing the endpoint. +optional
optional .k8s.io.api.core.v1.ObjectReference targetRef = 2;- Specified by:
getTargetRefOrBuilderin interfaceGenerated.EndpointAddressOrBuilder
-
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.EndpointAddress parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EndpointAddress parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EndpointAddress parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EndpointAddress 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.EndpointAddress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EndpointAddress parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EndpointAddress parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.EndpointAddress parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.EndpointAddress parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.EndpointAddress parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.EndpointAddress parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.EndpointAddress parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.EndpointAddress.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.EndpointAddress.Builder newBuilder()
-
newBuilder
public static Generated.EndpointAddress.Builder newBuilder(Generated.EndpointAddress prototype)
-
toBuilder
public Generated.EndpointAddress.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.EndpointAddress.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.EndpointAddress getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.EndpointAddress> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.EndpointAddress> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.EndpointAddress getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-