Class Endpoint
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.networkmanagement.v1.Endpoint
-
- All Implemented Interfaces:
EndpointOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Endpoint extends com.google.protobuf.GeneratedMessageV3 implements EndpointOrBuilder
Source or destination of the Connectivity Test.
Protobuf typegoogle.cloud.networkmanagement.v1.Endpoint- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEndpoint.AppEngineVersionEndpointWrapper for the App Engine service version attributes.static interfaceEndpoint.AppEngineVersionEndpointOrBuilderstatic classEndpoint.BuilderSource or destination of the Connectivity Test.static classEndpoint.CloudFunctionEndpointWrapper for Cloud Function attributes.static interfaceEndpoint.CloudFunctionEndpointOrBuilderstatic classEndpoint.CloudRunRevisionEndpointWrapper for Cloud Run revision attributes.static interfaceEndpoint.CloudRunRevisionEndpointOrBuilderstatic classEndpoint.ForwardingRuleTargetType of the target of a forwarding rule.static classEndpoint.NetworkTypeThe type definition of an endpoint's network.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAPP_ENGINE_VERSION_FIELD_NUMBERstatic intCLOUD_FUNCTION_FIELD_NUMBERstatic intCLOUD_RUN_REVISION_FIELD_NUMBERstatic intCLOUD_SQL_INSTANCE_FIELD_NUMBERstatic intFORWARDING_RULE_FIELD_NUMBERstatic intFORWARDING_RULE_TARGET_FIELD_NUMBERstatic intGKE_MASTER_CLUSTER_FIELD_NUMBERstatic intINSTANCE_FIELD_NUMBERstatic intIP_ADDRESS_FIELD_NUMBERstatic intLOAD_BALANCER_ID_FIELD_NUMBERstatic intLOAD_BALANCER_TYPE_FIELD_NUMBERstatic intNETWORK_FIELD_NUMBERstatic intNETWORK_TYPE_FIELD_NUMBERstatic intPORT_FIELD_NUMBERstatic intPROJECT_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)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.static EndpointgetDefaultInstance()EndpointgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<Endpoint>getParserForType()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.intgetSerializedSize()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.inthashCode()booleanhasLoadBalancerId()Output only.booleanhasLoadBalancerType()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Endpoint.BuildernewBuilder()static Endpoint.BuildernewBuilder(Endpoint prototype)Endpoint.BuildernewBuilderForType()protected Endpoint.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static EndpointparseDelimitedFrom(InputStream input)static EndpointparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EndpointparseFrom(byte[] data)static EndpointparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EndpointparseFrom(com.google.protobuf.ByteString data)static EndpointparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EndpointparseFrom(com.google.protobuf.CodedInputStream input)static EndpointparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EndpointparseFrom(InputStream input)static EndpointparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EndpointparseFrom(ByteBuffer data)static EndpointparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Endpoint>parser()Endpoint.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FORWARDING_RULE_FIELD_NUMBER
public static final int FORWARDING_RULE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FORWARDING_RULE_TARGET_FIELD_NUMBER
public static final int FORWARDING_RULE_TARGET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOAD_BALANCER_ID_FIELD_NUMBER
public static final int LOAD_BALANCER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOAD_BALANCER_TYPE_FIELD_NUMBER
public static final int LOAD_BALANCER_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GKE_MASTER_CLUSTER_FIELD_NUMBER
public static final int GKE_MASTER_CLUSTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOUD_SQL_INSTANCE_FIELD_NUMBER
public static final int CLOUD_SQL_INSTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOUD_FUNCTION_FIELD_NUMBER
public static final int CLOUD_FUNCTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APP_ENGINE_VERSION_FIELD_NUMBER
public static final int APP_ENGINE_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOUD_RUN_REVISION_FIELD_NUMBER
public static final int CLOUD_RUN_REVISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_TYPE_FIELD_NUMBER
public static final int NETWORK_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
string ip_address = 1;- Specified by:
getIpAddressin interfaceEndpointOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
public 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;- Specified by:
getIpAddressBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for ipAddress.
-
getPort
public int getPort()
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
int32 port = 2;- Specified by:
getPortin interfaceEndpointOrBuilder- Returns:
- The port.
-
getInstance
public String getInstance()
A Compute Engine instance URI.
string instance = 3;- Specified by:
getInstancein interfaceEndpointOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()
A Compute Engine instance URI.
string instance = 3;- Specified by:
getInstanceBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for instance.
-
getForwardingRule
public 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;- Specified by:
getForwardingRulein interfaceEndpointOrBuilder- Returns:
- The forwardingRule.
-
getForwardingRuleBytes
public 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;- Specified by:
getForwardingRuleBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for forwardingRule.
-
hasForwardingRuleTarget
public 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];- Specified by:
hasForwardingRuleTargetin interfaceEndpointOrBuilder- Returns:
- Whether the forwardingRuleTarget field is set.
-
getForwardingRuleTargetValue
public 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];- Specified by:
getForwardingRuleTargetValuein interfaceEndpointOrBuilder- Returns:
- The enum numeric value on the wire for forwardingRuleTarget.
-
getForwardingRuleTarget
public 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];- Specified by:
getForwardingRuleTargetin interfaceEndpointOrBuilder- Returns:
- The forwardingRuleTarget.
-
hasLoadBalancerId
public 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];- Specified by:
hasLoadBalancerIdin interfaceEndpointOrBuilder- Returns:
- Whether the loadBalancerId field is set.
-
getLoadBalancerId
public 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];- Specified by:
getLoadBalancerIdin interfaceEndpointOrBuilder- Returns:
- The loadBalancerId.
-
getLoadBalancerIdBytes
public 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];- Specified by:
getLoadBalancerIdBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for loadBalancerId.
-
hasLoadBalancerType
public 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];- Specified by:
hasLoadBalancerTypein interfaceEndpointOrBuilder- Returns:
- Whether the loadBalancerType field is set.
-
getLoadBalancerTypeValue
public 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];- Specified by:
getLoadBalancerTypeValuein interfaceEndpointOrBuilder- Returns:
- The enum numeric value on the wire for loadBalancerType.
-
getLoadBalancerType
public 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];- Specified by:
getLoadBalancerTypein interfaceEndpointOrBuilder- Returns:
- The loadBalancerType.
-
getGkeMasterCluster
public 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;- Specified by:
getGkeMasterClusterin interfaceEndpointOrBuilder- Returns:
- The gkeMasterCluster.
-
getGkeMasterClusterBytes
public 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;- Specified by:
getGkeMasterClusterBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for gkeMasterCluster.
-
getCloudSqlInstance
public String getCloudSqlInstance()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;- Specified by:
getCloudSqlInstancein interfaceEndpointOrBuilder- Returns:
- The cloudSqlInstance.
-
getCloudSqlInstanceBytes
public com.google.protobuf.ByteString getCloudSqlInstanceBytes()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;- Specified by:
getCloudSqlInstanceBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for cloudSqlInstance.
-
hasCloudFunction
public boolean hasCloudFunction()
A [Cloud Function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;- Specified by:
hasCloudFunctionin interfaceEndpointOrBuilder- Returns:
- Whether the cloudFunction field is set.
-
getCloudFunction
public Endpoint.CloudFunctionEndpoint getCloudFunction()
A [Cloud Function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;- Specified by:
getCloudFunctionin interfaceEndpointOrBuilder- Returns:
- The cloudFunction.
-
getCloudFunctionOrBuilder
public Endpoint.CloudFunctionEndpointOrBuilder getCloudFunctionOrBuilder()
A [Cloud Function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;- Specified by:
getCloudFunctionOrBuilderin interfaceEndpointOrBuilder
-
hasAppEngineVersion
public 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;- Specified by:
hasAppEngineVersionin interfaceEndpointOrBuilder- Returns:
- Whether the appEngineVersion field is set.
-
getAppEngineVersion
public 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;- Specified by:
getAppEngineVersionin interfaceEndpointOrBuilder- Returns:
- The appEngineVersion.
-
getAppEngineVersionOrBuilder
public 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;- Specified by:
getAppEngineVersionOrBuilderin interfaceEndpointOrBuilder
-
hasCloudRunRevision
public 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;- Specified by:
hasCloudRunRevisionin interfaceEndpointOrBuilder- Returns:
- Whether the cloudRunRevision field is set.
-
getCloudRunRevision
public 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;- Specified by:
getCloudRunRevisionin interfaceEndpointOrBuilder- Returns:
- The cloudRunRevision.
-
getCloudRunRevisionOrBuilder
public 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;- Specified by:
getCloudRunRevisionOrBuilderin interfaceEndpointOrBuilder
-
getNetwork
public String getNetwork()
A Compute Engine network URI.
string network = 4;- Specified by:
getNetworkin interfaceEndpointOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
A Compute Engine network URI.
string network = 4;- Specified by:
getNetworkBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for network.
-
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.v1.Endpoint.NetworkType network_type = 5;- Specified by:
getNetworkTypeValuein interfaceEndpointOrBuilder- Returns:
- The enum numeric value on the wire for networkType.
-
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.v1.Endpoint.NetworkType network_type = 5;- Specified by:
getNetworkTypein interfaceEndpointOrBuilder- Returns:
- The networkType.
-
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: 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;- Specified by:
getProjectIdin interfaceEndpointOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public 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;- Specified by:
getProjectIdBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for projectId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Endpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Endpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Endpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Endpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Endpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Endpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Endpoint parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Endpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Endpoint parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Endpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Endpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Endpoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Endpoint.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Endpoint.Builder newBuilder()
-
newBuilder
public static Endpoint.Builder newBuilder(Endpoint prototype)
-
toBuilder
public Endpoint.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Endpoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Endpoint getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Endpoint> parser()
-
getParserForType
public com.google.protobuf.Parser<Endpoint> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Endpoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-