Class HostsEntryList (0.18.0)

public final class HostsEntryList extends GeneratedMessageV3 implements HostsEntryListOrBuilder

Hosts content.

Protobuf type google.cloud.migrationcenter.v1.HostsEntryList

Static Fields

ENTRIES_FIELD_NUMBER

public static final int ENTRIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HostsEntryList getDefaultInstance()
Returns
TypeDescription
HostsEntryList

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static HostsEntryList.Builder newBuilder()
Returns
TypeDescription
HostsEntryList.Builder

newBuilder(HostsEntryList prototype)

public static HostsEntryList.Builder newBuilder(HostsEntryList prototype)
Parameter
NameDescription
prototypeHostsEntryList
Returns
TypeDescription
HostsEntryList.Builder

parseDelimitedFrom(InputStream input)

public static HostsEntryList parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HostsEntryList
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HostsEntryList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HostsEntryList
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HostsEntryList parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HostsEntryList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HostsEntryList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HostsEntryList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HostsEntryList parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HostsEntryList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HostsEntryList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HostsEntryList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HostsEntryList parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HostsEntryList
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HostsEntryList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HostsEntryList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HostsEntryList parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HostsEntryList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HostsEntryList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HostsEntryList
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HostsEntryList parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HostsEntryList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HostsEntryList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HostsEntryList
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<HostsEntryList> parser()
Returns
TypeDescription
Parser<HostsEntryList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public HostsEntryList getDefaultInstanceForType()
Returns
TypeDescription
HostsEntryList

getEntries(int index)

public HostsEntry getEntries(int index)

Hosts entries.

repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
HostsEntry

getEntriesCount()

public int getEntriesCount()

Hosts entries.

repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;

Returns
TypeDescription
int

getEntriesList()

public List<HostsEntry> getEntriesList()

Hosts entries.

repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;

Returns
TypeDescription
List<HostsEntry>

getEntriesOrBuilder(int index)

public HostsEntryOrBuilder getEntriesOrBuilder(int index)

Hosts entries.

repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
HostsEntryOrBuilder

getEntriesOrBuilderList()

public List<? extends HostsEntryOrBuilder> getEntriesOrBuilderList()

Hosts entries.

repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;

Returns
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.HostsEntryOrBuilder>

getParserForType()

public Parser<HostsEntryList> getParserForType()
Returns
TypeDescription
Parser<HostsEntryList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public HostsEntryList.Builder newBuilderForType()
Returns
TypeDescription
HostsEntryList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HostsEntryList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HostsEntryList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public HostsEntryList.Builder toBuilder()
Returns
TypeDescription
HostsEntryList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException