Interface ObjectContextsOrBuilder

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

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

    • getCustomCount

      int getCustomCount()
       Optional. User-defined object contexts.
       The maximum key or value size is `256` characters.
       The maximum number of entries is `50`.
       The maximum total serialized size of all entries is `25KiB`.
       
      map<string, .google.storage.v2.ObjectCustomContextPayload> custom = 1 [(.google.api.field_behavior) = OPTIONAL];
    • containsCustom

      boolean containsCustom(String key)
       Optional. User-defined object contexts.
       The maximum key or value size is `256` characters.
       The maximum number of entries is `50`.
       The maximum total serialized size of all entries is `25KiB`.
       
      map<string, .google.storage.v2.ObjectCustomContextPayload> custom = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getCustom

      Deprecated.
      Use getCustomMap() instead.
    • getCustomMap

       Optional. User-defined object contexts.
       The maximum key or value size is `256` characters.
       The maximum number of entries is `50`.
       The maximum total serialized size of all entries is `25KiB`.
       
      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.
       The maximum key or value size is `256` characters.
       The maximum number of entries is `50`.
       The maximum total serialized size of all entries is `25KiB`.
       
      map<string, .google.storage.v2.ObjectCustomContextPayload> custom = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getCustomOrThrow

      ObjectCustomContextPayload getCustomOrThrow(String key)
       Optional. User-defined object contexts.
       The maximum key or value size is `256` characters.
       The maximum number of entries is `50`.
       The maximum total serialized size of all entries is `25KiB`.
       
      map<string, .google.storage.v2.ObjectCustomContextPayload> custom = 1 [(.google.api.field_behavior) = OPTIONAL];