public interface ObjectContextsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsCustom(String key)
public abstract boolean containsCustom(String key)
Optional. User-defined object contexts.
map<string, .google.storage.v2.ObjectCustomContextPayload> custom = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCustom() (deprecated)
public abstract Map<String,ObjectCustomContextPayload> getCustom()
Use #getCustomMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,ObjectCustomContextPayload> |
getCustomCount()
public abstract int getCustomCount()
Optional. User-defined object contexts.
map<string, .google.storage.v2.ObjectCustomContextPayload> custom = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getCustomMap()
public abstract Map<String,ObjectCustomContextPayload> getCustomMap()
Optional. User-defined object contexts.
map<string, .google.storage.v2.ObjectCustomContextPayload> custom = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,ObjectCustomContextPayload> |
getCustomOrDefault(String key, ObjectCustomContextPayload defaultValue)
public abstract ObjectCustomContextPayload getCustomOrDefault(String key, ObjectCustomContextPayload defaultValue)
Optional. User-defined object contexts.
map<string, .google.storage.v2.ObjectCustomContextPayload> custom = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
ObjectCustomContextPayload |
Returns | |
---|---|
Type | Description |
ObjectCustomContextPayload |
getCustomOrThrow(String key)
public abstract ObjectCustomContextPayload getCustomOrThrow(String key)
Optional. User-defined object contexts.
map<string, .google.storage.v2.ObjectCustomContextPayload> custom = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
ObjectCustomContextPayload |