Package com.google.cloud.compute.v1
Interface InstanceSettingsMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceSettingsMetadata,InstanceSettingsMetadata.Builder
@Generated
public interface InstanceSettingsMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsItems(String key) A metadata key/value items map.getItems()Deprecated.intA metadata key/value items map.A metadata key/value items map.getItemsOrDefault(String key, String defaultValue) A metadata key/value items map.getItemsOrThrow(String key) A metadata key/value items map.getKind()Output only.com.google.protobuf.ByteStringOutput only.booleanhasKind()Output only.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
-
getItemsCount
int getItemsCount()A metadata key/value items map. The total size of all keys and values must be less than 512KB.
map<string, string> items = 100526016; -
containsItems
A metadata key/value items map. The total size of all keys and values must be less than 512KB.
map<string, string> items = 100526016; -
getItems
Deprecated.UsegetItemsMap()instead. -
getItemsMap
A metadata key/value items map. The total size of all keys and values must be less than 512KB.
map<string, string> items = 100526016; -
getItemsOrDefault
A metadata key/value items map. The total size of all keys and values must be less than 512KB.
map<string, string> items = 100526016; -
getItemsOrThrow
A metadata key/value items map. The total size of all keys and values must be less than 512KB.
map<string, string> items = 100526016; -
hasKind
boolean hasKind()Output only. [Output Only] Type of the resource. Always compute#metadata for metadata.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] Type of the resource. Always compute#metadata for metadata.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Always compute#metadata for metadata.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-