Update vendored dependencies
This commit is contained in:
parent
81473f4538
commit
02fc16e97d
254 changed files with 107898 additions and 82739 deletions
6313
vendor/google.golang.org/api/dataflow/v1b3/dataflow-api.json
generated
vendored
6313
vendor/google.golang.org/api/dataflow/v1b3/dataflow-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
60
vendor/google.golang.org/api/dataflow/v1b3/dataflow-gen.go
generated
vendored
60
vendor/google.golang.org/api/dataflow/v1b3/dataflow-gen.go
generated
vendored
|
@ -1327,10 +1327,6 @@ type DistributionUpdate struct {
|
|||
// distribution.
|
||||
Count *SplitInt64 `json:"count,omitempty"`
|
||||
|
||||
// LogBuckets: (Optional) Logarithmic histogram of values.
|
||||
// Each log may be in no more than one bucket. Order does not matter.
|
||||
LogBuckets []*LogBucket `json:"logBuckets,omitempty"`
|
||||
|
||||
// Max: The maximum value present in the distribution.
|
||||
Max *SplitInt64 `json:"max,omitempty"`
|
||||
|
||||
|
@ -2908,44 +2904,6 @@ func (s *ListJobsResponse) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// LogBucket: Bucket of values for Distribution's logarithmic histogram.
|
||||
type LogBucket struct {
|
||||
// Count: Number of values in this bucket.
|
||||
Count int64 `json:"count,omitempty,string"`
|
||||
|
||||
// Log: floor(log2(value)); defined to be zero for nonpositive values.
|
||||
// log(-1) = 0
|
||||
// log(0) = 0
|
||||
// log(1) = 0
|
||||
// log(2) = 1
|
||||
// log(3) = 1
|
||||
// log(4) = 2
|
||||
// log(5) = 2
|
||||
Log int64 `json:"log,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Count") 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. "Count") 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 *LogBucket) MarshalJSON() ([]byte, error) {
|
||||
type noMethod LogBucket
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// MapTask: MapTask consists of an ordered set of instructions, each of
|
||||
// which
|
||||
// describes one particular low-level operation for the worker
|
||||
|
@ -5959,6 +5917,10 @@ type WorkItemStatus struct {
|
|||
// P' and R' must be together equivalent to P, etc.
|
||||
StopPosition *Position `json:"stopPosition,omitempty"`
|
||||
|
||||
// TotalThrottlerWaitTimeSeconds: Total time the worker spent being
|
||||
// throttled by external systems.
|
||||
TotalThrottlerWaitTimeSeconds float64 `json:"totalThrottlerWaitTimeSeconds,omitempty"`
|
||||
|
||||
// WorkItemId: Identifies the WorkItem.
|
||||
WorkItemId string `json:"workItemId,omitempty"`
|
||||
|
||||
|
@ -5985,6 +5947,20 @@ func (s *WorkItemStatus) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *WorkItemStatus) UnmarshalJSON(data []byte) error {
|
||||
type noMethod WorkItemStatus
|
||||
var s1 struct {
|
||||
TotalThrottlerWaitTimeSeconds gensupport.JSONFloat64 `json:"totalThrottlerWaitTimeSeconds"`
|
||||
*noMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
s.TotalThrottlerWaitTimeSeconds = float64(s1.TotalThrottlerWaitTimeSeconds)
|
||||
return nil
|
||||
}
|
||||
|
||||
// WorkerHealthReport: WorkerHealthReport contains information about the
|
||||
// health of a worker.
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue