public final class Endpoint extends com.google.protobuf.GeneratedMessageV3 implements EndpointOrBuilder
Source or destination of the Connectivity Test.Protobuf type
google.cloud.networkmanagement.v1beta1.Endpoint| Modifier and Type | Class and Description |
|---|---|
static class |
Endpoint.Builder
Source or destination of the Connectivity Test.
|
static class |
Endpoint.CloudFunctionEndpoint
Wrapper for cloud function attributes.
|
static interface |
Endpoint.CloudFunctionEndpointOrBuilder |
static class |
Endpoint.NetworkType
The type definition of an endpoint's network.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLOUD_FUNCTION_FIELD_NUMBER |
static int |
CLOUD_SQL_INSTANCE_FIELD_NUMBER |
static int |
GKE_MASTER_CLUSTER_FIELD_NUMBER |
static int |
INSTANCE_FIELD_NUMBER |
static int |
IP_ADDRESS_FIELD_NUMBER |
static int |
NETWORK_FIELD_NUMBER |
static int |
NETWORK_TYPE_FIELD_NUMBER |
static int |
PORT_FIELD_NUMBER |
static int |
PROJECT_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Endpoint.CloudFunctionEndpoint |
getCloudFunction()
A [Cloud function](https://cloud.google.com/functions).
|
Endpoint.CloudFunctionEndpointOrBuilder |
getCloudFunctionOrBuilder()
A [Cloud function](https://cloud.google.com/functions).
|
String |
getCloudSqlInstance()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
|
com.google.protobuf.ByteString |
getCloudSqlInstanceBytes()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
|
static Endpoint |
getDefaultInstance() |
Endpoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getGkeMasterCluster()
A cluster URI for [Google Kubernetes Engine
master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
|
com.google.protobuf.ByteString |
getGkeMasterClusterBytes()
A cluster URI for [Google Kubernetes Engine
master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
|
String |
getInstance()
A Compute Engine instance URI.
|
com.google.protobuf.ByteString |
getInstanceBytes()
A Compute Engine instance URI.
|
String |
getIpAddress()
The IP address of the endpoint, which can be an external or internal IP.
|
com.google.protobuf.ByteString |
getIpAddressBytes()
The IP address of the endpoint, which can be an external or internal IP.
|
String |
getNetwork()
A Compute Engine network URI.
|
com.google.protobuf.ByteString |
getNetworkBytes()
A Compute Engine network URI.
|
Endpoint.NetworkType |
getNetworkType()
Type of the network where the endpoint is located.
|
int |
getNetworkTypeValue()
Type of the network where the endpoint is located.
|
com.google.protobuf.Parser<Endpoint> |
getParserForType() |
int |
getPort()
The IP protocol port of the endpoint.
|
String |
getProjectId()
Project ID where the endpoint is located.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Project ID where the endpoint is located.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCloudFunction()
A [Cloud function](https://cloud.google.com/functions).
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Endpoint.Builder |
newBuilder() |
static Endpoint.Builder |
newBuilder(Endpoint prototype) |
Endpoint.Builder |
newBuilderForType() |
protected Endpoint.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Endpoint |
parseDelimitedFrom(InputStream input) |
static Endpoint |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Endpoint |
parseFrom(byte[] data) |
static Endpoint |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Endpoint |
parseFrom(ByteBuffer data) |
static Endpoint |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Endpoint |
parseFrom(com.google.protobuf.ByteString data) |
static Endpoint |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Endpoint |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Endpoint |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Endpoint |
parseFrom(InputStream input) |
static Endpoint |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Endpoint> |
parser() |
Endpoint.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int IP_ADDRESS_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
public static final int GKE_MASTER_CLUSTER_FIELD_NUMBER
public static final int CLOUD_SQL_INSTANCE_FIELD_NUMBER
public static final int CLOUD_FUNCTION_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
public static final int NETWORK_TYPE_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getIpAddress()
The IP address of the endpoint, which can be an external or internal IP. An IPv6 address is only allowed when the test's destination is a [global load balancer VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
string ip_address = 1;getIpAddress in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getIpAddressBytes()
The IP address of the endpoint, which can be an external or internal IP. An IPv6 address is only allowed when the test's destination is a [global load balancer VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
string ip_address = 1;getIpAddressBytes in interface EndpointOrBuilderpublic int getPort()
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
int32 port = 2;getPort in interface EndpointOrBuilderpublic String getInstance()
A Compute Engine instance URI.
string instance = 3;getInstance in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getInstanceBytes()
A Compute Engine instance URI.
string instance = 3;getInstanceBytes in interface EndpointOrBuilderpublic String getGkeMasterCluster()
A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
string gke_master_cluster = 7;getGkeMasterCluster in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getGkeMasterClusterBytes()
A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
string gke_master_cluster = 7;getGkeMasterClusterBytes in interface EndpointOrBuilderpublic String getCloudSqlInstance()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;getCloudSqlInstance in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getCloudSqlInstanceBytes()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;getCloudSqlInstanceBytes in interface EndpointOrBuilderpublic boolean hasCloudFunction()
A [Cloud function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
hasCloudFunction in interface EndpointOrBuilderpublic Endpoint.CloudFunctionEndpoint getCloudFunction()
A [Cloud function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
getCloudFunction in interface EndpointOrBuilderpublic Endpoint.CloudFunctionEndpointOrBuilder getCloudFunctionOrBuilder()
A [Cloud function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
getCloudFunctionOrBuilder in interface EndpointOrBuilderpublic String getNetwork()
A Compute Engine network URI.
string network = 4;getNetwork in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
A Compute Engine network URI.
string network = 4;getNetworkBytes in interface EndpointOrBuilderpublic int getNetworkTypeValue()
Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5;getNetworkTypeValue in interface EndpointOrBuilderpublic Endpoint.NetworkType getNetworkType()
Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5;getNetworkType in interface EndpointOrBuilderpublic String getProjectId()
Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID: 1. Only the IP address is specified, and the IP address is within a GCP project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.
string project_id = 6;getProjectId in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID: 1. Only the IP address is specified, and the IP address is within a GCP project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.
string project_id = 6;getProjectIdBytes in interface EndpointOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Endpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Endpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Endpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Endpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Endpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Endpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Endpoint parseFrom(InputStream input) throws IOException
IOExceptionpublic static Endpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Endpoint parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Endpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Endpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Endpoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Endpoint.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Endpoint.Builder newBuilder()
public static Endpoint.Builder newBuilder(Endpoint prototype)
public Endpoint.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Endpoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Endpoint getDefaultInstance()
public static com.google.protobuf.Parser<Endpoint> parser()
public com.google.protobuf.Parser<Endpoint> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Endpoint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.