Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension resource.
LbRouteExtension and LbEdgeExtension chains are limited to 1 extension
per extension chain.
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension resource.
LbRouteExtension and LbEdgeExtension chains are limited to 1 extension
per extension chain.
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension resource.
LbRouteExtension and LbEdgeExtension chains are limited to 1 extension
per extension chain.
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension resource.
LbRouteExtension and LbEdgeExtension chains are limited to 1 extension
per extension chain.
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension resource.
LbRouteExtension and LbEdgeExtension chains are limited to 1 extension
per extension chain.
Required. The name for this extension chain.
The name is logged as part of the HTTP request logs.
The name must conform with RFC-1034, is restricted to lower-cased letters,
numbers and hyphens, and can have a maximum length of 63 characters.
Additionally, the first character must be a letter and the last a letter or
a number.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Required. The name for this extension chain.
The name is logged as part of the HTTP request logs.
The name must conform with RFC-1034, is restricted to lower-cased letters,
numbers and hyphens, and can have a maximum length of 63 characters.
Additionally, the first character must be a letter and the last a letter or
a number.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
[[["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 ExtensionChainOrBuilder (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.ExtensionChainOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-networkservices/0.26.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.24.0](/java/docs/reference/google-cloud-networkservices/0.24.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-networkservices/0.23.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.20.0](/java/docs/reference/google-cloud-networkservices/0.20.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-networkservices/0.19.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-networkservices/0.18.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-networkservices/0.16.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-networkservices/0.15.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-networkservices/0.14.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-networkservices/0.13.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-networkservices/0.12.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-networkservices/0.11.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-networkservices/0.10.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-networkservices/0.9.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-networkservices/0.8.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-networkservices/0.7.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-networkservices/0.5.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-networkservices/0.4.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-networkservices/0.3.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-networkservices/0.2.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-networkservices/0.1.0/com.google.cloud.networkservices.v1.ExtensionChainOrBuilder) \n\n public interface ExtensionChainOrBuilder 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### getExtensions(int index)\n\n public abstract ExtensionChain.Extension getExtensions(int index)\n\nRequired. A set of extensions to execute for the matching request.\nAt least one extension is required.\nUp to 3 extensions can be defined for each extension chain\nfor `LbTrafficExtension` resource.\n`LbRouteExtension` and `LbEdgeExtension` chains are limited to 1 extension\nper extension chain.\n\n`\nrepeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getExtensionsCount()\n\n public abstract int getExtensionsCount()\n\nRequired. A set of extensions to execute for the matching request.\nAt least one extension is required.\nUp to 3 extensions can be defined for each extension chain\nfor `LbTrafficExtension` resource.\n`LbRouteExtension` and `LbEdgeExtension` chains are limited to 1 extension\nper extension chain.\n\n`\nrepeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getExtensionsList()\n\n public abstract List\u003cExtensionChain.Extension\u003e getExtensionsList()\n\nRequired. A set of extensions to execute for the matching request.\nAt least one extension is required.\nUp to 3 extensions can be defined for each extension chain\nfor `LbTrafficExtension` resource.\n`LbRouteExtension` and `LbEdgeExtension` chains are limited to 1 extension\nper extension chain.\n\n`\nrepeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getExtensionsOrBuilder(int index)\n\n public abstract ExtensionChain.ExtensionOrBuilder getExtensionsOrBuilder(int index)\n\nRequired. A set of extensions to execute for the matching request.\nAt least one extension is required.\nUp to 3 extensions can be defined for each extension chain\nfor `LbTrafficExtension` resource.\n`LbRouteExtension` and `LbEdgeExtension` chains are limited to 1 extension\nper extension chain.\n\n`\nrepeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getExtensionsOrBuilderList()\n\n public abstract List\u003c? extends ExtensionChain.ExtensionOrBuilder\u003e getExtensionsOrBuilderList()\n\nRequired. A set of extensions to execute for the matching request.\nAt least one extension is required.\nUp to 3 extensions can be defined for each extension chain\nfor `LbTrafficExtension` resource.\n`LbRouteExtension` and `LbEdgeExtension` chains are limited to 1 extension\nper extension chain.\n\n`\nrepeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getMatchCondition()\n\n public abstract ExtensionChain.MatchCondition getMatchCondition()\n\nRequired. Conditions under which this chain is invoked for a request.\n\n`\n.google.cloud.networkservices.v1.ExtensionChain.MatchCondition match_condition = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getMatchConditionOrBuilder()\n\n public abstract ExtensionChain.MatchConditionOrBuilder getMatchConditionOrBuilder()\n\nRequired. Conditions under which this chain is invoked for a request.\n\n`\n.google.cloud.networkservices.v1.ExtensionChain.MatchCondition match_condition = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getName()\n\n public abstract String getName()\n\nRequired. The name for this extension chain.\nThe name is logged as part of the HTTP request logs.\nThe name must conform with RFC-1034, is restricted to lower-cased letters,\nnumbers and hyphens, and can have a maximum length of 63 characters.\nAdditionally, the first character must be a letter and the last a letter or\na number.\n\n`string name = 1 [(.google.api.field_behavior) = REQUIRED];`\n\n### getNameBytes()\n\n public abstract ByteString getNameBytes()\n\nRequired. The name for this extension chain.\nThe name is logged as part of the HTTP request logs.\nThe name must conform with RFC-1034, is restricted to lower-cased letters,\nnumbers and hyphens, and can have a maximum length of 63 characters.\nAdditionally, the first character must be a letter and the last a letter or\na number.\n\n`string name = 1 [(.google.api.field_behavior) = REQUIRED];`\n\n### hasMatchCondition()\n\n public abstract boolean hasMatchCondition()\n\nRequired. Conditions under which this chain is invoked for a request.\n\n`\n.google.cloud.networkservices.v1.ExtensionChain.MatchCondition match_condition = 2 [(.google.api.field_behavior) = REQUIRED];\n`"]]