Package com.google.cloud.compute.v1
Interface InstancePropertiesPatchOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstancePropertiesPatch,InstancePropertiesPatch.Builder
@Generated
public interface InstancePropertiesPatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) The label key-value pairs that you want to patch onto the instance.booleancontainsMetadata(String key) The metadata key-value pairs that you want to patch onto the instance.Deprecated.intThe label key-value pairs that you want to patch onto the instance.The label key-value pairs that you want to patch onto the instance.getLabelsOrDefault(String key, String defaultValue) The label key-value pairs that you want to patch onto the instance.getLabelsOrThrow(String key) The label key-value pairs that you want to patch onto the instance.Deprecated.intThe metadata key-value pairs that you want to patch onto the instance.The metadata key-value pairs that you want to patch onto the instance.getMetadataOrDefault(String key, String defaultValue) The metadata key-value pairs that you want to patch onto the instance.getMetadataOrThrow(String key) The metadata key-value pairs that you want to patch onto the instance.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
-
getLabelsCount
int getLabelsCount()The label key-value pairs that you want to patch onto the instance.
map<string, string> labels = 500195327; -
containsLabels
The label key-value pairs that you want to patch onto the instance.
map<string, string> labels = 500195327; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
The label key-value pairs that you want to patch onto the instance.
map<string, string> labels = 500195327; -
getLabelsOrDefault
The label key-value pairs that you want to patch onto the instance.
map<string, string> labels = 500195327; -
getLabelsOrThrow
The label key-value pairs that you want to patch onto the instance.
map<string, string> labels = 500195327; -
getMetadataCount
int getMetadataCount()The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
map<string, string> metadata = 86866735; -
containsMetadata
The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
map<string, string> metadata = 86866735; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
map<string, string> metadata = 86866735; -
getMetadataOrDefault
The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
map<string, string> metadata = 86866735; -
getMetadataOrThrow
The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
map<string, string> metadata = 86866735;
-