Package com.google.cloud.compute.v1
Interface WarningOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Warning
,Warning.Builder
public interface WarningOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCode()
[Output Only] A warning code, if applicable.com.google.protobuf.ByteString
getCodeBytes()
[Output Only] A warning code, if applicable.Data
getData(int index)
[Output Only] Metadata about this warning in key: value format.int
getDataCount()
[Output Only] Metadata about this warning in key: value format.List<Data>
getDataList()
[Output Only] Metadata about this warning in key: value format.DataOrBuilder
getDataOrBuilder(int index)
[Output Only] Metadata about this warning in key: value format.List<? extends DataOrBuilder>
getDataOrBuilderList()
[Output Only] Metadata about this warning in key: value format.String
getMessage()
[Output Only] A human-readable description of the warning code.com.google.protobuf.ByteString
getMessageBytes()
[Output Only] A human-readable description of the warning code.boolean
hasCode()
[Output Only] A warning code, if applicable.boolean
hasMessage()
[Output Only] A human-readable description of the warning code.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-