Update vendored dependencies

This includes github.com/kurin/blazer 0.2.0, which resolves #1291
This commit is contained in:
Alexander Neumann 2017-10-01 10:13:39 +02:00
parent ba23d24dd1
commit 61cb1cc6f8
1044 changed files with 203022 additions and 97709 deletions

View file

@ -1327,6 +1327,9 @@ type DistributionUpdate struct {
// distribution.
Count *SplitInt64 `json:"count,omitempty"`
// Histogram: (Optional) Histogram of value counts for the distribution.
Histogram *Histogram `json:"histogram,omitempty"`
// Max: The maximum value present in the distribution.
Max *SplitInt64 `json:"max,omitempty"`
@ -1922,6 +1925,57 @@ func (s *GetTemplateResponse) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// Histogram: Histogram of value counts for a distribution.
//
// Buckets have an inclusive lower bound and exclusive upper bound and
// use
// "1,2,5 bucketing": The first bucket range is from [0,1) and all
// subsequent
// bucket boundaries are powers of ten multiplied by 1, 2, or 5. Thus,
// bucket
// boundaries are 0, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000,
// ...
// Negative values are not supported.
type Histogram struct {
// BucketCounts: Counts of values in each bucket. For efficiency, prefix
// and trailing
// buckets with count = 0 are elided. Buckets can store the full range
// of
// values of an unsigned long, with ULLONG_MAX falling into the 59th
// bucket
// with range [1e19, 2e19).
BucketCounts googleapi.Int64s `json:"bucketCounts,omitempty"`
// FirstBucketOffset: Starting index of first stored bucket. The
// non-inclusive upper-bound of
// the ith bucket is given by:
// pow(10,(i-first_bucket_offset)/3) *
// (1,2,5)[(i-first_bucket_offset)%3]
FirstBucketOffset int64 `json:"firstBucketOffset,omitempty"`
// ForceSendFields is a list of field names (e.g. "BucketCounts") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "BucketCounts") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *Histogram) MarshalJSON() ([]byte, error) {
type noMethod Histogram
raw := noMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// InstructionInput: An input of an instruction, as a reference to an
// output of a
// producer instruction.
@ -6486,10 +6540,15 @@ func (s *WorkerSettings) MarshalJSON() ([]byte, error) {
// being
// shut down.
type WorkerShutdownNotice struct {
// Reason: Optional reason to be attached for the shutdown notice.
// For example: "PREEMPTION" would indicate the VM is being shut down
// because
// of preemption. Other possible reasons may be added in the future.
// Reason: The reason for the worker shutdown.
// Current possible values are:
// "UNKNOWN": shutdown reason is unknown.
// "PREEMPTION": shutdown reason is preemption.
// Other possible reasons may be added in the future.
// Note that this must match the names of the enum specified
// in
// google3/cloud/dataflow/router/protos/cloud_worker_messages_service.
// proto.
Reason string `json:"reason,omitempty"`
// ForceSendFields is a list of field names (e.g. "Reason") to