- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.1.10
public static final class EndpointInfo.Builder extends GeneratedMessageV3.Builder<EndpointInfo.Builder> implements EndpointInfoOrBuilder
For display only. The specification of the endpoints for the test. EndpointInfo is derived from source and destination Endpoint and validated by the backend data plane model.
Protobuf type google.cloud.networkmanagement.v1beta1.EndpointInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EndpointInfo.BuilderImplements
EndpointInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EndpointInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
EndpointInfo.Builder |
build()
public EndpointInfo build()
Type | Description |
EndpointInfo |
buildPartial()
public EndpointInfo buildPartial()
Type | Description |
EndpointInfo |
clear()
public EndpointInfo.Builder clear()
Type | Description |
EndpointInfo.Builder |
clearDestinationIp()
public EndpointInfo.Builder clearDestinationIp()
Destination IP address.
string destination_ip = 2;
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
clearDestinationNetworkUri()
public EndpointInfo.Builder clearDestinationNetworkUri()
URI of the network where this packet is sent to.
string destination_network_uri = 7;
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
clearDestinationPort()
public EndpointInfo.Builder clearDestinationPort()
Destination port. Only valid when protocol is TCP or UDP.
int32 destination_port = 5;
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public EndpointInfo.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
EndpointInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public EndpointInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
EndpointInfo.Builder |
clearProtocol()
public EndpointInfo.Builder clearProtocol()
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
clearSourceIp()
public EndpointInfo.Builder clearSourceIp()
Source IP address.
string source_ip = 1;
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
clearSourceNetworkUri()
public EndpointInfo.Builder clearSourceNetworkUri()
URI of the network where this packet originates from.
string source_network_uri = 6;
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
clearSourcePort()
public EndpointInfo.Builder clearSourcePort()
Source port. Only valid when protocol is TCP or UDP.
int32 source_port = 4;
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
clone()
public EndpointInfo.Builder clone()
Type | Description |
EndpointInfo.Builder |
getDefaultInstanceForType()
public EndpointInfo getDefaultInstanceForType()
Type | Description |
EndpointInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDestinationIp()
public String getDestinationIp()
Destination IP address.
string destination_ip = 2;
Type | Description |
String | The destinationIp. |
getDestinationIpBytes()
public ByteString getDestinationIpBytes()
Destination IP address.
string destination_ip = 2;
Type | Description |
ByteString | The bytes for destinationIp. |
getDestinationNetworkUri()
public String getDestinationNetworkUri()
URI of the network where this packet is sent to.
string destination_network_uri = 7;
Type | Description |
String | The destinationNetworkUri. |
getDestinationNetworkUriBytes()
public ByteString getDestinationNetworkUriBytes()
URI of the network where this packet is sent to.
string destination_network_uri = 7;
Type | Description |
ByteString | The bytes for destinationNetworkUri. |
getDestinationPort()
public int getDestinationPort()
Destination port. Only valid when protocol is TCP or UDP.
int32 destination_port = 5;
Type | Description |
int | The destinationPort. |
getProtocol()
public String getProtocol()
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;
Type | Description |
String | The protocol. |
getProtocolBytes()
public ByteString getProtocolBytes()
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;
Type | Description |
ByteString | The bytes for protocol. |
getSourceIp()
public String getSourceIp()
Source IP address.
string source_ip = 1;
Type | Description |
String | The sourceIp. |
getSourceIpBytes()
public ByteString getSourceIpBytes()
Source IP address.
string source_ip = 1;
Type | Description |
ByteString | The bytes for sourceIp. |
getSourceNetworkUri()
public String getSourceNetworkUri()
URI of the network where this packet originates from.
string source_network_uri = 6;
Type | Description |
String | The sourceNetworkUri. |
getSourceNetworkUriBytes()
public ByteString getSourceNetworkUriBytes()
URI of the network where this packet originates from.
string source_network_uri = 6;
Type | Description |
ByteString | The bytes for sourceNetworkUri. |
getSourcePort()
public int getSourcePort()
Source port. Only valid when protocol is TCP or UDP.
int32 source_port = 4;
Type | Description |
int | The sourcePort. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(EndpointInfo other)
public EndpointInfo.Builder mergeFrom(EndpointInfo other)
Name | Description |
other | EndpointInfo |
Type | Description |
EndpointInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EndpointInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
EndpointInfo.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public EndpointInfo.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
EndpointInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EndpointInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
EndpointInfo.Builder |
setDestinationIp(String value)
public EndpointInfo.Builder setDestinationIp(String value)
Destination IP address.
string destination_ip = 2;
Name | Description |
value | String The destinationIp to set. |
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
setDestinationIpBytes(ByteString value)
public EndpointInfo.Builder setDestinationIpBytes(ByteString value)
Destination IP address.
string destination_ip = 2;
Name | Description |
value | ByteString The bytes for destinationIp to set. |
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
setDestinationNetworkUri(String value)
public EndpointInfo.Builder setDestinationNetworkUri(String value)
URI of the network where this packet is sent to.
string destination_network_uri = 7;
Name | Description |
value | String The destinationNetworkUri to set. |
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
setDestinationNetworkUriBytes(ByteString value)
public EndpointInfo.Builder setDestinationNetworkUriBytes(ByteString value)
URI of the network where this packet is sent to.
string destination_network_uri = 7;
Name | Description |
value | ByteString The bytes for destinationNetworkUri to set. |
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
setDestinationPort(int value)
public EndpointInfo.Builder setDestinationPort(int value)
Destination port. Only valid when protocol is TCP or UDP.
int32 destination_port = 5;
Name | Description |
value | int The destinationPort to set. |
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public EndpointInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
EndpointInfo.Builder |
setProtocol(String value)
public EndpointInfo.Builder setProtocol(String value)
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;
Name | Description |
value | String The protocol to set. |
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
setProtocolBytes(ByteString value)
public EndpointInfo.Builder setProtocolBytes(ByteString value)
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;
Name | Description |
value | ByteString The bytes for protocol to set. |
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EndpointInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
EndpointInfo.Builder |
setSourceIp(String value)
public EndpointInfo.Builder setSourceIp(String value)
Source IP address.
string source_ip = 1;
Name | Description |
value | String The sourceIp to set. |
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
setSourceIpBytes(ByteString value)
public EndpointInfo.Builder setSourceIpBytes(ByteString value)
Source IP address.
string source_ip = 1;
Name | Description |
value | ByteString The bytes for sourceIp to set. |
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
setSourceNetworkUri(String value)
public EndpointInfo.Builder setSourceNetworkUri(String value)
URI of the network where this packet originates from.
string source_network_uri = 6;
Name | Description |
value | String The sourceNetworkUri to set. |
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
setSourceNetworkUriBytes(ByteString value)
public EndpointInfo.Builder setSourceNetworkUriBytes(ByteString value)
URI of the network where this packet originates from.
string source_network_uri = 6;
Name | Description |
value | ByteString The bytes for sourceNetworkUri to set. |
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
setSourcePort(int value)
public EndpointInfo.Builder setSourcePort(int value)
Source port. Only valid when protocol is TCP or UDP.
int32 source_port = 4;
Name | Description |
value | int The sourcePort to set. |
Type | Description |
EndpointInfo.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final EndpointInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
EndpointInfo.Builder |