update local clients with latest generator changes Ran "make local" on master. Change-Id: Ic7fc2e85533963b5033779bef103d56d55d00d04 Reviewed-on: https://code-review.googlesource.com/22590 Reviewed-by: Michael Darakananda <pongad@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/adsense/v1.3/adsense-gen.go b/adsense/v1.3/adsense-gen.go index 4ec72e1..2431704 100644 --- a/adsense/v1.3/adsense-gen.go +++ b/adsense/v1.3/adsense-gen.go
@@ -401,8 +401,8 @@ } func (s *Account) MarshalJSON() ([]byte, error) { - type noMethod Account - raw := noMethod(*s) + type NoMethod Account + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -443,8 +443,8 @@ } func (s *Accounts) MarshalJSON() ([]byte, error) { - type noMethod Accounts - raw := noMethod(*s) + type NoMethod Accounts + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -483,8 +483,8 @@ } func (s *AdClient) MarshalJSON() ([]byte, error) { - type noMethod AdClient - raw := noMethod(*s) + type NoMethod AdClient + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -525,8 +525,8 @@ } func (s *AdClients) MarshalJSON() ([]byte, error) { - type noMethod AdClients - raw := noMethod(*s) + type NoMethod AdClients + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -559,8 +559,8 @@ } func (s *AdCode) MarshalJSON() ([]byte, error) { - type noMethod AdCode - raw := noMethod(*s) + type NoMethod AdCode + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -598,8 +598,8 @@ } func (s *AdStyle) MarshalJSON() ([]byte, error) { - type noMethod AdStyle - raw := noMethod(*s) + type NoMethod AdStyle + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -640,8 +640,8 @@ } func (s *AdStyleColors) MarshalJSON() ([]byte, error) { - type noMethod AdStyleColors - raw := noMethod(*s) + type NoMethod AdStyleColors + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -671,8 +671,8 @@ } func (s *AdStyleFont) MarshalJSON() ([]byte, error) { - type noMethod AdStyleFont - raw := noMethod(*s) + type NoMethod AdStyleFont + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -743,8 +743,8 @@ } func (s *AdUnit) MarshalJSON() ([]byte, error) { - type noMethod AdUnit - raw := noMethod(*s) + type NoMethod AdUnit + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -779,8 +779,8 @@ } func (s *AdUnitContentAdsSettings) MarshalJSON() ([]byte, error) { - type noMethod AdUnitContentAdsSettings - raw := noMethod(*s) + type NoMethod AdUnitContentAdsSettings + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -815,8 +815,8 @@ } func (s *AdUnitContentAdsSettingsBackupOption) MarshalJSON() ([]byte, error) { - type noMethod AdUnitContentAdsSettingsBackupOption - raw := noMethod(*s) + type NoMethod AdUnitContentAdsSettingsBackupOption + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -855,8 +855,8 @@ } func (s *AdUnitFeedAdsSettings) MarshalJSON() ([]byte, error) { - type noMethod AdUnitFeedAdsSettings - raw := noMethod(*s) + type NoMethod AdUnitFeedAdsSettings + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -894,8 +894,8 @@ } func (s *AdUnitMobileContentAdsSettings) MarshalJSON() ([]byte, error) { - type noMethod AdUnitMobileContentAdsSettings - raw := noMethod(*s) + type NoMethod AdUnitMobileContentAdsSettings + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -936,8 +936,8 @@ } func (s *AdUnits) MarshalJSON() ([]byte, error) { - type noMethod AdUnits - raw := noMethod(*s) + type NoMethod AdUnits + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -996,8 +996,8 @@ } func (s *AdsenseReportsGenerateResponse) MarshalJSON() ([]byte, error) { - type noMethod AdsenseReportsGenerateResponse - raw := noMethod(*s) + type NoMethod AdsenseReportsGenerateResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1031,8 +1031,8 @@ } func (s *AdsenseReportsGenerateResponseHeaders) MarshalJSON() ([]byte, error) { - type noMethod AdsenseReportsGenerateResponseHeaders - raw := noMethod(*s) + type NoMethod AdsenseReportsGenerateResponseHeaders + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1076,8 +1076,8 @@ } func (s *Alert) MarshalJSON() ([]byte, error) { - type noMethod Alert - raw := noMethod(*s) + type NoMethod Alert + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1110,8 +1110,8 @@ } func (s *Alerts) MarshalJSON() ([]byte, error) { - type noMethod Alerts - raw := noMethod(*s) + type NoMethod Alerts + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1157,8 +1157,8 @@ } func (s *CustomChannel) MarshalJSON() ([]byte, error) { - type noMethod CustomChannel - raw := noMethod(*s) + type NoMethod CustomChannel + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1200,8 +1200,8 @@ } func (s *CustomChannelTargetingInfo) MarshalJSON() ([]byte, error) { - type noMethod CustomChannelTargetingInfo - raw := noMethod(*s) + type NoMethod CustomChannelTargetingInfo + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1242,8 +1242,8 @@ } func (s *CustomChannels) MarshalJSON() ([]byte, error) { - type noMethod CustomChannels - raw := noMethod(*s) + type NoMethod CustomChannels + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1275,8 +1275,8 @@ } func (s *Metadata) MarshalJSON() ([]byte, error) { - type noMethod Metadata - raw := noMethod(*s) + type NoMethod Metadata + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1336,8 +1336,8 @@ } func (s *ReportingMetadataEntry) MarshalJSON() ([]byte, error) { - type noMethod ReportingMetadataEntry - raw := noMethod(*s) + type NoMethod ReportingMetadataEntry + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1378,8 +1378,8 @@ } func (s *SavedAdStyle) MarshalJSON() ([]byte, error) { - type noMethod SavedAdStyle - raw := noMethod(*s) + type NoMethod SavedAdStyle + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1420,8 +1420,8 @@ } func (s *SavedAdStyles) MarshalJSON() ([]byte, error) { - type noMethod SavedAdStyles - raw := noMethod(*s) + type NoMethod SavedAdStyles + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1453,8 +1453,8 @@ } func (s *SavedReport) MarshalJSON() ([]byte, error) { - type noMethod SavedReport - raw := noMethod(*s) + type NoMethod SavedReport + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1495,8 +1495,8 @@ } func (s *SavedReports) MarshalJSON() ([]byte, error) { - type noMethod SavedReports - raw := noMethod(*s) + type NoMethod SavedReports + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1531,8 +1531,8 @@ } func (s *UrlChannel) MarshalJSON() ([]byte, error) { - type noMethod UrlChannel - raw := noMethod(*s) + type NoMethod UrlChannel + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1573,8 +1573,8 @@ } func (s *UrlChannels) MarshalJSON() ([]byte, error) { - type noMethod UrlChannels - raw := noMethod(*s) + type NoMethod UrlChannels + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1692,7 +1692,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -1846,7 +1846,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2025,7 +2025,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2204,7 +2204,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2362,7 +2362,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2541,7 +2541,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2749,7 +2749,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2944,7 +2944,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3094,7 +3094,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3267,7 +3267,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3475,7 +3475,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3755,7 +3755,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3997,7 +3997,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4180,7 +4180,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4355,7 +4355,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4517,7 +4517,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4709,7 +4709,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4899,7 +4899,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -5065,7 +5065,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -5213,7 +5213,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -5382,7 +5382,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -5580,7 +5580,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -5763,7 +5763,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -5900,7 +5900,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -6063,7 +6063,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -6261,7 +6261,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -6441,7 +6441,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -6564,7 +6564,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -6782,7 +6782,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -7020,7 +7020,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -7191,7 +7191,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -7354,7 +7354,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -7504,7 +7504,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -7684,7 +7684,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil
diff --git a/cloudmonitoring/v2beta2/cloudmonitoring-gen.go b/cloudmonitoring/v2beta2/cloudmonitoring-gen.go index 57208fc..0f59961 100644 --- a/cloudmonitoring/v2beta2/cloudmonitoring-gen.go +++ b/cloudmonitoring/v2beta2/cloudmonitoring-gen.go
@@ -141,8 +141,8 @@ } func (s *DeleteMetricDescriptorResponse) MarshalJSON() ([]byte, error) { - type noMethod DeleteMetricDescriptorResponse - raw := noMethod(*s) + type NoMethod DeleteMetricDescriptorResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -171,8 +171,8 @@ } func (s *ListMetricDescriptorsRequest) MarshalJSON() ([]byte, error) { - type noMethod ListMetricDescriptorsRequest - raw := noMethod(*s) + type NoMethod ListMetricDescriptorsRequest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -214,8 +214,8 @@ } func (s *ListMetricDescriptorsResponse) MarshalJSON() ([]byte, error) { - type noMethod ListMetricDescriptorsResponse - raw := noMethod(*s) + type NoMethod ListMetricDescriptorsResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -244,8 +244,8 @@ } func (s *ListTimeseriesDescriptorsRequest) MarshalJSON() ([]byte, error) { - type noMethod ListTimeseriesDescriptorsRequest - raw := noMethod(*s) + type NoMethod ListTimeseriesDescriptorsRequest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -295,8 +295,8 @@ } func (s *ListTimeseriesDescriptorsResponse) MarshalJSON() ([]byte, error) { - type noMethod ListTimeseriesDescriptorsResponse - raw := noMethod(*s) + type NoMethod ListTimeseriesDescriptorsResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -324,8 +324,8 @@ } func (s *ListTimeseriesRequest) MarshalJSON() ([]byte, error) { - type noMethod ListTimeseriesRequest - raw := noMethod(*s) + type NoMethod ListTimeseriesRequest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -376,8 +376,8 @@ } func (s *ListTimeseriesResponse) MarshalJSON() ([]byte, error) { - type noMethod ListTimeseriesResponse - raw := noMethod(*s) + type NoMethod ListTimeseriesResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -421,8 +421,8 @@ } func (s *MetricDescriptor) MarshalJSON() ([]byte, error) { - type noMethod MetricDescriptor - raw := noMethod(*s) + type NoMethod MetricDescriptor + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -454,8 +454,8 @@ } func (s *MetricDescriptorLabelDescriptor) MarshalJSON() ([]byte, error) { - type noMethod MetricDescriptorLabelDescriptor - raw := noMethod(*s) + type NoMethod MetricDescriptorLabelDescriptor + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -489,8 +489,8 @@ } func (s *MetricDescriptorTypeDescriptor) MarshalJSON() ([]byte, error) { - type noMethod MetricDescriptorTypeDescriptor - raw := noMethod(*s) + type NoMethod MetricDescriptorTypeDescriptor + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -550,18 +550,18 @@ } func (s *Point) MarshalJSON() ([]byte, error) { - type noMethod Point - raw := noMethod(*s) + type NoMethod Point + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } func (s *Point) UnmarshalJSON(data []byte) error { - type noMethod Point + type NoMethod Point var s1 struct { DoubleValue *gensupport.JSONFloat64 `json:"doubleValue"` - *noMethod + *NoMethod } - s1.noMethod = (*noMethod)(s) + s1.NoMethod = (*NoMethod)(s) if err := json.Unmarshal(data, &s1); err != nil { return err } @@ -603,8 +603,8 @@ } func (s *PointDistribution) MarshalJSON() ([]byte, error) { - type noMethod PointDistribution - raw := noMethod(*s) + type NoMethod PointDistribution + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -643,19 +643,19 @@ } func (s *PointDistributionBucket) MarshalJSON() ([]byte, error) { - type noMethod PointDistributionBucket - raw := noMethod(*s) + type NoMethod PointDistributionBucket + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } func (s *PointDistributionBucket) UnmarshalJSON(data []byte) error { - type noMethod PointDistributionBucket + type NoMethod PointDistributionBucket var s1 struct { LowerBound gensupport.JSONFloat64 `json:"lowerBound"` UpperBound gensupport.JSONFloat64 `json:"upperBound"` - *noMethod + *NoMethod } - s1.noMethod = (*noMethod)(s) + s1.NoMethod = (*NoMethod)(s) if err := json.Unmarshal(data, &s1); err != nil { return err } @@ -694,18 +694,18 @@ } func (s *PointDistributionOverflowBucket) MarshalJSON() ([]byte, error) { - type noMethod PointDistributionOverflowBucket - raw := noMethod(*s) + type NoMethod PointDistributionOverflowBucket + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } func (s *PointDistributionOverflowBucket) UnmarshalJSON(data []byte) error { - type noMethod PointDistributionOverflowBucket + type NoMethod PointDistributionOverflowBucket var s1 struct { LowerBound gensupport.JSONFloat64 `json:"lowerBound"` - *noMethod + *NoMethod } - s1.noMethod = (*noMethod)(s) + s1.NoMethod = (*NoMethod)(s) if err := json.Unmarshal(data, &s1); err != nil { return err } @@ -743,18 +743,18 @@ } func (s *PointDistributionUnderflowBucket) MarshalJSON() ([]byte, error) { - type noMethod PointDistributionUnderflowBucket - raw := noMethod(*s) + type NoMethod PointDistributionUnderflowBucket + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } func (s *PointDistributionUnderflowBucket) UnmarshalJSON(data []byte) error { - type noMethod PointDistributionUnderflowBucket + type NoMethod PointDistributionUnderflowBucket var s1 struct { UpperBound gensupport.JSONFloat64 `json:"upperBound"` - *noMethod + *NoMethod } - s1.noMethod = (*noMethod)(s) + s1.NoMethod = (*NoMethod)(s) if err := json.Unmarshal(data, &s1); err != nil { return err } @@ -792,8 +792,8 @@ } func (s *Timeseries) MarshalJSON() ([]byte, error) { - type noMethod Timeseries - raw := noMethod(*s) + type NoMethod Timeseries + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -828,8 +828,8 @@ } func (s *TimeseriesDescriptor) MarshalJSON() ([]byte, error) { - type noMethod TimeseriesDescriptor - raw := noMethod(*s) + type NoMethod TimeseriesDescriptor + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -858,8 +858,8 @@ } func (s *TimeseriesDescriptorLabel) MarshalJSON() ([]byte, error) { - type noMethod TimeseriesDescriptorLabel - raw := noMethod(*s) + type NoMethod TimeseriesDescriptorLabel + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -891,8 +891,8 @@ } func (s *TimeseriesPoint) MarshalJSON() ([]byte, error) { - type noMethod TimeseriesPoint - raw := noMethod(*s) + type NoMethod TimeseriesPoint + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -925,8 +925,8 @@ } func (s *WriteTimeseriesRequest) MarshalJSON() ([]byte, error) { - type noMethod WriteTimeseriesRequest - raw := noMethod(*s) + type NoMethod WriteTimeseriesRequest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -959,8 +959,8 @@ } func (s *WriteTimeseriesResponse) MarshalJSON() ([]byte, error) { - type noMethod WriteTimeseriesResponse - raw := noMethod(*s) + type NoMethod WriteTimeseriesResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1064,7 +1064,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -1194,7 +1194,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -1373,7 +1373,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -1651,7 +1651,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -1882,7 +1882,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2122,7 +2122,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil
diff --git a/dataproc/v1alpha1/dataproc-gen.go b/dataproc/v1alpha1/dataproc-gen.go index c2d548f..7eec52e 100644 --- a/dataproc/v1alpha1/dataproc-gen.go +++ b/dataproc/v1alpha1/dataproc-gen.go
@@ -164,8 +164,8 @@ } func (s *AcceleratorConfiguration) MarshalJSON() ([]byte, error) { - type noMethod AcceleratorConfiguration - raw := noMethod(*s) + type NoMethod AcceleratorConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -241,8 +241,8 @@ } func (s *Cluster) MarshalJSON() ([]byte, error) { - type noMethod Cluster - raw := noMethod(*s) + type NoMethod Cluster + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -336,8 +336,8 @@ } func (s *ClusterConfiguration) MarshalJSON() ([]byte, error) { - type noMethod ClusterConfiguration - raw := noMethod(*s) + type NoMethod ClusterConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -368,8 +368,8 @@ } func (s *ClusterMetrics) MarshalJSON() ([]byte, error) { - type noMethod ClusterMetrics - raw := noMethod(*s) + type NoMethod ClusterMetrics + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -417,8 +417,8 @@ } func (s *ClusterOperationMetadata) MarshalJSON() ([]byte, error) { - type noMethod ClusterOperationMetadata - raw := noMethod(*s) + type NoMethod ClusterOperationMetadata + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -462,8 +462,8 @@ } func (s *ClusterOperationStatus) MarshalJSON() ([]byte, error) { - type noMethod ClusterOperationStatus - raw := noMethod(*s) + type NoMethod ClusterOperationStatus + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -521,8 +521,8 @@ } func (s *ClusterStatus) MarshalJSON() ([]byte, error) { - type noMethod ClusterStatus - raw := noMethod(*s) + type NoMethod ClusterStatus + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -552,8 +552,8 @@ } func (s *DiagnoseClusterOutputLocation) MarshalJSON() ([]byte, error) { - type noMethod DiagnoseClusterOutputLocation - raw := noMethod(*s) + type NoMethod DiagnoseClusterOutputLocation + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -582,8 +582,8 @@ } func (s *DiagnoseClusterResults) MarshalJSON() ([]byte, error) { - type noMethod DiagnoseClusterResults - raw := noMethod(*s) + type NoMethod DiagnoseClusterResults + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -620,8 +620,8 @@ } func (s *DiskConfiguration) MarshalJSON() ([]byte, error) { - type noMethod DiskConfiguration - raw := noMethod(*s) + type NoMethod DiskConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -715,8 +715,8 @@ } func (s *GceClusterConfiguration) MarshalJSON() ([]byte, error) { - type noMethod GceClusterConfiguration - raw := noMethod(*s) + type NoMethod GceClusterConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -773,8 +773,8 @@ } func (s *GceConfiguration) MarshalJSON() ([]byte, error) { - type noMethod GceConfiguration - raw := noMethod(*s) + type NoMethod GceConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -841,8 +841,8 @@ } func (s *HadoopJob) MarshalJSON() ([]byte, error) { - type noMethod HadoopJob - raw := noMethod(*s) + type NoMethod HadoopJob + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -894,8 +894,8 @@ } func (s *HiveJob) MarshalJSON() ([]byte, error) { - type noMethod HiveJob - raw := noMethod(*s) + type NoMethod HiveJob + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -959,8 +959,8 @@ } func (s *InstanceGroupConfiguration) MarshalJSON() ([]byte, error) { - type noMethod InstanceGroupConfiguration - raw := noMethod(*s) + type NoMethod InstanceGroupConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1071,8 +1071,8 @@ } func (s *Job) MarshalJSON() ([]byte, error) { - type noMethod Job - raw := noMethod(*s) + type NoMethod Job + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1104,8 +1104,8 @@ } func (s *JobPlacement) MarshalJSON() ([]byte, error) { - type noMethod JobPlacement - raw := noMethod(*s) + type NoMethod JobPlacement + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1140,8 +1140,8 @@ } func (s *JobReference) MarshalJSON() ([]byte, error) { - type noMethod JobReference - raw := noMethod(*s) + type NoMethod JobReference + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1175,8 +1175,8 @@ } func (s *JobScheduling) MarshalJSON() ([]byte, error) { - type noMethod JobScheduling - raw := noMethod(*s) + type NoMethod JobScheduling + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1254,8 +1254,8 @@ } func (s *JobStatus) MarshalJSON() ([]byte, error) { - type noMethod JobStatus - raw := noMethod(*s) + type NoMethod JobStatus + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1289,8 +1289,8 @@ } func (s *ListClustersResponse) MarshalJSON() ([]byte, error) { - type noMethod ListClustersResponse - raw := noMethod(*s) + type NoMethod ListClustersResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1341,8 +1341,8 @@ } func (s *ListJobsRequest) MarshalJSON() ([]byte, error) { - type noMethod ListJobsRequest - raw := noMethod(*s) + type NoMethod ListJobsRequest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1379,8 +1379,8 @@ } func (s *ListJobsResponse) MarshalJSON() ([]byte, error) { - type noMethod ListJobsResponse - raw := noMethod(*s) + type NoMethod ListJobsResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1416,8 +1416,8 @@ } func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) { - type noMethod ListOperationsResponse - raw := noMethod(*s) + type NoMethod ListOperationsResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1447,8 +1447,8 @@ } func (s *LoggingConfiguration) MarshalJSON() ([]byte, error) { - type noMethod LoggingConfiguration - raw := noMethod(*s) + type NoMethod LoggingConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1483,8 +1483,8 @@ } func (s *ManagedGroupConfiguration) MarshalJSON() ([]byte, error) { - type noMethod ManagedGroupConfiguration - raw := noMethod(*s) + type NoMethod ManagedGroupConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1520,8 +1520,8 @@ } func (s *NodeInitializationAction) MarshalJSON() ([]byte, error) { - type noMethod NodeInitializationAction - raw := noMethod(*s) + type NoMethod NodeInitializationAction + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1575,8 +1575,8 @@ } func (s *Operation) MarshalJSON() ([]byte, error) { - type noMethod Operation - raw := noMethod(*s) + type NoMethod Operation + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1645,8 +1645,8 @@ } func (s *OperationMetadata) MarshalJSON() ([]byte, error) { - type noMethod OperationMetadata - raw := noMethod(*s) + type NoMethod OperationMetadata + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1688,8 +1688,8 @@ } func (s *OperationStatus) MarshalJSON() ([]byte, error) { - type noMethod OperationStatus - raw := noMethod(*s) + type NoMethod OperationStatus + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1746,8 +1746,8 @@ } func (s *PigJob) MarshalJSON() ([]byte, error) { - type noMethod PigJob - raw := noMethod(*s) + type NoMethod PigJob + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1808,8 +1808,8 @@ } func (s *PySparkJob) MarshalJSON() ([]byte, error) { - type noMethod PySparkJob - raw := noMethod(*s) + type NoMethod PySparkJob + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1850,8 +1850,8 @@ } func (s *QueryList) MarshalJSON() ([]byte, error) { - type noMethod QueryList - raw := noMethod(*s) + type NoMethod QueryList + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1889,8 +1889,8 @@ } func (s *SoftwareConfiguration) MarshalJSON() ([]byte, error) { - type noMethod SoftwareConfiguration - raw := noMethod(*s) + type NoMethod SoftwareConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1953,8 +1953,8 @@ } func (s *SparkJob) MarshalJSON() ([]byte, error) { - type noMethod SparkJob - raw := noMethod(*s) + type NoMethod SparkJob + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2001,8 +2001,8 @@ } func (s *SparkSqlJob) MarshalJSON() ([]byte, error) { - type noMethod SparkSqlJob - raw := noMethod(*s) + type NoMethod SparkSqlJob + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2077,8 +2077,8 @@ } func (s *Status) MarshalJSON() ([]byte, error) { - type noMethod Status - raw := noMethod(*s) + type NoMethod Status + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2105,8 +2105,8 @@ } func (s *SubmitJobRequest) MarshalJSON() ([]byte, error) { - type noMethod SubmitJobRequest - raw := noMethod(*s) + type NoMethod SubmitJobRequest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2160,18 +2160,18 @@ } func (s *YarnApplication) MarshalJSON() ([]byte, error) { - type noMethod YarnApplication - raw := noMethod(*s) + type NoMethod YarnApplication + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } func (s *YarnApplication) UnmarshalJSON(data []byte) error { - type noMethod YarnApplication + type NoMethod YarnApplication var s1 struct { Progress gensupport.JSONFloat64 `json:"progress"` - *noMethod + *NoMethod } - s1.noMethod = (*noMethod)(s) + s1.NoMethod = (*NoMethod)(s) if err := json.Unmarshal(data, &s1); err != nil { return err } @@ -2285,7 +2285,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2415,7 +2415,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2556,7 +2556,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2727,7 +2727,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2899,7 +2899,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3039,7 +3039,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3198,7 +3198,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3376,7 +3376,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3578,7 +3578,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3740,7 +3740,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3888,7 +3888,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4046,7 +4046,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4194,7 +4194,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4374,7 +4374,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4531,7 +4531,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil
diff --git a/dataproc/v1beta1/dataproc-gen.go b/dataproc/v1beta1/dataproc-gen.go index 35988dc..90f6388 100644 --- a/dataproc/v1beta1/dataproc-gen.go +++ b/dataproc/v1beta1/dataproc-gen.go
@@ -152,8 +152,8 @@ } func (s *AcceleratorConfiguration) MarshalJSON() ([]byte, error) { - type noMethod AcceleratorConfiguration - raw := noMethod(*s) + type NoMethod AcceleratorConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -226,8 +226,8 @@ } func (s *Cluster) MarshalJSON() ([]byte, error) { - type noMethod Cluster - raw := noMethod(*s) + type NoMethod Cluster + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -295,8 +295,8 @@ } func (s *ClusterConfiguration) MarshalJSON() ([]byte, error) { - type noMethod ClusterConfiguration - raw := noMethod(*s) + type NoMethod ClusterConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -327,8 +327,8 @@ } func (s *ClusterMetrics) MarshalJSON() ([]byte, error) { - type noMethod ClusterMetrics - raw := noMethod(*s) + type NoMethod ClusterMetrics + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -376,8 +376,8 @@ } func (s *ClusterOperationMetadata) MarshalJSON() ([]byte, error) { - type noMethod ClusterOperationMetadata - raw := noMethod(*s) + type NoMethod ClusterOperationMetadata + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -421,8 +421,8 @@ } func (s *ClusterOperationStatus) MarshalJSON() ([]byte, error) { - type noMethod ClusterOperationStatus - raw := noMethod(*s) + type NoMethod ClusterOperationStatus + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -480,8 +480,8 @@ } func (s *ClusterStatus) MarshalJSON() ([]byte, error) { - type noMethod ClusterStatus - raw := noMethod(*s) + type NoMethod ClusterStatus + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -510,8 +510,8 @@ } func (s *DiagnoseClusterOutputLocation) MarshalJSON() ([]byte, error) { - type noMethod DiagnoseClusterOutputLocation - raw := noMethod(*s) + type NoMethod DiagnoseClusterOutputLocation + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -545,8 +545,8 @@ } func (s *DiagnoseClusterResults) MarshalJSON() ([]byte, error) { - type noMethod DiagnoseClusterResults - raw := noMethod(*s) + type NoMethod DiagnoseClusterResults + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -583,8 +583,8 @@ } func (s *DiskConfiguration) MarshalJSON() ([]byte, error) { - type noMethod DiskConfiguration - raw := noMethod(*s) + type NoMethod DiskConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -684,8 +684,8 @@ } func (s *GceClusterConfiguration) MarshalJSON() ([]byte, error) { - type noMethod GceClusterConfiguration - raw := noMethod(*s) + type NoMethod GceClusterConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -752,8 +752,8 @@ } func (s *HadoopJob) MarshalJSON() ([]byte, error) { - type noMethod HadoopJob - raw := noMethod(*s) + type NoMethod HadoopJob + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -805,8 +805,8 @@ } func (s *HiveJob) MarshalJSON() ([]byte, error) { - type noMethod HiveJob - raw := noMethod(*s) + type NoMethod HiveJob + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -867,8 +867,8 @@ } func (s *InstanceGroupConfiguration) MarshalJSON() ([]byte, error) { - type noMethod InstanceGroupConfiguration - raw := noMethod(*s) + type NoMethod InstanceGroupConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -974,8 +974,8 @@ } func (s *Job) MarshalJSON() ([]byte, error) { - type noMethod Job - raw := noMethod(*s) + type NoMethod Job + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1007,8 +1007,8 @@ } func (s *JobPlacement) MarshalJSON() ([]byte, error) { - type noMethod JobPlacement - raw := noMethod(*s) + type NoMethod JobPlacement + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1044,8 +1044,8 @@ } func (s *JobReference) MarshalJSON() ([]byte, error) { - type noMethod JobReference - raw := noMethod(*s) + type NoMethod JobReference + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1079,8 +1079,8 @@ } func (s *JobScheduling) MarshalJSON() ([]byte, error) { - type noMethod JobScheduling - raw := noMethod(*s) + type NoMethod JobScheduling + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1149,8 +1149,8 @@ } func (s *JobStatus) MarshalJSON() ([]byte, error) { - type noMethod JobStatus - raw := noMethod(*s) + type NoMethod JobStatus + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1184,8 +1184,8 @@ } func (s *ListClustersResponse) MarshalJSON() ([]byte, error) { - type noMethod ListClustersResponse - raw := noMethod(*s) + type NoMethod ListClustersResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1222,8 +1222,8 @@ } func (s *ListJobsResponse) MarshalJSON() ([]byte, error) { - type noMethod ListJobsResponse - raw := noMethod(*s) + type NoMethod ListJobsResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1259,8 +1259,8 @@ } func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) { - type noMethod ListOperationsResponse - raw := noMethod(*s) + type NoMethod ListOperationsResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1290,8 +1290,8 @@ } func (s *LoggingConfiguration) MarshalJSON() ([]byte, error) { - type noMethod LoggingConfiguration - raw := noMethod(*s) + type NoMethod LoggingConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1326,8 +1326,8 @@ } func (s *ManagedGroupConfiguration) MarshalJSON() ([]byte, error) { - type noMethod ManagedGroupConfiguration - raw := noMethod(*s) + type NoMethod ManagedGroupConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1363,8 +1363,8 @@ } func (s *NodeInitializationAction) MarshalJSON() ([]byte, error) { - type noMethod NodeInitializationAction - raw := noMethod(*s) + type NoMethod NodeInitializationAction + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1424,8 +1424,8 @@ } func (s *Operation) MarshalJSON() ([]byte, error) { - type noMethod Operation - raw := noMethod(*s) + type NoMethod Operation + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1470,8 +1470,8 @@ } func (s *OperationMetadata) MarshalJSON() ([]byte, error) { - type noMethod OperationMetadata - raw := noMethod(*s) + type NoMethod OperationMetadata + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1513,8 +1513,8 @@ } func (s *OperationStatus) MarshalJSON() ([]byte, error) { - type noMethod OperationStatus - raw := noMethod(*s) + type NoMethod OperationStatus + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1571,8 +1571,8 @@ } func (s *PigJob) MarshalJSON() ([]byte, error) { - type noMethod PigJob - raw := noMethod(*s) + type NoMethod PigJob + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1633,8 +1633,8 @@ } func (s *PySparkJob) MarshalJSON() ([]byte, error) { - type noMethod PySparkJob - raw := noMethod(*s) + type NoMethod PySparkJob + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1675,8 +1675,8 @@ } func (s *QueryList) MarshalJSON() ([]byte, error) { - type noMethod QueryList - raw := noMethod(*s) + type NoMethod QueryList + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1714,8 +1714,8 @@ } func (s *SoftwareConfiguration) MarshalJSON() ([]byte, error) { - type noMethod SoftwareConfiguration - raw := noMethod(*s) + type NoMethod SoftwareConfiguration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1778,8 +1778,8 @@ } func (s *SparkJob) MarshalJSON() ([]byte, error) { - type noMethod SparkJob - raw := noMethod(*s) + type NoMethod SparkJob + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1826,8 +1826,8 @@ } func (s *SparkSqlJob) MarshalJSON() ([]byte, error) { - type noMethod SparkSqlJob - raw := noMethod(*s) + type NoMethod SparkSqlJob + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1902,8 +1902,8 @@ } func (s *Status) MarshalJSON() ([]byte, error) { - type noMethod Status - raw := noMethod(*s) + type NoMethod Status + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1930,8 +1930,8 @@ } func (s *SubmitJobRequest) MarshalJSON() ([]byte, error) { - type noMethod SubmitJobRequest - raw := noMethod(*s) + type NoMethod SubmitJobRequest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1985,18 +1985,18 @@ } func (s *YarnApplication) MarshalJSON() ([]byte, error) { - type noMethod YarnApplication - raw := noMethod(*s) + type NoMethod YarnApplication + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } func (s *YarnApplication) UnmarshalJSON(data []byte) error { - type noMethod YarnApplication + type NoMethod YarnApplication var s1 struct { Progress gensupport.JSONFloat64 `json:"progress"` - *noMethod + *NoMethod } - s1.noMethod = (*noMethod)(s) + s1.NoMethod = (*NoMethod)(s) if err := json.Unmarshal(data, &s1); err != nil { return err } @@ -2109,7 +2109,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2240,7 +2240,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2381,7 +2381,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2545,7 +2545,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2714,7 +2714,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2844,7 +2844,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2987,7 +2987,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3138,7 +3138,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3306,7 +3306,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3510,7 +3510,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3661,7 +3661,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3799,7 +3799,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3947,7 +3947,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4136,7 +4136,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4334,7 +4334,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4481,7 +4481,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil
diff --git a/playmoviespartner/v1/playmoviespartner-gen.go b/playmoviespartner/v1/playmoviespartner-gen.go index 96b85a3..a00b941 100644 --- a/playmoviespartner/v1/playmoviespartner-gen.go +++ b/playmoviespartner/v1/playmoviespartner-gen.go
@@ -389,8 +389,8 @@ } func (s *Avail) MarshalJSON() ([]byte, error) { - type noMethod Avail - raw := noMethod(*s) + type NoMethod Avail + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -428,8 +428,8 @@ } func (s *ListAvailsResponse) MarshalJSON() ([]byte, error) { - type noMethod ListAvailsResponse - raw := noMethod(*s) + type NoMethod ListAvailsResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -467,8 +467,8 @@ } func (s *ListOrdersResponse) MarshalJSON() ([]byte, error) { - type noMethod ListOrdersResponse - raw := noMethod(*s) + type NoMethod ListOrdersResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -506,8 +506,8 @@ } func (s *ListStoreInfosResponse) MarshalJSON() ([]byte, error) { - type noMethod ListStoreInfosResponse - raw := noMethod(*s) + type NoMethod ListStoreInfosResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -698,18 +698,18 @@ } func (s *Order) MarshalJSON() ([]byte, error) { - type noMethod Order - raw := noMethod(*s) + type NoMethod Order + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } func (s *Order) UnmarshalJSON(data []byte) error { - type noMethod Order + type NoMethod Order var s1 struct { Priority gensupport.JSONFloat64 `json:"priority"` - *noMethod + *NoMethod } - s1.noMethod = (*noMethod)(s) + s1.NoMethod = (*NoMethod)(s) if err := json.Unmarshal(data, &s1); err != nil { return err } @@ -872,8 +872,8 @@ } func (s *StoreInfo) MarshalJSON() ([]byte, error) { - type noMethod StoreInfo - raw := noMethod(*s) + type NoMethod StoreInfo + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -987,7 +987,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -1206,7 +1206,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -1422,7 +1422,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -1635,7 +1635,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -1926,7 +1926,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -2151,7 +2151,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil
diff --git a/qpxexpress/v1/qpxexpress-gen.go b/qpxexpress/v1/qpxexpress-gen.go index 84605ed..15cc2b9 100644 --- a/qpxexpress/v1/qpxexpress-gen.go +++ b/qpxexpress/v1/qpxexpress-gen.go
@@ -109,8 +109,8 @@ } func (s *AircraftData) MarshalJSON() ([]byte, error) { - type noMethod AircraftData - raw := noMethod(*s) + type NoMethod AircraftData + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -150,8 +150,8 @@ } func (s *AirportData) MarshalJSON() ([]byte, error) { - type noMethod AirportData - raw := noMethod(*s) + type NoMethod AirportData + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -193,8 +193,8 @@ } func (s *BagDescriptor) MarshalJSON() ([]byte, error) { - type noMethod BagDescriptor - raw := noMethod(*s) + type NoMethod BagDescriptor + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -231,8 +231,8 @@ } func (s *CarrierData) MarshalJSON() ([]byte, error) { - type noMethod CarrierData - raw := noMethod(*s) + type NoMethod CarrierData + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -272,8 +272,8 @@ } func (s *CityData) MarshalJSON() ([]byte, error) { - type noMethod CityData - raw := noMethod(*s) + type NoMethod CityData + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -322,8 +322,8 @@ } func (s *Data) MarshalJSON() ([]byte, error) { - type noMethod Data - raw := noMethod(*s) + type NoMethod Data + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -375,8 +375,8 @@ } func (s *FareInfo) MarshalJSON() ([]byte, error) { - type noMethod FareInfo - raw := noMethod(*s) + type NoMethod FareInfo + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -412,8 +412,8 @@ } func (s *FlightInfo) MarshalJSON() ([]byte, error) { - type noMethod FlightInfo - raw := noMethod(*s) + type NoMethod FlightInfo + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -460,8 +460,8 @@ } func (s *FreeBaggageAllowance) MarshalJSON() ([]byte, error) { - type noMethod FreeBaggageAllowance - raw := noMethod(*s) + type NoMethod FreeBaggageAllowance + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -557,8 +557,8 @@ } func (s *LegInfo) MarshalJSON() ([]byte, error) { - type noMethod LegInfo - raw := noMethod(*s) + type NoMethod LegInfo + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -606,8 +606,8 @@ } func (s *PassengerCounts) MarshalJSON() ([]byte, error) { - type noMethod PassengerCounts - raw := noMethod(*s) + type NoMethod PassengerCounts + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -686,8 +686,8 @@ } func (s *PricingInfo) MarshalJSON() ([]byte, error) { - type noMethod PricingInfo - raw := noMethod(*s) + type NoMethod PricingInfo + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -764,8 +764,8 @@ } func (s *SegmentInfo) MarshalJSON() ([]byte, error) { - type noMethod SegmentInfo - raw := noMethod(*s) + type NoMethod SegmentInfo + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -805,8 +805,8 @@ } func (s *SegmentPricing) MarshalJSON() ([]byte, error) { - type noMethod SegmentPricing - raw := noMethod(*s) + type NoMethod SegmentPricing + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -851,8 +851,8 @@ } func (s *SliceInfo) MarshalJSON() ([]byte, error) { - type noMethod SliceInfo - raw := noMethod(*s) + type NoMethod SliceInfo + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -919,8 +919,8 @@ } func (s *SliceInput) MarshalJSON() ([]byte, error) { - type noMethod SliceInput - raw := noMethod(*s) + type NoMethod SliceInput + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -954,8 +954,8 @@ } func (s *TaxData) MarshalJSON() ([]byte, error) { - type noMethod TaxData - raw := noMethod(*s) + type NoMethod TaxData + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1000,8 +1000,8 @@ } func (s *TaxInfo) MarshalJSON() ([]byte, error) { - type noMethod TaxInfo - raw := noMethod(*s) + type NoMethod TaxInfo + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1036,8 +1036,8 @@ } func (s *TimeOfDayRange) MarshalJSON() ([]byte, error) { - type noMethod TimeOfDayRange - raw := noMethod(*s) + type NoMethod TimeOfDayRange + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1078,8 +1078,8 @@ } func (s *TripOption) MarshalJSON() ([]byte, error) { - type noMethod TripOption - raw := noMethod(*s) + type NoMethod TripOption + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1135,8 +1135,8 @@ } func (s *TripOptionsRequest) MarshalJSON() ([]byte, error) { - type noMethod TripOptionsRequest - raw := noMethod(*s) + type NoMethod TripOptionsRequest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1175,8 +1175,8 @@ } func (s *TripOptionsResponse) MarshalJSON() ([]byte, error) { - type noMethod TripOptionsResponse - raw := noMethod(*s) + type NoMethod TripOptionsResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1204,8 +1204,8 @@ } func (s *TripsSearchRequest) MarshalJSON() ([]byte, error) { - type noMethod TripsSearchRequest - raw := noMethod(*s) + type NoMethod TripsSearchRequest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1240,8 +1240,8 @@ } func (s *TripsSearchResponse) MarshalJSON() ([]byte, error) { - type noMethod TripsSearchResponse - raw := noMethod(*s) + type NoMethod TripsSearchResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1340,7 +1340,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil
diff --git a/toolresults/v1beta3firstparty/toolresults-gen.go b/toolresults/v1beta3firstparty/toolresults-gen.go index ae8d2e5..6f4e532 100644 --- a/toolresults/v1beta3firstparty/toolresults-gen.go +++ b/toolresults/v1beta3firstparty/toolresults-gen.go
@@ -206,8 +206,8 @@ } func (s *AndroidAppInfo) MarshalJSON() ([]byte, error) { - type noMethod AndroidAppInfo - raw := noMethod(*s) + type NoMethod AndroidAppInfo + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -257,8 +257,8 @@ } func (s *AndroidInstrumentationTest) MarshalJSON() ([]byte, error) { - type noMethod AndroidInstrumentationTest - raw := noMethod(*s) + type NoMethod AndroidInstrumentationTest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -303,8 +303,8 @@ } func (s *AndroidRoboTest) MarshalJSON() ([]byte, error) { - type noMethod AndroidRoboTest - raw := noMethod(*s) + type NoMethod AndroidRoboTest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -342,8 +342,8 @@ } func (s *AndroidTest) MarshalJSON() ([]byte, error) { - type noMethod AndroidTest - raw := noMethod(*s) + type NoMethod AndroidTest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -446,8 +446,8 @@ } func (s *Any) MarshalJSON() ([]byte, error) { - type noMethod Any - raw := noMethod(*s) + type NoMethod Any + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -482,8 +482,8 @@ } func (s *AppStartTime) MarshalJSON() ([]byte, error) { - type noMethod AppStartTime - raw := noMethod(*s) + type NoMethod AppStartTime + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -542,8 +542,8 @@ } func (s *BasicPerfSampleSeries) MarshalJSON() ([]byte, error) { - type noMethod BasicPerfSampleSeries - raw := noMethod(*s) + type NoMethod BasicPerfSampleSeries + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -573,8 +573,8 @@ } func (s *BatchCreatePerfSamplesRequest) MarshalJSON() ([]byte, error) { - type noMethod BatchCreatePerfSamplesRequest - raw := noMethod(*s) + type NoMethod BatchCreatePerfSamplesRequest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -603,8 +603,8 @@ } func (s *BatchCreatePerfSamplesResponse) MarshalJSON() ([]byte, error) { - type noMethod BatchCreatePerfSamplesResponse - raw := noMethod(*s) + type NoMethod BatchCreatePerfSamplesResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -637,18 +637,18 @@ } func (s *CPUInfo) MarshalJSON() ([]byte, error) { - type noMethod CPUInfo - raw := noMethod(*s) + type NoMethod CPUInfo + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } func (s *CPUInfo) UnmarshalJSON(data []byte) error { - type noMethod CPUInfo + type NoMethod CPUInfo var s1 struct { CpuSpeedInGhz gensupport.JSONFloat64 `json:"cpuSpeedInGhz"` - *noMethod + *NoMethod } - s1.noMethod = (*noMethod)(s) + s1.NoMethod = (*NoMethod)(s) if err := json.Unmarshal(data, &s1); err != nil { return err } @@ -739,8 +739,8 @@ } func (s *Duration) MarshalJSON() ([]byte, error) { - type noMethod Duration - raw := noMethod(*s) + type NoMethod Duration + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -846,8 +846,8 @@ } func (s *Execution) MarshalJSON() ([]byte, error) { - type noMethod Execution - raw := noMethod(*s) + type NoMethod Execution + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -890,8 +890,8 @@ } func (s *FailureDetail) MarshalJSON() ([]byte, error) { - type noMethod FailureDetail - raw := noMethod(*s) + type NoMethod FailureDetail + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -928,8 +928,8 @@ } func (s *FileReference) MarshalJSON() ([]byte, error) { - type noMethod FileReference - raw := noMethod(*s) + type NoMethod FileReference + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -985,8 +985,8 @@ } func (s *History) MarshalJSON() ([]byte, error) { - type noMethod History - raw := noMethod(*s) + type NoMethod History + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1029,8 +1029,8 @@ } func (s *Image) MarshalJSON() ([]byte, error) { - type noMethod Image - raw := noMethod(*s) + type NoMethod Image + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1067,8 +1067,8 @@ } func (s *InconclusiveDetail) MarshalJSON() ([]byte, error) { - type noMethod InconclusiveDetail - raw := noMethod(*s) + type NoMethod InconclusiveDetail + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1106,8 +1106,8 @@ } func (s *ListExecutionsResponse) MarshalJSON() ([]byte, error) { - type noMethod ListExecutionsResponse - raw := noMethod(*s) + type NoMethod ListExecutionsResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1149,8 +1149,8 @@ } func (s *ListHistoriesResponse) MarshalJSON() ([]byte, error) { - type noMethod ListHistoriesResponse - raw := noMethod(*s) + type NoMethod ListHistoriesResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1181,8 +1181,8 @@ } func (s *ListPerfSampleSeriesResponse) MarshalJSON() ([]byte, error) { - type noMethod ListPerfSampleSeriesResponse - raw := noMethod(*s) + type NoMethod ListPerfSampleSeriesResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1217,8 +1217,8 @@ } func (s *ListPerfSamplesResponse) MarshalJSON() ([]byte, error) { - type noMethod ListPerfSamplesResponse - raw := noMethod(*s) + type NoMethod ListPerfSamplesResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1248,8 +1248,8 @@ } func (s *ListScreenshotClustersResponse) MarshalJSON() ([]byte, error) { - type noMethod ListScreenshotClustersResponse - raw := noMethod(*s) + type NoMethod ListScreenshotClustersResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1296,8 +1296,8 @@ } func (s *ListStepThumbnailsResponse) MarshalJSON() ([]byte, error) { - type noMethod ListStepThumbnailsResponse - raw := noMethod(*s) + type NoMethod ListStepThumbnailsResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1335,8 +1335,8 @@ } func (s *ListStepsResponse) MarshalJSON() ([]byte, error) { - type noMethod ListStepsResponse - raw := noMethod(*s) + type NoMethod ListStepsResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1367,8 +1367,8 @@ } func (s *MemoryInfo) MarshalJSON() ([]byte, error) { - type noMethod MemoryInfo - raw := noMethod(*s) + type NoMethod MemoryInfo + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1438,8 +1438,8 @@ } func (s *Outcome) MarshalJSON() ([]byte, error) { - type noMethod Outcome - raw := noMethod(*s) + type NoMethod Outcome + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1469,8 +1469,8 @@ } func (s *PerfEnvironment) MarshalJSON() ([]byte, error) { - type noMethod PerfEnvironment - raw := noMethod(*s) + type NoMethod PerfEnvironment + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1527,8 +1527,8 @@ } func (s *PerfMetricsSummary) MarshalJSON() ([]byte, error) { - type noMethod PerfMetricsSummary - raw := noMethod(*s) + type NoMethod PerfMetricsSummary + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1559,18 +1559,18 @@ } func (s *PerfSample) MarshalJSON() ([]byte, error) { - type noMethod PerfSample - raw := noMethod(*s) + type NoMethod PerfSample + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } func (s *PerfSample) UnmarshalJSON(data []byte) error { - type noMethod PerfSample + type NoMethod PerfSample var s1 struct { Value gensupport.JSONFloat64 `json:"value"` - *noMethod + *NoMethod } - s1.noMethod = (*noMethod)(s) + s1.NoMethod = (*NoMethod)(s) if err := json.Unmarshal(data, &s1); err != nil { return err } @@ -1623,8 +1623,8 @@ } func (s *PerfSampleSeries) MarshalJSON() ([]byte, error) { - type noMethod PerfSampleSeries - raw := noMethod(*s) + type NoMethod PerfSampleSeries + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1667,8 +1667,8 @@ } func (s *ProjectSettings) MarshalJSON() ([]byte, error) { - type noMethod ProjectSettings - raw := noMethod(*s) + type NoMethod ProjectSettings + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1701,8 +1701,8 @@ } func (s *PublishXunitXmlFilesRequest) MarshalJSON() ([]byte, error) { - type noMethod PublishXunitXmlFilesRequest - raw := noMethod(*s) + type NoMethod PublishXunitXmlFilesRequest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1740,8 +1740,8 @@ } func (s *Screen) MarshalJSON() ([]byte, error) { - type noMethod Screen - raw := noMethod(*s) + type NoMethod Screen + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1785,8 +1785,8 @@ } func (s *ScreenshotCluster) MarshalJSON() ([]byte, error) { - type noMethod ScreenshotCluster - raw := noMethod(*s) + type NoMethod ScreenshotCluster + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1823,8 +1823,8 @@ } func (s *SkippedDetail) MarshalJSON() ([]byte, error) { - type noMethod SkippedDetail - raw := noMethod(*s) + type NoMethod SkippedDetail + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1851,8 +1851,8 @@ } func (s *Specification) MarshalJSON() ([]byte, error) { - type noMethod Specification - raw := noMethod(*s) + type NoMethod Specification + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1887,8 +1887,8 @@ } func (s *StackTrace) MarshalJSON() ([]byte, error) { - type noMethod StackTrace - raw := noMethod(*s) + type NoMethod StackTrace + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1981,8 +1981,8 @@ } func (s *Status) MarshalJSON() ([]byte, error) { - type noMethod Status - raw := noMethod(*s) + type NoMethod Status + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2194,8 +2194,8 @@ } func (s *Step) MarshalJSON() ([]byte, error) { - type noMethod Step - raw := noMethod(*s) + type NoMethod Step + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2222,8 +2222,8 @@ } func (s *StepDimensionValueEntry) MarshalJSON() ([]byte, error) { - type noMethod StepDimensionValueEntry - raw := noMethod(*s) + type NoMethod StepDimensionValueEntry + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2250,8 +2250,8 @@ } func (s *StepLabelsEntry) MarshalJSON() ([]byte, error) { - type noMethod StepLabelsEntry - raw := noMethod(*s) + type NoMethod StepLabelsEntry + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2278,8 +2278,8 @@ } func (s *SuccessDetail) MarshalJSON() ([]byte, error) { - type noMethod SuccessDetail - raw := noMethod(*s) + type NoMethod SuccessDetail + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2319,8 +2319,8 @@ } func (s *TestCaseReference) MarshalJSON() ([]byte, error) { - type noMethod TestCaseReference - raw := noMethod(*s) + type NoMethod TestCaseReference + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2387,8 +2387,8 @@ } func (s *TestExecutionStep) MarshalJSON() ([]byte, error) { - type noMethod TestExecutionStep - raw := noMethod(*s) + type NoMethod TestExecutionStep + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2443,8 +2443,8 @@ } func (s *TestIssue) MarshalJSON() ([]byte, error) { - type noMethod TestIssue - raw := noMethod(*s) + type NoMethod TestIssue + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2512,8 +2512,8 @@ } func (s *TestSuiteOverview) MarshalJSON() ([]byte, error) { - type noMethod TestSuiteOverview - raw := noMethod(*s) + type NoMethod TestSuiteOverview + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2544,8 +2544,8 @@ } func (s *TestTiming) MarshalJSON() ([]byte, error) { - type noMethod TestTiming - raw := noMethod(*s) + type NoMethod TestTiming + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2593,8 +2593,8 @@ } func (s *Thumbnail) MarshalJSON() ([]byte, error) { - type noMethod Thumbnail - raw := noMethod(*s) + type NoMethod Thumbnail + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2708,8 +2708,8 @@ } func (s *Timestamp) MarshalJSON() ([]byte, error) { - type noMethod Timestamp - raw := noMethod(*s) + type NoMethod Timestamp + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2776,8 +2776,8 @@ } func (s *ToolExecution) MarshalJSON() ([]byte, error) { - type noMethod ToolExecution - raw := noMethod(*s) + type NoMethod ToolExecution + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2809,8 +2809,8 @@ } func (s *ToolExecutionStep) MarshalJSON() ([]byte, error) { - type noMethod ToolExecutionStep - raw := noMethod(*s) + type NoMethod ToolExecutionStep + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2840,8 +2840,8 @@ } func (s *ToolExitCode) MarshalJSON() ([]byte, error) { - type noMethod ToolExitCode - raw := noMethod(*s) + type NoMethod ToolExitCode + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2882,8 +2882,8 @@ } func (s *ToolOutputReference) MarshalJSON() ([]byte, error) { - type noMethod ToolOutputReference - raw := noMethod(*s) + type NoMethod ToolOutputReference + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2999,7 +2999,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3146,7 +3146,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3291,7 +3291,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3442,7 +3442,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3618,7 +3618,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3803,7 +3803,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -3964,7 +3964,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4142,7 +4142,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4332,7 +4332,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4497,7 +4497,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4666,7 +4666,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -4832,7 +4832,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -5003,7 +5003,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -5170,7 +5170,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -5360,7 +5360,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -5562,7 +5562,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -5735,7 +5735,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -5899,7 +5899,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -6063,7 +6063,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -6236,7 +6236,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -6428,7 +6428,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -6617,7 +6617,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -6819,7 +6819,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -7045,7 +7045,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil
diff --git a/tracing/v2/tracing-gen.go b/tracing/v2/tracing-gen.go index 8312508..d81231d 100644 --- a/tracing/v2/tracing-gen.go +++ b/tracing/v2/tracing-gen.go
@@ -146,8 +146,8 @@ } func (s *Annotation) MarshalJSON() ([]byte, error) { - type noMethod Annotation - raw := noMethod(*s) + type NoMethod Annotation + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -181,8 +181,8 @@ } func (s *AttributeValue) MarshalJSON() ([]byte, error) { - type noMethod AttributeValue - raw := noMethod(*s) + type NoMethod AttributeValue + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -230,8 +230,8 @@ } func (s *Attributes) MarshalJSON() ([]byte, error) { - type noMethod Attributes - raw := noMethod(*s) + type NoMethod Attributes + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -259,8 +259,8 @@ } func (s *BatchWriteSpansRequest) MarshalJSON() ([]byte, error) { - type noMethod BatchWriteSpansRequest - raw := noMethod(*s) + type NoMethod BatchWriteSpansRequest + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -333,8 +333,8 @@ } func (s *Link) MarshalJSON() ([]byte, error) { - type noMethod Link - raw := noMethod(*s) + type NoMethod Link + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -369,8 +369,8 @@ } func (s *Links) MarshalJSON() ([]byte, error) { - type noMethod Links - raw := noMethod(*s) + type NoMethod Links + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -408,8 +408,8 @@ } func (s *ListSpansResponse) MarshalJSON() ([]byte, error) { - type noMethod ListSpansResponse - raw := noMethod(*s) + type NoMethod ListSpansResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -447,8 +447,8 @@ } func (s *ListTracesResponse) MarshalJSON() ([]byte, error) { - type noMethod ListTracesResponse - raw := noMethod(*s) + type NoMethod ListTracesResponse + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -481,8 +481,8 @@ } func (s *Module) MarshalJSON() ([]byte, error) { - type noMethod Module - raw := noMethod(*s) + type NoMethod Module + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -533,8 +533,8 @@ } func (s *NetworkEvent) MarshalJSON() ([]byte, error) { - type noMethod NetworkEvent - raw := noMethod(*s) + type NoMethod NetworkEvent + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -649,8 +649,8 @@ } func (s *Span) MarshalJSON() ([]byte, error) { - type noMethod Span - raw := noMethod(*s) + type NoMethod Span + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -705,8 +705,8 @@ } func (s *StackFrame) MarshalJSON() ([]byte, error) { - type noMethod StackFrame - raw := noMethod(*s) + type NoMethod StackFrame + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -740,8 +740,8 @@ } func (s *StackFrames) MarshalJSON() ([]byte, error) { - type noMethod StackFrames - raw := noMethod(*s) + type NoMethod StackFrames + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -782,8 +782,8 @@ } func (s *StackTrace) MarshalJSON() ([]byte, error) { - type noMethod StackTrace - raw := noMethod(*s) + type NoMethod StackTrace + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -901,8 +901,8 @@ } func (s *Status) MarshalJSON() ([]byte, error) { - type noMethod Status - raw := noMethod(*s) + type NoMethod Status + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -936,8 +936,8 @@ } func (s *TimeEvent) MarshalJSON() ([]byte, error) { - type noMethod TimeEvent - raw := noMethod(*s) + type NoMethod TimeEvent + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -980,8 +980,8 @@ } func (s *TimeEvents) MarshalJSON() ([]byte, error) { - type noMethod TimeEvents - raw := noMethod(*s) + type NoMethod TimeEvents + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1017,8 +1017,8 @@ } func (s *Trace) MarshalJSON() ([]byte, error) { - type noMethod Trace - raw := noMethod(*s) + type NoMethod Trace + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1054,8 +1054,8 @@ } func (s *TruncatableString) MarshalJSON() ([]byte, error) { - type noMethod TruncatableString - raw := noMethod(*s) + type NoMethod TruncatableString + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1167,7 +1167,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -1377,7 +1377,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -1579,7 +1579,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil @@ -1738,7 +1738,7 @@ }, } target := &ret - if err := json.NewDecoder(res.Body).Decode(target); err != nil { + if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } return ret, nil