- 0.60.0 (latest)
 - 0.58.0
 - 0.57.0
 - 0.56.0
 - 0.55.0
 - 0.54.0
 - 0.52.0
 - 0.50.0
 - 0.49.0
 - 0.46.0
 - 0.45.0
 - 0.44.0
 - 0.42.0
 - 0.41.0
 - 0.40.0
 - 0.39.0
 - 0.38.0
 - 0.37.0
 - 0.36.0
 - 0.35.0
 - 0.34.0
 - 0.33.0
 - 0.31.0
 - 0.30.0
 - 0.29.0
 - 0.28.0
 - 0.27.0
 - 0.26.0
 - 0.25.0
 - 0.24.0
 - 0.23.0
 - 0.22.0
 - 0.21.0
 - 0.19.0
 - 0.18.0
 - 0.17.0
 - 0.16.0
 - 0.15.0
 - 0.14.0
 - 0.13.0
 - 0.12.0
 - 0.11.0
 - 0.10.0
 - 0.9.0
 - 0.6.0
 - 0.5.0
 - 0.4.0
 - 0.3.0
 - 0.2.0
 - 0.1.0
 
public static final class NetworkConnection.Builder extends GeneratedMessageV3.Builder<NetworkConnection.Builder> implements NetworkConnectionOrBuilderProtobuf type google.cloud.migrationcenter.v1.NetworkConnection
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkConnection.BuilderImplements
NetworkConnectionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkConnection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        |
build()
public NetworkConnection build()| Returns | |
|---|---|
| Type | Description | 
NetworkConnection | 
        |
buildPartial()
public NetworkConnection buildPartial()| Returns | |
|---|---|
| Type | Description | 
NetworkConnection | 
        |
clear()
public NetworkConnection.Builder clear()| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public NetworkConnection.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        |
clearLocalIpAddress()
public NetworkConnection.Builder clearLocalIpAddress()Local IP address.
 string local_ip_address = 2;
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
clearLocalPort()
public NetworkConnection.Builder clearLocalPort()Local port.
 int32 local_port = 3;
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkConnection.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        |
clearPid()
public NetworkConnection.Builder clearPid()Process ID.
 int64 pid = 7;
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
clearProcessName()
public NetworkConnection.Builder clearProcessName()Process or service name.
 string process_name = 8;
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
clearProtocol()
public NetworkConnection.Builder clearProtocol()Connection protocol (e.g. TCP/UDP).
 string protocol = 1;
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
clearRemoteIpAddress()
public NetworkConnection.Builder clearRemoteIpAddress()Remote IP address.
 string remote_ip_address = 4;
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
clearRemotePort()
public NetworkConnection.Builder clearRemotePort()Remote port.
 int32 remote_port = 5;
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
clearState()
public NetworkConnection.Builder clearState()Network connection state.
 .google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
clone()
public NetworkConnection.Builder clone()| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        |
getDefaultInstanceForType()
public NetworkConnection getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
NetworkConnection | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getLocalIpAddress()
public String getLocalIpAddress()Local IP address.
 string local_ip_address = 2;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The localIpAddress.  | 
      
getLocalIpAddressBytes()
public ByteString getLocalIpAddressBytes()Local IP address.
 string local_ip_address = 2;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for localIpAddress.  | 
      
getLocalPort()
public int getLocalPort()Local port.
 int32 local_port = 3;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The localPort.  | 
      
getPid()
public long getPid()Process ID.
 int64 pid = 7;
| Returns | |
|---|---|
| Type | Description | 
long | 
        The pid.  | 
      
getProcessName()
public String getProcessName()Process or service name.
 string process_name = 8;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The processName.  | 
      
getProcessNameBytes()
public ByteString getProcessNameBytes()Process or service name.
 string process_name = 8;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for processName.  | 
      
getProtocol()
public String getProtocol()Connection protocol (e.g. TCP/UDP).
 string protocol = 1;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The protocol.  | 
      
getProtocolBytes()
public ByteString getProtocolBytes()Connection protocol (e.g. TCP/UDP).
 string protocol = 1;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for protocol.  | 
      
getRemoteIpAddress()
public String getRemoteIpAddress()Remote IP address.
 string remote_ip_address = 4;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The remoteIpAddress.  | 
      
getRemoteIpAddressBytes()
public ByteString getRemoteIpAddressBytes()Remote IP address.
 string remote_ip_address = 4;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for remoteIpAddress.  | 
      
getRemotePort()
public int getRemotePort()Remote port.
 int32 remote_port = 5;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The remotePort.  | 
      
getState()
public NetworkConnection.State getState()Network connection state.
 .google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.State | 
        The state.  | 
      
getStateValue()
public int getStateValue()Network connection state.
 .google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for state.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(NetworkConnection other)
public NetworkConnection.Builder mergeFrom(NetworkConnection other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        NetworkConnection | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkConnection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public NetworkConnection.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkConnection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkConnection.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        |
setLocalIpAddress(String value)
public NetworkConnection.Builder setLocalIpAddress(String value)Local IP address.
 string local_ip_address = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe localIpAddress to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
setLocalIpAddressBytes(ByteString value)
public NetworkConnection.Builder setLocalIpAddressBytes(ByteString value)Local IP address.
 string local_ip_address = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for localIpAddress to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
setLocalPort(int value)
public NetworkConnection.Builder setLocalPort(int value)Local port.
 int32 local_port = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe localPort to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
setPid(long value)
public NetworkConnection.Builder setPid(long value)Process ID.
 int64 pid = 7;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        longThe pid to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
setProcessName(String value)
public NetworkConnection.Builder setProcessName(String value)Process or service name.
 string process_name = 8;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe processName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
setProcessNameBytes(ByteString value)
public NetworkConnection.Builder setProcessNameBytes(ByteString value)Process or service name.
 string process_name = 8;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for processName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
setProtocol(String value)
public NetworkConnection.Builder setProtocol(String value)Connection protocol (e.g. TCP/UDP).
 string protocol = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe protocol to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
setProtocolBytes(ByteString value)
public NetworkConnection.Builder setProtocolBytes(ByteString value)Connection protocol (e.g. TCP/UDP).
 string protocol = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for protocol to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
setRemoteIpAddress(String value)
public NetworkConnection.Builder setRemoteIpAddress(String value)Remote IP address.
 string remote_ip_address = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe remoteIpAddress to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
setRemoteIpAddressBytes(ByteString value)
public NetworkConnection.Builder setRemoteIpAddressBytes(ByteString value)Remote IP address.
 string remote_ip_address = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for remoteIpAddress to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
setRemotePort(int value)
public NetworkConnection.Builder setRemotePort(int value)Remote port.
 int32 remote_port = 5;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe remotePort to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkConnection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        |
setState(NetworkConnection.State value)
public NetworkConnection.Builder setState(NetworkConnection.State value)Network connection state.
 .google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        NetworkConnection.StateThe state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
setStateValue(int value)
public NetworkConnection.Builder setStateValue(int value)Network connection state.
 .google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkConnection.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
NetworkConnection.Builder | 
        |