public static final class EndpointInfo.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
EndpointInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EndpointInfo |
build() |
EndpointInfo |
buildPartial() |
EndpointInfo.Builder |
clear() |
EndpointInfo.Builder |
clearDestinationIp()
Destination IP address.
|
EndpointInfo.Builder |
clearDestinationNetworkUri()
URI of the network where this packet is sent to.
|
EndpointInfo.Builder |
clearDestinationPort()
Destination port.
|
EndpointInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EndpointInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EndpointInfo.Builder |
clearProtocol()
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
|
EndpointInfo.Builder |
clearSourceAgentUri()
URI of the source telemetry agent this packet originates from.
|
EndpointInfo.Builder |
clearSourceIp()
Source IP address.
|
EndpointInfo.Builder |
clearSourceNetworkUri()
URI of the network where this packet originates from.
|
EndpointInfo.Builder |
clearSourcePort()
Source port.
|
EndpointInfo.Builder |
clone() |
EndpointInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDestinationIp()
Destination IP address.
|
com.google.protobuf.ByteString |
getDestinationIpBytes()
Destination IP address.
|
String |
getDestinationNetworkUri()
URI of the network where this packet is sent to.
|
com.google.protobuf.ByteString |
getDestinationNetworkUriBytes()
URI of the network where this packet is sent to.
|
int |
getDestinationPort()
Destination port.
|
String |
getProtocol()
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
|
com.google.protobuf.ByteString |
getProtocolBytes()
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
|
String |
getSourceAgentUri()
URI of the source telemetry agent this packet originates from.
|
com.google.protobuf.ByteString |
getSourceAgentUriBytes()
URI of the source telemetry agent this packet originates from.
|
String |
getSourceIp()
Source IP address.
|
com.google.protobuf.ByteString |
getSourceIpBytes()
Source IP address.
|
String |
getSourceNetworkUri()
URI of the network where this packet originates from.
|
com.google.protobuf.ByteString |
getSourceNetworkUriBytes()
URI of the network where this packet originates from.
|
int |
getSourcePort()
Source port.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EndpointInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EndpointInfo.Builder |
mergeFrom(EndpointInfo other) |
EndpointInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
EndpointInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EndpointInfo.Builder |
setDestinationIp(String value)
Destination IP address.
|
EndpointInfo.Builder |
setDestinationIpBytes(com.google.protobuf.ByteString value)
Destination IP address.
|
EndpointInfo.Builder |
setDestinationNetworkUri(String value)
URI of the network where this packet is sent to.
|
EndpointInfo.Builder |
setDestinationNetworkUriBytes(com.google.protobuf.ByteString value)
URI of the network where this packet is sent to.
|
EndpointInfo.Builder |
setDestinationPort(int value)
Destination port.
|
EndpointInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EndpointInfo.Builder |
setProtocol(String value)
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
|
EndpointInfo.Builder |
setProtocolBytes(com.google.protobuf.ByteString value)
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
|
EndpointInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
EndpointInfo.Builder |
setSourceAgentUri(String value)
URI of the source telemetry agent this packet originates from.
|
EndpointInfo.Builder |
setSourceAgentUriBytes(com.google.protobuf.ByteString value)
URI of the source telemetry agent this packet originates from.
|
EndpointInfo.Builder |
setSourceIp(String value)
Source IP address.
|
EndpointInfo.Builder |
setSourceIpBytes(com.google.protobuf.ByteString value)
Source IP address.
|
EndpointInfo.Builder |
setSourceNetworkUri(String value)
URI of the network where this packet originates from.
|
EndpointInfo.Builder |
setSourceNetworkUriBytes(com.google.protobuf.ByteString value)
URI of the network where this packet originates from.
|
EndpointInfo.Builder |
setSourcePort(int value)
Source port.
|
EndpointInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointInfo.Builder>public EndpointInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointInfo.Builder>public EndpointInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EndpointInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EndpointInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EndpointInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointInfo.Builder>public EndpointInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointInfo.Builder>public EndpointInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointInfo.Builder>public EndpointInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointInfo.Builder>public EndpointInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointInfo.Builder>public EndpointInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointInfo.Builder>public EndpointInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EndpointInfo.Builder>public EndpointInfo.Builder mergeFrom(EndpointInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointInfo.Builder>public EndpointInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EndpointInfo.Builder>IOExceptionpublic String getSourceIp()
Source IP address.
string source_ip = 1;getSourceIp in interface EndpointInfoOrBuilderpublic com.google.protobuf.ByteString getSourceIpBytes()
Source IP address.
string source_ip = 1;getSourceIpBytes in interface EndpointInfoOrBuilderpublic EndpointInfo.Builder setSourceIp(String value)
Source IP address.
string source_ip = 1;value - The sourceIp to set.public EndpointInfo.Builder clearSourceIp()
Source IP address.
string source_ip = 1;public EndpointInfo.Builder setSourceIpBytes(com.google.protobuf.ByteString value)
Source IP address.
string source_ip = 1;value - The bytes for sourceIp to set.public String getDestinationIp()
Destination IP address.
string destination_ip = 2;getDestinationIp in interface EndpointInfoOrBuilderpublic com.google.protobuf.ByteString getDestinationIpBytes()
Destination IP address.
string destination_ip = 2;getDestinationIpBytes in interface EndpointInfoOrBuilderpublic EndpointInfo.Builder setDestinationIp(String value)
Destination IP address.
string destination_ip = 2;value - The destinationIp to set.public EndpointInfo.Builder clearDestinationIp()
Destination IP address.
string destination_ip = 2;public EndpointInfo.Builder setDestinationIpBytes(com.google.protobuf.ByteString value)
Destination IP address.
string destination_ip = 2;value - The bytes for destinationIp to set.public String getProtocol()
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;getProtocol in interface EndpointInfoOrBuilderpublic com.google.protobuf.ByteString getProtocolBytes()
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;getProtocolBytes in interface EndpointInfoOrBuilderpublic EndpointInfo.Builder setProtocol(String value)
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;value - The protocol to set.public EndpointInfo.Builder clearProtocol()
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;public EndpointInfo.Builder setProtocolBytes(com.google.protobuf.ByteString value)
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;value - The bytes for protocol to set.public int getSourcePort()
Source port. Only valid when protocol is TCP or UDP.
int32 source_port = 4;getSourcePort in interface EndpointInfoOrBuilderpublic EndpointInfo.Builder setSourcePort(int value)
Source port. Only valid when protocol is TCP or UDP.
int32 source_port = 4;value - The sourcePort to set.public EndpointInfo.Builder clearSourcePort()
Source port. Only valid when protocol is TCP or UDP.
int32 source_port = 4;public int getDestinationPort()
Destination port. Only valid when protocol is TCP or UDP.
int32 destination_port = 5;getDestinationPort in interface EndpointInfoOrBuilderpublic EndpointInfo.Builder setDestinationPort(int value)
Destination port. Only valid when protocol is TCP or UDP.
int32 destination_port = 5;value - The destinationPort to set.public EndpointInfo.Builder clearDestinationPort()
Destination port. Only valid when protocol is TCP or UDP.
int32 destination_port = 5;public String getSourceNetworkUri()
URI of the network where this packet originates from.
string source_network_uri = 6;getSourceNetworkUri in interface EndpointInfoOrBuilderpublic com.google.protobuf.ByteString getSourceNetworkUriBytes()
URI of the network where this packet originates from.
string source_network_uri = 6;getSourceNetworkUriBytes in interface EndpointInfoOrBuilderpublic EndpointInfo.Builder setSourceNetworkUri(String value)
URI of the network where this packet originates from.
string source_network_uri = 6;value - The sourceNetworkUri to set.public EndpointInfo.Builder clearSourceNetworkUri()
URI of the network where this packet originates from.
string source_network_uri = 6;public EndpointInfo.Builder setSourceNetworkUriBytes(com.google.protobuf.ByteString value)
URI of the network where this packet originates from.
string source_network_uri = 6;value - The bytes for sourceNetworkUri to set.public String getDestinationNetworkUri()
URI of the network where this packet is sent to.
string destination_network_uri = 7;getDestinationNetworkUri in interface EndpointInfoOrBuilderpublic com.google.protobuf.ByteString getDestinationNetworkUriBytes()
URI of the network where this packet is sent to.
string destination_network_uri = 7;getDestinationNetworkUriBytes in interface EndpointInfoOrBuilderpublic EndpointInfo.Builder setDestinationNetworkUri(String value)
URI of the network where this packet is sent to.
string destination_network_uri = 7;value - The destinationNetworkUri to set.public EndpointInfo.Builder clearDestinationNetworkUri()
URI of the network where this packet is sent to.
string destination_network_uri = 7;public EndpointInfo.Builder setDestinationNetworkUriBytes(com.google.protobuf.ByteString value)
URI of the network where this packet is sent to.
string destination_network_uri = 7;value - The bytes for destinationNetworkUri to set.public String getSourceAgentUri()
URI of the source telemetry agent this packet originates from.
string source_agent_uri = 8;getSourceAgentUri in interface EndpointInfoOrBuilderpublic com.google.protobuf.ByteString getSourceAgentUriBytes()
URI of the source telemetry agent this packet originates from.
string source_agent_uri = 8;getSourceAgentUriBytes in interface EndpointInfoOrBuilderpublic EndpointInfo.Builder setSourceAgentUri(String value)
URI of the source telemetry agent this packet originates from.
string source_agent_uri = 8;value - The sourceAgentUri to set.public EndpointInfo.Builder clearSourceAgentUri()
URI of the source telemetry agent this packet originates from.
string source_agent_uri = 8;public EndpointInfo.Builder setSourceAgentUriBytes(com.google.protobuf.ByteString value)
URI of the source telemetry agent this packet originates from.
string source_agent_uri = 8;value - The bytes for sourceAgentUri to set.public final EndpointInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointInfo.Builder>public final EndpointInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointInfo.Builder>Copyright © 2022 Google LLC. All rights reserved.