com.google.appengine.v1.TrafficSplitOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-appengine-v1 Show documentation
Show all versions of proto-google-appengine-v1 Show documentation
PROTO library for proto-google-appengine-v1
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/appengine/v1/service.proto
package com.google.appengine.v1;
public interface TrafficSplitOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.appengine.v1.TrafficSplit)
com.google.protobuf.MessageOrBuilder {
/**
*
* Mechanism used to determine which version a request is sent to.
* The traffic selection algorithm will
* be stable for either type until allocations are changed.
*
*
* .google.appengine.v1.TrafficSplit.ShardBy shard_by = 1;
*/
int getShardByValue();
/**
*
* Mechanism used to determine which version a request is sent to.
* The traffic selection algorithm will
* be stable for either type until allocations are changed.
*
*
* .google.appengine.v1.TrafficSplit.ShardBy shard_by = 1;
*/
com.google.appengine.v1.TrafficSplit.ShardBy getShardBy();
/**
*
* Mapping from version IDs within the service to fractional
* (0.000, 1] allocations of traffic for that version. Each version can
* be specified only once, but some versions in the service may not
* have any traffic allocation. Services that have traffic allocated
* cannot be deleted until either the service is deleted or
* their traffic allocation is removed. Allocations must sum to 1.
* Up to two decimal place precision is supported for IP-based splits and
* up to three decimal places is supported for cookie-based splits.
*
*
* map<string, double> allocations = 2;
*/
int getAllocationsCount();
/**
*
* Mapping from version IDs within the service to fractional
* (0.000, 1] allocations of traffic for that version. Each version can
* be specified only once, but some versions in the service may not
* have any traffic allocation. Services that have traffic allocated
* cannot be deleted until either the service is deleted or
* their traffic allocation is removed. Allocations must sum to 1.
* Up to two decimal place precision is supported for IP-based splits and
* up to three decimal places is supported for cookie-based splits.
*
*
* map<string, double> allocations = 2;
*/
boolean containsAllocations(
java.lang.String key);
/**
* Use {@link #getAllocationsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getAllocations();
/**
*
* Mapping from version IDs within the service to fractional
* (0.000, 1] allocations of traffic for that version. Each version can
* be specified only once, but some versions in the service may not
* have any traffic allocation. Services that have traffic allocated
* cannot be deleted until either the service is deleted or
* their traffic allocation is removed. Allocations must sum to 1.
* Up to two decimal place precision is supported for IP-based splits and
* up to three decimal places is supported for cookie-based splits.
*
*
* map<string, double> allocations = 2;
*/
java.util.Map
getAllocationsMap();
/**
*
* Mapping from version IDs within the service to fractional
* (0.000, 1] allocations of traffic for that version. Each version can
* be specified only once, but some versions in the service may not
* have any traffic allocation. Services that have traffic allocated
* cannot be deleted until either the service is deleted or
* their traffic allocation is removed. Allocations must sum to 1.
* Up to two decimal place precision is supported for IP-based splits and
* up to three decimal places is supported for cookie-based splits.
*
*
* map<string, double> allocations = 2;
*/
double getAllocationsOrDefault(
java.lang.String key,
double defaultValue);
/**
*
* Mapping from version IDs within the service to fractional
* (0.000, 1] allocations of traffic for that version. Each version can
* be specified only once, but some versions in the service may not
* have any traffic allocation. Services that have traffic allocated
* cannot be deleted until either the service is deleted or
* their traffic allocation is removed. Allocations must sum to 1.
* Up to two decimal place precision is supported for IP-based splits and
* up to three decimal places is supported for cookie-based splits.
*
*
* map<string, double> allocations = 2;
*/
double getAllocationsOrThrow(
java.lang.String key);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy