- 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 final class Endpoint extends GeneratedMessageV3 implements EndpointOrBuilder
Source or destination of the Connectivity Test.
Protobuf type google.cloud.networkmanagement.v1beta1.Endpoint
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > EndpointImplements
EndpointOrBuilderStatic Fields
CLOUD_SQL_INSTANCE_FIELD_NUMBER
public static final int CLOUD_SQL_INSTANCE_FIELD_NUMBER
Type | Description |
int |
GKE_MASTER_CLUSTER_FIELD_NUMBER
public static final int GKE_MASTER_CLUSTER_FIELD_NUMBER
Type | Description |
int |
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
Type | Description |
int |
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
Type | Description |
int |
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Type | Description |
int |
NETWORK_TYPE_FIELD_NUMBER
public static final int NETWORK_TYPE_FIELD_NUMBER
Type | Description |
int |
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
Type | Description |
int |
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Endpoint getDefaultInstance()
Type | Description |
Endpoint |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Endpoint.Builder newBuilder()
Type | Description |
Endpoint.Builder |
newBuilder(Endpoint prototype)
public static Endpoint.Builder newBuilder(Endpoint prototype)
Name | Description |
prototype | Endpoint |
Type | Description |
Endpoint.Builder |
parseDelimitedFrom(InputStream input)
public static Endpoint parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Endpoint |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Endpoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Endpoint |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Endpoint parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Endpoint |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Endpoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Endpoint |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Endpoint parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Endpoint |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Endpoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Endpoint |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Endpoint parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Endpoint |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Endpoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Endpoint |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Endpoint parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Endpoint |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Endpoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Endpoint |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Endpoint parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Endpoint |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Endpoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Endpoint |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Endpoint> parser()
Type | Description |
Parser<Endpoint> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getCloudSqlInstance()
public String getCloudSqlInstance()
A Cloud SQL instance URI.
string cloud_sql_instance = 8;
Type | Description |
String | The cloudSqlInstance. |
getCloudSqlInstanceBytes()
public ByteString getCloudSqlInstanceBytes()
A Cloud SQL instance URI.
string cloud_sql_instance = 8;
Type | Description |
ByteString | The bytes for cloudSqlInstance. |
getDefaultInstanceForType()
public Endpoint getDefaultInstanceForType()
Type | Description |
Endpoint |
getGkeMasterCluster()
public String getGkeMasterCluster()
A cluster URI for Google Kubernetes Engine master.
string gke_master_cluster = 7;
Type | Description |
String | The gkeMasterCluster. |
getGkeMasterClusterBytes()
public ByteString getGkeMasterClusterBytes()
A cluster URI for Google Kubernetes Engine master.
string gke_master_cluster = 7;
Type | Description |
ByteString | The bytes for gkeMasterCluster. |
getInstance()
public String getInstance()
A Compute Engine instance URI.
string instance = 3;
Type | Description |
String | The instance. |
getInstanceBytes()
public ByteString getInstanceBytes()
A Compute Engine instance URI.
string instance = 3;
Type | Description |
ByteString | The bytes for instance. |
getIpAddress()
public 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.
string ip_address = 1;
Type | Description |
String | The ipAddress. |
getIpAddressBytes()
public 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.
string ip_address = 1;
Type | Description |
ByteString | The bytes for ipAddress. |
getNetwork()
public String getNetwork()
A Compute Engine network URI.
string network = 4;
Type | Description |
String | The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
A Compute Engine network URI.
string network = 4;
Type | Description |
ByteString | The bytes for network. |
getNetworkType()
public 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;
Type | Description |
Endpoint.NetworkType | The networkType. |
getNetworkTypeValue()
public 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;
Type | Description |
int | The enum numeric value on the wire for networkType. |
getParserForType()
public Parser<Endpoint> getParserForType()
Type | Description |
Parser<Endpoint> |
getPort()
public int getPort()
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
int32 port = 2;
Type | Description |
int | The port. |
getProjectId()
public 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:
- Only the IP address is specified, and the IP address is within a GCP project.
- 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;
Type | Description |
String | The projectId. |
getProjectIdBytes()
public 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:
- Only the IP address is specified, and the IP address is within a GCP project.
- 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;
Type | Description |
ByteString | The bytes for projectId. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Endpoint.Builder newBuilderForType()
Type | Description |
Endpoint.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Endpoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Endpoint.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Endpoint.Builder toBuilder()
Type | Description |
Endpoint.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |