Package com.google.storage.v2
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 Summary
Modifier and TypeMethodDescriptionbooleancontainsCustom(String key) Optional.Deprecated.intOptional.Optional.getCustomOrDefault(String key, ObjectCustomContextPayload defaultValue) Optional.getCustomOrThrow(String key) Optional.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
-
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
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.UsegetCustomMap()instead. -
getCustomMap
Map<String,ObjectCustomContextPayload> 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
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
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];
-