public static final class NetworkConnection.Builder extends GeneratedMessageV3.Builder<NetworkConnection.Builder> implements NetworkConnectionOrBuilder
Protobuf 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 |
String The 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 |
ByteString The 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 |
int The 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 |
long The 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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |
int The 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.State The 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 |
int The 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 |