Package com.google.cloud.compute.v1
Interface WarningsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Warnings,Warnings.Builder
@Generated
public interface WarningsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()[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.booleanhasCode()[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
isInitializedMethods 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
[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
[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
[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.
-