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 Type
    Method
    Description
    boolean
    The label key-value pairs that you want to patch onto the instance.
    boolean
    The metadata key-value pairs that you want to patch onto the instance.
    Deprecated.
    int
    The 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.
    The label key-value pairs that you want to patch onto the instance.
    Deprecated.
    int
    The 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.
    The metadata key-value pairs that you want to patch onto the instance.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      boolean containsLabels(String key)
       The label key-value pairs that you want to patch onto the instance.
       
      map<string, string> labels = 500195327;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       The label key-value pairs that you want to patch onto the instance.
       
      map<string, string> labels = 500195327;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       The label key-value pairs that you want to patch onto the instance.
       
      map<string, string> labels = 500195327;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       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

      boolean containsMetadata(String key)
       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 Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
    • getMetadataMap

      Map<String,String> 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

      String getMetadataOrDefault(String key, String defaultValue)
       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

      String getMetadataOrThrow(String key)
       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;