Interface UserWorkloadsConfigMapOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UserWorkloadsConfigMap, UserWorkloadsConfigMap.Builder

@Generated public interface UserWorkloadsConfigMapOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Optional.
    Deprecated.
    int
    Optional.
    Optional.
    getDataOrDefault(String key, String defaultValue)
    Optional.
    Optional.
    Identifier.
    com.google.protobuf.ByteString
    Identifier.

    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

    • getName

      String getName()
       Identifier. The resource name of the ConfigMap, in the form:
       "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the ConfigMap, in the form:
       "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getDataCount

      int getDataCount()
       Optional. The "data" field of Kubernetes ConfigMap, organized in key-value
       pairs. For details see:
       https://kubernetes.io/docs/concepts/configuration/configmap/
      
       Example:
      
       {
       "example_key": "example_value",
       "another_key": "another_value"
       }
       
      map<string, string> data = 2 [(.google.api.field_behavior) = OPTIONAL];
    • containsData

      boolean containsData(String key)
       Optional. The "data" field of Kubernetes ConfigMap, organized in key-value
       pairs. For details see:
       https://kubernetes.io/docs/concepts/configuration/configmap/
      
       Example:
      
       {
       "example_key": "example_value",
       "another_key": "another_value"
       }
       
      map<string, string> data = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getData

      Deprecated.
      Use getDataMap() instead.
    • getDataMap

      Map<String,String> getDataMap()
       Optional. The "data" field of Kubernetes ConfigMap, organized in key-value
       pairs. For details see:
       https://kubernetes.io/docs/concepts/configuration/configmap/
      
       Example:
      
       {
       "example_key": "example_value",
       "another_key": "another_value"
       }
       
      map<string, string> data = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getDataOrDefault

      String getDataOrDefault(String key, String defaultValue)
       Optional. The "data" field of Kubernetes ConfigMap, organized in key-value
       pairs. For details see:
       https://kubernetes.io/docs/concepts/configuration/configmap/
      
       Example:
      
       {
       "example_key": "example_value",
       "another_key": "another_value"
       }
       
      map<string, string> data = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getDataOrThrow

      String getDataOrThrow(String key)
       Optional. The "data" field of Kubernetes ConfigMap, organized in key-value
       pairs. For details see:
       https://kubernetes.io/docs/concepts/configuration/configmap/
      
       Example:
      
       {
       "example_key": "example_value",
       "another_key": "another_value"
       }
       
      map<string, string> data = 2 [(.google.api.field_behavior) = OPTIONAL];