/** * * * <pre> * Optional. Redis configuration parameters, according to * http://redis.io/topics/config. Currently, the only supported parameters * are: * * maxmemory-policy * * notify-keyspace-events * </pre> * * <code>map<string, string> redis_configs = 16;</code> */ public Builder putRedisConfigs(java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableRedisConfigs().getMutableMap().put(key, value); return this; } /**
/** * * * <pre> * Optional. Redis configuration parameters, according to * http://redis.io/topics/config. Currently, the only supported parameters * are: * * maxmemory-policy * * notify-keyspace-events * </pre> * * <code>map<string, string> redis_configs = 16;</code> */ public Builder removeRedisConfigs(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableRedisConfigs().getMutableMap().remove(key); return this; } /** Use alternate mutation accessors instead. */
/** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map<java.lang.String, java.lang.String> getMutableRedisConfigs() { return internalGetMutableRedisConfigs().getMutableMap(); } /**
onChanged(); internalGetMutableRedisConfigs().mergeFrom(other.internalGetRedisConfigs()); if (other.tier_ != 0) { setTierValue(other.getTierValue());
@java.lang.Override public Builder clear() { super.clear(); name_ = ""; displayName_ = ""; internalGetMutableLabels().clear(); locationId_ = ""; alternativeLocationId_ = ""; redisVersion_ = ""; reservedIpRange_ = ""; host_ = ""; port_ = 0; currentLocationId_ = ""; if (createTimeBuilder_ == null) { createTime_ = null; } else { createTime_ = null; createTimeBuilder_ = null; } state_ = 0; statusMessage_ = ""; internalGetMutableRedisConfigs().clear(); tier_ = 0; memorySizeGb_ = 0; authorizedNetwork_ = ""; return this; }
/** * * * <pre> * Optional. Redis configuration parameters, according to * http://redis.io/topics/config. Currently, the only supported parameters * are: * * maxmemory-policy * * notify-keyspace-events * </pre> * * <code>map<string, string> redis_configs = 16;</code> */ public Builder putAllRedisConfigs(java.util.Map<java.lang.String, java.lang.String> values) { internalGetMutableRedisConfigs().getMutableMap().putAll(values); return this; }
public Builder clearRedisConfigs() { internalGetMutableRedisConfigs().getMutableMap().clear(); return this; } /**
@SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 3: return internalGetMutableLabels(); case 16: return internalGetMutableRedisConfigs(); default: throw new RuntimeException("Invalid map field number: " + number); } }