Optional. Determines if envoy will insert internal debug headers into
upstream requests. Other Envoy headers may still be injected. By default,
envoy will not insert any debug headers.
Optional. Determines if envoy will insert internal debug headers into
upstream requests. Other Envoy headers may still be injected. By default,
envoy will not insert any debug headers.
The enum numeric value on the wire for envoyHeaders.
getInterceptionPort()
publicabstractintgetInterceptionPort()
Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy
to listen on the specified port of localhost (127.0.0.1) address. The
SIDECAR proxy will expect all traffic to be redirected to this port
regardless of its actual ip:port destination. If unset, a port '15001' is
used as the interception port. This is applicable only for sidecar proxy
deployments.
Optional. Determines if envoy will insert internal debug headers into
upstream requests. Other Envoy headers may still be injected. By default,
envoy will not insert any debug headers.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface MeshOrBuilder (0.28.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.28.0 (latest)](/java/docs/reference/google-cloud-networkservices/latest/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-networkservices/0.26.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.24.0](/java/docs/reference/google-cloud-networkservices/0.24.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-networkservices/0.23.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.20.0](/java/docs/reference/google-cloud-networkservices/0.20.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-networkservices/0.19.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-networkservices/0.18.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-networkservices/0.16.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-networkservices/0.15.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-networkservices/0.14.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-networkservices/0.13.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-networkservices/0.12.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-networkservices/0.11.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-networkservices/0.10.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-networkservices/0.9.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-networkservices/0.8.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-networkservices/0.7.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-networkservices/0.5.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-networkservices/0.4.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-networkservices/0.3.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-networkservices/0.2.0/com.google.cloud.networkservices.v1.MeshOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-networkservices/0.1.0/com.google.cloud.networkservices.v1.MeshOrBuilder) \n\n public interface MeshOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### containsLabels(String key)\n\n public abstract boolean containsLabels(String key)\n\nOptional. Set of label tags associated with the Mesh resource.\n\n`map\u003cstring, string\u003e labels = 4 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getCreateTime()\n\n public abstract Timestamp getCreateTime()\n\nOutput only. The timestamp when the resource was created.\n\n`.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getCreateTimeOrBuilder()\n\n public abstract TimestampOrBuilder getCreateTimeOrBuilder()\n\nOutput only. The timestamp when the resource was created.\n\n`.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getDescription()\n\n public abstract String getDescription()\n\nOptional. A free-text description of the resource. Max length 1024\ncharacters.\n\n`string description = 5 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getDescriptionBytes()\n\n public abstract ByteString getDescriptionBytes()\n\nOptional. A free-text description of the resource. Max length 1024\ncharacters.\n\n`string description = 5 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getEnvoyHeaders()\n\n public abstract EnvoyHeaders getEnvoyHeaders()\n\nOptional. Determines if envoy will insert internal debug headers into\nupstream requests. Other Envoy headers may still be injected. By default,\nenvoy will not insert any debug headers.\n\n`\noptional .google.cloud.networkservices.v1.EnvoyHeaders envoy_headers = 16 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### getEnvoyHeadersValue()\n\n public abstract int getEnvoyHeadersValue()\n\nOptional. Determines if envoy will insert internal debug headers into\nupstream requests. Other Envoy headers may still be injected. By default,\nenvoy will not insert any debug headers.\n\n`\noptional .google.cloud.networkservices.v1.EnvoyHeaders envoy_headers = 16 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### getInterceptionPort()\n\n public abstract int getInterceptionPort()\n\nOptional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy\nto listen on the specified port of localhost (127.0.0.1) address. The\nSIDECAR proxy will expect all traffic to be redirected to this port\nregardless of its actual ip:port destination. If unset, a port '15001' is\nused as the interception port. This is applicable only for sidecar proxy\ndeployments.\n\n`int32 interception_port = 8 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getLabels() (deprecated)\n\n public abstract Map\u003cString,String\u003e getLabels()\n\nUse [#getLabelsMap()](/java/docs/reference/google-cloud-networkservices/latest/com.google.cloud.networkservices.v1.MeshOrBuilder#com_google_cloud_networkservices_v1_MeshOrBuilder_getLabelsMap__) instead.\n\n### getLabelsCount()\n\n public abstract int getLabelsCount()\n\nOptional. Set of label tags associated with the Mesh resource.\n\n`map\u003cstring, string\u003e labels = 4 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getLabelsMap()\n\n public abstract Map\u003cString,String\u003e getLabelsMap()\n\nOptional. Set of label tags associated with the Mesh resource.\n\n`map\u003cstring, string\u003e labels = 4 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getLabelsOrDefault(String key, String defaultValue)\n\n public abstract String getLabelsOrDefault(String key, String defaultValue)\n\nOptional. Set of label tags associated with the Mesh resource.\n\n`map\u003cstring, string\u003e labels = 4 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getLabelsOrThrow(String key)\n\n public abstract String getLabelsOrThrow(String key)\n\nOptional. Set of label tags associated with the Mesh resource.\n\n`map\u003cstring, string\u003e labels = 4 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getName()\n\n public abstract String getName()\n\nIdentifier. Name of the Mesh resource. It matches pattern\n`projects/*/locations/global/meshes/\u003cmesh_name\u003e`.\n\n`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`\n\n### getNameBytes()\n\n public abstract ByteString getNameBytes()\n\nIdentifier. Name of the Mesh resource. It matches pattern\n`projects/*/locations/global/meshes/\u003cmesh_name\u003e`.\n\n`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`\n\n### getSelfLink()\n\n public abstract String getSelfLink()\n\nOutput only. Server-defined URL of this resource\n\n`string self_link = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getSelfLinkBytes()\n\n public abstract ByteString getSelfLinkBytes()\n\nOutput only. Server-defined URL of this resource\n\n`string self_link = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getUpdateTime()\n\n public abstract Timestamp getUpdateTime()\n\nOutput only. The timestamp when the resource was updated.\n\n`.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getUpdateTimeOrBuilder()\n\n public abstract TimestampOrBuilder getUpdateTimeOrBuilder()\n\nOutput only. The timestamp when the resource was updated.\n\n`.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### hasCreateTime()\n\n public abstract boolean hasCreateTime()\n\nOutput only. The timestamp when the resource was created.\n\n`.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### hasEnvoyHeaders()\n\n public abstract boolean hasEnvoyHeaders()\n\nOptional. Determines if envoy will insert internal debug headers into\nupstream requests. Other Envoy headers may still be injected. By default,\nenvoy will not insert any debug headers.\n\n`\noptional .google.cloud.networkservices.v1.EnvoyHeaders envoy_headers = 16 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### hasUpdateTime()\n\n public abstract boolean hasUpdateTime()\n\nOutput only. The timestamp when the resource was updated.\n\n`.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`"]]