- 1.54.0 (latest)
- 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.v1.EndpointInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EndpointInfo.BuilderImplements
EndpointInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EndpointInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
build()
public EndpointInfo build()
Returns | |
---|---|
Type | Description |
EndpointInfo |
buildPartial()
public EndpointInfo buildPartial()
Returns | |
---|---|
Type | Description |
EndpointInfo |
clear()
public EndpointInfo.Builder clear()
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
clearDestinationIp()
public EndpointInfo.Builder clearDestinationIp()
Destination IP address.
string destination_ip = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public EndpointInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public EndpointInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
clearProtocol()
public EndpointInfo.Builder clearProtocol()
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
This builder for chaining. |
clearSourceAgentUri()
public EndpointInfo.Builder clearSourceAgentUri()
URI of the source telemetry agent this packet originates from.
string source_agent_uri = 8;
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
This builder for chaining. |
clearSourceIp()
public EndpointInfo.Builder clearSourceIp()
Source IP address.
string source_ip = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
This builder for chaining. |
clone()
public EndpointInfo.Builder clone()
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
getDefaultInstanceForType()
public EndpointInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
EndpointInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestinationIp()
public String getDestinationIp()
Destination IP address.
string destination_ip = 2;
Returns | |
---|---|
Type | Description |
String |
The destinationIp. |
getDestinationIpBytes()
public ByteString getDestinationIpBytes()
Destination IP address.
string destination_ip = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
String |
The destinationNetworkUri. |
getDestinationNetworkUriBytes()
public ByteString getDestinationNetworkUriBytes()
URI of the network where this packet is sent to.
string destination_network_uri = 7;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
int |
The destinationPort. |
getProtocol()
public String getProtocol()
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;
Returns | |
---|---|
Type | Description |
String |
The protocol. |
getProtocolBytes()
public ByteString getProtocolBytes()
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for protocol. |
getSourceAgentUri()
public String getSourceAgentUri()
URI of the source telemetry agent this packet originates from.
string source_agent_uri = 8;
Returns | |
---|---|
Type | Description |
String |
The sourceAgentUri. |
getSourceAgentUriBytes()
public ByteString getSourceAgentUriBytes()
URI of the source telemetry agent this packet originates from.
string source_agent_uri = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for sourceAgentUri. |
getSourceIp()
public String getSourceIp()
Source IP address.
string source_ip = 1;
Returns | |
---|---|
Type | Description |
String |
The sourceIp. |
getSourceIpBytes()
public ByteString getSourceIpBytes()
Source IP address.
string source_ip = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
String |
The sourceNetworkUri. |
getSourceNetworkUriBytes()
public ByteString getSourceNetworkUriBytes()
URI of the network where this packet originates from.
string source_network_uri = 6;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
int |
The sourcePort. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(EndpointInfo other)
public EndpointInfo.Builder mergeFrom(EndpointInfo other)
Parameter | |
---|---|
Name | Description |
other |
EndpointInfo |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EndpointInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public EndpointInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EndpointInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
setDestinationIp(String value)
public EndpointInfo.Builder setDestinationIp(String value)
Destination IP address.
string destination_ip = 2;
Parameter | |
---|---|
Name | Description |
value |
String The destinationIp to set. |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
This builder for chaining. |
setDestinationIpBytes(ByteString value)
public EndpointInfo.Builder setDestinationIpBytes(ByteString value)
Destination IP address.
string destination_ip = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for destinationIp to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The destinationNetworkUri to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for destinationNetworkUri to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The destinationPort to set. |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public EndpointInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The protocol to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for protocol to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
setSourceAgentUri(String value)
public EndpointInfo.Builder setSourceAgentUri(String value)
URI of the source telemetry agent this packet originates from.
string source_agent_uri = 8;
Parameter | |
---|---|
Name | Description |
value |
String The sourceAgentUri to set. |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
This builder for chaining. |
setSourceAgentUriBytes(ByteString value)
public EndpointInfo.Builder setSourceAgentUriBytes(ByteString value)
URI of the source telemetry agent this packet originates from.
string source_agent_uri = 8;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for sourceAgentUri to set. |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
This builder for chaining. |
setSourceIp(String value)
public EndpointInfo.Builder setSourceIp(String value)
Source IP address.
string source_ip = 1;
Parameter | |
---|---|
Name | Description |
value |
String The sourceIp to set. |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
This builder for chaining. |
setSourceIpBytes(ByteString value)
public EndpointInfo.Builder setSourceIpBytes(ByteString value)
Source IP address.
string source_ip = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for sourceIp to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The sourceNetworkUri to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for sourceNetworkUri to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The sourcePort to set. |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final EndpointInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EndpointInfo.Builder |