Interface EndpointOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Endpoint,Endpoint.Builder
public interface EndpointOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Endpoint.AppEngineVersionEndpointgetAppEngineVersion()An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).Endpoint.AppEngineVersionEndpointOrBuildergetAppEngineVersionOrBuilder()An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).Endpoint.CloudFunctionEndpointgetCloudFunction()A [Cloud Function](https://cloud.google.com/functions).Endpoint.CloudFunctionEndpointOrBuildergetCloudFunctionOrBuilder()A [Cloud Function](https://cloud.google.com/functions).Endpoint.CloudRunRevisionEndpointgetCloudRunRevision()A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)Endpoint.CloudRunRevisionEndpointOrBuildergetCloudRunRevisionOrBuilder()A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)StringgetCloudSqlInstance()A [Cloud SQL](https://cloud.google.com/sql) instance URI.com.google.protobuf.ByteStringgetCloudSqlInstanceBytes()A [Cloud SQL](https://cloud.google.com/sql) instance URI.StringgetForwardingRule()A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer.com.google.protobuf.ByteStringgetForwardingRuleBytes()A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer.Endpoint.ForwardingRuleTargetgetForwardingRuleTarget()Output only.intgetForwardingRuleTargetValue()Output only.StringgetGkeMasterCluster()A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).com.google.protobuf.ByteStringgetGkeMasterClusterBytes()A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).StringgetInstance()A Compute Engine instance URI.com.google.protobuf.ByteStringgetInstanceBytes()A Compute Engine instance URI.StringgetIpAddress()The IP address of the endpoint, which can be an external or internal IP.com.google.protobuf.ByteStringgetIpAddressBytes()The IP address of the endpoint, which can be an external or internal IP.StringgetLoadBalancerId()Output only.com.google.protobuf.ByteStringgetLoadBalancerIdBytes()Output only.LoadBalancerTypegetLoadBalancerType()Output only.intgetLoadBalancerTypeValue()Output only.StringgetNetwork()A Compute Engine network URI.com.google.protobuf.ByteStringgetNetworkBytes()A Compute Engine network URI.Endpoint.NetworkTypegetNetworkType()Type of the network where the endpoint is located.intgetNetworkTypeValue()Type of the network where the endpoint is located.intgetPort()The IP protocol port of the endpoint.StringgetProjectId()Project ID where the endpoint is located.com.google.protobuf.ByteStringgetProjectIdBytes()Project ID where the endpoint is located.booleanhasAppEngineVersion()An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).booleanhasCloudFunction()A [Cloud Function](https://cloud.google.com/functions).booleanhasCloudRunRevision()A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)booleanhasForwardingRuleTarget()Output only.booleanhasLoadBalancerId()Output only.booleanhasLoadBalancerType()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getIpAddress
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;- Returns:
- The ipAddress.
-
getIpAddressBytes
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;- Returns:
- The bytes for ipAddress.
-
getPort
int getPort()
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
int32 port = 2;- Returns:
- The port.
-
getInstance
String getInstance()
A Compute Engine instance URI.
string instance = 3;- Returns:
- The instance.
-
getInstanceBytes
com.google.protobuf.ByteString getInstanceBytes()
A Compute Engine instance URI.
string instance = 3;- Returns:
- The bytes for instance.
-
getForwardingRule
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. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}string forwarding_rule = 13;- Returns:
- The forwardingRule.
-
getForwardingRuleBytes
com.google.protobuf.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. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}string forwarding_rule = 13;- Returns:
- The bytes for forwardingRule.
-
hasForwardingRuleTarget
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:
- Whether the forwardingRuleTarget field is set.
-
getForwardingRuleTargetValue
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:
- The enum numeric value on the wire for forwardingRuleTarget.
-
getForwardingRuleTarget
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:
- The forwardingRuleTarget.
-
hasLoadBalancerId
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:
- Whether the loadBalancerId field is set.
-
getLoadBalancerId
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:
- The loadBalancerId.
-
getLoadBalancerIdBytes
com.google.protobuf.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:
- The bytes for loadBalancerId.
-
hasLoadBalancerType
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:
- Whether the loadBalancerType field is set.
-
getLoadBalancerTypeValue
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:
- The enum numeric value on the wire for loadBalancerType.
-
getLoadBalancerType
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:
- The loadBalancerType.
-
getGkeMasterCluster
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;- Returns:
- The gkeMasterCluster.
-
getGkeMasterClusterBytes
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;- Returns:
- The bytes for gkeMasterCluster.
-
getCloudSqlInstance
String getCloudSqlInstance()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;- Returns:
- The cloudSqlInstance.
-
getCloudSqlInstanceBytes
com.google.protobuf.ByteString getCloudSqlInstanceBytes()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;- Returns:
- The bytes for cloudSqlInstance.
-
hasCloudFunction
boolean hasCloudFunction()
A [Cloud Function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;- Returns:
- Whether the cloudFunction field is set.
-
getCloudFunction
Endpoint.CloudFunctionEndpoint getCloudFunction()
A [Cloud Function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;- Returns:
- The cloudFunction.
-
getCloudFunctionOrBuilder
Endpoint.CloudFunctionEndpointOrBuilder getCloudFunctionOrBuilder()
A [Cloud Function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
-
hasAppEngineVersion
boolean hasAppEngineVersion()
An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).
.google.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;- Returns:
- Whether the appEngineVersion field is set.
-
getAppEngineVersion
Endpoint.AppEngineVersionEndpoint getAppEngineVersion()
An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).
.google.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;- Returns:
- The appEngineVersion.
-
getAppEngineVersionOrBuilder
Endpoint.AppEngineVersionEndpointOrBuilder getAppEngineVersionOrBuilder()
An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).
.google.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;
-
hasCloudRunRevision
boolean hasCloudRunRevision()
A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
.google.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;- Returns:
- Whether the cloudRunRevision field is set.
-
getCloudRunRevision
Endpoint.CloudRunRevisionEndpoint getCloudRunRevision()
A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
.google.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;- Returns:
- The cloudRunRevision.
-
getCloudRunRevisionOrBuilder
Endpoint.CloudRunRevisionEndpointOrBuilder getCloudRunRevisionOrBuilder()
A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
.google.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;
-
getNetwork
String getNetwork()
A Compute Engine network URI.
string network = 4;- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()
A Compute Engine network URI.
string network = 4;- Returns:
- The bytes for network.
-
getNetworkTypeValue
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.v1.Endpoint.NetworkType network_type = 5;- Returns:
- The enum numeric value on the wire for networkType.
-
getNetworkType
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.v1.Endpoint.NetworkType network_type = 5;- Returns:
- The networkType.
-
getProjectId
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 Google Cloud 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;- Returns:
- The projectId.
-
getProjectIdBytes
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 Google Cloud 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;- Returns:
- The bytes for projectId.
-
-