Class Endpoint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder>
com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder
- All Implemented Interfaces:
EndpointOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Endpoint
public static final class Endpoint.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder>
implements EndpointOrBuilder
Source or destination of the Connectivity Test.Protobuf type
google.cloud.networkmanagement.v1beta1.Endpoint-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).A [Cloud Function](https://cloud.google.com/functions).A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.A [Cloud SQL](https://cloud.google.com/sql) instance URI.A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer.Output only.DNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).A cluster URI for [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.A Compute Engine instance URI.The IP address of the endpoint, which can be an external or internal IP.Output only.Output only.A VPC network URI.For source endpoints, type of the network where the endpoint is located.The IP protocol port of the endpoint.For source endpoints, endpoint project ID.A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).A [Cloud Function](https://cloud.google.com/functions).A [Cloud Function](https://cloud.google.com/functions).A [Cloud Function](https://cloud.google.com/functions).A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.A [Cloud SQL](https://cloud.google.com/sql) instance URI.com.google.protobuf.ByteStringA [Cloud SQL](https://cloud.google.com/sql) instance URI.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer.com.google.protobuf.ByteStringA forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer.Output only.intOutput only.getFqdn()DNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).com.google.protobuf.ByteStringDNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).A cluster URI for [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).com.google.protobuf.ByteStringA cluster URI for [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.com.google.protobuf.ByteStringA [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.A Compute Engine instance URI.com.google.protobuf.ByteStringA Compute Engine instance URI.The IP address of the endpoint, which can be an external or internal IP.com.google.protobuf.ByteStringThe IP address of the endpoint, which can be an external or internal IP.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.A VPC network URI.com.google.protobuf.ByteStringA VPC network URI.For source endpoints, type of the network where the endpoint is located.intFor source endpoints, type of the network where the endpoint is located.intgetPort()The IP protocol port of the endpoint.For source endpoints, endpoint project ID.com.google.protobuf.ByteStringFor source endpoints, endpoint project ID.A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.com.google.protobuf.ByteStringA [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.com.google.protobuf.ByteStringA [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.booleanAn [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).booleanA [Cloud Function](https://cloud.google.com/functions).booleanA [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanAn [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).A [Cloud Function](https://cloud.google.com/functions).A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).setAppEngineVersion(Endpoint.AppEngineVersionEndpoint.Builder builderForValue) An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).A [Cloud Function](https://cloud.google.com/functions).setCloudFunction(Endpoint.CloudFunctionEndpoint.Builder builderForValue) A [Cloud Function](https://cloud.google.com/functions).A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.setCloudRunRevision(Endpoint.CloudRunRevisionEndpoint.Builder builderForValue) A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.setCloudSqlInstance(String value) A [Cloud SQL](https://cloud.google.com/sql) instance URI.setCloudSqlInstanceBytes(com.google.protobuf.ByteString value) A [Cloud SQL](https://cloud.google.com/sql) instance URI.setForwardingRule(String value) A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer.setForwardingRuleBytes(com.google.protobuf.ByteString value) A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer.Output only.setForwardingRuleTargetValue(int value) Output only.DNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).setFqdnBytes(com.google.protobuf.ByteString value) DNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).setGkeMasterCluster(String value) A cluster URI for [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).setGkeMasterClusterBytes(com.google.protobuf.ByteString value) A cluster URI for [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.setGkePodBytes(com.google.protobuf.ByteString value) A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.setInstance(String value) A Compute Engine instance URI.setInstanceBytes(com.google.protobuf.ByteString value) A Compute Engine instance URI.setIpAddress(String value) The IP address of the endpoint, which can be an external or internal IP.setIpAddressBytes(com.google.protobuf.ByteString value) The IP address of the endpoint, which can be an external or internal IP.setLoadBalancerId(String value) Output only.setLoadBalancerIdBytes(com.google.protobuf.ByteString value) Output only.Output only.setLoadBalancerTypeValue(int value) Output only.setNetwork(String value) A VPC network URI.setNetworkBytes(com.google.protobuf.ByteString value) A VPC network URI.For source endpoints, type of the network where the endpoint is located.setNetworkTypeValue(int value) For source endpoints, type of the network where the endpoint is located.setPort(int value) The IP protocol port of the endpoint.setProjectId(String value) For source endpoints, endpoint project ID.setProjectIdBytes(com.google.protobuf.ByteString value) For source endpoints, endpoint project ID.setRedisCluster(String value) A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.setRedisClusterBytes(com.google.protobuf.ByteString value) A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.setRedisInstance(String value) A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.setRedisInstanceBytes(com.google.protobuf.ByteString value) A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>- Throws:
IOException
-
getIpAddress
The IP address of the endpoint, which can be an external or internal IP.
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.
string ip_address = 1;- Specified by:
getIpAddressBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for ipAddress.
-
setIpAddress
The IP address of the endpoint, which can be an external or internal IP.
string ip_address = 1;- Parameters:
value- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
The IP address of the endpoint, which can be an external or internal IP.
string ip_address = 1;- Returns:
- This builder for chaining.
-
setIpAddressBytes
The IP address of the endpoint, which can be an external or internal IP.
string ip_address = 1;- Parameters:
value- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
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.
-
setPort
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
int32 port = 2;- Parameters:
value- The port to set.- Returns:
- This builder for chaining.
-
clearPort
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
int32 port = 2;- Returns:
- This builder for chaining.
-
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.
-
setInstance
A Compute Engine instance URI.
string instance = 3;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
A Compute Engine instance URI.
string instance = 3;- Returns:
- This builder for chaining.
-
setInstanceBytes
A Compute Engine instance URI.
string instance = 3;- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
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;- 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. Applicable only to destination endpoint. 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.
-
setForwardingRule
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;- Parameters:
value- The forwardingRule to set.- Returns:
- This builder for chaining.
-
clearForwardingRule
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:
- This builder for chaining.
-
setForwardingRuleBytes
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;- Parameters:
value- The bytes for forwardingRule to set.- Returns:
- This builder for chaining.
-
hasForwardingRuleTarget
public boolean hasForwardingRuleTarget()Output only. Specifies the type of the target of the forwarding rule.
optional .google.cloud.networkmanagement.v1beta1.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.v1beta1.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.
-
setForwardingRuleTargetValue
Output only. Specifies the type of the target of the forwarding rule.
optional .google.cloud.networkmanagement.v1beta1.Endpoint.ForwardingRuleTarget forwarding_rule_target = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for forwardingRuleTarget to set.- Returns:
- This builder for chaining.
-
getForwardingRuleTarget
Output only. Specifies the type of the target of the forwarding rule.
optional .google.cloud.networkmanagement.v1beta1.Endpoint.ForwardingRuleTarget forwarding_rule_target = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getForwardingRuleTargetin interfaceEndpointOrBuilder- Returns:
- The forwardingRuleTarget.
-
setForwardingRuleTarget
Output only. Specifies the type of the target of the forwarding rule.
optional .google.cloud.networkmanagement.v1beta1.Endpoint.ForwardingRuleTarget forwarding_rule_target = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The forwardingRuleTarget to set.- Returns:
- This builder for chaining.
-
clearForwardingRuleTarget
Output only. Specifies the type of the target of the forwarding rule.
optional .google.cloud.networkmanagement.v1beta1.Endpoint.ForwardingRuleTarget forwarding_rule_target = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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
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.
-
setLoadBalancerId
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];- Parameters:
value- The loadBalancerId to set.- Returns:
- This builder for chaining.
-
clearLoadBalancerId
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:
- This builder for chaining.
-
setLoadBalancerIdBytes
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];- Parameters:
value- The bytes for loadBalancerId to set.- Returns:
- This builder for chaining.
-
hasLoadBalancerType
public boolean hasLoadBalancerType()Output only. Type of the load balancer the forwarding rule points to.
optional .google.cloud.networkmanagement.v1beta1.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.v1beta1.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.
-
setLoadBalancerTypeValue
Output only. Type of the load balancer the forwarding rule points to.
optional .google.cloud.networkmanagement.v1beta1.LoadBalancerType load_balancer_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for loadBalancerType to set.- Returns:
- This builder for chaining.
-
getLoadBalancerType
Output only. Type of the load balancer the forwarding rule points to.
optional .google.cloud.networkmanagement.v1beta1.LoadBalancerType load_balancer_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLoadBalancerTypein interfaceEndpointOrBuilder- Returns:
- The loadBalancerType.
-
setLoadBalancerType
Output only. Type of the load balancer the forwarding rule points to.
optional .google.cloud.networkmanagement.v1beta1.LoadBalancerType load_balancer_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The loadBalancerType to set.- Returns:
- This builder for chaining.
-
clearLoadBalancerType
Output only. Type of the load balancer the forwarding rule points to.
optional .google.cloud.networkmanagement.v1beta1.LoadBalancerType load_balancer_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getGkeMasterCluster
A cluster URI for [Google Kubernetes Engine cluster control plane](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 cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
string gke_master_cluster = 7;- Specified by:
getGkeMasterClusterBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for gkeMasterCluster.
-
setGkeMasterCluster
A cluster URI for [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
string gke_master_cluster = 7;- Parameters:
value- The gkeMasterCluster to set.- Returns:
- This builder for chaining.
-
clearGkeMasterCluster
A cluster URI for [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
string gke_master_cluster = 7;- Returns:
- This builder for chaining.
-
setGkeMasterClusterBytes
A cluster URI for [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
string gke_master_cluster = 7;- Parameters:
value- The bytes for gkeMasterCluster to set.- Returns:
- This builder for chaining.
-
getFqdn
DNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). 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;- Specified by:
getFqdnin interfaceEndpointOrBuilder- Returns:
- The fqdn.
-
getFqdnBytes
public com.google.protobuf.ByteString getFqdnBytes()DNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). 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;- Specified by:
getFqdnBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for fqdn.
-
setFqdn
DNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). 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;- Parameters:
value- The fqdn to set.- Returns:
- This builder for chaining.
-
clearFqdn
DNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). 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:
- This builder for chaining.
-
setFqdnBytes
DNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). 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;- Parameters:
value- The bytes for fqdn to set.- Returns:
- This builder for chaining.
-
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.
-
setCloudSqlInstance
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;- Parameters:
value- The cloudSqlInstance to set.- Returns:
- This builder for chaining.
-
clearCloudSqlInstance
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;- Returns:
- This builder for chaining.
-
setCloudSqlInstanceBytes
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;- Parameters:
value- The bytes for cloudSqlInstance to set.- Returns:
- This builder for chaining.
-
getRedisInstance
A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI. Applicable only to destination endpoint.
string redis_instance = 17;- Specified by:
getRedisInstancein interfaceEndpointOrBuilder- Returns:
- The redisInstance.
-
getRedisInstanceBytes
public com.google.protobuf.ByteString getRedisInstanceBytes()A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI. Applicable only to destination endpoint.
string redis_instance = 17;- Specified by:
getRedisInstanceBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for redisInstance.
-
setRedisInstance
A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI. Applicable only to destination endpoint.
string redis_instance = 17;- Parameters:
value- The redisInstance to set.- Returns:
- This builder for chaining.
-
clearRedisInstance
A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI. Applicable only to destination endpoint.
string redis_instance = 17;- Returns:
- This builder for chaining.
-
setRedisInstanceBytes
A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI. Applicable only to destination endpoint.
string redis_instance = 17;- Parameters:
value- The bytes for redisInstance to set.- Returns:
- This builder for chaining.
-
getRedisCluster
A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI. Applicable only to destination endpoint.
string redis_cluster = 18;- Specified by:
getRedisClusterin interfaceEndpointOrBuilder- Returns:
- The redisCluster.
-
getRedisClusterBytes
public com.google.protobuf.ByteString getRedisClusterBytes()A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI. Applicable only to destination endpoint.
string redis_cluster = 18;- Specified by:
getRedisClusterBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for redisCluster.
-
setRedisCluster
A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI. Applicable only to destination endpoint.
string redis_cluster = 18;- Parameters:
value- The redisCluster to set.- Returns:
- This builder for chaining.
-
clearRedisCluster
A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI. Applicable only to destination endpoint.
string redis_cluster = 18;- Returns:
- This builder for chaining.
-
setRedisClusterBytes
A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI. Applicable only to destination endpoint.
string redis_cluster = 18;- Parameters:
value- The bytes for redisCluster to set.- Returns:
- This builder for chaining.
-
getGkePod
A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.
string gke_pod = 21;- Specified by:
getGkePodin interfaceEndpointOrBuilder- Returns:
- The gkePod.
-
getGkePodBytes
public com.google.protobuf.ByteString getGkePodBytes()A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.
string gke_pod = 21;- Specified by:
getGkePodBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for gkePod.
-
setGkePod
A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.
string gke_pod = 21;- Parameters:
value- The gkePod to set.- Returns:
- This builder for chaining.
-
clearGkePod
A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.
string gke_pod = 21;- Returns:
- This builder for chaining.
-
setGkePodBytes
A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.
string gke_pod = 21;- Parameters:
value- The bytes for gkePod to set.- Returns:
- This builder for chaining.
-
hasCloudFunction
public boolean hasCloudFunction()A [Cloud Function](https://cloud.google.com/functions). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;- Specified by:
hasCloudFunctionin interfaceEndpointOrBuilder- Returns:
- Whether the cloudFunction field is set.
-
getCloudFunction
A [Cloud Function](https://cloud.google.com/functions). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;- Specified by:
getCloudFunctionin interfaceEndpointOrBuilder- Returns:
- The cloudFunction.
-
setCloudFunction
A [Cloud Function](https://cloud.google.com/functions). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; -
setCloudFunction
A [Cloud Function](https://cloud.google.com/functions). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; -
mergeCloudFunction
A [Cloud Function](https://cloud.google.com/functions). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; -
clearCloudFunction
A [Cloud Function](https://cloud.google.com/functions). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; -
getCloudFunctionBuilder
A [Cloud Function](https://cloud.google.com/functions). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; -
getCloudFunctionOrBuilder
A [Cloud Function](https://cloud.google.com/functions). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.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). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;- Specified by:
hasAppEngineVersionin interfaceEndpointOrBuilder- Returns:
- Whether the appEngineVersion field is set.
-
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). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;- Specified by:
getAppEngineVersionin interfaceEndpointOrBuilder- Returns:
- The appEngineVersion.
-
setAppEngineVersion
An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11; -
setAppEngineVersion
public Endpoint.Builder setAppEngineVersion(Endpoint.AppEngineVersionEndpoint.Builder builderForValue) An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11; -
mergeAppEngineVersion
An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11; -
clearAppEngineVersion
An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11; -
getAppEngineVersionBuilder
An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11; -
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). Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.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) Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;- Specified by:
hasCloudRunRevisionin interfaceEndpointOrBuilder- Returns:
- Whether the cloudRunRevision field is set.
-
getCloudRunRevision
A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;- Specified by:
getCloudRunRevisionin interfaceEndpointOrBuilder- Returns:
- The cloudRunRevision.
-
setCloudRunRevision
A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12; -
setCloudRunRevision
public Endpoint.Builder setCloudRunRevision(Endpoint.CloudRunRevisionEndpoint.Builder builderForValue) A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12; -
mergeCloudRunRevision
A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12; -
clearCloudRunRevision
A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12; -
getCloudRunRevisionBuilder
A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12; -
getCloudRunRevisionOrBuilder
A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;- Specified by:
getCloudRunRevisionOrBuilderin interfaceEndpointOrBuilder
-
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;- Specified by:
getNetworkin interfaceEndpointOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.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;- Specified by:
getNetworkBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for network.
-
setNetwork
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;- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
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:
- This builder for chaining.
-
setNetworkBytes
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;- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
getNetworkTypeValue
public int getNetworkTypeValue()For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints.
.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5;- Specified by:
getNetworkTypeValuein interfaceEndpointOrBuilder- Returns:
- The enum numeric value on the wire for networkType.
-
setNetworkTypeValue
For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints.
.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5;- Parameters:
value- The enum numeric value on the wire for networkType to set.- Returns:
- This builder for chaining.
-
getNetworkType
For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints.
.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5;- Specified by:
getNetworkTypein interfaceEndpointOrBuilder- Returns:
- The networkType.
-
setNetworkType
For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints.
.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5;- Parameters:
value- The networkType to set.- Returns:
- This builder for chaining.
-
clearNetworkType
For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints.
.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5;- Returns:
- This builder for chaining.
-
getProjectId
For source endpoints, endpoint project ID. Used according to the `network_type`. Not relevant for destination endpoints.
string project_id = 6;- Specified by:
getProjectIdin interfaceEndpointOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()For source endpoints, endpoint project ID. Used according to the `network_type`. Not relevant for destination endpoints.
string project_id = 6;- Specified by:
getProjectIdBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
For source endpoints, endpoint project ID. Used according to the `network_type`. Not relevant for destination endpoints.
string project_id = 6;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
For source endpoints, endpoint project ID. Used according to the `network_type`. Not relevant for destination endpoints.
string project_id = 6;- Returns:
- This builder for chaining.
-
setProjectIdBytes
For source endpoints, endpoint project ID. Used according to the `network_type`. Not relevant for destination endpoints.
string project_id = 6;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-