Class NetworkConnection.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NetworkConnection.Builder>
-
- com.google.cloud.migrationcenter.v1.NetworkConnection.Builder
-
- All Implemented Interfaces:
NetworkConnectionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NetworkConnection
public static final class NetworkConnection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NetworkConnection.Builder> implements NetworkConnectionOrBuilder
Protobuf typegoogle.cloud.migrationcenter.v1.NetworkConnection
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkConnection.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NetworkConnectionbuild()NetworkConnectionbuildPartial()NetworkConnection.Builderclear()NetworkConnection.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NetworkConnection.BuilderclearLocalIpAddress()Local IP address.NetworkConnection.BuilderclearLocalPort()Local port.NetworkConnection.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NetworkConnection.BuilderclearPid()Process ID.NetworkConnection.BuilderclearProcessName()Process or service name.NetworkConnection.BuilderclearProtocol()Connection protocol (e.g.NetworkConnection.BuilderclearRemoteIpAddress()Remote IP address.NetworkConnection.BuilderclearRemotePort()Remote port.NetworkConnection.BuilderclearState()Network connection state.NetworkConnection.Builderclone()NetworkConnectiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetLocalIpAddress()Local IP address.com.google.protobuf.ByteStringgetLocalIpAddressBytes()Local IP address.intgetLocalPort()Local port.longgetPid()Process ID.StringgetProcessName()Process or service name.com.google.protobuf.ByteStringgetProcessNameBytes()Process or service name.StringgetProtocol()Connection protocol (e.g.com.google.protobuf.ByteStringgetProtocolBytes()Connection protocol (e.g.StringgetRemoteIpAddress()Remote IP address.com.google.protobuf.ByteStringgetRemoteIpAddressBytes()Remote IP address.intgetRemotePort()Remote port.NetworkConnection.StategetState()Network connection state.intgetStateValue()Network connection state.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NetworkConnection.BuildermergeFrom(NetworkConnection other)NetworkConnection.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NetworkConnection.BuildermergeFrom(com.google.protobuf.Message other)NetworkConnection.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NetworkConnection.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NetworkConnection.BuildersetLocalIpAddress(String value)Local IP address.NetworkConnection.BuildersetLocalIpAddressBytes(com.google.protobuf.ByteString value)Local IP address.NetworkConnection.BuildersetLocalPort(int value)Local port.NetworkConnection.BuildersetPid(long value)Process ID.NetworkConnection.BuildersetProcessName(String value)Process or service name.NetworkConnection.BuildersetProcessNameBytes(com.google.protobuf.ByteString value)Process or service name.NetworkConnection.BuildersetProtocol(String value)Connection protocol (e.g.NetworkConnection.BuildersetProtocolBytes(com.google.protobuf.ByteString value)Connection protocol (e.g.NetworkConnection.BuildersetRemoteIpAddress(String value)Remote IP address.NetworkConnection.BuildersetRemoteIpAddressBytes(com.google.protobuf.ByteString value)Remote IP address.NetworkConnection.BuildersetRemotePort(int value)Remote port.NetworkConnection.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)NetworkConnection.BuildersetState(NetworkConnection.State value)Network connection state.NetworkConnection.BuildersetStateValue(int value)Network connection state.NetworkConnection.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConnection.Builder>
-
clear
public NetworkConnection.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConnection.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConnection.Builder>
-
getDefaultInstanceForType
public NetworkConnection getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NetworkConnection build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NetworkConnection buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NetworkConnection.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConnection.Builder>
-
setField
public NetworkConnection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConnection.Builder>
-
clearField
public NetworkConnection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConnection.Builder>
-
clearOneof
public NetworkConnection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConnection.Builder>
-
setRepeatedField
public NetworkConnection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConnection.Builder>
-
addRepeatedField
public NetworkConnection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConnection.Builder>
-
mergeFrom
public NetworkConnection.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkConnection.Builder>
-
mergeFrom
public NetworkConnection.Builder mergeFrom(NetworkConnection other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConnection.Builder>
-
mergeFrom
public NetworkConnection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkConnection.Builder>- Throws:
IOException
-
getProtocol
public String getProtocol()
Connection protocol (e.g. TCP/UDP).
string protocol = 1;- Specified by:
getProtocolin interfaceNetworkConnectionOrBuilder- Returns:
- The protocol.
-
getProtocolBytes
public com.google.protobuf.ByteString getProtocolBytes()
Connection protocol (e.g. TCP/UDP).
string protocol = 1;- Specified by:
getProtocolBytesin interfaceNetworkConnectionOrBuilder- Returns:
- The bytes for protocol.
-
setProtocol
public NetworkConnection.Builder setProtocol(String value)
Connection protocol (e.g. TCP/UDP).
string protocol = 1;- Parameters:
value- The protocol to set.- Returns:
- This builder for chaining.
-
clearProtocol
public NetworkConnection.Builder clearProtocol()
Connection protocol (e.g. TCP/UDP).
string protocol = 1;- Returns:
- This builder for chaining.
-
setProtocolBytes
public NetworkConnection.Builder setProtocolBytes(com.google.protobuf.ByteString value)
Connection protocol (e.g. TCP/UDP).
string protocol = 1;- Parameters:
value- The bytes for protocol to set.- Returns:
- This builder for chaining.
-
getLocalIpAddress
public String getLocalIpAddress()
Local IP address.
string local_ip_address = 2;- Specified by:
getLocalIpAddressin interfaceNetworkConnectionOrBuilder- Returns:
- The localIpAddress.
-
getLocalIpAddressBytes
public com.google.protobuf.ByteString getLocalIpAddressBytes()
Local IP address.
string local_ip_address = 2;- Specified by:
getLocalIpAddressBytesin interfaceNetworkConnectionOrBuilder- Returns:
- The bytes for localIpAddress.
-
setLocalIpAddress
public NetworkConnection.Builder setLocalIpAddress(String value)
Local IP address.
string local_ip_address = 2;- Parameters:
value- The localIpAddress to set.- Returns:
- This builder for chaining.
-
clearLocalIpAddress
public NetworkConnection.Builder clearLocalIpAddress()
Local IP address.
string local_ip_address = 2;- Returns:
- This builder for chaining.
-
setLocalIpAddressBytes
public NetworkConnection.Builder setLocalIpAddressBytes(com.google.protobuf.ByteString value)
Local IP address.
string local_ip_address = 2;- Parameters:
value- The bytes for localIpAddress to set.- Returns:
- This builder for chaining.
-
getLocalPort
public int getLocalPort()
Local port.
int32 local_port = 3;- Specified by:
getLocalPortin interfaceNetworkConnectionOrBuilder- Returns:
- The localPort.
-
setLocalPort
public NetworkConnection.Builder setLocalPort(int value)
Local port.
int32 local_port = 3;- Parameters:
value- The localPort to set.- Returns:
- This builder for chaining.
-
clearLocalPort
public NetworkConnection.Builder clearLocalPort()
Local port.
int32 local_port = 3;- Returns:
- This builder for chaining.
-
getRemoteIpAddress
public String getRemoteIpAddress()
Remote IP address.
string remote_ip_address = 4;- Specified by:
getRemoteIpAddressin interfaceNetworkConnectionOrBuilder- Returns:
- The remoteIpAddress.
-
getRemoteIpAddressBytes
public com.google.protobuf.ByteString getRemoteIpAddressBytes()
Remote IP address.
string remote_ip_address = 4;- Specified by:
getRemoteIpAddressBytesin interfaceNetworkConnectionOrBuilder- Returns:
- The bytes for remoteIpAddress.
-
setRemoteIpAddress
public NetworkConnection.Builder setRemoteIpAddress(String value)
Remote IP address.
string remote_ip_address = 4;- Parameters:
value- The remoteIpAddress to set.- Returns:
- This builder for chaining.
-
clearRemoteIpAddress
public NetworkConnection.Builder clearRemoteIpAddress()
Remote IP address.
string remote_ip_address = 4;- Returns:
- This builder for chaining.
-
setRemoteIpAddressBytes
public NetworkConnection.Builder setRemoteIpAddressBytes(com.google.protobuf.ByteString value)
Remote IP address.
string remote_ip_address = 4;- Parameters:
value- The bytes for remoteIpAddress to set.- Returns:
- This builder for chaining.
-
getRemotePort
public int getRemotePort()
Remote port.
int32 remote_port = 5;- Specified by:
getRemotePortin interfaceNetworkConnectionOrBuilder- Returns:
- The remotePort.
-
setRemotePort
public NetworkConnection.Builder setRemotePort(int value)
Remote port.
int32 remote_port = 5;- Parameters:
value- The remotePort to set.- Returns:
- This builder for chaining.
-
clearRemotePort
public NetworkConnection.Builder clearRemotePort()
Remote port.
int32 remote_port = 5;- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Network connection state.
.google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;- Specified by:
getStateValuein interfaceNetworkConnectionOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public NetworkConnection.Builder setStateValue(int value)
Network connection state.
.google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public NetworkConnection.State getState()
Network connection state.
.google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;- Specified by:
getStatein interfaceNetworkConnectionOrBuilder- Returns:
- The state.
-
setState
public NetworkConnection.Builder setState(NetworkConnection.State value)
Network connection state.
.google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public NetworkConnection.Builder clearState()
Network connection state.
.google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;- Returns:
- This builder for chaining.
-
getPid
public long getPid()
Process ID.
int64 pid = 7;- Specified by:
getPidin interfaceNetworkConnectionOrBuilder- Returns:
- The pid.
-
setPid
public NetworkConnection.Builder setPid(long value)
Process ID.
int64 pid = 7;- Parameters:
value- The pid to set.- Returns:
- This builder for chaining.
-
clearPid
public NetworkConnection.Builder clearPid()
Process ID.
int64 pid = 7;- Returns:
- This builder for chaining.
-
getProcessName
public String getProcessName()
Process or service name.
string process_name = 8;- Specified by:
getProcessNamein interfaceNetworkConnectionOrBuilder- Returns:
- The processName.
-
getProcessNameBytes
public com.google.protobuf.ByteString getProcessNameBytes()
Process or service name.
string process_name = 8;- Specified by:
getProcessNameBytesin interfaceNetworkConnectionOrBuilder- Returns:
- The bytes for processName.
-
setProcessName
public NetworkConnection.Builder setProcessName(String value)
Process or service name.
string process_name = 8;- Parameters:
value- The processName to set.- Returns:
- This builder for chaining.
-
clearProcessName
public NetworkConnection.Builder clearProcessName()
Process or service name.
string process_name = 8;- Returns:
- This builder for chaining.
-
setProcessNameBytes
public NetworkConnection.Builder setProcessNameBytes(com.google.protobuf.ByteString value)
Process or service name.
string process_name = 8;- Parameters:
value- The bytes for processName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final NetworkConnection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConnection.Builder>
-
mergeUnknownFields
public final NetworkConnection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConnection.Builder>
-
-