Interface DescribeNamespaceRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DescribeNamespaceRequest,DescribeNamespaceRequest.Builder
@Generated(value="protoc",
comments="annotations:DescribeNamespaceRequestOrBuilder.java.pb.meta")
public interface DescribeNamespaceRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetId()string id = 2;com.google.protobuf.ByteStringstring id = 2;string namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;booleanIf true, the server may serve the response from an eventually-consistent source instead of reading through to persistence.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
-
getNamespace
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()string namespace = 1;- Returns:
- The bytes for namespace.
-
getId
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()string id = 2;- Returns:
- The bytes for id.
-
getWeakConsistency
boolean getWeakConsistency()If true, the server may serve the response from an eventually-consistent source instead of reading through to persistence. Defaults to false, which preserves read-after-write consistency. SDKs should set this when fetching namespace capabilities on worker/client startup.
bool weak_consistency = 3;- Returns:
- The weakConsistency.
-