Class NetworkAdapterList.Builder (0.11.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.NetworkAdapterDetails>
Returns
TypeDescription
NetworkAdapterList.Builder

addEntries(NetworkAdapterDetails value)

public NetworkAdapterList.Builder addEntries(NetworkAdapterDetails value)

Network adapter entries.

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

Parameter
NameDescription
valueNetworkAdapterDetails
Returns
TypeDescription
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
NameDescription
builderForValueNetworkAdapterDetails.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNetworkAdapterDetails
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNetworkAdapterDetails.Builder
Returns
TypeDescription
NetworkAdapterList.Builder

addEntriesBuilder()

public NetworkAdapterDetails.Builder addEntriesBuilder()

Network adapter entries.

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

Returns
TypeDescription
NetworkAdapterDetails.Builder

addEntriesBuilder(int index)

public NetworkAdapterDetails.Builder addEntriesBuilder(int index)

Network adapter entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkAdapterDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NetworkAdapterList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NetworkAdapterList.Builder
Overrides

build()

public NetworkAdapterList build()
Returns
TypeDescription
NetworkAdapterList

buildPartial()

public NetworkAdapterList buildPartial()
Returns
TypeDescription
NetworkAdapterList

clear()

public NetworkAdapterList.Builder clear()
Returns
TypeDescription
NetworkAdapterList.Builder
Overrides

clearEntries()

public NetworkAdapterList.Builder clearEntries()

Network adapter entries.

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

Returns
TypeDescription
NetworkAdapterList.Builder

clearField(Descriptors.FieldDescriptor field)

public NetworkAdapterList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NetworkAdapterList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworkAdapterList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NetworkAdapterList.Builder
Overrides

clone()

public NetworkAdapterList.Builder clone()
Returns
TypeDescription
NetworkAdapterList.Builder
Overrides

getDefaultInstanceForType()

public NetworkAdapterList getDefaultInstanceForType()
Returns
TypeDescription
NetworkAdapterList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntries(int index)

public NetworkAdapterDetails getEntries(int index)

Network adapter entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkAdapterDetails

getEntriesBuilder(int index)

public NetworkAdapterDetails.Builder getEntriesBuilder(int index)

Network adapter entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkAdapterDetails.Builder

getEntriesBuilderList()

public List<NetworkAdapterDetails.Builder> getEntriesBuilderList()

Network adapter entries.

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

Returns
TypeDescription
List<Builder>

getEntriesCount()

public int getEntriesCount()

Network adapter entries.

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

Returns
TypeDescription
int

getEntriesList()

public List<NetworkAdapterDetails> getEntriesList()

Network adapter entries.

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

Returns
TypeDescription
List<NetworkAdapterDetails>

getEntriesOrBuilder(int index)

public NetworkAdapterDetailsOrBuilder getEntriesOrBuilder(int index)

Network adapter entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkAdapterDetailsOrBuilder

getEntriesOrBuilderList()

public List<? extends NetworkAdapterDetailsOrBuilder> getEntriesOrBuilderList()

Network adapter entries.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NetworkAdapterList other)

public NetworkAdapterList.Builder mergeFrom(NetworkAdapterList other)
Parameter
NameDescription
otherNetworkAdapterList
Returns
TypeDescription
NetworkAdapterList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworkAdapterList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkAdapterList.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NetworkAdapterList.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NetworkAdapterList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkAdapterList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkAdapterList.Builder
Overrides

removeEntries(int index)

public NetworkAdapterList.Builder removeEntries(int index)

Network adapter entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueNetworkAdapterDetails
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNetworkAdapterDetails.Builder
Returns
TypeDescription
NetworkAdapterList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkAdapterList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NetworkAdapterList.Builder
Overrides

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

public NetworkAdapterList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NetworkAdapterList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkAdapterList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkAdapterList.Builder
Overrides