Class NetworkAdapterList.Builder (0.36.0)

public static final class NetworkAdapterList.Builder extends GeneratedMessageV3.Builder<NetworkAdapterList.Builder> implements NetworkAdapterListOrBuilder

List of network adapters.

Protobuf type google.cloud.migrationcenter.v1.NetworkAdapterList

Static Methods

getDescriptor()

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

Methods

addAllEntries(Iterable<? extends NetworkAdapterDetails> values)

public NetworkAdapterList.Builder addAllEntries(Iterable<? extends NetworkAdapterDetails> values)

Network adapter entries.

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

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

addEntries(NetworkAdapterDetails value)

public NetworkAdapterList.Builder addEntries(NetworkAdapterDetails value)

Network adapter entries.

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

Parameter
Name Description
value NetworkAdapterDetails
Returns
Type Description
NetworkAdapterList.Builder

addEntries(NetworkAdapterDetails.Builder builderForValue)

public NetworkAdapterList.Builder addEntries(NetworkAdapterDetails.Builder builderForValue)

Network adapter entries.

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

Parameter
Name Description
builderForValue NetworkAdapterDetails.Builder
Returns
Type Description
NetworkAdapterList.Builder

addEntries(int index, NetworkAdapterDetails value)

public NetworkAdapterList.Builder addEntries(int index, NetworkAdapterDetails value)

Network adapter entries.

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

Parameters
Name Description
index int
value NetworkAdapterDetails
Returns
Type Description
NetworkAdapterList.Builder

addEntries(int index, NetworkAdapterDetails.Builder builderForValue)

public NetworkAdapterList.Builder addEntries(int index, NetworkAdapterDetails.Builder builderForValue)

Network adapter entries.

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

Parameters
Name Description
index int
builderForValue NetworkAdapterDetails.Builder
Returns
Type Description
NetworkAdapterList.Builder

addEntriesBuilder()

public NetworkAdapterDetails.Builder addEntriesBuilder()

Network adapter entries.

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

Returns
Type Description
NetworkAdapterDetails.Builder

addEntriesBuilder(int index)

public NetworkAdapterDetails.Builder addEntriesBuilder(int index)

Network adapter entries.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkAdapterDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkAdapterList build()
Returns
Type Description
NetworkAdapterList

buildPartial()

public NetworkAdapterList buildPartial()
Returns
Type Description
NetworkAdapterList

clear()

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

clearEntries()

public NetworkAdapterList.Builder clearEntries()

Network adapter entries.

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

Returns
Type Description
NetworkAdapterList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NetworkAdapterList getDefaultInstanceForType()
Returns
Type Description
NetworkAdapterList

getDescriptorForType()

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

getEntries(int index)

public NetworkAdapterDetails getEntries(int index)

Network adapter entries.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkAdapterDetails

getEntriesBuilder(int index)

public NetworkAdapterDetails.Builder getEntriesBuilder(int index)

Network adapter entries.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkAdapterDetails.Builder

getEntriesBuilderList()

public List<NetworkAdapterDetails.Builder> getEntriesBuilderList()

Network adapter entries.

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

Returns
Type Description
List<Builder>

getEntriesCount()

public int getEntriesCount()

Network adapter entries.

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

Returns
Type Description
int

getEntriesList()

public List<NetworkAdapterDetails> getEntriesList()

Network adapter entries.

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

Returns
Type Description
List<NetworkAdapterDetails>

getEntriesOrBuilder(int index)

public NetworkAdapterDetailsOrBuilder getEntriesOrBuilder(int index)

Network adapter entries.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkAdapterDetailsOrBuilder

getEntriesOrBuilderList()

public List<? extends NetworkAdapterDetailsOrBuilder> getEntriesOrBuilderList()

Network adapter entries.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkAdapterList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntries(int index)

public NetworkAdapterList.Builder removeEntries(int index)

Network adapter entries.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkAdapterList.Builder

setEntries(int index, NetworkAdapterDetails value)

public NetworkAdapterList.Builder setEntries(int index, NetworkAdapterDetails value)

Network adapter entries.

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

Parameters
Name Description
index int
value NetworkAdapterDetails
Returns
Type Description
NetworkAdapterList.Builder

setEntries(int index, NetworkAdapterDetails.Builder builderForValue)

public NetworkAdapterList.Builder setEntries(int index, NetworkAdapterDetails.Builder builderForValue)

Network adapter entries.

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

Parameters
Name Description
index int
builderForValue NetworkAdapterDetails.Builder
Returns
Type Description
NetworkAdapterList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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