Class Endpoint.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
- com.google.cloud.networkmanagement.v1.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.GeneratedMessageV3.Builder<Endpoint.Builder> implements EndpointOrBuilder
Source or destination of the Connectivity Test.
Protobuf typegoogle.cloud.networkmanagement.v1.Endpoint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Endpoint.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Endpointbuild()EndpointbuildPartial()Endpoint.Builderclear()Endpoint.BuilderclearAppEngineVersion()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.BuilderclearCloudFunction()A [Cloud Function](https://cloud.google.com/functions).Endpoint.BuilderclearCloudRunRevision()A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)Endpoint.BuilderclearCloudSqlInstance()A [Cloud SQL](https://cloud.google.com/sql) instance URI.Endpoint.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Endpoint.BuilderclearForwardingRule()A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer.Endpoint.BuilderclearForwardingRuleTarget()Output only.Endpoint.BuilderclearGkeMasterCluster()A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).Endpoint.BuilderclearInstance()A Compute Engine instance URI.Endpoint.BuilderclearIpAddress()The IP address of the endpoint, which can be an external or internal IP.Endpoint.BuilderclearLoadBalancerId()Output only.Endpoint.BuilderclearLoadBalancerType()Output only.Endpoint.BuilderclearNetwork()A Compute Engine network URI.Endpoint.BuilderclearNetworkType()Type of the network where the endpoint is located.Endpoint.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Endpoint.BuilderclearPort()The IP protocol port of the endpoint.Endpoint.BuilderclearProjectId()Project ID where the endpoint is located.Endpoint.Builderclone()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.AppEngineVersionEndpoint.BuildergetAppEngineVersionBuilder()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.CloudFunctionEndpoint.BuildergetCloudFunctionBuilder()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.CloudRunRevisionEndpoint.BuildergetCloudRunRevisionBuilder()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.EndpointgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Endpoint.BuildermergeAppEngineVersion(Endpoint.AppEngineVersionEndpoint value)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.BuildermergeCloudFunction(Endpoint.CloudFunctionEndpoint value)A [Cloud Function](https://cloud.google.com/functions).Endpoint.BuildermergeCloudRunRevision(Endpoint.CloudRunRevisionEndpoint value)A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)Endpoint.BuildermergeFrom(Endpoint other)Endpoint.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Endpoint.BuildermergeFrom(com.google.protobuf.Message other)Endpoint.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Endpoint.BuildersetAppEngineVersion(Endpoint.AppEngineVersionEndpoint value)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.BuildersetAppEngineVersion(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).Endpoint.BuildersetCloudFunction(Endpoint.CloudFunctionEndpoint value)A [Cloud Function](https://cloud.google.com/functions).Endpoint.BuildersetCloudFunction(Endpoint.CloudFunctionEndpoint.Builder builderForValue)A [Cloud Function](https://cloud.google.com/functions).Endpoint.BuildersetCloudRunRevision(Endpoint.CloudRunRevisionEndpoint value)A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)Endpoint.BuildersetCloudRunRevision(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)Endpoint.BuildersetCloudSqlInstance(String value)A [Cloud SQL](https://cloud.google.com/sql) instance URI.Endpoint.BuildersetCloudSqlInstanceBytes(com.google.protobuf.ByteString value)A [Cloud SQL](https://cloud.google.com/sql) instance URI.Endpoint.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Endpoint.BuildersetForwardingRule(String value)A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer.Endpoint.BuildersetForwardingRuleBytes(com.google.protobuf.ByteString value)A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer.Endpoint.BuildersetForwardingRuleTarget(Endpoint.ForwardingRuleTarget value)Output only.Endpoint.BuildersetForwardingRuleTargetValue(int value)Output only.Endpoint.BuildersetGkeMasterCluster(String value)A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).Endpoint.BuildersetGkeMasterClusterBytes(com.google.protobuf.ByteString value)A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).Endpoint.BuildersetInstance(String value)A Compute Engine instance URI.Endpoint.BuildersetInstanceBytes(com.google.protobuf.ByteString value)A Compute Engine instance URI.Endpoint.BuildersetIpAddress(String value)The IP address of the endpoint, which can be an external or internal IP.Endpoint.BuildersetIpAddressBytes(com.google.protobuf.ByteString value)The IP address of the endpoint, which can be an external or internal IP.Endpoint.BuildersetLoadBalancerId(String value)Output only.Endpoint.BuildersetLoadBalancerIdBytes(com.google.protobuf.ByteString value)Output only.Endpoint.BuildersetLoadBalancerType(LoadBalancerType value)Output only.Endpoint.BuildersetLoadBalancerTypeValue(int value)Output only.Endpoint.BuildersetNetwork(String value)A Compute Engine network URI.Endpoint.BuildersetNetworkBytes(com.google.protobuf.ByteString value)A Compute Engine network URI.Endpoint.BuildersetNetworkType(Endpoint.NetworkType value)Type of the network where the endpoint is located.Endpoint.BuildersetNetworkTypeValue(int value)Type of the network where the endpoint is located.Endpoint.BuildersetPort(int value)The IP protocol port of the endpoint.Endpoint.BuildersetProjectId(String value)Project ID where the endpoint is located.Endpoint.BuildersetProjectIdBytes(com.google.protobuf.ByteString value)Project ID where the endpoint is located.Endpoint.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Endpoint.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Endpoint.Builder>
-
clear
public Endpoint.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Endpoint.Builder>
-
getDefaultInstanceForType
public Endpoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Endpoint build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Endpoint buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Endpoint.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
setField
public Endpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
clearField
public Endpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
clearOneof
public Endpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
setRepeatedField
public Endpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
addRepeatedField
public Endpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(Endpoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
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.
-
setIpAddress
public Endpoint.Builder setIpAddress(String value)
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;- Parameters:
value- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
public Endpoint.Builder clearIpAddress()
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:
- This builder for chaining.
-
setIpAddressBytes
public Endpoint.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
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;- 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
public Endpoint.Builder setPort(int value)
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
public Endpoint.Builder 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
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.
-
setInstance
public Endpoint.Builder setInstance(String value)
A Compute Engine instance URI.
string instance = 3;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
public Endpoint.Builder clearInstance()
A Compute Engine instance URI.
string instance = 3;- Returns:
- This builder for chaining.
-
setInstanceBytes
public Endpoint.Builder setInstanceBytes(com.google.protobuf.ByteString value)
A Compute Engine instance URI.
string instance = 3;- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
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.
-
setForwardingRule
public Endpoint.Builder setForwardingRule(String value)
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;- Parameters:
value- The forwardingRule to set.- Returns:
- This builder for chaining.
-
clearForwardingRule
public Endpoint.Builder 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. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}string forwarding_rule = 13;- Returns:
- This builder for chaining.
-
setForwardingRuleBytes
public Endpoint.Builder setForwardingRuleBytes(com.google.protobuf.ByteString value)
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;- 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.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.
-
setForwardingRuleTargetValue
public Endpoint.Builder setForwardingRuleTargetValue(int value)
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];- Parameters:
value- The enum numeric value on the wire for forwardingRuleTarget to set.- Returns:
- This builder for chaining.
-
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.
-
setForwardingRuleTarget
public Endpoint.Builder setForwardingRuleTarget(Endpoint.ForwardingRuleTarget value)
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];- Parameters:
value- The forwardingRuleTarget to set.- Returns:
- This builder for chaining.
-
clearForwardingRuleTarget
public Endpoint.Builder clearForwardingRuleTarget()
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:
- 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
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.
-
setLoadBalancerId
public Endpoint.Builder setLoadBalancerId(String value)
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
public Endpoint.Builder 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
public Endpoint.Builder setLoadBalancerIdBytes(com.google.protobuf.ByteString value)
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.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.
-
setLoadBalancerTypeValue
public Endpoint.Builder setLoadBalancerTypeValue(int value)
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];- Parameters:
value- The enum numeric value on the wire for loadBalancerType to set.- Returns:
- This builder for chaining.
-
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.
-
setLoadBalancerType
public Endpoint.Builder setLoadBalancerType(LoadBalancerType value)
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];- Parameters:
value- The loadBalancerType to set.- Returns:
- This builder for chaining.
-
clearLoadBalancerType
public Endpoint.Builder clearLoadBalancerType()
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:
- This builder for chaining.
-
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.
-
setGkeMasterCluster
public Endpoint.Builder setGkeMasterCluster(String value)
A cluster URI for [Google Kubernetes Engine master](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
public Endpoint.Builder clearGkeMasterCluster()
A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
string gke_master_cluster = 7;- Returns:
- This builder for chaining.
-
setGkeMasterClusterBytes
public Endpoint.Builder setGkeMasterClusterBytes(com.google.protobuf.ByteString value)
A cluster URI for [Google Kubernetes Engine master](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.
-
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.
-
setCloudSqlInstance
public Endpoint.Builder setCloudSqlInstance(String value)
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
public Endpoint.Builder clearCloudSqlInstance()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;- Returns:
- This builder for chaining.
-
setCloudSqlInstanceBytes
public Endpoint.Builder setCloudSqlInstanceBytes(com.google.protobuf.ByteString value)
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.
-
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.
-
setCloudFunction
public Endpoint.Builder setCloudFunction(Endpoint.CloudFunctionEndpoint value)
A [Cloud Function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
-
setCloudFunction
public Endpoint.Builder setCloudFunction(Endpoint.CloudFunctionEndpoint.Builder builderForValue)
A [Cloud Function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
-
mergeCloudFunction
public Endpoint.Builder mergeCloudFunction(Endpoint.CloudFunctionEndpoint value)
A [Cloud Function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
-
clearCloudFunction
public Endpoint.Builder clearCloudFunction()
A [Cloud Function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
-
getCloudFunctionBuilder
public Endpoint.CloudFunctionEndpoint.Builder getCloudFunctionBuilder()
A [Cloud Function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
-
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.
-
setAppEngineVersion
public Endpoint.Builder setAppEngineVersion(Endpoint.AppEngineVersionEndpoint value)
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;
-
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).
.google.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;
-
mergeAppEngineVersion
public Endpoint.Builder mergeAppEngineVersion(Endpoint.AppEngineVersionEndpoint value)
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;
-
clearAppEngineVersion
public Endpoint.Builder 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).
.google.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;
-
getAppEngineVersionBuilder
public Endpoint.AppEngineVersionEndpoint.Builder 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).
.google.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;
-
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.
-
setCloudRunRevision
public Endpoint.Builder setCloudRunRevision(Endpoint.CloudRunRevisionEndpoint value)
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;
-
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)
.google.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;
-
mergeCloudRunRevision
public Endpoint.Builder mergeCloudRunRevision(Endpoint.CloudRunRevisionEndpoint value)
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;
-
clearCloudRunRevision
public Endpoint.Builder clearCloudRunRevision()
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;
-
getCloudRunRevisionBuilder
public Endpoint.CloudRunRevisionEndpoint.Builder getCloudRunRevisionBuilder()
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;
-
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.
-
setNetwork
public Endpoint.Builder setNetwork(String value)
A Compute Engine network URI.
string network = 4;- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
public Endpoint.Builder clearNetwork()
A Compute Engine network URI.
string network = 4;- Returns:
- This builder for chaining.
-
setNetworkBytes
public Endpoint.Builder setNetworkBytes(com.google.protobuf.ByteString value)
A Compute Engine network URI.
string network = 4;- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
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.
-
setNetworkTypeValue
public Endpoint.Builder setNetworkTypeValue(int value)
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;- Parameters:
value- The enum numeric value on the wire for networkType to set.- Returns:
- This builder for chaining.
-
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.
-
setNetworkType
public Endpoint.Builder setNetworkType(Endpoint.NetworkType value)
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;- Parameters:
value- The networkType to set.- Returns:
- This builder for chaining.
-
clearNetworkType
public Endpoint.Builder clearNetworkType()
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:
- This builder for chaining.
-
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.
-
setProjectId
public Endpoint.Builder setProjectId(String value)
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;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
public Endpoint.Builder clearProjectId()
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:
- This builder for chaining.
-
setProjectIdBytes
public Endpoint.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Endpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
mergeUnknownFields
public final Endpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
-