Interface WarningOrBuilder

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

@Generated public interface WarningOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    [Output Only] A warning code, if applicable.
    com.google.protobuf.ByteString
    [Output Only] A warning code, if applicable.
    getData(int index)
    [Output Only] Metadata about this warning in key: value format.
    int
    [Output Only] Metadata about this warning in key: value format.
    [Output Only] Metadata about this warning in key: value format.
    getDataOrBuilder(int index)
    [Output Only] Metadata about this warning in key: value format.
    List<? extends DataOrBuilder>
    [Output Only] Metadata about this warning in key: value format.
    [Output Only] A human-readable description of the warning code.
    com.google.protobuf.ByteString
    [Output Only] A human-readable description of the warning code.
    boolean
    [Output Only] A warning code, if applicable.
    boolean
    [Output Only] A human-readable description of the warning code.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasCode

      boolean hasCode()
       [Output Only] A warning code, if applicable. For example, Compute
       Engine returns NO_RESULTS_ON_PAGE if there
       are no results in the response.
       Check the Code enum for the list of possible values.
       
      optional string code = 3059181;
      Returns:
      Whether the code field is set.
    • getCode

      String getCode()
       [Output Only] A warning code, if applicable. For example, Compute
       Engine returns NO_RESULTS_ON_PAGE if there
       are no results in the response.
       Check the Code enum for the list of possible values.
       
      optional string code = 3059181;
      Returns:
      The code.
    • getCodeBytes

      com.google.protobuf.ByteString getCodeBytes()
       [Output Only] A warning code, if applicable. For example, Compute
       Engine returns NO_RESULTS_ON_PAGE if there
       are no results in the response.
       Check the Code enum for the list of possible values.
       
      optional string code = 3059181;
      Returns:
      The bytes for code.
    • getDataList

      List<Data> getDataList()
       [Output Only] Metadata about this warning in key:
       value format. For example:
      
       "data": [
       {
       "key": "scope",
       "value": "zones/us-east1-d"
       }
       
      repeated .google.cloud.compute.v1.Data data = 3076010;
    • getData

      Data getData(int index)
       [Output Only] Metadata about this warning in key:
       value format. For example:
      
       "data": [
       {
       "key": "scope",
       "value": "zones/us-east1-d"
       }
       
      repeated .google.cloud.compute.v1.Data data = 3076010;
    • getDataCount

      int getDataCount()
       [Output Only] Metadata about this warning in key:
       value format. For example:
      
       "data": [
       {
       "key": "scope",
       "value": "zones/us-east1-d"
       }
       
      repeated .google.cloud.compute.v1.Data data = 3076010;
    • getDataOrBuilderList

      List<? extends DataOrBuilder> getDataOrBuilderList()
       [Output Only] Metadata about this warning in key:
       value format. For example:
      
       "data": [
       {
       "key": "scope",
       "value": "zones/us-east1-d"
       }
       
      repeated .google.cloud.compute.v1.Data data = 3076010;
    • getDataOrBuilder

      DataOrBuilder getDataOrBuilder(int index)
       [Output Only] Metadata about this warning in key:
       value format. For example:
      
       "data": [
       {
       "key": "scope",
       "value": "zones/us-east1-d"
       }
       
      repeated .google.cloud.compute.v1.Data data = 3076010;
    • hasMessage

      boolean hasMessage()
       [Output Only] A human-readable description of the warning code.
       
      optional string message = 418054151;
      Returns:
      Whether the message field is set.
    • getMessage

      String getMessage()
       [Output Only] A human-readable description of the warning code.
       
      optional string message = 418054151;
      Returns:
      The message.
    • getMessageBytes

      com.google.protobuf.ByteString getMessageBytes()
       [Output Only] A human-readable description of the warning code.
       
      optional string message = 418054151;
      Returns:
      The bytes for message.