Interface Collections.CollectionParamsDiffOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Collections.CollectionParamsDiff,Collections.CollectionParamsDiff.Builder
- Enclosing class:
- Collections
public static interface Collections.CollectionParamsDiffOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintNumber of replicas of each shard that network tries to maintainintHow many replicas should apply the operation for us to consider it successfulbooleanNumber of replicas of each shard that network tries to maintainbooleanHow many replicas should apply the operation for us to consider it successfulMethods 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
-
hasReplicationFactor
boolean hasReplicationFactor()Number of replicas of each shard that network tries to maintain
optional uint32 replication_factor = 1;- Returns:
- Whether the replicationFactor field is set.
-
getReplicationFactor
int getReplicationFactor()Number of replicas of each shard that network tries to maintain
optional uint32 replication_factor = 1;- Returns:
- The replicationFactor.
-
hasWriteConsistencyFactor
boolean hasWriteConsistencyFactor()How many replicas should apply the operation for us to consider it successful
optional uint32 write_consistency_factor = 2;- Returns:
- Whether the writeConsistencyFactor field is set.
-
getWriteConsistencyFactor
int getWriteConsistencyFactor()How many replicas should apply the operation for us to consider it successful
optional uint32 write_consistency_factor = 2;- Returns:
- The writeConsistencyFactor.
-