Interface HostsEntryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HostsEntry,HostsEntry.Builder
@Generated
public interface HostsEntryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetHostNames(int index) List of host names / aliases.com.google.protobuf.ByteStringgetHostNamesBytes(int index) List of host names / aliases.intList of host names / aliases.List of host names / aliases.getIp()IP (raw, IPv4/6 agnostic).com.google.protobuf.ByteStringIP (raw, IPv4/6 agnostic).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getIp
String getIp()IP (raw, IPv4/6 agnostic).
string ip = 1;- Returns:
- The ip.
-
getIpBytes
com.google.protobuf.ByteString getIpBytes()IP (raw, IPv4/6 agnostic).
string ip = 1;- Returns:
- The bytes for ip.
-
getHostNamesList
List of host names / aliases.
repeated string host_names = 2;- Returns:
- A list containing the hostNames.
-
getHostNamesCount
int getHostNamesCount()List of host names / aliases.
repeated string host_names = 2;- Returns:
- The count of hostNames.
-
getHostNames
List of host names / aliases.
repeated string host_names = 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) List of host names / aliases.
repeated string host_names = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the hostNames at the given index.
-