public static final class ProxyConnectionInfo.Builder extends GeneratedMessage.Builder<ProxyConnectionInfo.Builder> implements ProxyConnectionInfoOrBuilderFor display only. Metadata associated with ProxyConnection.
Protobuf type google.cloud.networkmanagement.v1beta1.ProxyConnectionInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProxyConnectionInfo.BuilderImplements
ProxyConnectionInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ProxyConnectionInfo build()| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo |
|
buildPartial()
public ProxyConnectionInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo |
|
clear()
public ProxyConnectionInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
|
clearNetworkUri()
public ProxyConnectionInfo.Builder clearNetworkUri()URI of the network where connection is proxied.
string network_uri = 11;
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
clearNewDestinationIp()
public ProxyConnectionInfo.Builder clearNewDestinationIp()Destination IP address of a new connection.
string new_destination_ip = 5;
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
clearNewDestinationPort()
public ProxyConnectionInfo.Builder clearNewDestinationPort()Destination port of a new connection. Only valid when protocol is TCP or UDP.
int32 new_destination_port = 9;
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
clearNewSourceIp()
public ProxyConnectionInfo.Builder clearNewSourceIp()Source IP address of a new connection.
string new_source_ip = 3;
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
clearNewSourcePort()
public ProxyConnectionInfo.Builder clearNewSourcePort()Source port of a new connection. Only valid when protocol is TCP or UDP.
int32 new_source_port = 7;
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
clearOldDestinationIp()
public ProxyConnectionInfo.Builder clearOldDestinationIp()Destination IP address of an original connection
string old_destination_ip = 4;
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
clearOldDestinationPort()
public ProxyConnectionInfo.Builder clearOldDestinationPort()Destination port of an original connection. Only valid when protocol is TCP or UDP.
int32 old_destination_port = 8;
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
clearOldSourceIp()
public ProxyConnectionInfo.Builder clearOldSourceIp()Source IP address of an original connection.
string old_source_ip = 2;
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
clearOldSourcePort()
public ProxyConnectionInfo.Builder clearOldSourcePort()Source port of an original connection. Only valid when protocol is TCP or UDP.
int32 old_source_port = 6;
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
clearProtocol()
public ProxyConnectionInfo.Builder clearProtocol()IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 1;
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
clearSubnetUri()
public ProxyConnectionInfo.Builder clearSubnetUri()Uri of proxy subnet.
string subnet_uri = 10;
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ProxyConnectionInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNetworkUri()
public String getNetworkUri()URI of the network where connection is proxied.
string network_uri = 11;
| Returns | |
|---|---|
| Type | Description |
String |
The networkUri. |
getNetworkUriBytes()
public ByteString getNetworkUriBytes()URI of the network where connection is proxied.
string network_uri = 11;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for networkUri. |
getNewDestinationIp()
public String getNewDestinationIp()Destination IP address of a new connection.
string new_destination_ip = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The newDestinationIp. |
getNewDestinationIpBytes()
public ByteString getNewDestinationIpBytes()Destination IP address of a new connection.
string new_destination_ip = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for newDestinationIp. |
getNewDestinationPort()
public int getNewDestinationPort()Destination port of a new connection. Only valid when protocol is TCP or UDP.
int32 new_destination_port = 9;
| Returns | |
|---|---|
| Type | Description |
int |
The newDestinationPort. |
getNewSourceIp()
public String getNewSourceIp()Source IP address of a new connection.
string new_source_ip = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The newSourceIp. |
getNewSourceIpBytes()
public ByteString getNewSourceIpBytes()Source IP address of a new connection.
string new_source_ip = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for newSourceIp. |
getNewSourcePort()
public int getNewSourcePort()Source port of a new connection. Only valid when protocol is TCP or UDP.
int32 new_source_port = 7;
| Returns | |
|---|---|
| Type | Description |
int |
The newSourcePort. |
getOldDestinationIp()
public String getOldDestinationIp()Destination IP address of an original connection
string old_destination_ip = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The oldDestinationIp. |
getOldDestinationIpBytes()
public ByteString getOldDestinationIpBytes()Destination IP address of an original connection
string old_destination_ip = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for oldDestinationIp. |
getOldDestinationPort()
public int getOldDestinationPort()Destination port of an original connection. Only valid when protocol is TCP or UDP.
int32 old_destination_port = 8;
| Returns | |
|---|---|
| Type | Description |
int |
The oldDestinationPort. |
getOldSourceIp()
public String getOldSourceIp()Source IP address of an original connection.
string old_source_ip = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The oldSourceIp. |
getOldSourceIpBytes()
public ByteString getOldSourceIpBytes()Source IP address of an original connection.
string old_source_ip = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for oldSourceIp. |
getOldSourcePort()
public int getOldSourcePort()Source port of an original connection. Only valid when protocol is TCP or UDP.
int32 old_source_port = 6;
| Returns | |
|---|---|
| Type | Description |
int |
The oldSourcePort. |
getProtocol()
public String getProtocol()IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The protocol. |
getProtocolBytes()
public ByteString getProtocolBytes()IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for protocol. |
getSubnetUri()
public String getSubnetUri()Uri of proxy subnet.
string subnet_uri = 10;
| Returns | |
|---|---|
| Type | Description |
String |
The subnetUri. |
getSubnetUriBytes()
public ByteString getSubnetUriBytes()Uri of proxy subnet.
string subnet_uri = 10;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for subnetUri. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ProxyConnectionInfo other)
public ProxyConnectionInfo.Builder mergeFrom(ProxyConnectionInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
ProxyConnectionInfo |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProxyConnectionInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProxyConnectionInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
|
setNetworkUri(String value)
public ProxyConnectionInfo.Builder setNetworkUri(String value)URI of the network where connection is proxied.
string network_uri = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe networkUri to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setNetworkUriBytes(ByteString value)
public ProxyConnectionInfo.Builder setNetworkUriBytes(ByteString value)URI of the network where connection is proxied.
string network_uri = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for networkUri to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setNewDestinationIp(String value)
public ProxyConnectionInfo.Builder setNewDestinationIp(String value)Destination IP address of a new connection.
string new_destination_ip = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe newDestinationIp to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setNewDestinationIpBytes(ByteString value)
public ProxyConnectionInfo.Builder setNewDestinationIpBytes(ByteString value)Destination IP address of a new connection.
string new_destination_ip = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for newDestinationIp to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setNewDestinationPort(int value)
public ProxyConnectionInfo.Builder setNewDestinationPort(int value)Destination port of a new connection. Only valid when protocol is TCP or UDP.
int32 new_destination_port = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe newDestinationPort to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setNewSourceIp(String value)
public ProxyConnectionInfo.Builder setNewSourceIp(String value)Source IP address of a new connection.
string new_source_ip = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe newSourceIp to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setNewSourceIpBytes(ByteString value)
public ProxyConnectionInfo.Builder setNewSourceIpBytes(ByteString value)Source IP address of a new connection.
string new_source_ip = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for newSourceIp to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setNewSourcePort(int value)
public ProxyConnectionInfo.Builder setNewSourcePort(int value)Source port of a new connection. Only valid when protocol is TCP or UDP.
int32 new_source_port = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe newSourcePort to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setOldDestinationIp(String value)
public ProxyConnectionInfo.Builder setOldDestinationIp(String value)Destination IP address of an original connection
string old_destination_ip = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe oldDestinationIp to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setOldDestinationIpBytes(ByteString value)
public ProxyConnectionInfo.Builder setOldDestinationIpBytes(ByteString value)Destination IP address of an original connection
string old_destination_ip = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for oldDestinationIp to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setOldDestinationPort(int value)
public ProxyConnectionInfo.Builder setOldDestinationPort(int value)Destination port of an original connection. Only valid when protocol is TCP or UDP.
int32 old_destination_port = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe oldDestinationPort to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setOldSourceIp(String value)
public ProxyConnectionInfo.Builder setOldSourceIp(String value)Source IP address of an original connection.
string old_source_ip = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe oldSourceIp to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setOldSourceIpBytes(ByteString value)
public ProxyConnectionInfo.Builder setOldSourceIpBytes(ByteString value)Source IP address of an original connection.
string old_source_ip = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for oldSourceIp to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setOldSourcePort(int value)
public ProxyConnectionInfo.Builder setOldSourcePort(int value)Source port of an original connection. Only valid when protocol is TCP or UDP.
int32 old_source_port = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe oldSourcePort to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setProtocol(String value)
public ProxyConnectionInfo.Builder setProtocol(String value)IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe protocol to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setProtocolBytes(ByteString value)
public ProxyConnectionInfo.Builder setProtocolBytes(ByteString value)IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for protocol to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setSubnetUri(String value)
public ProxyConnectionInfo.Builder setSubnetUri(String value)Uri of proxy subnet.
string subnet_uri = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe subnetUri to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |
setSubnetUriBytes(ByteString value)
public ProxyConnectionInfo.Builder setSubnetUriBytes(ByteString value)Uri of proxy subnet.
string subnet_uri = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for subnetUri to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyConnectionInfo.Builder |
This builder for chaining. |