Class NetworkConnectionList.Builder (0.6.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.NetworkConnection>
Returns
TypeDescription
NetworkConnectionList.Builder

addEntries(NetworkConnection value)

public NetworkConnectionList.Builder addEntries(NetworkConnection value)

Network connection entries.

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

Parameter
NameDescription
valueNetworkConnection
Returns
TypeDescription
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
NameDescription
builderForValueNetworkConnection.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNetworkConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNetworkConnection.Builder
Returns
TypeDescription
NetworkConnectionList.Builder

addEntriesBuilder()

public NetworkConnection.Builder addEntriesBuilder()

Network connection entries.

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

Returns
TypeDescription
NetworkConnection.Builder

addEntriesBuilder(int index)

public NetworkConnection.Builder addEntriesBuilder(int index)

Network connection entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkConnection.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkConnectionList build()
Returns
TypeDescription
NetworkConnectionList

buildPartial()

public NetworkConnectionList buildPartial()
Returns
TypeDescription
NetworkConnectionList

clear()

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

clearEntries()

public NetworkConnectionList.Builder clearEntries()

Network connection entries.

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

Returns
TypeDescription
NetworkConnectionList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NetworkConnectionList getDefaultInstanceForType()
Returns
TypeDescription
NetworkConnectionList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntries(int index)

public NetworkConnection getEntries(int index)

Network connection entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkConnection

getEntriesBuilder(int index)

public NetworkConnection.Builder getEntriesBuilder(int index)

Network connection entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkConnection.Builder

getEntriesBuilderList()

public List<NetworkConnection.Builder> getEntriesBuilderList()

Network connection entries.

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

Returns
TypeDescription
List<Builder>

getEntriesCount()

public int getEntriesCount()

Network connection entries.

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

Returns
TypeDescription
int

getEntriesList()

public List<NetworkConnection> getEntriesList()

Network connection entries.

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

Returns
TypeDescription
List<NetworkConnection>

getEntriesOrBuilder(int index)

public NetworkConnectionOrBuilder getEntriesOrBuilder(int index)

Network connection entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkConnectionOrBuilder

getEntriesOrBuilderList()

public List<? extends NetworkConnectionOrBuilder> getEntriesOrBuilderList()

Network connection entries.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NetworkConnectionList other)

public NetworkConnectionList.Builder mergeFrom(NetworkConnectionList other)
Parameter
NameDescription
otherNetworkConnectionList
Returns
TypeDescription
NetworkConnectionList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntries(int index)

public NetworkConnectionList.Builder removeEntries(int index)

Network connection entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueNetworkConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNetworkConnection.Builder
Returns
TypeDescription
NetworkConnectionList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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