blob: a181fdb57406e010eac6fb5eef7feebf45239de6 [file] [log] [blame] [edit]
// Copyright 2020 Google LLC.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated file. DO NOT EDIT.
// Package androidbuildinternal provides access to the .
//
// # Creating a client
//
// Usage example:
//
// import "go.skia.org/infra/go/androidbuildinternal/v2beta1"
// ...
// ctx := context.Background()
// androidbuildinternalService, err := androidbuildinternal.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
// androidbuildinternalService, err := androidbuildinternal.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
// config := &oauth2.Config{...}
// // ...
// token, err := config.Exchange(ctx, ...)
// androidbuildinternalService, err := androidbuildinternal.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package androidbuildinternal // import "go.skia.org/infra/go/androidbuildinternal/v2beta1"
import (
"bytes"
"context"
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
"net/url"
"strconv"
"strings"
gensupport "github.com/skia-dev/google-api-go-client/gensupport"
googleapi "google.golang.org/api/googleapi"
option "google.golang.org/api/option"
htransport "google.golang.org/api/transport/http"
)
// Always reference these packages, just in case the auto-generated code
// below doesn't.
var _ = bytes.NewBuffer
var _ = strconv.Itoa
var _ = fmt.Sprintf
var _ = json.NewDecoder
var _ = io.Copy
var _ = url.Parse
var _ = gensupport.MarshalJSON
var _ = googleapi.Version
var _ = errors.New
var _ = strings.Replace
var _ = context.Canceled
const apiId = "androidbuildinternal:v2beta1"
const apiName = "androidbuildinternal"
const apiVersion = "v2beta1"
const basePath = "https://www.googleapis.com/android/internal/build/v2beta1/"
// OAuth2 scopes used by this API.
const (
// View and manage Internal Android Build status and results
AndroidbuildInternalScope = "https://www.googleapis.com/auth/androidbuild.internal"
)
// NewService creates a new Service.
func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {
scopesOption := option.WithScopes(
"https://www.googleapis.com/auth/androidbuild.internal",
)
// NOTE: prepend, so we don't override user-specified scopes.
opts = append([]option.ClientOption{scopesOption}, opts...)
client, endpoint, err := htransport.NewClient(ctx, opts...)
if err != nil {
return nil, err
}
s, err := New(client)
if err != nil {
return nil, err
}
if endpoint != "" {
s.BasePath = endpoint
}
return s, nil
}
// New creates a new Service. It uses the provided http.Client for requests.
//
// Deprecated: please use NewService instead.
// To provide a custom HTTP client, use option.WithHTTPClient.
// If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func New(client *http.Client) (*Service, error) {
if client == nil {
return nil, errors.New("client is nil")
}
s := &Service{client: client, BasePath: basePath}
s.Analyzerfinding = NewAnalyzerfindingService(s)
s.Analyzerresult = NewAnalyzerresultService(s)
s.Branch = NewBranchService(s)
s.Bughash = NewBughashService(s)
s.Build = NewBuildService(s)
s.Buildartifact = NewBuildartifactService(s)
s.Buildattempt = NewBuildattemptService(s)
s.Buildid = NewBuildidService(s)
s.Buildrequest = NewBuildrequestService(s)
s.Change = NewChangeService(s)
s.Changesetspec = NewChangesetspecService(s)
s.Deviceblob = NewDeviceblobService(s)
s.Externaldisk = NewExternaldiskService(s)
s.Imagerequest = NewImagerequestService(s)
s.Label = NewLabelService(s)
s.Machine = NewMachineService(s)
s.Message = NewMessageService(s)
s.Metric = NewMetricService(s)
s.Prebuiltfile = NewPrebuiltfileService(s)
s.Schedulingpool = NewSchedulingpoolService(s)
s.Software = NewSoftwareService(s)
s.Target = NewTargetService(s)
s.Testartifact = NewTestartifactService(s)
s.Testresult = NewTestresultService(s)
s.Worknode = NewWorknodeService(s)
s.Workplan = NewWorkplanService(s)
return s, nil
}
type Service struct {
client *http.Client
BasePath string // API endpoint base URL
UserAgent string // optional additional User-Agent fragment
Analyzerfinding *AnalyzerfindingService
Analyzerresult *AnalyzerresultService
Branch *BranchService
Bughash *BughashService
Build *BuildService
Buildartifact *BuildartifactService
Buildattempt *BuildattemptService
Buildid *BuildidService
Buildrequest *BuildrequestService
Change *ChangeService
Changesetspec *ChangesetspecService
Deviceblob *DeviceblobService
Externaldisk *ExternaldiskService
Imagerequest *ImagerequestService
Label *LabelService
Machine *MachineService
Message *MessageService
Metric *MetricService
Prebuiltfile *PrebuiltfileService
Schedulingpool *SchedulingpoolService
Software *SoftwareService
Target *TargetService
Testartifact *TestartifactService
Testresult *TestresultService
Worknode *WorknodeService
Workplan *WorkplanService
}
func (s *Service) userAgent() string {
if s.UserAgent == "" {
return googleapi.UserAgent
}
return googleapi.UserAgent + " " + s.UserAgent
}
func NewAnalyzerfindingService(s *Service) *AnalyzerfindingService {
rs := &AnalyzerfindingService{s: s}
return rs
}
type AnalyzerfindingService struct {
s *Service
}
func NewAnalyzerresultService(s *Service) *AnalyzerresultService {
rs := &AnalyzerresultService{s: s}
return rs
}
type AnalyzerresultService struct {
s *Service
}
func NewBranchService(s *Service) *BranchService {
rs := &BranchService{s: s}
return rs
}
type BranchService struct {
s *Service
}
func NewBughashService(s *Service) *BughashService {
rs := &BughashService{s: s}
return rs
}
type BughashService struct {
s *Service
}
func NewBuildService(s *Service) *BuildService {
rs := &BuildService{s: s}
return rs
}
type BuildService struct {
s *Service
}
func NewBuildartifactService(s *Service) *BuildartifactService {
rs := &BuildartifactService{s: s}
return rs
}
type BuildartifactService struct {
s *Service
}
func NewBuildattemptService(s *Service) *BuildattemptService {
rs := &BuildattemptService{s: s}
return rs
}
type BuildattemptService struct {
s *Service
}
func NewBuildidService(s *Service) *BuildidService {
rs := &BuildidService{s: s}
return rs
}
type BuildidService struct {
s *Service
}
func NewBuildrequestService(s *Service) *BuildrequestService {
rs := &BuildrequestService{s: s}
return rs
}
type BuildrequestService struct {
s *Service
}
func NewChangeService(s *Service) *ChangeService {
rs := &ChangeService{s: s}
return rs
}
type ChangeService struct {
s *Service
}
func NewChangesetspecService(s *Service) *ChangesetspecService {
rs := &ChangesetspecService{s: s}
return rs
}
type ChangesetspecService struct {
s *Service
}
func NewDeviceblobService(s *Service) *DeviceblobService {
rs := &DeviceblobService{s: s}
return rs
}
type DeviceblobService struct {
s *Service
}
func NewExternaldiskService(s *Service) *ExternaldiskService {
rs := &ExternaldiskService{s: s}
return rs
}
type ExternaldiskService struct {
s *Service
}
func NewImagerequestService(s *Service) *ImagerequestService {
rs := &ImagerequestService{s: s}
return rs
}
type ImagerequestService struct {
s *Service
}
func NewLabelService(s *Service) *LabelService {
rs := &LabelService{s: s}
return rs
}
type LabelService struct {
s *Service
}
func NewMachineService(s *Service) *MachineService {
rs := &MachineService{s: s}
return rs
}
type MachineService struct {
s *Service
}
func NewMessageService(s *Service) *MessageService {
rs := &MessageService{s: s}
return rs
}
type MessageService struct {
s *Service
}
func NewMetricService(s *Service) *MetricService {
rs := &MetricService{s: s}
return rs
}
type MetricService struct {
s *Service
}
func NewPrebuiltfileService(s *Service) *PrebuiltfileService {
rs := &PrebuiltfileService{s: s}
return rs
}
type PrebuiltfileService struct {
s *Service
}
func NewSchedulingpoolService(s *Service) *SchedulingpoolService {
rs := &SchedulingpoolService{s: s}
return rs
}
type SchedulingpoolService struct {
s *Service
}
func NewSoftwareService(s *Service) *SoftwareService {
rs := &SoftwareService{s: s}
return rs
}
type SoftwareService struct {
s *Service
}
func NewTargetService(s *Service) *TargetService {
rs := &TargetService{s: s}
return rs
}
type TargetService struct {
s *Service
}
func NewTestartifactService(s *Service) *TestartifactService {
rs := &TestartifactService{s: s}
return rs
}
type TestartifactService struct {
s *Service
}
func NewTestresultService(s *Service) *TestresultService {
rs := &TestresultService{s: s}
return rs
}
type TestresultService struct {
s *Service
}
func NewWorknodeService(s *Service) *WorknodeService {
rs := &WorknodeService{s: s}
return rs
}
type WorknodeService struct {
s *Service
}
func NewWorkplanService(s *Service) *WorkplanService {
rs := &WorkplanService{s: s}
return rs
}
type WorkplanService struct {
s *Service
}
type AnalyzerFinding struct {
Actionable bool `json:"actionable,omitempty"`
AnalyzerResultId string `json:"analyzerResultId,omitempty"`
Category string `json:"category,omitempty"`
Fixes []*AnalyzerFindingFix `json:"fixes,omitempty"`
Id string `json:"id,omitempty"`
Level string `json:"level,omitempty"`
Location *AnalyzerFindingLocation `json:"location,omitempty"`
Message string `json:"message,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Actionable") 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. "Actionable") 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 *AnalyzerFinding) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerFinding
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnalyzerFindingFix struct {
Description string `json:"description,omitempty"`
Replacements []*AnalyzerFindingFixReplacement `json:"replacements,omitempty"`
// ForceSendFields is a list of field names (e.g. "Description") 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. "Description") 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 *AnalyzerFindingFix) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerFindingFix
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnalyzerFindingFixReplacement struct {
Location *AnalyzerFindingLocation `json:"location,omitempty"`
NewContent string `json:"newContent,omitempty"`
// ForceSendFields is a list of field names (e.g. "Location") 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. "Location") 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 *AnalyzerFindingFixReplacement) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerFindingFixReplacement
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnalyzerFindingListResponse struct {
AnalyzerFindings []*AnalyzerFinding `json:"analyzerFindings,omitempty"`
NextPageToken string `json:"nextPageToken,omitempty"`
PreviousPageToken string `json:"previousPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "AnalyzerFindings") 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. "AnalyzerFindings") 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 *AnalyzerFindingListResponse) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerFindingListResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnalyzerFindingLocation struct {
ColEnd int64 `json:"colEnd,omitempty"`
ColStart int64 `json:"colStart,omitempty"`
Filepath string `json:"filepath,omitempty"`
LineEnd int64 `json:"lineEnd,omitempty"`
LineStart int64 `json:"lineStart,omitempty"`
Metadata *AnalyzerFindingLocationMetadata `json:"metadata,omitempty"`
Type string `json:"type,omitempty"`
// ForceSendFields is a list of field names (e.g. "ColEnd") 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. "ColEnd") 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 *AnalyzerFindingLocation) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerFindingLocation
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnalyzerFindingLocationMetadata struct {
BuildArtifact *AnalyzerFindingLocationMetadataBuildArtifactLocationMetadata `json:"buildArtifact,omitempty"`
External *AnalyzerFindingLocationMetadataExternalLocationMetadata `json:"external,omitempty"`
// ForceSendFields is a list of field names (e.g. "BuildArtifact") 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. "BuildArtifact") 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 *AnalyzerFindingLocationMetadata) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerFindingLocationMetadata
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnalyzerFindingLocationMetadataBuildArtifactLocationMetadata struct {
BuildId string `json:"buildId,omitempty"`
BuildType string `json:"buildType,omitempty"`
Target string `json:"target,omitempty"`
// ForceSendFields is a list of field names (e.g. "BuildId") 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. "BuildId") 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 *AnalyzerFindingLocationMetadataBuildArtifactLocationMetadata) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerFindingLocationMetadataBuildArtifactLocationMetadata
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnalyzerFindingLocationMetadataExternalLocationMetadata struct {
CustomUrl string `json:"customUrl,omitempty"`
// ForceSendFields is a list of field names (e.g. "CustomUrl") 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. "CustomUrl") 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 *AnalyzerFindingLocationMetadataExternalLocationMetadata) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerFindingLocationMetadataExternalLocationMetadata
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnalyzerResult struct {
Category string `json:"category,omitempty"`
ChangeNumber int64 `json:"changeNumber,omitempty,string"`
Host string `json:"host,omitempty"`
Id string `json:"id,omitempty"`
Patchset string `json:"patchset,omitempty"`
Revision string `json:"revision,omitempty"`
Status string `json:"status,omitempty"`
Timing *AnalyzerResultRunTiming `json:"timing,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Category") 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. "Category") 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 *AnalyzerResult) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerResult
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnalyzerResultAddFindingsRequest struct {
Findings []*AnalyzerFinding `json:"findings,omitempty"`
// ForceSendFields is a list of field names (e.g. "Findings") 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. "Findings") 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 *AnalyzerResultAddFindingsRequest) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerResultAddFindingsRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnalyzerResultAddFindingsResponse struct {
Findings []*AnalyzerFinding `json:"findings,omitempty"`
Result *AnalyzerResult `json:"result,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Findings") 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. "Findings") 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 *AnalyzerResultAddFindingsResponse) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerResultAddFindingsResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnalyzerResultCategoriesRequest struct {
Enabled bool `json:"enabled,omitempty"`
// ForceSendFields is a list of field names (e.g. "Enabled") 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. "Enabled") 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 *AnalyzerResultCategoriesRequest) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerResultCategoriesRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnalyzerResultCategoriesResponse struct {
KnownCategories *KnownCategories `json:"knownCategories,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "KnownCategories") 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. "KnownCategories") 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 *AnalyzerResultCategoriesResponse) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerResultCategoriesResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnalyzerResultListResponse struct {
AnalyzerResults []*AnalyzerResult `json:"analyzerResults,omitempty"`
NextPageToken string `json:"nextPageToken,omitempty"`
PreviousPageToken string `json:"previousPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "AnalyzerResults") 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. "AnalyzerResults") 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 *AnalyzerResultListResponse) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerResultListResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnalyzerResultRunTiming struct {
DurationMs int64 `json:"durationMs,omitempty,string"`
StartTimeMs int64 `json:"startTimeMs,omitempty,string"`
// ForceSendFields is a list of field names (e.g. "DurationMs") 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. "DurationMs") 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 *AnalyzerResultRunTiming) MarshalJSON() ([]byte, error) {
type NoMethod AnalyzerResultRunTiming
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnchorwatchMessage struct {
Kwargs []*AnchorwatchMessageMetricField `json:"kwargs,omitempty"`
Metadatas []*AnchorwatchMessageMetricField `json:"metadatas,omitempty"`
MethodCall *AnchorwatchMessageMethodCall `json:"methodCall,omitempty"`
MetricType string `json:"metricType,omitempty"`
ServiceName string `json:"serviceName,omitempty"`
StreamzName string `json:"streamzName,omitempty"`
// ForceSendFields is a list of field names (e.g. "Kwargs") 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. "Kwargs") 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 *AnchorwatchMessage) MarshalJSON() ([]byte, error) {
type NoMethod AnchorwatchMessage
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnchorwatchMessageFieldTuple struct {
FieldName string `json:"fieldName,omitempty"`
FieldType string `json:"fieldType,omitempty"`
// ForceSendFields is a list of field names (e.g. "FieldName") 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. "FieldName") 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 *AnchorwatchMessageFieldTuple) MarshalJSON() ([]byte, error) {
type NoMethod AnchorwatchMessageFieldTuple
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnchorwatchMessageMethodCall struct {
Args []*AnchorwatchMessageMetricValue `json:"args,omitempty"`
// ForceSendFields is a list of field names (e.g. "Args") 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. "Args") 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 *AnchorwatchMessageMethodCall) MarshalJSON() ([]byte, error) {
type NoMethod AnchorwatchMessageMethodCall
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnchorwatchMessageMetricField struct {
FieldName string `json:"fieldName,omitempty"`
FieldValue *AnchorwatchMessageMetricValue `json:"fieldValue,omitempty"`
// ForceSendFields is a list of field names (e.g. "FieldName") 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. "FieldName") 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 *AnchorwatchMessageMetricField) MarshalJSON() ([]byte, error) {
type NoMethod AnchorwatchMessageMetricField
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AnchorwatchMessageMetricValue struct {
BoolValue bool `json:"boolValue,omitempty"`
DoubleValue float64 `json:"doubleValue,omitempty"`
FieldTuple *AnchorwatchMessageFieldTuple `json:"fieldTuple,omitempty"`
Int64Value int64 `json:"int64Value,omitempty,string"`
StringValue string `json:"stringValue,omitempty"`
// ForceSendFields is a list of field names (e.g. "BoolValue") 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. "BoolValue") 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 *AnchorwatchMessageMetricValue) MarshalJSON() ([]byte, error) {
type NoMethod AnchorwatchMessageMetricValue
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *AnchorwatchMessageMetricValue) UnmarshalJSON(data []byte) error {
type NoMethod AnchorwatchMessageMetricValue
var s1 struct {
DoubleValue gensupport.JSONFloat64 `json:"doubleValue"`
*NoMethod
}
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
s.DoubleValue = float64(s1.DoubleValue)
return nil
}
type AndroidBuildDrop struct {
BuildId string `json:"buildId,omitempty"`
SourceFile string `json:"sourceFile,omitempty"`
Target string `json:"target,omitempty"`
// ForceSendFields is a list of field names (e.g. "BuildId") 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. "BuildId") 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 *AndroidBuildDrop) MarshalJSON() ([]byte, error) {
type NoMethod AndroidBuildDrop
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type Annotation struct {
Name string `json:"name,omitempty"`
Value string `json:"value,omitempty"`
// ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 *Annotation) MarshalJSON() ([]byte, error) {
type NoMethod Annotation
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ApkSignResult struct {
Apk string `json:"apk,omitempty"`
ErrorMessage string `json:"errorMessage,omitempty"`
Path string `json:"path,omitempty"`
SignedApkArtifactName string `json:"signedApkArtifactName,omitempty"`
Success bool `json:"success,omitempty"`
// ForceSendFields is a list of field names (e.g. "Apk") 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. "Apk") 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 *ApkSignResult) MarshalJSON() ([]byte, error) {
type NoMethod ApkSignResult
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type Arg struct {
Key string `json:"key,omitempty"`
Values []string `json:"values,omitempty"`
// ForceSendFields is a list of field names (e.g. "Key") 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. "Key") 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 *Arg) MarshalJSON() ([]byte, error) {
type NoMethod Arg
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfig struct {
BannedBuildIds []string `json:"bannedBuildIds,omitempty"`
BigstoreBucketName string `json:"bigstoreBucketName,omitempty"`
BuildCopConfig *BranchConfigBuildCopConfig `json:"buildCopConfig,omitempty"`
BuildLimitBuildId string `json:"buildLimitBuildId,omitempty"`
BuildPrefix string `json:"buildPrefix,omitempty"`
BuildRequest *BranchConfigBuildRequestConfig `json:"buildRequest,omitempty"`
BuildUpdateAcl string `json:"buildUpdateAcl,omitempty"`
ConductorConfig *BranchConfigConductorConfig `json:"conductorConfig,omitempty"`
DefaultBuildType string `json:"defaultBuildType,omitempty"`
DevelopmentBranch string `json:"developmentBranch,omitempty"`
Disabled bool `json:"disabled,omitempty"`
DisplayName string `json:"displayName,omitempty"`
External *BranchConfigExternalBuildConfig `json:"external,omitempty"`
Flashstation *BranchConfigFlashStationConfig `json:"flashstation,omitempty"`
Gitbuildkicker *BranchConfigGitbuildkickerConfig `json:"gitbuildkicker,omitempty"`
IgnoreCommits bool `json:"ignoreCommits,omitempty"`
IgnoreRobotCommit bool `json:"ignoreRobotCommit,omitempty"`
IncrementalBuild bool `json:"incrementalBuild,omitempty"`
JavaVersion string `json:"javaVersion,omitempty"`
LaunchcontrolConfig *BranchConfigLCBranchConfig `json:"launchcontrolConfig,omitempty"`
Manifest *ManifestLocation `json:"manifest,omitempty"`
Name string `json:"name,omitempty"`
NotificationConfig *NotificationConfig `json:"notificationConfig,omitempty"`
OwnerInfo *OwnerInfo `json:"ownerInfo,omitempty"`
PdkReleaseBranch bool `json:"pdkReleaseBranch,omitempty"`
PlatformVersion string `json:"platformVersion,omitempty"`
ProjectConfigs map[string]BranchConfigProjectConfig `json:"projectConfigs,omitempty"`
ReleaseBranch bool `json:"releaseBranch,omitempty"`
ScheduledBuildTimespec string `json:"scheduledBuildTimespec,omitempty"`
SigningAcl string `json:"signingAcl,omitempty"`
SubmitQueue *BranchConfigSubmitQueueBranchConfig `json:"submitQueue,omitempty"`
Submitted *BranchConfigSubmittedBuildConfig `json:"submitted,omitempty"`
TargetOwnerRequired bool `json:"targetOwnerRequired,omitempty"`
Targets []*Target `json:"targets,omitempty"`
TestRunnerConfigureds []string `json:"testRunnerConfigureds,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "BannedBuildIds") 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. "BannedBuildIds") 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 *BranchConfig) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigBuildCopConfig struct {
Enabled bool `json:"enabled,omitempty"`
// ForceSendFields is a list of field names (e.g. "Enabled") 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. "Enabled") 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 *BranchConfigBuildCopConfig) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigBuildCopConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigBuildRequestConfig struct {
AclName string `json:"aclName,omitempty"`
// ForceSendFields is a list of field names (e.g. "AclName") 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. "AclName") 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 *BranchConfigBuildRequestConfig) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigBuildRequestConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigBuildSelectorConfig struct {
DefaultStrategyParameters *BranchConfigDefaultStrategyParameters `json:"defaultStrategyParameters,omitempty"`
Target string `json:"target,omitempty"`
TestFilterParameters *BranchConfigTestFilterParameters `json:"testFilterParameters,omitempty"`
// ForceSendFields is a list of field names (e.g.
// "DefaultStrategyParameters") 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.
// "DefaultStrategyParameters") 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 *BranchConfigBuildSelectorConfig) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigBuildSelectorConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigConductorConfig struct {
ArtifactName string `json:"artifactName,omitempty"`
OemOptional bool `json:"oemOptional,omitempty"`
PackageName string `json:"packageName,omitempty"`
RebootRequired bool `json:"rebootRequired,omitempty"`
TestArtifacts []string `json:"testArtifacts,omitempty"`
// ForceSendFields is a list of field names (e.g. "ArtifactName") 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. "ArtifactName") 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 *BranchConfigConductorConfig) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigConductorConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigDefaultStrategyParameters struct {
ShortCircuitInterval int64 `json:"shortCircuitInterval,omitempty"`
// ForceSendFields is a list of field names (e.g.
// "ShortCircuitInterval") 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. "ShortCircuitInterval") 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 *BranchConfigDefaultStrategyParameters) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigDefaultStrategyParameters
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigExternalBuildConfig struct {
Enabled bool `json:"enabled,omitempty"`
// ForceSendFields is a list of field names (e.g. "Enabled") 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. "Enabled") 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 *BranchConfigExternalBuildConfig) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigExternalBuildConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigFlashStationConfig struct {
Enabled bool `json:"enabled,omitempty"`
// ForceSendFields is a list of field names (e.g. "Enabled") 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. "Enabled") 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 *BranchConfigFlashStationConfig) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigFlashStationConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigGitbuildkickerConfig struct {
BuildSelectorConfigs []*BranchConfigBuildSelectorConfig `json:"buildSelectorConfigs,omitempty"`
GreenBuildTestFilters []string `json:"greenBuildTestFilters,omitempty"`
MainlineApexVersionInfo *BranchConfigGitbuildkickerConfigMainlineVersion `json:"mainlineApexVersionInfo,omitempty"`
MainlineApkVersionInfo *BranchConfigGitbuildkickerConfigMainlineVersion `json:"mainlineApkVersionInfo,omitempty"`
MainlineArtifacts []*BranchConfigGitbuildkickerConfigMainlineTarget `json:"mainlineArtifacts,omitempty"`
MainlineBuildPrefix string `json:"mainlineBuildPrefix,omitempty"`
MainlineTargetNames []string `json:"mainlineTargetNames,omitempty"`
MainlineTargets []*BranchConfigGitbuildkickerConfigMainlineTarget `json:"mainlineTargets,omitempty"`
Notifications []string `json:"notifications,omitempty"`
ShortCircuitInterval int64 `json:"shortCircuitInterval,omitempty"`
Targets []string `json:"targets,omitempty"`
VersionInfo *BranchConfigGitbuildkickerConfigVersionBumpingSpec `json:"versionInfo,omitempty"`
// ForceSendFields is a list of field names (e.g.
// "BuildSelectorConfigs") 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. "BuildSelectorConfigs") 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 *BranchConfigGitbuildkickerConfig) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigGitbuildkickerConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigGitbuildkickerConfigMainlineTarget struct {
ApexVersionInfo *BranchConfigGitbuildkickerConfigMainlineVersion `json:"apexVersionInfo,omitempty"`
ApkVersionInfo *BranchConfigGitbuildkickerConfigMainlineVersion `json:"apkVersionInfo,omitempty"`
ConductorConfig *BranchConfigConductorConfig `json:"conductorConfig,omitempty"`
TargetName string `json:"targetName,omitempty"`
// ForceSendFields is a list of field names (e.g. "ApexVersionInfo") 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. "ApexVersionInfo") 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 *BranchConfigGitbuildkickerConfigMainlineTarget) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigGitbuildkickerConfigMainlineTarget
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigGitbuildkickerConfigMainlineVersion struct {
File string `json:"file,omitempty"`
Project string `json:"project,omitempty"`
// ForceSendFields is a list of field names (e.g. "File") 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. "File") 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 *BranchConfigGitbuildkickerConfigMainlineVersion) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigGitbuildkickerConfigMainlineVersion
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigGitbuildkickerConfigVersionBumpingSpec struct {
BumpDevBranch bool `json:"bumpDevBranch,omitempty"`
File string `json:"file,omitempty"`
PaddingWidth int64 `json:"paddingWidth,omitempty"`
Project string `json:"project,omitempty"`
VersionBranch string `json:"versionBranch,omitempty"`
VersionRegex string `json:"versionRegex,omitempty"`
// ForceSendFields is a list of field names (e.g. "BumpDevBranch") 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. "BumpDevBranch") 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 *BranchConfigGitbuildkickerConfigVersionBumpingSpec) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigGitbuildkickerConfigVersionBumpingSpec
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigLCBranchConfig struct {
DisableTriggerBranchBuildGroupZero bool `json:"disableTriggerBranchBuildGroupZero,omitempty"`
Enabled bool `json:"enabled,omitempty"`
SchedulerConfig *BranchConfigLCBranchConfigSchedulerConfig `json:"schedulerConfig,omitempty"`
Weights []*BranchConfigLCBranchConfigWeightConfig `json:"weights,omitempty"`
// ForceSendFields is a list of field names (e.g.
// "DisableTriggerBranchBuildGroupZero") 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.
// "DisableTriggerBranchBuildGroupZero") 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 *BranchConfigLCBranchConfig) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigLCBranchConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigLCBranchConfigSchedulerConfig struct {
PollingTime int64 `json:"pollingTime,omitempty"`
RequirePlatformBuildIdUpdate bool `json:"requirePlatformBuildIdUpdate,omitempty"`
// ForceSendFields is a list of field names (e.g. "PollingTime") 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. "PollingTime") 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 *BranchConfigLCBranchConfigSchedulerConfig) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigLCBranchConfigSchedulerConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigLCBranchConfigWeightConfig struct {
Platform string `json:"platform,omitempty"`
PlatformVersion string `json:"platformVersion,omitempty"`
Weight int64 `json:"weight,omitempty"`
// ForceSendFields is a list of field names (e.g. "Platform") 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. "Platform") 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 *BranchConfigLCBranchConfigWeightConfig) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigLCBranchConfigWeightConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigProjectConfig struct {
Branch string `json:"branch,omitempty"`
Trigger bool `json:"trigger,omitempty"`
// ForceSendFields is a list of field names (e.g. "Branch") 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. "Branch") 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 *BranchConfigProjectConfig) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigProjectConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigSubmitQueueBranchConfig struct {
Enabled bool `json:"enabled,omitempty"`
TreehuggerEnabled bool `json:"treehuggerEnabled,omitempty"`
Weight int64 `json:"weight,omitempty"`
// ForceSendFields is a list of field names (e.g. "Enabled") 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. "Enabled") 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 *BranchConfigSubmitQueueBranchConfig) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigSubmitQueueBranchConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigSubmittedBuildConfig struct {
Enabled bool `json:"enabled,omitempty"`
// ForceSendFields is a list of field names (e.g. "Enabled") 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. "Enabled") 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 *BranchConfigSubmittedBuildConfig) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigSubmittedBuildConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchConfigTestFilterParameters struct {
GreenBuildTestFilters []string `json:"greenBuildTestFilters,omitempty"`
ShortCircuitInterval int64 `json:"shortCircuitInterval,omitempty"`
// ForceSendFields is a list of field names (e.g.
// "GreenBuildTestFilters") 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. "GreenBuildTestFilters") 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 *BranchConfigTestFilterParameters) MarshalJSON() ([]byte, error) {
type NoMethod BranchConfigTestFilterParameters
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BranchListResponse struct {
Branches []*BranchConfig `json:"branches,omitempty"`
NextPageToken string `json:"nextPageToken,omitempty"`
PreviousPageToken string `json:"previousPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Branches") 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. "Branches") 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 *BranchListResponse) MarshalJSON() ([]byte, error) {
type NoMethod BranchListResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type Bug struct {
BugId int64 `json:"bugId,omitempty,string"`
DuplicateBugId int64 `json:"duplicateBugId,omitempty,string"`
FixedIn googleapi.Int64s `json:"fixedIn,omitempty"`
Hotlists googleapi.Int64s `json:"hotlists,omitempty"`
LineGroups []*BugBugHashLines `json:"lineGroups,omitempty"`
ModifiedDate int64 `json:"modifiedDate,omitempty,string"`
Owner string `json:"owner,omitempty"`
Priority string `json:"priority,omitempty"`
Resolution string `json:"resolution,omitempty"`
ResolvedDate int64 `json:"resolvedDate,omitempty,string"`
Severity string `json:"severity,omitempty"`
Status string `json:"status,omitempty"`
Summary string `json:"summary,omitempty"`
TargetedToVersions []string `json:"targetedToVersions,omitempty"`
// ForceSendFields is a list of field names (e.g. "BugId") 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. "BugId") 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 *Bug) MarshalJSON() ([]byte, error) {
type NoMethod Bug
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BugBugHashLines struct {
Lines googleapi.Int64s `json:"lines,omitempty"`
// ForceSendFields is a list of field names (e.g. "Lines") 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. "Lines") 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 *BugBugHashLines) MarshalJSON() ([]byte, error) {
type NoMethod BugBugHashLines
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BugHash struct {
Bugs []*Bug `json:"bugs,omitempty"`
Hash string `json:"hash,omitempty"`
Namespace string `json:"namespace,omitempty"`
Revision string `json:"revision,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Bugs") 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. "Bugs") 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 *BugHash) MarshalJSON() ([]byte, error) {
type NoMethod BugHash
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BugHashListResponse struct {
BugHashes []*BugHash `json:"bug_hashes,omitempty"`
NextPageToken string `json:"nextPageToken,omitempty"`
PreviousPageToken string `json:"previousPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "BugHashes") 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. "BugHashes") 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 *BugHashListResponse) MarshalJSON() ([]byte, error) {
type NoMethod BugHashListResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type Build struct {
AppProps []*BuildApplicationPropEntry `json:"appProps,omitempty"`
Archived bool `json:"archived,omitempty"`
BaseBuild string `json:"baseBuild,omitempty"`
Branch string `json:"branch,omitempty"`
BuildAttemptStatus string `json:"buildAttemptStatus,omitempty"`
BuildConfigs map[string]string `json:"buildConfigs,omitempty"`
BuildId string `json:"buildId,omitempty"`
BuildbotAvailableSpaceGb int64 `json:"buildbotAvailableSpaceGb,omitempty,string"`
BuildbotSwVersion string `json:"buildbotSwVersion,omitempty"`
Changes []*Change `json:"changes,omitempty"`
CompletionTimestamp int64 `json:"completionTimestamp,omitempty,string"`
CreationTimestamp int64 `json:"creationTimestamp,omitempty,string"`
ExternalDiskName string `json:"externalDiskName,omitempty"`
ExternalId string `json:"externalId,omitempty"`
FallbackInternal bool `json:"fallbackInternal,omitempty"`
HasTests bool `json:"hasTests,omitempty"`
InstalledFiles map[string][]FileMetadataEntryFileMetadata `json:"installedFiles,omitempty"`
LastUpdatedTimestamp int64 `json:"lastUpdatedTimestamp,omitempty,string"`
MachineName string `json:"machineName,omitempty"`
PinnedManifest *ParsedManifest `json:"pinnedManifest,omitempty"`
ProofBuild bool `json:"proofBuild,omitempty"`
Rank int64 `json:"rank,omitempty"`
ReferenceBuildIds []string `json:"referenceBuildIds,omitempty"`
ReferenceReleaseCandidateName string `json:"referenceReleaseCandidateName,omitempty"`
ReleaseCandidateName string `json:"releaseCandidateName,omitempty"`
ResetImageBuild bool `json:"resetImageBuild,omitempty"`
Revision string `json:"revision,omitempty"`
Signed bool `json:"signed,omitempty"`
Successful bool `json:"successful,omitempty"`
Target *Target `json:"target,omitempty"`
TestResultSummary *TestResultSummary `json:"testResultSummary,omitempty"`
TridentImageFreshness *BuildTridentImageFreshness `json:"tridentImageFreshness,omitempty"`
WorknodeId string `json:"worknodeId,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "AppProps") 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. "AppProps") 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 *Build) MarshalJSON() ([]byte, error) {
type NoMethod Build
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildApplicationPropEntry struct {
Application string `json:"application,omitempty"`
Key string `json:"key,omitempty"`
Value string `json:"value,omitempty"`
// ForceSendFields is a list of field names (e.g. "Application") 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. "Application") 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 *BuildApplicationPropEntry) MarshalJSON() ([]byte, error) {
type NoMethod BuildApplicationPropEntry
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildArtifactCopyToBuildResponse struct {
DestinationArtifactName string `json:"destinationArtifactName,omitempty"`
DestinationBuildId string `json:"destinationBuildId,omitempty"`
DestinationTargetName string `json:"destinationTargetName,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g.
// "DestinationArtifactName") 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. "DestinationArtifactName")
// 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 *BuildArtifactCopyToBuildResponse) MarshalJSON() ([]byte, error) {
type NoMethod BuildArtifactCopyToBuildResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildArtifactCopyToResponse struct {
DestinationBucket string `json:"destinationBucket,omitempty"`
DestinationPath string `json:"destinationPath,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "DestinationBucket")
// 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. "DestinationBucket") 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 *BuildArtifactCopyToResponse) MarshalJSON() ([]byte, error) {
type NoMethod BuildArtifactCopyToResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildArtifactListResponse struct {
Artifacts []*BuildArtifactMetadata `json:"artifacts,omitempty"`
NextPageToken string `json:"nextPageToken,omitempty"`
PreviousPageToken string `json:"previousPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Artifacts") 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. "Artifacts") 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 *BuildArtifactListResponse) MarshalJSON() ([]byte, error) {
type NoMethod BuildArtifactListResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildArtifactMetadata struct {
ArtifactType string `json:"artifactType,omitempty"`
ContentType string `json:"contentType,omitempty"`
Crc32 int64 `json:"crc32,omitempty"`
CreationTime int64 `json:"creationTime,omitempty,string"`
InvocationId string `json:"invocationId,omitempty"`
LastModifiedTime int64 `json:"lastModifiedTime,omitempty,string"`
Md5 string `json:"md5,omitempty"`
Name string `json:"name,omitempty"`
Revision string `json:"revision,omitempty"`
Size int64 `json:"size,omitempty,string"`
TestResultId string `json:"testResultId,omitempty"`
WorkUnitId string `json:"workUnitId,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ArtifactType") 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. "ArtifactType") 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 *BuildArtifactMetadata) MarshalJSON() ([]byte, error) {
type NoMethod BuildArtifactMetadata
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildAttempt struct {
BuildProp map[string]string `json:"buildProp,omitempty"`
BuildStats *BuildStats `json:"buildStats,omitempty"`
ErrorMessage string `json:"errorMessage,omitempty"`
ExternalDiskName string `json:"externalDiskName,omitempty"`
Id int64 `json:"id,omitempty"`
LastSuccessfulStatus string `json:"lastSuccessfulStatus,omitempty"`
MachineInformation *BuildAttemptMachineInformation `json:"machineInformation,omitempty"`
OtaFile string `json:"otaFile,omitempty"`
PartitionSizes map[string]PartitionSize `json:"partitionSizes,omitempty"`
RepoConfig map[string]string `json:"repoConfig,omitempty"`
ResetImageBuild bool `json:"resetImageBuild,omitempty"`
ResetImageReferenceBuild string `json:"resetImageReferenceBuild,omitempty"`
Revision string `json:"revision,omitempty"`
Status string `json:"status,omitempty"`
StoragePath string `json:"storagePath,omitempty"`
Successful bool `json:"successful,omitempty"`
SymbolFiles []string `json:"symbolFiles,omitempty"`
SyncEndTimestamp int64 `json:"syncEndTimestamp,omitempty,string"`
SyncStartTimestamp int64 `json:"syncStartTimestamp,omitempty,string"`
TimestampEnd int64 `json:"timestampEnd,omitempty,string"`
TimestampStart int64 `json:"timestampStart,omitempty,string"`
UpdaterFile string `json:"updaterFile,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "BuildProp") 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. "BuildProp") 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 *BuildAttempt) MarshalJSON() ([]byte, error) {
type NoMethod BuildAttempt
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildAttemptListResponse struct {
Attempts []*BuildAttempt `json:"attempts,omitempty"`
NextPageToken string `json:"nextPageToken,omitempty"`
PreviousPageToken string `json:"previousPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Attempts") 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. "Attempts") 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 *BuildAttemptListResponse) MarshalJSON() ([]byte, error) {
type NoMethod BuildAttemptListResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildAttemptMachineInformation struct {
MachineName string `json:"machineName,omitempty"`
PreviousBuildId string `json:"previousBuildId,omitempty"`
// ForceSendFields is a list of field names (e.g. "MachineName") 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. "MachineName") 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 *BuildAttemptMachineInformation) MarshalJSON() ([]byte, error) {
type NoMethod BuildAttemptMachineInformation
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildId struct {
BuildId string `json:"buildId,omitempty"`
// ForceSendFields is a list of field names (e.g. "BuildId") 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. "BuildId") 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 *BuildId) MarshalJSON() ([]byte, error) {
type NoMethod BuildId
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildIdListResponse struct {
BuildIds []*BuildId `json:"buildIds,omitempty"`
NextPageToken string `json:"nextPageToken,omitempty"`
PreviousPageToken string `json:"previousPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "BuildIds") 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. "BuildIds") 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 *BuildIdListResponse) MarshalJSON() ([]byte, error) {
type NoMethod BuildIdListResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildIdPopResponse struct {
BuildId string `json:"buildId,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "BuildId") 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. "BuildId") 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 *BuildIdPopResponse) MarshalJSON() ([]byte, error) {
type NoMethod BuildIdPopResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildListResponse struct {
Builds []*Build `json:"builds,omitempty"`
NextPageToken string `json:"nextPageToken,omitempty"`
PreviousPageToken string `json:"previousPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Builds") 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. "Builds") 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 *BuildListResponse) MarshalJSON() ([]byte, error) {
type NoMethod BuildListResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildPopRequest struct {
Machine *MachineDetails `json:"machine,omitempty"`
// ForceSendFields is a list of field names (e.g. "Machine") 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. "Machine") 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 *BuildPopRequest) MarshalJSON() ([]byte, error) {
type NoMethod BuildPopRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildQueueDepthResponse struct {
Builds []*Build `json:"builds,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Builds") 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. "Builds") 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 *BuildQueueDepthResponse) MarshalJSON() ([]byte, error) {
type NoMethod BuildQueueDepthResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildRange struct {
Branch string `json:"branch,omitempty"`
EndBuildId string `json:"endBuildId,omitempty"`
StartBuildId string `json:"startBuildId,omitempty"`
Target string `json:"target,omitempty"`
// ForceSendFields is a list of field names (e.g. "Branch") 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. "Branch") 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 *BuildRange) MarshalJSON() ([]byte, error) {
type NoMethod BuildRange
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildRequest struct {
Branch string `json:"branch,omitempty"`
Id int64 `json:"id,omitempty,string"`
Requester *Email `json:"requester,omitempty"`
Revision string `json:"revision,omitempty"`
Rollup *BuildRequestRollupConfig `json:"rollup,omitempty"`
Status string `json:"status,omitempty"`
Type string `json:"type,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Branch") 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. "Branch") 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 *BuildRequest) MarshalJSON() ([]byte, error) {
type NoMethod BuildRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildRequestListResponse struct {
BuildRequests []*BuildRequest `json:"build_requests,omitempty"`
NextPageToken string `json:"nextPageToken,omitempty"`
PreviousPageToken string `json:"previousPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "BuildRequests") 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. "BuildRequests") 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 *BuildRequestListResponse) MarshalJSON() ([]byte, error) {
type NoMethod BuildRequestListResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildRequestRollupConfig struct {
BuildId string `json:"buildId,omitempty"`
CutBuildId string `json:"cutBuildId,omitempty"`
// ForceSendFields is a list of field names (e.g. "BuildId") 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. "BuildId") 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 *BuildRequestRollupConfig) MarshalJSON() ([]byte, error) {
type NoMethod BuildRequestRollupConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildSignResponse struct {
Results []*ApkSignResult `json:"results,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Results") 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. "Results") 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 *BuildSignResponse) MarshalJSON() ([]byte, error) {
type NoMethod BuildSignResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildStats struct {
WarningCount int64 `json:"warningCount,omitempty,string"`
// ForceSendFields is a list of field names (e.g. "WarningCount") 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. "WarningCount") 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 *BuildStats) MarshalJSON() ([]byte, error) {
type NoMethod BuildStats
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BuildTridentImageFreshness struct {
BuildIdCount int64 `json:"buildIdCount,omitempty,string"`
ChangeCount int64 `json:"changeCount,omitempty,string"`
ImageBuildId string `json:"imageBuildId,omitempty"`
// ForceSendFields is a list of field names (e.g. "BuildIdCount") 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. "BuildIdCount") 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 *BuildTridentImageFreshness) MarshalJSON() ([]byte, error) {
type NoMethod BuildTridentImageFreshness
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type Category struct {
BuganizerComponentId string `json:"buganizerComponentId,omitempty"`
Contact string `json:"contact,omitempty"`
Description string `json:"description,omitempty"`
Disabled bool `json:"disabled,omitempty"`
DisplayName string `json:"displayName,omitempty"`
Name string `json:"name,omitempty"`
Subcategorys []*CategorySubcategory `json:"subcategorys,omitempty"`
Url string `json:"url,omitempty"`
// ForceSendFields is a list of field names (e.g.
// "BuganizerComponentId") 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. "BuganizerComponentId") 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 *Category) MarshalJSON() ([]byte, error) {
type NoMethod Category
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type CategorySubcategory struct {
BuganizerComponentId string `json:"buganizerComponentId,omitempty"`
Contact string `json:"contact,omitempty"`
Description string `json:"description,omitempty"`
Disabled bool `json:"disabled,omitempty"`
DisplayName string `json:"displayName,omitempty"`
Name string `json:"name,omitempty"`
Url string `json:"url,omitempty"`
// ForceSendFields is a list of field names (e.g.
// "BuganizerComponentId") 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. "BuganizerComponentId") 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 *CategorySubcategory) MarshalJSON() ([]byte, error) {
type NoMethod CategorySubcategory
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type Change struct {
Branch string `json:"branch,omitempty"`
ChangeId string `json:"changeId,omitempty"`
ChangeNumber int64 `json:"changeNumber,omitempty,string"`
CherrypickedFrom string `json:"cherrypickedFrom,omitempty"`
CreationTime int64 `json:"creationTime,omitempty,string"`
Host string `json:"host,omitempty"`
IsRapidChange bool `json:"isRapidChange,omitempty"`
LastModificationTime int64 `json:"lastModificationTime,omitempty,string"`
LatestRevision string `json:"latestRevision,omitempty"`
NewPatchsetBuildId string `json:"newPatchsetBuildId,omitempty"`
OriginalSource string `json:"originalSource,omitempty"`
Owner *User `json:"owner,omitempty"`
Patchset int64 `json:"patchset,omitempty"`
Project string `json:"project,omitempty"`
Revisions []*Revision `json:"revisions,omitempty"`
Status string `json:"status,omitempty"`
SubmittedTime int64 `json:"submittedTime,omitempty,string"`
Topic string `json:"topic,omitempty"`
// ForceSendFields is a list of field names (e.g. "Branch") 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. "Branch") 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 *Change) MarshalJSON() ([]byte, error) {
type NoMethod Change
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ChangeInfo struct {
ChangeNumber int64 `json:"changeNumber,omitempty"`
GerritName string `json:"gerritName,omitempty"`
// ForceSendFields is a list of field names (e.g. "ChangeNumber") 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. "ChangeNumber") 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 *ChangeInfo) MarshalJSON() ([]byte, error) {
type NoMethod ChangeInfo
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ChangeListResponse struct {
Changes []*Change `json:"changes,omitempty"`
NextPageToken string `json:"nextPageToken,omitempty"`
PreviousPageToken string `json:"previousPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Changes") 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. "Changes") 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 *ChangeListResponse) MarshalJSON() ([]byte, error) {
type NoMethod ChangeListResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ChangeSetSpec struct {
ChangeSpecIds []string `json:"changeSpecIds,omitempty"`
ChangeSpecs []*ChangeSetSpecChangeSpec `json:"changeSpecs,omitempty"`
Id string `json:"id,omitempty"`
Revision string `json:"revision,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ChangeSpecIds") 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. "ChangeSpecIds") 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 *ChangeSetSpec) MarshalJSON() ([]byte, error) {
type NoMethod ChangeSetSpec
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ChangeSetSpecChangeSpec struct {
DummySpecString string `json:"dummySpecString,omitempty"`
GerritChange *GerritChangeSpec `json:"gerritChange,omitempty"`
// ForceSendFields is a list of field names (e.g. "DummySpecString") 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. "DummySpecString") 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 *ChangeSetSpecChangeSpec) MarshalJSON() ([]byte, error) {
type NoMethod ChangeSetSpecChangeSpec
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ChangeSetSpecListSupersetsRequest struct {
ChangeSpecs []*ChangeSetSpecChangeSpec `json:"changeSpecs,omitempty"`
// ForceSendFields is a list of field names (e.g. "ChangeSpecs") 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. "ChangeSpecs") 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 *ChangeSetSpecListSupersetsRequest) MarshalJSON() ([]byte, error) {
type NoMethod ChangeSetSpecListSupersetsRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ChangeSetSpecListSupersetsResponse struct {
ChangeSetSpecs []*ChangeSetSpec `json:"changeSetSpecs,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ChangeSetSpecs") 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. "ChangeSetSpecs") 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 *ChangeSetSpecListSupersetsResponse) MarshalJSON() ([]byte, error) {
type NoMethod ChangeSetSpecListSupersetsResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type CherryPickInfo struct {
BranchName string `json:"branchName,omitempty"`
ChangeInfos []*ChangeInfo `json:"changeInfos,omitempty"`
Cleanup bool `json:"cleanup,omitempty"`
CommitShas []string `json:"commitShas,omitempty"`
GerritName string `json:"gerritName,omitempty"`
// ForceSendFields is a list of field names (e.g. "BranchName") 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. "BranchName") 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 *CherryPickInfo) MarshalJSON() ([]byte, error) {
type NoMethod CherryPickInfo
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type CherryPickOutput struct {
CherrypickResults []*CherryPickOutputCherryPickResult `json:"cherrypickResults,omitempty"`
// ForceSendFields is a list of field names (e.g. "CherrypickResults")
// 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. "CherrypickResults") 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 *CherryPickOutput) MarshalJSON() ([]byte, error) {
type NoMethod CherryPickOutput
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type CherryPickOutputCherryPickResult struct {
DisplayMessage string `json:"displayMessage,omitempty"`
NewChange *ChangeInfo `json:"newChange,omitempty"`
SourceChange *ChangeInfo `json:"sourceChange,omitempty"`
Status string `json:"status,omitempty"`
Success bool `json:"success,omitempty"`
Suggestions []*ChangeInfo `json:"suggestions,omitempty"`
// ForceSendFields is a list of field names (e.g. "DisplayMessage") 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. "DisplayMessage") 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 *CherryPickOutputCherryPickResult) MarshalJSON() ([]byte, error) {
type NoMethod CherryPickOutputCherryPickResult
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type CommitInfo struct {
Author *User `json:"author,omitempty"`
BugIds googleapi.Int64s `json:"bugIds,omitempty"`
CommitId string `json:"commitId,omitempty"`
CommitMessage string `json:"commitMessage,omitempty"`
Committer *User `json:"committer,omitempty"`
IsRobotCommit bool `json:"isRobotCommit,omitempty"`
Parents []*CommitInfo `json:"parents,omitempty"`
Subject string `json:"subject,omitempty"`
// ForceSendFields is a list of field names (e.g. "Author") 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. "Author") 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 *CommitInfo) MarshalJSON() ([]byte, error) {
type NoMethod CommitInfo
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ConductorOutput struct {
LspacePushOutput *ConductorOutputLspacePushOutput `json:"lspacePushOutput,omitempty"`
SigningOutput *ConductorOutputSigningOutput `json:"signingOutput,omitempty"`
UpdateGantryOutput *ConductorOutputUpdateGantryOutput `json:"updateGantryOutput,omitempty"`
// ForceSendFields is a list of field names (e.g. "LspacePushOutput") 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. "LspacePushOutput") 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 *ConductorOutput) MarshalJSON() ([]byte, error) {
type NoMethod ConductorOutput
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ConductorOutputLspacePushOutput struct {
PushedArtifacts []*ConductorOutputTargetArtifacts `json:"pushedArtifacts,omitempty"`
// ForceSendFields is a list of field names (e.g. "PushedArtifacts") 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. "PushedArtifacts") 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 *ConductorOutputLspacePushOutput) MarshalJSON() ([]byte, error) {
type NoMethod ConductorOutputLspacePushOutput
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ConductorOutputSigningOutput struct {
SignedArtifacts []*ConductorOutputTargetArtifacts `json:"signedArtifacts,omitempty"`
// ForceSendFields is a list of field names (e.g. "SignedArtifacts") 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. "SignedArtifacts") 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 *ConductorOutputSigningOutput) MarshalJSON() ([]byte, error) {
type NoMethod ConductorOutputSigningOutput
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ConductorOutputTargetArtifacts struct {
Artifacts []string `json:"artifacts,omitempty"`
Target string `json:"target,omitempty"`
// ForceSendFields is a list of field names (e.g. "Artifacts") 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. "Artifacts") 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 *ConductorOutputTargetArtifacts) MarshalJSON() ([]byte, error) {
type NoMethod ConductorOutputTargetArtifacts
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ConductorOutputUpdateGantryOutput struct {
UpdatedArtifacts []*ConductorOutputTargetArtifacts `json:"updatedArtifacts,omitempty"`
// ForceSendFields is a list of field names (e.g. "UpdatedArtifacts") 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. "UpdatedArtifacts") 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 *ConductorOutputUpdateGantryOutput) MarshalJSON() ([]byte, error) {
type NoMethod ConductorOutputUpdateGantryOutput
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ConductorRequest struct {
PostBuildParameters *ConductorRequestPostBuildParameters `json:"postBuildParameters,omitempty"`
Type string `json:"type,omitempty"`
// ForceSendFields is a list of field names (e.g. "PostBuildParameters")
// 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. "PostBuildParameters") 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 *ConductorRequest) MarshalJSON() ([]byte, error) {
type NoMethod ConductorRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ConductorRequestPostBuildParameters struct {
BranchName string `json:"branchName,omitempty"`
BuildId string `json:"buildId,omitempty"`
VersionName string `json:"versionName,omitempty"`
// ForceSendFields is a list of field names (e.g. "BranchName") 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. "BranchName") 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 *ConductorRequestPostBuildParameters) MarshalJSON() ([]byte, error) {
type NoMethod ConductorRequestPostBuildParameters
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type CopyFile struct {
Dest string `json:"dest,omitempty"`
Src string `json:"src,omitempty"`
// ForceSendFields is a list of field names (e.g. "Dest") 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. "Dest") 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 *CopyFile) MarshalJSON() ([]byte, error) {
type NoMethod CopyFile
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type Default struct {
DestBranch string `json:"destBranch,omitempty"`
Remote string `json:"remote,omitempty"`
Revision string `json:"revision,omitempty"`
SyncJ string `json:"syncJ,omitempty"`
SyncS string `json:"syncS,omitempty"`
// ForceSendFields is a list of field names (e.g. "DestBranch") 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. "DestBranch") 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 *Default) MarshalJSON() ([]byte, error) {
type NoMethod Default
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type DeviceBlobCopyToResponse struct {
DestinationBucket string `json:"destinationBucket,omitempty"`
DestinationPath string `json:"destinationPath,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "DestinationBucket")
// 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. "DestinationBucket") 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 *DeviceBlobCopyToResponse) MarshalJSON() ([]byte, error) {
type NoMethod DeviceBlobCopyToResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type DeviceBlobListResponse struct {
Blobs []*BuildArtifactMetadata `json:"blobs,omitempty"`
NextPageToken string `json:"nextPageToken,omitempty"`
PreviousPageToken string `json:"previousPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Blobs") 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. "Blobs") 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 *DeviceBlobListResponse) MarshalJSON() ([]byte, error) {
type NoMethod DeviceBlobListResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type DeviceSelection struct {
DeviceSerial string `json:"deviceSerial,omitempty"`
TestBench *TestBench `json:"testBench,omitempty"`
// ForceSendFields is a list of field names (e.g. "DeviceSerial") 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. "DeviceSerial") 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 *DeviceSelection) MarshalJSON() ([]byte, error) {
type NoMethod DeviceSelection
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type Email struct {
Email string `json:"email,omitempty"`
Id int64 `json:"id,omitempty,string"`
// ForceSendFields is a list of field names (e.g. "Email") 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. "Email") 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 *Email) MarshalJSON() ([]byte, error) {
type NoMethod Email
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ExternalDiskMessage struct {
ExternalDiskName string `json:"externalDiskName,omitempty"`
Hostname string `json:"hostname,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ExternalDiskName") 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. "ExternalDiskName") 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 *ExternalDiskMessage) MarshalJSON() ([]byte, error) {
type NoMethod ExternalDiskMessage
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type FetchConfiguration struct {
Method string `json:"method,omitempty"`
Ref string `json:"ref,omitempty"`
Url string `json:"url,omitempty"`
// ForceSendFields is a list of field names (e.g. "Method") 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. "Method") 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 *FetchConfiguration) MarshalJSON() ([]byte, error) {
type NoMethod FetchConfiguration
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type FileMetadataEntryFileMetadata struct {
Size int64 `json:"size,omitempty,string"`
// ForceSendFields is a list of field names (e.g. "Size") 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. "Size") 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 *FileMetadataEntryFileMetadata) MarshalJSON() ([]byte, error) {
type NoMethod FileMetadataEntryFileMetadata
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ForrestSubmittedBuilds struct {
AtpTestParameters *WorkParametersAtpTestParameters `json:"atpTestParameters,omitempty"`
BuildIdToTest string `json:"buildIdToTest,omitempty"`
BuildRange *BuildRange `json:"buildRange,omitempty"`
ChangeSetSpec *ChangeSetSpec `json:"changeSetSpec,omitempty"`
ExcludedChangeSetSpec *ChangeSetSpec `json:"excludedChangeSetSpec,omitempty"`
ForrestRunId string `json:"forrestRunId,omitempty"`
TestRequest *TestRequest `json:"testRequest,omitempty"`
// ForceSendFields is a list of field names (e.g. "AtpTestParameters")
// 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. "AtpTestParameters") 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 *ForrestSubmittedBuilds) MarshalJSON() ([]byte, error) {
type NoMethod ForrestSubmittedBuilds
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GerritChangeDetail struct {
AutocalcDetail bool `json:"autocalcDetail,omitempty"`
ChangeInfo *GerritChangeDetailSerializedGerritChangeInfo `json:"changeInfo,omitempty"`
ChangeSpec *GerritChangeSpec `json:"changeSpec,omitempty"`
CommitMessage string `json:"commitMessage,omitempty"`
FetchInfo *GerritChangeDetailGerritFetchDetail `json:"fetchInfo,omitempty"`
Files []string `json:"files,omitempty"`
MoreFiles bool `json:"moreFiles,omitempty"`
Owner string `json:"owner,omitempty"`
Project string `json:"project,omitempty"`
Sha1 string `json:"sha1,omitempty"`
Subject string `json:"subject,omitempty"`
Timestamp int64 `json:"timestamp,omitempty,string"`
Topic string `json:"topic,omitempty"`
// ForceSendFields is a list of field names (e.g. "AutocalcDetail") 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. "AutocalcDetail") 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 *GerritChangeDetail) MarshalJSON() ([]byte, error) {
type NoMethod GerritChangeDetail
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GerritChangeDetailGerritFetchDetail struct {
Method string `json:"method,omitempty"`
Ref string `json:"ref,omitempty"`
Url string `json:"url,omitempty"`
// ForceSendFields is a list of field names (e.g. "Method") 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. "Method") 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 *GerritChangeDetailGerritFetchDetail) MarshalJSON() ([]byte, error) {
type NoMethod GerritChangeDetailGerritFetchDetail
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GerritChangeDetailSerializedGerritChangeInfo struct {
JsonifiedChangeInfo string `json:"jsonifiedChangeInfo,omitempty"`
// ForceSendFields is a list of field names (e.g. "JsonifiedChangeInfo")
// 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. "JsonifiedChangeInfo") 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 *GerritChangeDetailSerializedGerritChangeInfo) MarshalJSON() ([]byte, error) {
type NoMethod GerritChangeDetailSerializedGerritChangeInfo
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GerritChangeSpec struct {
ChangeNumber int64 `json:"changeNumber,omitempty,string"`
Hostname string `json:"hostname,omitempty"`
Patchset int64 `json:"patchset,omitempty"`
// ForceSendFields is a list of field names (e.g. "ChangeNumber") 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. "ChangeNumber") 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 *GerritChangeSpec) MarshalJSON() ([]byte, error) {
type NoMethod GerritChangeSpec
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GitManifestLocation struct {
Branch string `json:"branch,omitempty"`
FilePath string `json:"filePath,omitempty"`
Host string `json:"host,omitempty"`
RepoPath string `json:"repoPath,omitempty"`
// ForceSendFields is a list of field names (e.g. "Branch") 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. "Branch") 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 *GitManifestLocation) MarshalJSON() ([]byte, error) {
type NoMethod GitManifestLocation
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ImageRequest struct {
Build *ImageRequestBuildInfo `json:"build,omitempty"`
Device string `json:"device,omitempty"`
Email string `json:"email,omitempty"`
FirmwareParams *ImageRequestFirmwareImageParams `json:"firmwareParams,omitempty"`
HexagonParams *ImageRequestHexagonImageParams `json:"hexagonParams,omitempty"`
Id string `json:"id,omitempty"`
Incrementals []*ImageRequestBuildInfo `json:"incrementals,omitempty"`
MainlineExternalBuild *ImageRequestBuildInfo `json:"mainlineExternalBuild,omitempty"`
MainlineModuleParams *ImageRequestMainlineModuleParams `json:"mainlineModuleParams,omitempty"`
OtaToolsBuild *ImageRequestBuildInfo `json:"otaToolsBuild,omitempty"`
Params *ImageRequestParams `json:"params,omitempty"`
ReleaseParams *ImageRequestReleaseImageParams `json:"releaseParams,omitempty"`
Revision string `json:"revision,omitempty"`
Signed bool `json:"signed,omitempty"`
Status string `json:"status,omitempty"`
Type string `json:"type,omitempty"`
UserdebugParams *ImageRequestUserdebugImageParams `json:"userdebugParams,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Build") 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. "Build") 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 *ImageRequest) MarshalJSON() ([]byte, error) {
type NoMethod ImageRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ImageRequestBuildInfo struct {
Branch string `json:"branch,omitempty"`
BuildId string `json:"buildId,omitempty"`
RcName string `json:"rcName,omitempty"`
Target string `json:"target,omitempty"`
// ForceSendFields is a list of field names (e.g. "Branch") 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. "Branch") 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 *ImageRequestBuildInfo) MarshalJSON() ([]byte, error) {
type NoMethod ImageRequestBuildInfo
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ImageRequestFirmwareImageParams struct {
ImageName string `json:"imageName,omitempty"`
SerialNums []string `json:"serialNums,omitempty"`
UseSerialSigning bool `json:"useSerialSigning,omitempty"`
// ForceSendFields is a list of field names (e.g. "ImageName") 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. "ImageName") 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 *ImageRequestFirmwareImageParams) MarshalJSON() ([]byte, error) {
type NoMethod ImageRequestFirmwareImageParams
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ImageRequestHexagonImageParams struct {
ImageName string `json:"imageName,omitempty"`
// ForceSendFields is a list of field names (e.g. "ImageName") 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. "ImageName") 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 *ImageRequestHexagonImageParams) MarshalJSON() ([]byte, error) {
type NoMethod ImageRequestHexagonImageParams
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ImageRequestListResponse struct {
ImageRequests []*ImageRequest `json:"image_requests,omitempty"`
NextPageToken string `json:"nextPageToken,omitempty"`
PreviousPageToken string `json:"previousPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ImageRequests") 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. "ImageRequests") 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 *ImageRequestListResponse) MarshalJSON() ([]byte, error) {
type NoMethod ImageRequestListResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ImageRequestMainlineModuleParams struct {
ReleaseKeySigned bool `json:"releaseKeySigned,omitempty"`
// ForceSendFields is a list of field names (e.g. "ReleaseKeySigned") 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. "ReleaseKeySigned") 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:"-"`
}