Interface TlsRouteOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TlsRoute, TlsRoute.Builder

@Generated public interface TlsRouteOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Identifier. Name of the TlsRoute resource. It matches pattern
       `projects/*/locations/global/tlsRoutes/tls_route_name>`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of the TlsRoute resource. It matches pattern
       `projects/*/locations/global/tlsRoutes/tls_route_name>`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getSelfLink

      String getSelfLink()
       Output only. Server-defined URL of this resource
       
      string self_link = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The selfLink.
    • getSelfLinkBytes

      com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. Server-defined URL of this resource
       
      string self_link = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for selfLink.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDescription

      String getDescription()
       Optional. A free-text description of the resource. Max length 1024
       characters.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Optional. A free-text description of the resource. Max length 1024
       characters.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for description.
    • getRulesList

      List<TlsRoute.RouteRule> getRulesList()
       Required. Rules that define how traffic is routed and handled. At least one
       RouteRule must be supplied. If there are multiple rules then the action
       taken will be the first rule to match.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteRule rules = 5 [(.google.api.field_behavior) = REQUIRED];
    • getRules

      TlsRoute.RouteRule getRules(int index)
       Required. Rules that define how traffic is routed and handled. At least one
       RouteRule must be supplied. If there are multiple rules then the action
       taken will be the first rule to match.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteRule rules = 5 [(.google.api.field_behavior) = REQUIRED];
    • getRulesCount

      int getRulesCount()
       Required. Rules that define how traffic is routed and handled. At least one
       RouteRule must be supplied. If there are multiple rules then the action
       taken will be the first rule to match.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteRule rules = 5 [(.google.api.field_behavior) = REQUIRED];
    • getRulesOrBuilderList

      List<? extends TlsRoute.RouteRuleOrBuilder> getRulesOrBuilderList()
       Required. Rules that define how traffic is routed and handled. At least one
       RouteRule must be supplied. If there are multiple rules then the action
       taken will be the first rule to match.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteRule rules = 5 [(.google.api.field_behavior) = REQUIRED];
    • getRulesOrBuilder

      TlsRoute.RouteRuleOrBuilder getRulesOrBuilder(int index)
       Required. Rules that define how traffic is routed and handled. At least one
       RouteRule must be supplied. If there are multiple rules then the action
       taken will be the first rule to match.
       
      repeated .google.cloud.networkservices.v1.TlsRoute.RouteRule rules = 5 [(.google.api.field_behavior) = REQUIRED];
    • getMeshesList

      List<String> getMeshesList()
       Optional. Meshes defines a list of meshes this TlsRoute is attached to, as
       one of the routing rules to route the requests served by the mesh.
      
       Each mesh reference should match the pattern:
       `projects/*/locations/global/meshes/<mesh_name>`
      
       The attached Mesh should be of a type SIDECAR
       
      repeated string meshes = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      A list containing the meshes.
    • getMeshesCount

      int getMeshesCount()
       Optional. Meshes defines a list of meshes this TlsRoute is attached to, as
       one of the routing rules to route the requests served by the mesh.
      
       Each mesh reference should match the pattern:
       `projects/*/locations/global/meshes/<mesh_name>`
      
       The attached Mesh should be of a type SIDECAR
       
      repeated string meshes = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The count of meshes.
    • getMeshes

      String getMeshes(int index)
       Optional. Meshes defines a list of meshes this TlsRoute is attached to, as
       one of the routing rules to route the requests served by the mesh.
      
       Each mesh reference should match the pattern:
       `projects/*/locations/global/meshes/<mesh_name>`
      
       The attached Mesh should be of a type SIDECAR
       
      repeated string meshes = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The meshes at the given index.
    • getMeshesBytes

      com.google.protobuf.ByteString getMeshesBytes(int index)
       Optional. Meshes defines a list of meshes this TlsRoute is attached to, as
       one of the routing rules to route the requests served by the mesh.
      
       Each mesh reference should match the pattern:
       `projects/*/locations/global/meshes/<mesh_name>`
      
       The attached Mesh should be of a type SIDECAR
       
      repeated string meshes = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the meshes at the given index.
    • getGatewaysList

      List<String> getGatewaysList()
       Optional. Gateways defines a list of gateways this TlsRoute is attached to,
       as one of the routing rules to route the requests served by the gateway.
      
       Each gateway reference should match the pattern:
       `projects/*/locations/global/gateways/<gateway_name>`
       
      repeated string gateways = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      A list containing the gateways.
    • getGatewaysCount

      int getGatewaysCount()
       Optional. Gateways defines a list of gateways this TlsRoute is attached to,
       as one of the routing rules to route the requests served by the gateway.
      
       Each gateway reference should match the pattern:
       `projects/*/locations/global/gateways/<gateway_name>`
       
      repeated string gateways = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The count of gateways.
    • getGateways

      String getGateways(int index)
       Optional. Gateways defines a list of gateways this TlsRoute is attached to,
       as one of the routing rules to route the requests served by the gateway.
      
       Each gateway reference should match the pattern:
       `projects/*/locations/global/gateways/<gateway_name>`
       
      repeated string gateways = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The gateways at the given index.
    • getGatewaysBytes

      com.google.protobuf.ByteString getGatewaysBytes(int index)
       Optional. Gateways defines a list of gateways this TlsRoute is attached to,
       as one of the routing rules to route the requests served by the gateway.
      
       Each gateway reference should match the pattern:
       `projects/*/locations/global/gateways/<gateway_name>`
       
      repeated string gateways = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the gateways at the given index.
    • getLabelsCount

      int getLabelsCount()
       Optional. Set of label tags associated with the TlsRoute resource.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. Set of label tags associated with the TlsRoute resource.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Set of label tags associated with the TlsRoute resource.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Set of label tags associated with the TlsRoute resource.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. Set of label tags associated with the TlsRoute resource.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];