Class NetworkConnectionList.Builder (0.31.0)

public static final class NetworkConnectionList.Builder extends GeneratedMessageV3.Builder<NetworkConnectionList.Builder> implements NetworkConnectionListOrBuilder

Network connection list.

Protobuf type google.cloud.migrationcenter.v1.NetworkConnectionList

Static Methods

getDescriptor()

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

Methods

addAllEntries(Iterable<? extends NetworkConnection> values)

public NetworkConnectionList.Builder addAllEntries(Iterable<? extends NetworkConnection> values)

Network connection entries.

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

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

addEntries(NetworkConnection value)

public NetworkConnectionList.Builder addEntries(NetworkConnection value)

Network connection entries.

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

Parameter
Name Description
value NetworkConnection
Returns
Type Description
NetworkConnectionList.Builder

addEntries(NetworkConnection.Builder builderForValue)

public NetworkConnectionList.Builder addEntries(NetworkConnection.Builder builderForValue)

Network connection entries.

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

Parameter
Name Description
builderForValue NetworkConnection.Builder
Returns
Type Description
NetworkConnectionList.Builder

addEntries(int index, NetworkConnection value)

public NetworkConnectionList.Builder addEntries(int index, NetworkConnection value)

Network connection entries.

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

Parameters
Name Description
index int
value NetworkConnection
Returns
Type Description
NetworkConnectionList.Builder

addEntries(int index, NetworkConnection.Builder builderForValue)

public NetworkConnectionList.Builder addEntries(int index, NetworkConnection.Builder builderForValue)

Network connection entries.

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

Parameters
Name Description
index int
builderForValue NetworkConnection.Builder
Returns
Type Description
NetworkConnectionList.Builder

addEntriesBuilder()

public NetworkConnection.Builder addEntriesBuilder()

Network connection entries.

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

Returns
Type Description
NetworkConnection.Builder

addEntriesBuilder(int index)

public NetworkConnection.Builder addEntriesBuilder(int index)

Network connection entries.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkConnection.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkConnectionList build()
Returns
Type Description
NetworkConnectionList

buildPartial()

public NetworkConnectionList buildPartial()
Returns
Type Description
NetworkConnectionList

clear()

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

clearEntries()

public NetworkConnectionList.Builder clearEntries()

Network connection entries.

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

Returns
Type Description
NetworkConnectionList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NetworkConnectionList getDefaultInstanceForType()
Returns
Type Description
NetworkConnectionList

getDescriptorForType()

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

getEntries(int index)

public NetworkConnection getEntries(int index)

Network connection entries.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkConnection

getEntriesBuilder(int index)

public NetworkConnection.Builder getEntriesBuilder(int index)

Network connection entries.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkConnection.Builder

getEntriesBuilderList()

public List<NetworkConnection.Builder> getEntriesBuilderList()

Network connection entries.

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

Returns
Type Description
List<Builder>

getEntriesCount()

public int getEntriesCount()

Network connection entries.

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

Returns
Type Description
int

getEntriesList()

public List<NetworkConnection> getEntriesList()

Network connection entries.

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

Returns
Type Description
List<NetworkConnection>

getEntriesOrBuilder(int index)

public NetworkConnectionOrBuilder getEntriesOrBuilder(int index)

Network connection entries.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkConnectionOrBuilder

getEntriesOrBuilderList()

public List<? extends NetworkConnectionOrBuilder> getEntriesOrBuilderList()

Network connection entries.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkConnectionList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntries(int index)

public NetworkConnectionList.Builder removeEntries(int index)

Network connection entries.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkConnectionList.Builder

setEntries(int index, NetworkConnection value)

public NetworkConnectionList.Builder setEntries(int index, NetworkConnection value)

Network connection entries.

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

Parameters
Name Description
index int
value NetworkConnection
Returns
Type Description
NetworkConnectionList.Builder

setEntries(int index, NetworkConnection.Builder builderForValue)

public NetworkConnectionList.Builder setEntries(int index, NetworkConnection.Builder builderForValue)

Network connection entries.

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

Parameters
Name Description
index int
builderForValue NetworkConnection.Builder
Returns
Type Description
NetworkConnectionList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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