Interface ObjectContextsOrBuilder

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

public interface ObjectContextsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getCustomCount

      int getCustomCount()
       Optional. User-defined object contexts.
       
      map<string, .google.storage.v2.ObjectCustomContextPayload> custom = 1 [(.google.api.field_behavior) = OPTIONAL];
    • containsCustom

      boolean containsCustom(String key)
       Optional. User-defined object contexts.
       
      map<string, .google.storage.v2.ObjectCustomContextPayload> custom = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getCustom

      Deprecated.
      Use getCustomMap() instead.
    • getCustomMap

       Optional. User-defined object contexts.
       
      map<string, .google.storage.v2.ObjectCustomContextPayload> custom = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getCustomOrDefault

      ObjectCustomContextPayload getCustomOrDefault(String key, ObjectCustomContextPayload defaultValue)
       Optional. User-defined object contexts.
       
      map<string, .google.storage.v2.ObjectCustomContextPayload> custom = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getCustomOrThrow

      ObjectCustomContextPayload getCustomOrThrow(String key)
       Optional. User-defined object contexts.
       
      map<string, .google.storage.v2.ObjectCustomContextPayload> custom = 1 [(.google.api.field_behavior) = OPTIONAL];