Class HostsEntryList.Builder (0.27.0)

public static final class HostsEntryList.Builder extends GeneratedMessageV3.Builder<HostsEntryList.Builder> implements HostsEntryListOrBuilder

Hosts content.

Protobuf type google.cloud.migrationcenter.v1.HostsEntryList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllEntries(Iterable<? extends HostsEntry> values)

public HostsEntryList.Builder addAllEntries(Iterable<? extends HostsEntry> values)

Hosts entries.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.HostsEntry>
Returns
Type Description
HostsEntryList.Builder

addEntries(HostsEntry value)

public HostsEntryList.Builder addEntries(HostsEntry value)

Hosts entries.

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

Parameter
Name Description
value HostsEntry
Returns
Type Description
HostsEntryList.Builder

addEntries(HostsEntry.Builder builderForValue)

public HostsEntryList.Builder addEntries(HostsEntry.Builder builderForValue)

Hosts entries.

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

Parameter
Name Description
builderForValue HostsEntry.Builder
Returns
Type Description
HostsEntryList.Builder

addEntries(int index, HostsEntry value)

public HostsEntryList.Builder addEntries(int index, HostsEntry value)

Hosts entries.

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

Parameters
Name Description
index int
value HostsEntry
Returns
Type Description
HostsEntryList.Builder

addEntries(int index, HostsEntry.Builder builderForValue)

public HostsEntryList.Builder addEntries(int index, HostsEntry.Builder builderForValue)

Hosts entries.

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

Parameters
Name Description
index int
builderForValue HostsEntry.Builder
Returns
Type Description
HostsEntryList.Builder

addEntriesBuilder()

public HostsEntry.Builder addEntriesBuilder()

Hosts entries.

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

Returns
Type Description
HostsEntry.Builder

addEntriesBuilder(int index)

public HostsEntry.Builder addEntriesBuilder(int index)

Hosts entries.

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

Parameter
Name Description
index int
Returns
Type Description
HostsEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HostsEntryList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HostsEntryList.Builder
Overrides

build()

public HostsEntryList build()
Returns
Type Description
HostsEntryList

buildPartial()

public HostsEntryList buildPartial()
Returns
Type Description
HostsEntryList

clear()

public HostsEntryList.Builder clear()
Returns
Type Description
HostsEntryList.Builder
Overrides

clearEntries()

public HostsEntryList.Builder clearEntries()

Hosts entries.

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

Returns
Type Description
HostsEntryList.Builder

clearField(Descriptors.FieldDescriptor field)

public HostsEntryList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HostsEntryList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HostsEntryList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HostsEntryList.Builder
Overrides

clone()

public HostsEntryList.Builder clone()
Returns
Type Description
HostsEntryList.Builder
Overrides

getDefaultInstanceForType()

public HostsEntryList getDefaultInstanceForType()
Returns
Type Description
HostsEntryList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEntries(int index)

public HostsEntry getEntries(int index)

Hosts entries.

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

Parameter
Name Description
index int
Returns
Type Description
HostsEntry

getEntriesBuilder(int index)

public HostsEntry.Builder getEntriesBuilder(int index)

Hosts entries.

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

Parameter
Name Description
index int
Returns
Type Description
HostsEntry.Builder

getEntriesBuilderList()

public List<HostsEntry.Builder> getEntriesBuilderList()

Hosts entries.

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

Returns
Type Description
List<Builder>

getEntriesCount()

public int getEntriesCount()

Hosts entries.

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

Returns
Type Description
int

getEntriesList()

public List<HostsEntry> getEntriesList()

Hosts entries.

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

Returns
Type Description
List<HostsEntry>

getEntriesOrBuilder(int index)

public HostsEntryOrBuilder getEntriesOrBuilder(int index)

Hosts entries.

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

Parameter
Name Description
index int
Returns
Type Description
HostsEntryOrBuilder

getEntriesOrBuilderList()

public List<? extends HostsEntryOrBuilder> getEntriesOrBuilderList()

Hosts entries.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HostsEntryList other)

public HostsEntryList.Builder mergeFrom(HostsEntryList other)
Parameter
Name Description
other HostsEntryList
Returns
Type Description
HostsEntryList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HostsEntryList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HostsEntryList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HostsEntryList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HostsEntryList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HostsEntryList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HostsEntryList.Builder
Overrides

removeEntries(int index)

public HostsEntryList.Builder removeEntries(int index)

Hosts entries.

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

Parameter
Name Description
index int
Returns
Type Description
HostsEntryList.Builder

setEntries(int index, HostsEntry value)

public HostsEntryList.Builder setEntries(int index, HostsEntry value)

Hosts entries.

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

Parameters
Name Description
index int
value HostsEntry
Returns
Type Description
HostsEntryList.Builder

setEntries(int index, HostsEntry.Builder builderForValue)

public HostsEntryList.Builder setEntries(int index, HostsEntry.Builder builderForValue)

Hosts entries.

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

Parameters
Name Description
index int
builderForValue HostsEntry.Builder
Returns
Type Description
HostsEntryList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public HostsEntryList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HostsEntryList.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HostsEntryList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HostsEntryList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HostsEntryList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HostsEntryList.Builder
Overrides