Class ProxyConnectionInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ProxyConnectionInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.ProxyConnectionInfo.Builder
- All Implemented Interfaces:
ProxyConnectionInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ProxyConnectionInfo
public static final class ProxyConnectionInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProxyConnectionInfo.Builder>
implements ProxyConnectionInfoOrBuilder
For display only. Metadata associated with ProxyConnection.Protobuf type
google.cloud.networkmanagement.v1beta1.ProxyConnectionInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()URI of the network where connection is proxied.Destination IP address of a new connection.Destination port of a new connection.Source IP address of a new connection.Source port of a new connection.Destination IP address of an original connectionDestination port of an original connection.Source IP address of an original connection.Source port of an original connection.IP protocol in string format, for example: "TCP", "UDP", "ICMP".Uri of proxy subnet.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorURI of the network where connection is proxied.com.google.protobuf.ByteStringURI of the network where connection is proxied.Destination IP address of a new connection.com.google.protobuf.ByteStringDestination IP address of a new connection.intDestination port of a new connection.Source IP address of a new connection.com.google.protobuf.ByteStringSource IP address of a new connection.intSource port of a new connection.Destination IP address of an original connectioncom.google.protobuf.ByteStringDestination IP address of an original connectionintDestination port of an original connection.Source IP address of an original connection.com.google.protobuf.ByteStringSource IP address of an original connection.intSource port of an original connection.IP protocol in string format, for example: "TCP", "UDP", "ICMP".com.google.protobuf.ByteStringIP protocol in string format, for example: "TCP", "UDP", "ICMP".Uri of proxy subnet.com.google.protobuf.ByteStringUri of proxy subnet.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ProxyConnectionInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setNetworkUri(String value) URI of the network where connection is proxied.setNetworkUriBytes(com.google.protobuf.ByteString value) URI of the network where connection is proxied.setNewDestinationIp(String value) Destination IP address of a new connection.setNewDestinationIpBytes(com.google.protobuf.ByteString value) Destination IP address of a new connection.setNewDestinationPort(int value) Destination port of a new connection.setNewSourceIp(String value) Source IP address of a new connection.setNewSourceIpBytes(com.google.protobuf.ByteString value) Source IP address of a new connection.setNewSourcePort(int value) Source port of a new connection.setOldDestinationIp(String value) Destination IP address of an original connectionsetOldDestinationIpBytes(com.google.protobuf.ByteString value) Destination IP address of an original connectionsetOldDestinationPort(int value) Destination port of an original connection.setOldSourceIp(String value) Source IP address of an original connection.setOldSourceIpBytes(com.google.protobuf.ByteString value) Source IP address of an original connection.setOldSourcePort(int value) Source port of an original connection.setProtocol(String value) IP protocol in string format, for example: "TCP", "UDP", "ICMP".setProtocolBytes(com.google.protobuf.ByteString value) IP protocol in string format, for example: "TCP", "UDP", "ICMP".setSubnetUri(String value) Uri of proxy subnet.setSubnetUriBytes(com.google.protobuf.ByteString value) Uri of proxy subnet.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ProxyConnectionInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ProxyConnectionInfo.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.GeneratedMessage.Builder<ProxyConnectionInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProxyConnectionInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ProxyConnectionInfo.Builder>
-
mergeFrom
public ProxyConnectionInfo.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<ProxyConnectionInfo.Builder>- Throws:
IOException
-
getProtocol
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 1;- Specified by:
getProtocolin interfaceProxyConnectionInfoOrBuilder- Returns:
- The protocol.
-
getProtocolBytes
public com.google.protobuf.ByteString getProtocolBytes()IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 1;- Specified by:
getProtocolBytesin interfaceProxyConnectionInfoOrBuilder- Returns:
- The bytes for protocol.
-
setProtocol
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 1;- Parameters:
value- The protocol to set.- Returns:
- This builder for chaining.
-
clearProtocol
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 1;- Returns:
- This builder for chaining.
-
setProtocolBytes
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 1;- Parameters:
value- The bytes for protocol to set.- Returns:
- This builder for chaining.
-
getOldSourceIp
Source IP address of an original connection.
string old_source_ip = 2;- Specified by:
getOldSourceIpin interfaceProxyConnectionInfoOrBuilder- Returns:
- The oldSourceIp.
-
getOldSourceIpBytes
public com.google.protobuf.ByteString getOldSourceIpBytes()Source IP address of an original connection.
string old_source_ip = 2;- Specified by:
getOldSourceIpBytesin interfaceProxyConnectionInfoOrBuilder- Returns:
- The bytes for oldSourceIp.
-
setOldSourceIp
Source IP address of an original connection.
string old_source_ip = 2;- Parameters:
value- The oldSourceIp to set.- Returns:
- This builder for chaining.
-
clearOldSourceIp
Source IP address of an original connection.
string old_source_ip = 2;- Returns:
- This builder for chaining.
-
setOldSourceIpBytes
Source IP address of an original connection.
string old_source_ip = 2;- Parameters:
value- The bytes for oldSourceIp to set.- Returns:
- This builder for chaining.
-
getNewSourceIp
Source IP address of a new connection.
string new_source_ip = 3;- Specified by:
getNewSourceIpin interfaceProxyConnectionInfoOrBuilder- Returns:
- The newSourceIp.
-
getNewSourceIpBytes
public com.google.protobuf.ByteString getNewSourceIpBytes()Source IP address of a new connection.
string new_source_ip = 3;- Specified by:
getNewSourceIpBytesin interfaceProxyConnectionInfoOrBuilder- Returns:
- The bytes for newSourceIp.
-
setNewSourceIp
Source IP address of a new connection.
string new_source_ip = 3;- Parameters:
value- The newSourceIp to set.- Returns:
- This builder for chaining.
-
clearNewSourceIp
Source IP address of a new connection.
string new_source_ip = 3;- Returns:
- This builder for chaining.
-
setNewSourceIpBytes
Source IP address of a new connection.
string new_source_ip = 3;- Parameters:
value- The bytes for newSourceIp to set.- Returns:
- This builder for chaining.
-
getOldDestinationIp
Destination IP address of an original connection
string old_destination_ip = 4;- Specified by:
getOldDestinationIpin interfaceProxyConnectionInfoOrBuilder- Returns:
- The oldDestinationIp.
-
getOldDestinationIpBytes
public com.google.protobuf.ByteString getOldDestinationIpBytes()Destination IP address of an original connection
string old_destination_ip = 4;- Specified by:
getOldDestinationIpBytesin interfaceProxyConnectionInfoOrBuilder- Returns:
- The bytes for oldDestinationIp.
-
setOldDestinationIp
Destination IP address of an original connection
string old_destination_ip = 4;- Parameters:
value- The oldDestinationIp to set.- Returns:
- This builder for chaining.
-
clearOldDestinationIp
Destination IP address of an original connection
string old_destination_ip = 4;- Returns:
- This builder for chaining.
-
setOldDestinationIpBytes
Destination IP address of an original connection
string old_destination_ip = 4;- Parameters:
value- The bytes for oldDestinationIp to set.- Returns:
- This builder for chaining.
-
getNewDestinationIp
Destination IP address of a new connection.
string new_destination_ip = 5;- Specified by:
getNewDestinationIpin interfaceProxyConnectionInfoOrBuilder- Returns:
- The newDestinationIp.
-
getNewDestinationIpBytes
public com.google.protobuf.ByteString getNewDestinationIpBytes()Destination IP address of a new connection.
string new_destination_ip = 5;- Specified by:
getNewDestinationIpBytesin interfaceProxyConnectionInfoOrBuilder- Returns:
- The bytes for newDestinationIp.
-
setNewDestinationIp
Destination IP address of a new connection.
string new_destination_ip = 5;- Parameters:
value- The newDestinationIp to set.- Returns:
- This builder for chaining.
-
clearNewDestinationIp
Destination IP address of a new connection.
string new_destination_ip = 5;- Returns:
- This builder for chaining.
-
setNewDestinationIpBytes
Destination IP address of a new connection.
string new_destination_ip = 5;- Parameters:
value- The bytes for newDestinationIp to set.- Returns:
- This builder for chaining.
-
getOldSourcePort
public int getOldSourcePort()Source port of an original connection. Only valid when protocol is TCP or UDP.
int32 old_source_port = 6;- Specified by:
getOldSourcePortin interfaceProxyConnectionInfoOrBuilder- Returns:
- The oldSourcePort.
-
setOldSourcePort
Source port of an original connection. Only valid when protocol is TCP or UDP.
int32 old_source_port = 6;- Parameters:
value- The oldSourcePort to set.- Returns:
- This builder for chaining.
-
clearOldSourcePort
Source port of an original connection. Only valid when protocol is TCP or UDP.
int32 old_source_port = 6;- Returns:
- This builder for chaining.
-
getNewSourcePort
public int getNewSourcePort()Source port of a new connection. Only valid when protocol is TCP or UDP.
int32 new_source_port = 7;- Specified by:
getNewSourcePortin interfaceProxyConnectionInfoOrBuilder- Returns:
- The newSourcePort.
-
setNewSourcePort
Source port of a new connection. Only valid when protocol is TCP or UDP.
int32 new_source_port = 7;- Parameters:
value- The newSourcePort to set.- Returns:
- This builder for chaining.
-
clearNewSourcePort
Source port of a new connection. Only valid when protocol is TCP or UDP.
int32 new_source_port = 7;- Returns:
- This builder for chaining.
-
getOldDestinationPort
public int getOldDestinationPort()Destination port of an original connection. Only valid when protocol is TCP or UDP.
int32 old_destination_port = 8;- Specified by:
getOldDestinationPortin interfaceProxyConnectionInfoOrBuilder- Returns:
- The oldDestinationPort.
-
setOldDestinationPort
Destination port of an original connection. Only valid when protocol is TCP or UDP.
int32 old_destination_port = 8;- Parameters:
value- The oldDestinationPort to set.- Returns:
- This builder for chaining.
-
clearOldDestinationPort
Destination port of an original connection. Only valid when protocol is TCP or UDP.
int32 old_destination_port = 8;- Returns:
- This builder for chaining.
-
getNewDestinationPort
public int getNewDestinationPort()Destination port of a new connection. Only valid when protocol is TCP or UDP.
int32 new_destination_port = 9;- Specified by:
getNewDestinationPortin interfaceProxyConnectionInfoOrBuilder- Returns:
- The newDestinationPort.
-
setNewDestinationPort
Destination port of a new connection. Only valid when protocol is TCP or UDP.
int32 new_destination_port = 9;- Parameters:
value- The newDestinationPort to set.- Returns:
- This builder for chaining.
-
clearNewDestinationPort
Destination port of a new connection. Only valid when protocol is TCP or UDP.
int32 new_destination_port = 9;- Returns:
- This builder for chaining.
-
getSubnetUri
Uri of proxy subnet.
string subnet_uri = 10;- Specified by:
getSubnetUriin interfaceProxyConnectionInfoOrBuilder- Returns:
- The subnetUri.
-
getSubnetUriBytes
public com.google.protobuf.ByteString getSubnetUriBytes()Uri of proxy subnet.
string subnet_uri = 10;- Specified by:
getSubnetUriBytesin interfaceProxyConnectionInfoOrBuilder- Returns:
- The bytes for subnetUri.
-
setSubnetUri
Uri of proxy subnet.
string subnet_uri = 10;- Parameters:
value- The subnetUri to set.- Returns:
- This builder for chaining.
-
clearSubnetUri
Uri of proxy subnet.
string subnet_uri = 10;- Returns:
- This builder for chaining.
-
setSubnetUriBytes
Uri of proxy subnet.
string subnet_uri = 10;- Parameters:
value- The bytes for subnetUri to set.- Returns:
- This builder for chaining.
-
getNetworkUri
URI of the network where connection is proxied.
string network_uri = 11;- Specified by:
getNetworkUriin interfaceProxyConnectionInfoOrBuilder- Returns:
- The networkUri.
-
getNetworkUriBytes
public com.google.protobuf.ByteString getNetworkUriBytes()URI of the network where connection is proxied.
string network_uri = 11;- Specified by:
getNetworkUriBytesin interfaceProxyConnectionInfoOrBuilder- Returns:
- The bytes for networkUri.
-
setNetworkUri
URI of the network where connection is proxied.
string network_uri = 11;- Parameters:
value- The networkUri to set.- Returns:
- This builder for chaining.
-
clearNetworkUri
URI of the network where connection is proxied.
string network_uri = 11;- Returns:
- This builder for chaining.
-
setNetworkUriBytes
URI of the network where connection is proxied.
string network_uri = 11;- Parameters:
value- The bytes for networkUri to set.- Returns:
- This builder for chaining.
-