public interface EndpointOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAppEngineVersion()
public abstract Endpoint.AppEngineVersionEndpoint getAppEngineVersion()
An App Engine service version.
.google.events.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;
Returns | |
---|---|
Type | Description |
Endpoint.AppEngineVersionEndpoint |
The appEngineVersion. |
getAppEngineVersionOrBuilder()
public abstract Endpoint.AppEngineVersionEndpointOrBuilder getAppEngineVersionOrBuilder()
An App Engine service version.
.google.events.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;
Returns | |
---|---|
Type | Description |
Endpoint.AppEngineVersionEndpointOrBuilder |
getCloudFunction()
public abstract Endpoint.CloudFunctionEndpoint getCloudFunction()
.google.events.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
Returns | |
---|---|
Type | Description |
Endpoint.CloudFunctionEndpoint |
The cloudFunction. |
getCloudFunctionOrBuilder()
public abstract Endpoint.CloudFunctionEndpointOrBuilder getCloudFunctionOrBuilder()
.google.events.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
Returns | |
---|---|
Type | Description |
Endpoint.CloudFunctionEndpointOrBuilder |
getCloudRunRevision()
public abstract Endpoint.CloudRunRevisionEndpoint getCloudRunRevision()
.google.events.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;
Returns | |
---|---|
Type | Description |
Endpoint.CloudRunRevisionEndpoint |
The cloudRunRevision. |
getCloudRunRevisionOrBuilder()
public abstract Endpoint.CloudRunRevisionEndpointOrBuilder getCloudRunRevisionOrBuilder()
.google.events.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;
Returns | |
---|---|
Type | Description |
Endpoint.CloudRunRevisionEndpointOrBuilder |
getCloudSqlInstance()
public abstract String getCloudSqlInstance()
A Cloud SQL instance URI.
string cloud_sql_instance = 8;
Returns | |
---|---|
Type | Description |
String |
The cloudSqlInstance. |
getCloudSqlInstanceBytes()
public abstract ByteString getCloudSqlInstanceBytes()
A Cloud SQL instance URI.
string cloud_sql_instance = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cloudSqlInstance. |
getGkeMasterCluster()
public abstract String getGkeMasterCluster()
A cluster URI for Google Kubernetes Engine master.
string gke_master_cluster = 7;
Returns | |
---|---|
Type | Description |
String |
The gkeMasterCluster. |
getGkeMasterClusterBytes()
public abstract ByteString getGkeMasterClusterBytes()
A cluster URI for Google Kubernetes Engine master.
string gke_master_cluster = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for gkeMasterCluster. |
getInstance()
public abstract String getInstance()
A Compute Engine instance URI.
string instance = 3;
Returns | |
---|---|
Type | Description |
String |
The instance. |
getInstanceBytes()
public abstract ByteString getInstanceBytes()
A Compute Engine instance URI.
string instance = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for instance. |
getIpAddress()
public abstract 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;
Returns | |
---|---|
Type | Description |
String |
The ipAddress. |
getIpAddressBytes()
public abstract 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ipAddress. |
getNetwork()
public abstract String getNetwork()
A Compute Engine network URI.
string network = 4;
Returns | |
---|---|
Type | Description |
String |
The network. |
getNetworkBytes()
public abstract ByteString getNetworkBytes()
A Compute Engine network URI.
string network = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for network. |
getNetworkType()
public abstract 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.events.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5;
Returns | |
---|---|
Type | Description |
Endpoint.NetworkType |
The networkType. |
getNetworkTypeValue()
public abstract 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.events.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for networkType. |
getPort()
public abstract int getPort()
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
int32 port = 2;
Returns | |
---|---|
Type | Description |
int |
The port. |
getProjectId()
public abstract 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 Google Cloud 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;
Returns | |
---|---|
Type | Description |
String |
The projectId. |
getProjectIdBytes()
public abstract 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 Google Cloud 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for projectId. |
hasAppEngineVersion()
public abstract boolean hasAppEngineVersion()
An App Engine service version.
.google.events.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;
Returns | |
---|---|
Type | Description |
boolean |
Whether the appEngineVersion field is set. |
hasCloudFunction()
public abstract boolean hasCloudFunction()
.google.events.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
Returns | |
---|---|
Type | Description |
boolean |
Whether the cloudFunction field is set. |
hasCloudRunRevision()
public abstract boolean hasCloudRunRevision()
.google.events.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;
Returns | |
---|---|
Type | Description |
boolean |
Whether the cloudRunRevision field is set. |