Package com.google.cloud.compute.v1
Interface DataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Data,Data.Builder
public interface DataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()[Output Only] A key that provides more detail on the warning being returned.com.google.protobuf.ByteStringgetKeyBytes()[Output Only] A key that provides more detail on the warning being returned.StringgetValue()[Output Only] A warning data value corresponding to the key.com.google.protobuf.ByteStringgetValueBytes()[Output Only] A warning data value corresponding to the key.booleanhasKey()[Output Only] A key that provides more detail on the warning being returned.booleanhasValue()[Output Only] A warning data value corresponding to the key.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasKey
boolean hasKey()
[Output Only] A key that 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, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
optional string key = 106079;- Returns:
- Whether the key field is set.
-
getKey
String getKey()
[Output Only] A key that 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, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
optional string key = 106079;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
[Output Only] A key that 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, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
optional string key = 106079;- Returns:
- The bytes for key.
-
hasValue
boolean hasValue()
[Output Only] A warning data value corresponding to the key.
optional string value = 111972721;- Returns:
- Whether the value field is set.
-
getValue
String getValue()
[Output Only] A warning data value corresponding to the key.
optional string value = 111972721;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
[Output Only] A warning data value corresponding to the key.
optional string value = 111972721;- Returns:
- The bytes for value.
-
-