Package com.google.spanner.v1
Interface RequestOptions.ClientContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RequestOptions.ClientContext,RequestOptions.ClientContext.Builder
- Enclosing class:
- RequestOptions
public static interface RequestOptions.ClientContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Deprecated.intOptional.Optional.com.google.protobuf.ValuegetSecureContextOrDefault(String key, com.google.protobuf.Value defaultValue) Optional.com.google.protobuf.ValueOptional.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
-
getSecureContextCount
int getSecureContextCount()Optional. Map of parameter name to value for this request. These values will be returned by any SECURE_CONTEXT() calls invoked by this request (e.g., by queries against Parameterized Secure Views).
map<string, .google.protobuf.Value> secure_context = 1 [(.google.api.field_behavior) = OPTIONAL]; -
containsSecureContext
Optional. Map of parameter name to value for this request. These values will be returned by any SECURE_CONTEXT() calls invoked by this request (e.g., by queries against Parameterized Secure Views).
map<string, .google.protobuf.Value> secure_context = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getSecureContext
Deprecated.UsegetSecureContextMap()instead. -
getSecureContextMap
Optional. Map of parameter name to value for this request. These values will be returned by any SECURE_CONTEXT() calls invoked by this request (e.g., by queries against Parameterized Secure Views).
map<string, .google.protobuf.Value> secure_context = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getSecureContextOrDefault
com.google.protobuf.Value getSecureContextOrDefault(String key, com.google.protobuf.Value defaultValue) Optional. Map of parameter name to value for this request. These values will be returned by any SECURE_CONTEXT() calls invoked by this request (e.g., by queries against Parameterized Secure Views).
map<string, .google.protobuf.Value> secure_context = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getSecureContextOrThrow
Optional. Map of parameter name to value for this request. These values will be returned by any SECURE_CONTEXT() calls invoked by this request (e.g., by queries against Parameterized Secure Views).
map<string, .google.protobuf.Value> secure_context = 1 [(.google.api.field_behavior) = OPTIONAL];
-