Interface EndpointOrBuilder (1.84.0)

public interface EndpointOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAppEngineVersion()

public abstract Endpoint.AppEngineVersionEndpoint getAppEngineVersion()

An App Engine service version. Applicable only to source endpoint.

.google.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. Applicable only to source endpoint.

.google.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;

Returns
Type Description
Endpoint.AppEngineVersionEndpointOrBuilder

getCloudFunction()

public abstract Endpoint.CloudFunctionEndpoint getCloudFunction()

A Cloud Function. Applicable only to source endpoint.

.google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;

Returns
Type Description
Endpoint.CloudFunctionEndpoint

The cloudFunction.

getCloudFunctionOrBuilder()

public abstract Endpoint.CloudFunctionEndpointOrBuilder getCloudFunctionOrBuilder()

A Cloud Function. Applicable only to source endpoint.

.google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;

Returns
Type Description
Endpoint.CloudFunctionEndpointOrBuilder

getCloudRunRevision()

public abstract Endpoint.CloudRunRevisionEndpoint getCloudRunRevision()

A Cloud Run revision Applicable only to source endpoint.

.google.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;

Returns
Type Description
Endpoint.CloudRunRevisionEndpoint

The cloudRunRevision.

getCloudRunRevisionOrBuilder()

public abstract Endpoint.CloudRunRevisionEndpointOrBuilder getCloudRunRevisionOrBuilder()

A Cloud Run revision Applicable only to source endpoint.

.google.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.

getForwardingRule()

public abstract String getForwardingRule()

A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Applicable only to destination endpoint. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}

string forwarding_rule = 13;

Returns
Type Description
String

The forwardingRule.

getForwardingRuleBytes()

public abstract ByteString getForwardingRuleBytes()

A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Applicable only to destination endpoint. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}

string forwarding_rule = 13;

Returns
Type Description
ByteString

The bytes for forwardingRule.

getForwardingRuleTarget()

public abstract Endpoint.ForwardingRuleTarget getForwardingRuleTarget()

Output only. Specifies the type of the target of the forwarding rule.

optional .google.cloud.networkmanagement.v1.Endpoint.ForwardingRuleTarget forwarding_rule_target = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Endpoint.ForwardingRuleTarget

The forwardingRuleTarget.

getForwardingRuleTargetValue()

public abstract int getForwardingRuleTargetValue()

Output only. Specifies the type of the target of the forwarding rule.

optional .google.cloud.networkmanagement.v1.Endpoint.ForwardingRuleTarget forwarding_rule_target = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for forwardingRuleTarget.

getFqdn()

public abstract String getFqdn()

DNS endpoint of Google Kubernetes Engine cluster control plane. Requires gke_master_cluster to be set, can't be used simultaneoulsly with ip_address or network. Applicable only to destination endpoint.

string fqdn = 19;

Returns
Type Description
String

The fqdn.

getFqdnBytes()

public abstract ByteString getFqdnBytes()

DNS endpoint of Google Kubernetes Engine cluster control plane. Requires gke_master_cluster to be set, can't be used simultaneoulsly with ip_address or network. Applicable only to destination endpoint.

string fqdn = 19;

Returns
Type Description
ByteString

The bytes for fqdn.

getGkeMasterCluster()

public abstract String getGkeMasterCluster()

A cluster URI for Google Kubernetes Engine cluster control plane.

string gke_master_cluster = 7;

Returns
Type Description
String

The gkeMasterCluster.

getGkeMasterClusterBytes()

public abstract ByteString getGkeMasterClusterBytes()

A cluster URI for Google Kubernetes Engine cluster control plane.

string gke_master_cluster = 7;

Returns
Type Description
ByteString

The bytes for gkeMasterCluster.

getGkePod()

public abstract String getGkePod()

A GKE Pod URI.

string gke_pod = 21;

Returns
Type Description
String

The gkePod.

getGkePodBytes()

public abstract ByteString getGkePodBytes()

A GKE Pod URI.

string gke_pod = 21;

Returns
Type Description
ByteString

The bytes for gkePod.

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.

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.

string ip_address = 1;

Returns
Type Description
ByteString

The bytes for ipAddress.

getLoadBalancerId()

public abstract String getLoadBalancerId()

Output only. ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers.

optional string load_balancer_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The loadBalancerId.

getLoadBalancerIdBytes()

public abstract ByteString getLoadBalancerIdBytes()

Output only. ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers.

optional string load_balancer_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for loadBalancerId.

getLoadBalancerType()

public abstract LoadBalancerType getLoadBalancerType()

Output only. Type of the load balancer the forwarding rule points to.

optional .google.cloud.networkmanagement.v1.LoadBalancerType load_balancer_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LoadBalancerType

The loadBalancerType.

getLoadBalancerTypeValue()

public abstract int getLoadBalancerTypeValue()

Output only. Type of the load balancer the forwarding rule points to.

optional .google.cloud.networkmanagement.v1.LoadBalancerType load_balancer_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for loadBalancerType.

getNetwork()

public abstract String getNetwork()

A VPC network URI. For source endpoints, used according to the network_type. For destination endpoints, used only when the source is an external IP address endpoint, and the destination is an internal IP address endpoint.

string network = 4;

Returns
Type Description
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

A VPC network URI. For source endpoints, used according to the network_type. For destination endpoints, used only when the source is an external IP address endpoint, and the destination is an internal IP address endpoint.

string network = 4;

Returns
Type Description
ByteString

The bytes for network.

getNetworkType()

public abstract Endpoint.NetworkType getNetworkType()

For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints.

.google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5;

Returns
Type Description
Endpoint.NetworkType

The networkType.

getNetworkTypeValue()

public abstract int getNetworkTypeValue()

For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints.

.google.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()

For source endpoints, endpoint project ID. Used according to the network_type. Not relevant for destination endpoints.

string project_id = 6;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

For source endpoints, endpoint project ID. Used according to the network_type. Not relevant for destination endpoints.

string project_id = 6;

Returns
Type Description
ByteString

The bytes for projectId.

getRedisCluster()

public abstract String getRedisCluster()

A Redis Cluster URI. Applicable only to destination endpoint.

string redis_cluster = 18;

Returns
Type Description
String

The redisCluster.

getRedisClusterBytes()

public abstract ByteString getRedisClusterBytes()

A Redis Cluster URI. Applicable only to destination endpoint.

string redis_cluster = 18;

Returns
Type Description
ByteString

The bytes for redisCluster.

getRedisInstance()

public abstract String getRedisInstance()

A Redis Instance URI. Applicable only to destination endpoint.

string redis_instance = 17;

Returns
Type Description
String

The redisInstance.

getRedisInstanceBytes()

public abstract ByteString getRedisInstanceBytes()

A Redis Instance URI. Applicable only to destination endpoint.

string redis_instance = 17;

Returns
Type Description
ByteString

The bytes for redisInstance.

hasAppEngineVersion()

public abstract boolean hasAppEngineVersion()

An App Engine service version. Applicable only to source endpoint.

.google.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;

Returns
Type Description
boolean

Whether the appEngineVersion field is set.

hasCloudFunction()

public abstract boolean hasCloudFunction()

A Cloud Function. Applicable only to source endpoint.

.google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;

Returns
Type Description
boolean

Whether the cloudFunction field is set.

hasCloudRunRevision()

public abstract boolean hasCloudRunRevision()

A Cloud Run revision Applicable only to source endpoint.

.google.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;

Returns
Type Description
boolean

Whether the cloudRunRevision field is set.

hasForwardingRuleTarget()

public abstract boolean hasForwardingRuleTarget()

Output only. Specifies the type of the target of the forwarding rule.

optional .google.cloud.networkmanagement.v1.Endpoint.ForwardingRuleTarget forwarding_rule_target = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the forwardingRuleTarget field is set.

hasLoadBalancerId()

public abstract boolean hasLoadBalancerId()

Output only. ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers.

optional string load_balancer_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the loadBalancerId field is set.

hasLoadBalancerType()

public abstract boolean hasLoadBalancerType()

Output only. Type of the load balancer the forwarding rule points to.

optional .google.cloud.networkmanagement.v1.LoadBalancerType load_balancer_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the loadBalancerType field is set.