public final class EndpointInfo extends GeneratedMessageV3 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
Static Fields
DESTINATION_IP_FIELD_NUMBER
public static final int DESTINATION_IP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DESTINATION_NETWORK_URI_FIELD_NUMBER
public static final int DESTINATION_NETWORK_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DESTINATION_PORT_FIELD_NUMBER
public static final int DESTINATION_PORT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOURCE_IP_FIELD_NUMBER
public static final int SOURCE_IP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOURCE_NETWORK_URI_FIELD_NUMBER
public static final int SOURCE_NETWORK_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOURCE_PORT_FIELD_NUMBER
public static final int SOURCE_PORT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static EndpointInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EndpointInfo.Builder newBuilder()
newBuilder(EndpointInfo prototype)
public static EndpointInfo.Builder newBuilder(EndpointInfo prototype)
public static EndpointInfo parseDelimitedFrom(InputStream input)
public static EndpointInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EndpointInfo parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EndpointInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EndpointInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EndpointInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EndpointInfo parseFrom(CodedInputStream input)
public static EndpointInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EndpointInfo parseFrom(InputStream input)
public static EndpointInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EndpointInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EndpointInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EndpointInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public EndpointInfo getDefaultInstanceForType()
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.
|
getParserForType()
public Parser<EndpointInfo> getParserForType()
Overrides
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EndpointInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EndpointInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public EndpointInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides