Interface MeshOrBuilder

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

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

    • getName

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

      com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of the Mesh resource. It matches pattern
       `projects/*/locations/global/meshes/<mesh_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 = 9 [(.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 = 9 [(.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];
    • getLabelsCount

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

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

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

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

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

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

      String getDescription()
       Optional. A free-text description of the resource. Max length 1024
       characters.
       
      string description = 5 [(.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 = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for description.
    • getInterceptionPort

      int getInterceptionPort()
       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.
       
      int32 interception_port = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The interceptionPort.
    • hasEnvoyHeaders

      boolean hasEnvoyHeaders()
       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 .google.cloud.networkservices.v1.EnvoyHeaders envoy_headers = 16 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the envoyHeaders field is set.
    • getEnvoyHeadersValue

      int getEnvoyHeadersValue()
       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 .google.cloud.networkservices.v1.EnvoyHeaders envoy_headers = 16 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for envoyHeaders.
    • getEnvoyHeaders

      EnvoyHeaders getEnvoyHeaders()
       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 .google.cloud.networkservices.v1.EnvoyHeaders envoy_headers = 16 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The envoyHeaders.