Class RuntimeNetworkInfo.Builder (0.21.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RuntimeNetworkInfo build()
Returns
TypeDescription
RuntimeNetworkInfo

buildPartial()

public RuntimeNetworkInfo buildPartial()
Returns
TypeDescription
RuntimeNetworkInfo

clear()

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

clearConnections()

public RuntimeNetworkInfo.Builder clearConnections()

Network connections.

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

Returns
TypeDescription
RuntimeNetworkInfo.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScanTime()

public RuntimeNetworkInfo.Builder clearScanTime()

Time of the last network scan.

.google.protobuf.Timestamp scan_time = 1;

Returns
TypeDescription
RuntimeNetworkInfo.Builder

clone()

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

getConnections()

public NetworkConnectionList getConnections()

Network connections.

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

Returns
TypeDescription
NetworkConnectionList

The connections.

getConnectionsBuilder()

public NetworkConnectionList.Builder getConnectionsBuilder()

Network connections.

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

Returns
TypeDescription
NetworkConnectionList.Builder

getConnectionsOrBuilder()

public NetworkConnectionListOrBuilder getConnectionsOrBuilder()

Network connections.

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

Returns
TypeDescription
NetworkConnectionListOrBuilder

getDefaultInstanceForType()

public RuntimeNetworkInfo getDefaultInstanceForType()
Returns
TypeDescription
RuntimeNetworkInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getScanTime()

public Timestamp getScanTime()

Time of the last network scan.

.google.protobuf.Timestamp scan_time = 1;

Returns
TypeDescription
Timestamp

The scanTime.

getScanTimeBuilder()

public Timestamp.Builder getScanTimeBuilder()

Time of the last network scan.

.google.protobuf.Timestamp scan_time = 1;

Returns
TypeDescription
Builder

getScanTimeOrBuilder()

public TimestampOrBuilder getScanTimeOrBuilder()

Time of the last network scan.

.google.protobuf.Timestamp scan_time = 1;

Returns
TypeDescription
TimestampOrBuilder

hasConnections()

public boolean hasConnections()

Network connections.

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

Returns
TypeDescription
boolean

Whether the connections field is set.

hasScanTime()

public boolean hasScanTime()

Time of the last network scan.

.google.protobuf.Timestamp scan_time = 1;

Returns
TypeDescription
boolean

Whether the scanTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConnections(NetworkConnectionList value)

public RuntimeNetworkInfo.Builder mergeConnections(NetworkConnectionList value)

Network connections.

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

Parameter
NameDescription
valueNetworkConnectionList
Returns
TypeDescription
RuntimeNetworkInfo.Builder

mergeFrom(RuntimeNetworkInfo other)

public RuntimeNetworkInfo.Builder mergeFrom(RuntimeNetworkInfo other)
Parameter
NameDescription
otherRuntimeNetworkInfo
Returns
TypeDescription
RuntimeNetworkInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RuntimeNetworkInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
RuntimeNetworkInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConnections(NetworkConnectionList value)

public RuntimeNetworkInfo.Builder setConnections(NetworkConnectionList value)

Network connections.

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

Parameter
NameDescription
valueNetworkConnectionList
Returns
TypeDescription
RuntimeNetworkInfo.Builder

setConnections(NetworkConnectionList.Builder builderForValue)

public RuntimeNetworkInfo.Builder setConnections(NetworkConnectionList.Builder builderForValue)

Network connections.

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

Parameter
NameDescription
builderForValueNetworkConnectionList.Builder
Returns
TypeDescription
RuntimeNetworkInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public RuntimeNetworkInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
RuntimeNetworkInfo.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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