Package k8s.io.api.core.v1
Interface Generated.HostAliasOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.HostAlias,Generated.HostAlias.Builder
- Enclosing class:
- Generated
public static interface Generated.HostAliasOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.List<String>getHostnamesList()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.booleanhasIp()IP address of the host file entry.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasIp
boolean hasIp()
IP address of the host file entry. +required
optional string ip = 1;- Returns:
- Whether the ip field is set.
-
getIp
String getIp()
IP address of the host file entry. +required
optional string ip = 1;- Returns:
- The ip.
-
getIpBytes
com.google.protobuf.ByteString getIpBytes()
IP address of the host file entry. +required
optional string ip = 1;- Returns:
- The bytes for ip.
-
getHostnamesList
List<String> getHostnamesList()
Hostnames for the above IP address. +listType=atomic
repeated string hostnames = 2;- Returns:
- A list containing the hostnames.
-
getHostnamesCount
int getHostnamesCount()
Hostnames for the above IP address. +listType=atomic
repeated string hostnames = 2;- Returns:
- The count of hostnames.
-
getHostnames
String getHostnames(int index)
Hostnames for the above IP address. +listType=atomic
repeated string hostnames = 2;- Parameters:
index- The index of the element to return.- Returns:
- The hostnames at the given index.
-
getHostnamesBytes
com.google.protobuf.ByteString getHostnamesBytes(int index)
Hostnames for the above IP address. +listType=atomic
repeated string hostnames = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the hostnames at the given index.
-
-