Interface PolicyBasedRoute.WarningsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PolicyBasedRoute.Warnings, PolicyBasedRoute.Warnings.Builder
Enclosing class:
PolicyBasedRoute

public static interface PolicyBasedRoute.WarningsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getCodeValue

      int getCodeValue()
       Output only. A warning code, if applicable.
       
      .google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for code.
    • getCode

       Output only. A warning code, if applicable.
       
      .google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The code.
    • getDataCount

      int getDataCount()
       Output only. Metadata about this warning in key: value format. The key
       should provides more detail on the warning being returned. For example,
       for warnings where there are no results in a list request for a
       particular zone, this key might be scope and the key value might be the
       zone name. Other examples might be a key indicating a deprecated resource
       and a suggested replacement.
       
      map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • containsData

      boolean containsData(String key)
       Output only. Metadata about this warning in key: value format. The key
       should provides more detail on the warning being returned. For example,
       for warnings where there are no results in a list request for a
       particular zone, this key might be scope and the key value might be the
       zone name. Other examples might be a key indicating a deprecated resource
       and a suggested replacement.
       
      map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getData

      Deprecated.
      Use getDataMap() instead.
    • getDataMap

      Map<String,String> getDataMap()
       Output only. Metadata about this warning in key: value format. The key
       should provides more detail on the warning being returned. For example,
       for warnings where there are no results in a list request for a
       particular zone, this key might be scope and the key value might be the
       zone name. Other examples might be a key indicating a deprecated resource
       and a suggested replacement.
       
      map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDataOrDefault

      String getDataOrDefault(String key, String defaultValue)
       Output only. Metadata about this warning in key: value format. The key
       should provides more detail on the warning being returned. For example,
       for warnings where there are no results in a list request for a
       particular zone, this key might be scope and the key value might be the
       zone name. Other examples might be a key indicating a deprecated resource
       and a suggested replacement.
       
      map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDataOrThrow

      String getDataOrThrow(String key)
       Output only. Metadata about this warning in key: value format. The key
       should provides more detail on the warning being returned. For example,
       for warnings where there are no results in a list request for a
       particular zone, this key might be scope and the key value might be the
       zone name. Other examples might be a key indicating a deprecated resource
       and a suggested replacement.
       
      map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getWarningMessage

      String getWarningMessage()
       Output only. A human-readable description of the warning code.
       
      string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The warningMessage.
    • getWarningMessageBytes

      com.google.protobuf.ByteString getWarningMessageBytes()
       Output only. A human-readable description of the warning code.
       
      string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for warningMessage.