Optional. Specifies the idle timeout for the selected route. The idle
timeout is defined as the period in which there are no bytes sent or
received on either the upstream or downstream connection. If not set, the
default idle timeout is 1 hour. If set to 0s, the timeout will be
disabled.
Optional. Specifies the idle timeout for the selected route. The idle
timeout is defined as the period in which there are no bytes sent or
received on either the upstream or downstream connection. If not set, the
default idle timeout is 1 hour. If set to 0s, the timeout will be
disabled.
Optional. Specifies the idle timeout for the selected route. The idle
timeout is defined as the period in which there are no bytes sent or
received on either the upstream or downstream connection. If not set, the
default idle timeout is 1 hour. If set to 0s, the timeout will be
disabled.
[[["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 TlsRoute.RouteActionOrBuilder (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.TlsRoute.RouteActionOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-networkservices/0.26.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.24.0](/java/docs/reference/google-cloud-networkservices/0.24.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-networkservices/0.23.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.20.0](/java/docs/reference/google-cloud-networkservices/0.20.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-networkservices/0.19.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-networkservices/0.18.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-networkservices/0.16.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-networkservices/0.15.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-networkservices/0.14.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-networkservices/0.13.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-networkservices/0.12.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-networkservices/0.11.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-networkservices/0.10.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-networkservices/0.9.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-networkservices/0.8.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-networkservices/0.7.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-networkservices/0.5.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-networkservices/0.4.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-networkservices/0.3.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-networkservices/0.2.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-networkservices/0.1.0/com.google.cloud.networkservices.v1.TlsRoute.RouteActionOrBuilder) \n\n public static interface TlsRoute.RouteActionOrBuilder 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### getDestinations(int index)\n\n public abstract TlsRoute.RouteDestination getDestinations(int index)\n\nRequired. The destination services to which traffic should be forwarded.\nAt least one destination service is required.\n\n`\nrepeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getDestinationsCount()\n\n public abstract int getDestinationsCount()\n\nRequired. The destination services to which traffic should be forwarded.\nAt least one destination service is required.\n\n`\nrepeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getDestinationsList()\n\n public abstract List\u003cTlsRoute.RouteDestination\u003e getDestinationsList()\n\nRequired. The destination services to which traffic should be forwarded.\nAt least one destination service is required.\n\n`\nrepeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getDestinationsOrBuilder(int index)\n\n public abstract TlsRoute.RouteDestinationOrBuilder getDestinationsOrBuilder(int index)\n\nRequired. The destination services to which traffic should be forwarded.\nAt least one destination service is required.\n\n`\nrepeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getDestinationsOrBuilderList()\n\n public abstract List\u003c? extends TlsRoute.RouteDestinationOrBuilder\u003e getDestinationsOrBuilderList()\n\nRequired. The destination services to which traffic should be forwarded.\nAt least one destination service is required.\n\n`\nrepeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getIdleTimeout()\n\n public abstract Duration getIdleTimeout()\n\nOptional. Specifies the idle timeout for the selected route. The idle\ntimeout is defined as the period in which there are no bytes sent or\nreceived on either the upstream or downstream connection. If not set, the\ndefault idle timeout is 1 hour. If set to 0s, the timeout will be\ndisabled.\n\n`.google.protobuf.Duration idle_timeout = 4 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### getIdleTimeoutOrBuilder()\n\n public abstract DurationOrBuilder getIdleTimeoutOrBuilder()\n\nOptional. Specifies the idle timeout for the selected route. The idle\ntimeout is defined as the period in which there are no bytes sent or\nreceived on either the upstream or downstream connection. If not set, the\ndefault idle timeout is 1 hour. If set to 0s, the timeout will be\ndisabled.\n\n`.google.protobuf.Duration idle_timeout = 4 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### hasIdleTimeout()\n\n public abstract boolean hasIdleTimeout()\n\nOptional. Specifies the idle timeout for the selected route. The idle\ntimeout is defined as the period in which there are no bytes sent or\nreceived on either the upstream or downstream connection. If not set, the\ndefault idle timeout is 1 hour. If set to 0s, the timeout will be\ndisabled.\n\n`.google.protobuf.Duration idle_timeout = 4 [(.google.api.field_behavior) = OPTIONAL];\n`"]]