Class RuntimeNetworkInfo.Builder (0.36.0)

public static final class RuntimeNetworkInfo.Builder extends GeneratedMessageV3.Builder<RuntimeNetworkInfo.Builder> implements RuntimeNetworkInfoOrBuilder

Runtime networking information.

Protobuf type google.cloud.migrationcenter.v1.RuntimeNetworkInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RuntimeNetworkInfo build()
Returns
Type Description
RuntimeNetworkInfo

buildPartial()

public RuntimeNetworkInfo buildPartial()
Returns
Type Description
RuntimeNetworkInfo

clear()

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

clearConnections()

public RuntimeNetworkInfo.Builder clearConnections()

Network connections.

.google.cloud.migrationcenter.v1.NetworkConnectionList connections = 2;

Returns
Type Description
RuntimeNetworkInfo.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScanTime()

public RuntimeNetworkInfo.Builder clearScanTime()

Time of the last network scan.

.google.protobuf.Timestamp scan_time = 1;

Returns
Type Description
RuntimeNetworkInfo.Builder

clone()

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

getConnections()

public NetworkConnectionList getConnections()

Network connections.

.google.cloud.migrationcenter.v1.NetworkConnectionList connections = 2;

Returns
Type Description
NetworkConnectionList

The connections.

getConnectionsBuilder()

public NetworkConnectionList.Builder getConnectionsBuilder()

Network connections.

.google.cloud.migrationcenter.v1.NetworkConnectionList connections = 2;

Returns
Type Description
NetworkConnectionList.Builder

getConnectionsOrBuilder()

public NetworkConnectionListOrBuilder getConnectionsOrBuilder()

Network connections.

.google.cloud.migrationcenter.v1.NetworkConnectionList connections = 2;

Returns
Type Description
NetworkConnectionListOrBuilder

getDefaultInstanceForType()

public RuntimeNetworkInfo getDefaultInstanceForType()
Returns
Type Description
RuntimeNetworkInfo

getDescriptorForType()

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

getScanTime()

public Timestamp getScanTime()

Time of the last network scan.

.google.protobuf.Timestamp scan_time = 1;

Returns
Type Description
Timestamp

The scanTime.

getScanTimeBuilder()

public Timestamp.Builder getScanTimeBuilder()

Time of the last network scan.

.google.protobuf.Timestamp scan_time = 1;

Returns
Type Description
Builder

getScanTimeOrBuilder()

public TimestampOrBuilder getScanTimeOrBuilder()

Time of the last network scan.

.google.protobuf.Timestamp scan_time = 1;

Returns
Type Description
TimestampOrBuilder

hasConnections()

public boolean hasConnections()

Network connections.

.google.cloud.migrationcenter.v1.NetworkConnectionList connections = 2;

Returns
Type Description
boolean

Whether the connections field is set.

hasScanTime()

public boolean hasScanTime()

Time of the last network scan.

.google.protobuf.Timestamp scan_time = 1;

Returns
Type Description
boolean

Whether the scanTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConnections(NetworkConnectionList value)

public RuntimeNetworkInfo.Builder mergeConnections(NetworkConnectionList value)

Network connections.

.google.cloud.migrationcenter.v1.NetworkConnectionList connections = 2;

Parameter
Name Description
value NetworkConnectionList
Returns
Type Description
RuntimeNetworkInfo.Builder

mergeFrom(RuntimeNetworkInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeScanTime(Timestamp value)

public RuntimeNetworkInfo.Builder mergeScanTime(Timestamp value)

Time of the last network scan.

.google.protobuf.Timestamp scan_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
RuntimeNetworkInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConnections(NetworkConnectionList value)

public RuntimeNetworkInfo.Builder setConnections(NetworkConnectionList value)

Network connections.

.google.cloud.migrationcenter.v1.NetworkConnectionList connections = 2;

Parameter
Name Description
value NetworkConnectionList
Returns
Type Description
RuntimeNetworkInfo.Builder

setConnections(NetworkConnectionList.Builder builderForValue)

public RuntimeNetworkInfo.Builder setConnections(NetworkConnectionList.Builder builderForValue)

Network connections.

.google.cloud.migrationcenter.v1.NetworkConnectionList connections = 2;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setScanTime(Timestamp value)

public RuntimeNetworkInfo.Builder setScanTime(Timestamp value)

Time of the last network scan.

.google.protobuf.Timestamp scan_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
RuntimeNetworkInfo.Builder

setScanTime(Timestamp.Builder builderForValue)

public RuntimeNetworkInfo.Builder setScanTime(Timestamp.Builder builderForValue)

Time of the last network scan.

.google.protobuf.Timestamp scan_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RuntimeNetworkInfo.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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