| // Copyright 2019 The Grafeas Authors. All rights reserved. |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.26.0 |
| // protoc v3.13.0 |
| // source: grafeas/v1/provenance.proto |
| |
| package grafeas |
| |
| import ( |
| reflect "reflect" |
| sync "sync" |
| |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| // The type of an alias. |
| type AliasContext_Kind int32 |
| |
| const ( |
| // Unknown. |
| AliasContext_KIND_UNSPECIFIED AliasContext_Kind = 0 |
| // Git tag. |
| AliasContext_FIXED AliasContext_Kind = 1 |
| // Git branch. |
| AliasContext_MOVABLE AliasContext_Kind = 2 |
| // Used to specify non-standard aliases. For example, if a Git repo has a |
| // ref named "refs/foo/bar". |
| AliasContext_OTHER AliasContext_Kind = 4 |
| ) |
| |
| // Enum value maps for AliasContext_Kind. |
| var ( |
| AliasContext_Kind_name = map[int32]string{ |
| 0: "KIND_UNSPECIFIED", |
| 1: "FIXED", |
| 2: "MOVABLE", |
| 4: "OTHER", |
| } |
| AliasContext_Kind_value = map[string]int32{ |
| "KIND_UNSPECIFIED": 0, |
| "FIXED": 1, |
| "MOVABLE": 2, |
| "OTHER": 4, |
| } |
| ) |
| |
| func (x AliasContext_Kind) Enum() *AliasContext_Kind { |
| p := new(AliasContext_Kind) |
| *p = x |
| return p |
| } |
| |
| func (x AliasContext_Kind) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (AliasContext_Kind) Descriptor() protoreflect.EnumDescriptor { |
| return file_grafeas_v1_provenance_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (AliasContext_Kind) Type() protoreflect.EnumType { |
| return &file_grafeas_v1_provenance_proto_enumTypes[0] |
| } |
| |
| func (x AliasContext_Kind) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use AliasContext_Kind.Descriptor instead. |
| func (AliasContext_Kind) EnumDescriptor() ([]byte, []int) { |
| return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{7, 0} |
| } |
| |
| // Provenance of a build. Contains all information needed to verify the full |
| // details about the build from source to completion. |
| type BuildProvenance struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. Unique identifier of the build. |
| Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| // ID of the project. |
| ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| // Commands requested by the build. |
| Commands []*Command `protobuf:"bytes,3,rep,name=commands,proto3" json:"commands,omitempty"` |
| // Output of the build. |
| BuiltArtifacts []*Artifact `protobuf:"bytes,4,rep,name=built_artifacts,json=builtArtifacts,proto3" json:"built_artifacts,omitempty"` |
| // Time at which the build was created. |
| CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| // Time at which execution of the build was started. |
| StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` |
| // Time at which execution of the build was finished. |
| EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` |
| // E-mail address of the user who initiated this build. Note that this was the |
| // user's e-mail address at the time the build was initiated; this address may |
| // not represent the same end-user for all time. |
| Creator string `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator,omitempty"` |
| // URI where any logs for this provenance were written. |
| LogsUri string `protobuf:"bytes,9,opt,name=logs_uri,json=logsUri,proto3" json:"logs_uri,omitempty"` |
| // Details of the Source input to the build. |
| SourceProvenance *Source `protobuf:"bytes,10,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"` |
| // Trigger identifier if the build was triggered automatically; empty if not. |
| TriggerId string `protobuf:"bytes,11,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` |
| // Special options applied to this build. This is a catch-all field where |
| // build providers can enter any desired additional details. |
| BuildOptions map[string]string `protobuf:"bytes,12,rep,name=build_options,json=buildOptions,proto3" json:"build_options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| // Version string of the builder at the time this build was executed. |
| BuilderVersion string `protobuf:"bytes,13,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"` |
| } |
| |
| func (x *BuildProvenance) Reset() { |
| *x = BuildProvenance{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *BuildProvenance) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BuildProvenance) ProtoMessage() {} |
| |
| func (x *BuildProvenance) ProtoReflect() protoreflect.Message { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[0] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use BuildProvenance.ProtoReflect.Descriptor instead. |
| func (*BuildProvenance) Descriptor() ([]byte, []int) { |
| return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *BuildProvenance) GetId() string { |
| if x != nil { |
| return x.Id |
| } |
| return "" |
| } |
| |
| func (x *BuildProvenance) GetProjectId() string { |
| if x != nil { |
| return x.ProjectId |
| } |
| return "" |
| } |
| |
| func (x *BuildProvenance) GetCommands() []*Command { |
| if x != nil { |
| return x.Commands |
| } |
| return nil |
| } |
| |
| func (x *BuildProvenance) GetBuiltArtifacts() []*Artifact { |
| if x != nil { |
| return x.BuiltArtifacts |
| } |
| return nil |
| } |
| |
| func (x *BuildProvenance) GetCreateTime() *timestamppb.Timestamp { |
| if x != nil { |
| return x.CreateTime |
| } |
| return nil |
| } |
| |
| func (x *BuildProvenance) GetStartTime() *timestamppb.Timestamp { |
| if x != nil { |
| return x.StartTime |
| } |
| return nil |
| } |
| |
| func (x *BuildProvenance) GetEndTime() *timestamppb.Timestamp { |
| if x != nil { |
| return x.EndTime |
| } |
| return nil |
| } |
| |
| func (x *BuildProvenance) GetCreator() string { |
| if x != nil { |
| return x.Creator |
| } |
| return "" |
| } |
| |
| func (x *BuildProvenance) GetLogsUri() string { |
| if x != nil { |
| return x.LogsUri |
| } |
| return "" |
| } |
| |
| func (x *BuildProvenance) GetSourceProvenance() *Source { |
| if x != nil { |
| return x.SourceProvenance |
| } |
| return nil |
| } |
| |
| func (x *BuildProvenance) GetTriggerId() string { |
| if x != nil { |
| return x.TriggerId |
| } |
| return "" |
| } |
| |
| func (x *BuildProvenance) GetBuildOptions() map[string]string { |
| if x != nil { |
| return x.BuildOptions |
| } |
| return nil |
| } |
| |
| func (x *BuildProvenance) GetBuilderVersion() string { |
| if x != nil { |
| return x.BuilderVersion |
| } |
| return "" |
| } |
| |
| // Source describes the location of the source used for the build. |
| type Source struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // If provided, the input binary artifacts for the build came from this |
| // location. |
| ArtifactStorageSourceUri string `protobuf:"bytes,1,opt,name=artifact_storage_source_uri,json=artifactStorageSourceUri,proto3" json:"artifact_storage_source_uri,omitempty"` |
| // Hash(es) of the build source, which can be used to verify that the original |
| // source integrity was maintained in the build. |
| // |
| // The keys to this map are file paths used as build source and the values |
| // contain the hash values for those files. |
| // |
| // If the build source came in a single package such as a gzipped tarfile |
| // (.tar.gz), the FileHash will be for the single path to that file. |
| FileHashes map[string]*FileHashes `protobuf:"bytes,2,rep,name=file_hashes,json=fileHashes,proto3" json:"file_hashes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| // If provided, the source code used for the build came from this location. |
| Context *SourceContext `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` |
| // If provided, some of the source code used for the build may be found in |
| // these locations, in the case where the source repository had multiple |
| // remotes or submodules. This list will not include the context specified in |
| // the context field. |
| AdditionalContexts []*SourceContext `protobuf:"bytes,4,rep,name=additional_contexts,json=additionalContexts,proto3" json:"additional_contexts,omitempty"` |
| } |
| |
| func (x *Source) Reset() { |
| *x = Source{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Source) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Source) ProtoMessage() {} |
| |
| func (x *Source) ProtoReflect() protoreflect.Message { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[1] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Source.ProtoReflect.Descriptor instead. |
| func (*Source) Descriptor() ([]byte, []int) { |
| return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *Source) GetArtifactStorageSourceUri() string { |
| if x != nil { |
| return x.ArtifactStorageSourceUri |
| } |
| return "" |
| } |
| |
| func (x *Source) GetFileHashes() map[string]*FileHashes { |
| if x != nil { |
| return x.FileHashes |
| } |
| return nil |
| } |
| |
| func (x *Source) GetContext() *SourceContext { |
| if x != nil { |
| return x.Context |
| } |
| return nil |
| } |
| |
| func (x *Source) GetAdditionalContexts() []*SourceContext { |
| if x != nil { |
| return x.AdditionalContexts |
| } |
| return nil |
| } |
| |
| // Container message for hashes of byte content of files, used in source |
| // messages to verify integrity of source input to the build. |
| type FileHashes struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. Collection of file hashes. |
| FileHash []*Hash `protobuf:"bytes,1,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` |
| } |
| |
| func (x *FileHashes) Reset() { |
| *x = FileHashes{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *FileHashes) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*FileHashes) ProtoMessage() {} |
| |
| func (x *FileHashes) ProtoReflect() protoreflect.Message { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[2] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use FileHashes.ProtoReflect.Descriptor instead. |
| func (*FileHashes) Descriptor() ([]byte, []int) { |
| return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *FileHashes) GetFileHash() []*Hash { |
| if x != nil { |
| return x.FileHash |
| } |
| return nil |
| } |
| |
| // Container message for hash values. |
| type Hash struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. The type of hash that was performed, e.g. "SHA-256". |
| Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` |
| // Required. The hash value. |
| Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| } |
| |
| func (x *Hash) Reset() { |
| *x = Hash{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Hash) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Hash) ProtoMessage() {} |
| |
| func (x *Hash) ProtoReflect() protoreflect.Message { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[3] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Hash.ProtoReflect.Descriptor instead. |
| func (*Hash) Descriptor() ([]byte, []int) { |
| return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *Hash) GetType() string { |
| if x != nil { |
| return x.Type |
| } |
| return "" |
| } |
| |
| func (x *Hash) GetValue() []byte { |
| if x != nil { |
| return x.Value |
| } |
| return nil |
| } |
| |
| // Command describes a step performed as part of the build pipeline. |
| type Command struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. Name of the command, as presented on the command line, or if the |
| // command is packaged as a Docker container, as presented to `docker pull`. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // Environment variables set before running this command. |
| Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"` |
| // Command-line arguments used when executing this command. |
| Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` |
| // Working directory (relative to project source root) used when running this |
| // command. |
| Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"` |
| // Optional unique identifier for this command, used in wait_for to reference |
| // this command as a dependency. |
| Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` |
| // The ID(s) of the command(s) that this command depends on. |
| WaitFor []string `protobuf:"bytes,6,rep,name=wait_for,json=waitFor,proto3" json:"wait_for,omitempty"` |
| } |
| |
| func (x *Command) Reset() { |
| *x = Command{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Command) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Command) ProtoMessage() {} |
| |
| func (x *Command) ProtoReflect() protoreflect.Message { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[4] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Command.ProtoReflect.Descriptor instead. |
| func (*Command) Descriptor() ([]byte, []int) { |
| return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *Command) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *Command) GetEnv() []string { |
| if x != nil { |
| return x.Env |
| } |
| return nil |
| } |
| |
| func (x *Command) GetArgs() []string { |
| if x != nil { |
| return x.Args |
| } |
| return nil |
| } |
| |
| func (x *Command) GetDir() string { |
| if x != nil { |
| return x.Dir |
| } |
| return "" |
| } |
| |
| func (x *Command) GetId() string { |
| if x != nil { |
| return x.Id |
| } |
| return "" |
| } |
| |
| func (x *Command) GetWaitFor() []string { |
| if x != nil { |
| return x.WaitFor |
| } |
| return nil |
| } |
| |
| // Artifact describes a build product. |
| type Artifact struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Hash or checksum value of a binary, or Docker Registry 2.0 digest of a |
| // container. |
| Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"` |
| // Artifact ID, if any; for container images, this will be a URL by digest |
| // like `gcr.io/projectID/imagename@sha256:123456`. |
| Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` |
| // Related artifact names. This may be the path to a binary or jar file, or in |
| // the case of a container build, the name used to push the container image to |
| // Google Container Registry, as presented to `docker push`. Note that a |
| // single Artifact ID can have multiple names, for example if two tags are |
| // applied to one image. |
| Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"` |
| } |
| |
| func (x *Artifact) Reset() { |
| *x = Artifact{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Artifact) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Artifact) ProtoMessage() {} |
| |
| func (x *Artifact) ProtoReflect() protoreflect.Message { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[5] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Artifact.ProtoReflect.Descriptor instead. |
| func (*Artifact) Descriptor() ([]byte, []int) { |
| return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *Artifact) GetChecksum() string { |
| if x != nil { |
| return x.Checksum |
| } |
| return "" |
| } |
| |
| func (x *Artifact) GetId() string { |
| if x != nil { |
| return x.Id |
| } |
| return "" |
| } |
| |
| func (x *Artifact) GetNames() []string { |
| if x != nil { |
| return x.Names |
| } |
| return nil |
| } |
| |
| // A SourceContext is a reference to a tree of files. A SourceContext together |
| // with a path point to a unique revision of a single file or directory. |
| type SourceContext struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // A SourceContext can refer any one of the following types of repositories. |
| // |
| // Types that are assignable to Context: |
| // *SourceContext_CloudRepo |
| // *SourceContext_Gerrit |
| // *SourceContext_Git |
| Context isSourceContext_Context `protobuf_oneof:"context"` |
| // Labels with user defined metadata. |
| Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| } |
| |
| func (x *SourceContext) Reset() { |
| *x = SourceContext{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *SourceContext) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*SourceContext) ProtoMessage() {} |
| |
| func (x *SourceContext) ProtoReflect() protoreflect.Message { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[6] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use SourceContext.ProtoReflect.Descriptor instead. |
| func (*SourceContext) Descriptor() ([]byte, []int) { |
| return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{6} |
| } |
| |
| func (m *SourceContext) GetContext() isSourceContext_Context { |
| if m != nil { |
| return m.Context |
| } |
| return nil |
| } |
| |
| func (x *SourceContext) GetCloudRepo() *CloudRepoSourceContext { |
| if x, ok := x.GetContext().(*SourceContext_CloudRepo); ok { |
| return x.CloudRepo |
| } |
| return nil |
| } |
| |
| func (x *SourceContext) GetGerrit() *GerritSourceContext { |
| if x, ok := x.GetContext().(*SourceContext_Gerrit); ok { |
| return x.Gerrit |
| } |
| return nil |
| } |
| |
| func (x *SourceContext) GetGit() *GitSourceContext { |
| if x, ok := x.GetContext().(*SourceContext_Git); ok { |
| return x.Git |
| } |
| return nil |
| } |
| |
| func (x *SourceContext) GetLabels() map[string]string { |
| if x != nil { |
| return x.Labels |
| } |
| return nil |
| } |
| |
| type isSourceContext_Context interface { |
| isSourceContext_Context() |
| } |
| |
| type SourceContext_CloudRepo struct { |
| // A SourceContext referring to a revision in a Google Cloud Source Repo. |
| CloudRepo *CloudRepoSourceContext `protobuf:"bytes,1,opt,name=cloud_repo,json=cloudRepo,proto3,oneof"` |
| } |
| |
| type SourceContext_Gerrit struct { |
| // A SourceContext referring to a Gerrit project. |
| Gerrit *GerritSourceContext `protobuf:"bytes,2,opt,name=gerrit,proto3,oneof"` |
| } |
| |
| type SourceContext_Git struct { |
| // A SourceContext referring to any third party Git repo (e.g., GitHub). |
| Git *GitSourceContext `protobuf:"bytes,3,opt,name=git,proto3,oneof"` |
| } |
| |
| func (*SourceContext_CloudRepo) isSourceContext_Context() {} |
| |
| func (*SourceContext_Gerrit) isSourceContext_Context() {} |
| |
| func (*SourceContext_Git) isSourceContext_Context() {} |
| |
| // An alias to a repo revision. |
| type AliasContext struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The alias kind. |
| Kind AliasContext_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=grafeas.v1.AliasContext_Kind" json:"kind,omitempty"` |
| // The alias name. |
| Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| } |
| |
| func (x *AliasContext) Reset() { |
| *x = AliasContext{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[7] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *AliasContext) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AliasContext) ProtoMessage() {} |
| |
| func (x *AliasContext) ProtoReflect() protoreflect.Message { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[7] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use AliasContext.ProtoReflect.Descriptor instead. |
| func (*AliasContext) Descriptor() ([]byte, []int) { |
| return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{7} |
| } |
| |
| func (x *AliasContext) GetKind() AliasContext_Kind { |
| if x != nil { |
| return x.Kind |
| } |
| return AliasContext_KIND_UNSPECIFIED |
| } |
| |
| func (x *AliasContext) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| // A CloudRepoSourceContext denotes a particular revision in a Google Cloud |
| // Source Repo. |
| type CloudRepoSourceContext struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The ID of the repo. |
| RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` |
| // A revision in a Cloud Repo can be identified by either its revision ID or |
| // its alias. |
| // |
| // Types that are assignable to Revision: |
| // *CloudRepoSourceContext_RevisionId |
| // *CloudRepoSourceContext_AliasContext |
| Revision isCloudRepoSourceContext_Revision `protobuf_oneof:"revision"` |
| } |
| |
| func (x *CloudRepoSourceContext) Reset() { |
| *x = CloudRepoSourceContext{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[8] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CloudRepoSourceContext) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CloudRepoSourceContext) ProtoMessage() {} |
| |
| func (x *CloudRepoSourceContext) ProtoReflect() protoreflect.Message { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[8] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CloudRepoSourceContext.ProtoReflect.Descriptor instead. |
| func (*CloudRepoSourceContext) Descriptor() ([]byte, []int) { |
| return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{8} |
| } |
| |
| func (x *CloudRepoSourceContext) GetRepoId() *RepoId { |
| if x != nil { |
| return x.RepoId |
| } |
| return nil |
| } |
| |
| func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision { |
| if m != nil { |
| return m.Revision |
| } |
| return nil |
| } |
| |
| func (x *CloudRepoSourceContext) GetRevisionId() string { |
| if x, ok := x.GetRevision().(*CloudRepoSourceContext_RevisionId); ok { |
| return x.RevisionId |
| } |
| return "" |
| } |
| |
| func (x *CloudRepoSourceContext) GetAliasContext() *AliasContext { |
| if x, ok := x.GetRevision().(*CloudRepoSourceContext_AliasContext); ok { |
| return x.AliasContext |
| } |
| return nil |
| } |
| |
| type isCloudRepoSourceContext_Revision interface { |
| isCloudRepoSourceContext_Revision() |
| } |
| |
| type CloudRepoSourceContext_RevisionId struct { |
| // A revision ID. |
| RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3,oneof"` |
| } |
| |
| type CloudRepoSourceContext_AliasContext struct { |
| // An alias, which may be a branch or tag. |
| AliasContext *AliasContext `protobuf:"bytes,3,opt,name=alias_context,json=aliasContext,proto3,oneof"` |
| } |
| |
| func (*CloudRepoSourceContext_RevisionId) isCloudRepoSourceContext_Revision() {} |
| |
| func (*CloudRepoSourceContext_AliasContext) isCloudRepoSourceContext_Revision() {} |
| |
| // A SourceContext referring to a Gerrit project. |
| type GerritSourceContext struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The URI of a running Gerrit instance. |
| HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri,proto3" json:"host_uri,omitempty"` |
| // The full project name within the host. Projects may be nested, so |
| // "project/subproject" is a valid project name. The "repo name" is the |
| // hostURI/project. |
| GerritProject string `protobuf:"bytes,2,opt,name=gerrit_project,json=gerritProject,proto3" json:"gerrit_project,omitempty"` |
| // A revision in a Gerrit project can be identified by either its revision ID |
| // or its alias. |
| // |
| // Types that are assignable to Revision: |
| // *GerritSourceContext_RevisionId |
| // *GerritSourceContext_AliasContext |
| Revision isGerritSourceContext_Revision `protobuf_oneof:"revision"` |
| } |
| |
| func (x *GerritSourceContext) Reset() { |
| *x = GerritSourceContext{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[9] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *GerritSourceContext) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*GerritSourceContext) ProtoMessage() {} |
| |
| func (x *GerritSourceContext) ProtoReflect() protoreflect.Message { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[9] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use GerritSourceContext.ProtoReflect.Descriptor instead. |
| func (*GerritSourceContext) Descriptor() ([]byte, []int) { |
| return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{9} |
| } |
| |
| func (x *GerritSourceContext) GetHostUri() string { |
| if x != nil { |
| return x.HostUri |
| } |
| return "" |
| } |
| |
| func (x *GerritSourceContext) GetGerritProject() string { |
| if x != nil { |
| return x.GerritProject |
| } |
| return "" |
| } |
| |
| func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision { |
| if m != nil { |
| return m.Revision |
| } |
| return nil |
| } |
| |
| func (x *GerritSourceContext) GetRevisionId() string { |
| if x, ok := x.GetRevision().(*GerritSourceContext_RevisionId); ok { |
| return x.RevisionId |
| } |
| return "" |
| } |
| |
| func (x *GerritSourceContext) GetAliasContext() *AliasContext { |
| if x, ok := x.GetRevision().(*GerritSourceContext_AliasContext); ok { |
| return x.AliasContext |
| } |
| return nil |
| } |
| |
| type isGerritSourceContext_Revision interface { |
| isGerritSourceContext_Revision() |
| } |
| |
| type GerritSourceContext_RevisionId struct { |
| // A revision (commit) ID. |
| RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3,oneof"` |
| } |
| |
| type GerritSourceContext_AliasContext struct { |
| // An alias, which may be a branch or tag. |
| AliasContext *AliasContext `protobuf:"bytes,4,opt,name=alias_context,json=aliasContext,proto3,oneof"` |
| } |
| |
| func (*GerritSourceContext_RevisionId) isGerritSourceContext_Revision() {} |
| |
| func (*GerritSourceContext_AliasContext) isGerritSourceContext_Revision() {} |
| |
| // A GitSourceContext denotes a particular revision in a third party Git |
| // repository (e.g., GitHub). |
| type GitSourceContext struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Git repository URL. |
| Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` |
| // Git commit hash. |
| RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` |
| } |
| |
| func (x *GitSourceContext) Reset() { |
| *x = GitSourceContext{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[10] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *GitSourceContext) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*GitSourceContext) ProtoMessage() {} |
| |
| func (x *GitSourceContext) ProtoReflect() protoreflect.Message { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[10] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use GitSourceContext.ProtoReflect.Descriptor instead. |
| func (*GitSourceContext) Descriptor() ([]byte, []int) { |
| return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{10} |
| } |
| |
| func (x *GitSourceContext) GetUrl() string { |
| if x != nil { |
| return x.Url |
| } |
| return "" |
| } |
| |
| func (x *GitSourceContext) GetRevisionId() string { |
| if x != nil { |
| return x.RevisionId |
| } |
| return "" |
| } |
| |
| // A unique identifier for a Cloud Repo. |
| type RepoId struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // A cloud repo can be identified by either its project ID and repository name |
| // combination, or its globally unique identifier. |
| // |
| // Types that are assignable to Id: |
| // *RepoId_ProjectRepoId |
| // *RepoId_Uid |
| Id isRepoId_Id `protobuf_oneof:"id"` |
| } |
| |
| func (x *RepoId) Reset() { |
| *x = RepoId{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[11] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RepoId) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RepoId) ProtoMessage() {} |
| |
| func (x *RepoId) ProtoReflect() protoreflect.Message { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[11] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use RepoId.ProtoReflect.Descriptor instead. |
| func (*RepoId) Descriptor() ([]byte, []int) { |
| return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{11} |
| } |
| |
| func (m *RepoId) GetId() isRepoId_Id { |
| if m != nil { |
| return m.Id |
| } |
| return nil |
| } |
| |
| func (x *RepoId) GetProjectRepoId() *ProjectRepoId { |
| if x, ok := x.GetId().(*RepoId_ProjectRepoId); ok { |
| return x.ProjectRepoId |
| } |
| return nil |
| } |
| |
| func (x *RepoId) GetUid() string { |
| if x, ok := x.GetId().(*RepoId_Uid); ok { |
| return x.Uid |
| } |
| return "" |
| } |
| |
| type isRepoId_Id interface { |
| isRepoId_Id() |
| } |
| |
| type RepoId_ProjectRepoId struct { |
| // A combination of a project ID and a repo name. |
| ProjectRepoId *ProjectRepoId `protobuf:"bytes,1,opt,name=project_repo_id,json=projectRepoId,proto3,oneof"` |
| } |
| |
| type RepoId_Uid struct { |
| // A server-assigned, globally unique identifier. |
| Uid string `protobuf:"bytes,2,opt,name=uid,proto3,oneof"` |
| } |
| |
| func (*RepoId_ProjectRepoId) isRepoId_Id() {} |
| |
| func (*RepoId_Uid) isRepoId_Id() {} |
| |
| // Selects a repo using a Google Cloud Platform project ID (e.g., |
| // winged-cargo-31) and a repo name within that project. |
| type ProjectRepoId struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The ID of the project. |
| ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| // The name of the repo. Leave empty for the default repo. |
| RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` |
| } |
| |
| func (x *ProjectRepoId) Reset() { |
| *x = ProjectRepoId{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[12] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ProjectRepoId) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ProjectRepoId) ProtoMessage() {} |
| |
| func (x *ProjectRepoId) ProtoReflect() protoreflect.Message { |
| mi := &file_grafeas_v1_provenance_proto_msgTypes[12] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ProjectRepoId.ProtoReflect.Descriptor instead. |
| func (*ProjectRepoId) Descriptor() ([]byte, []int) { |
| return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{12} |
| } |
| |
| func (x *ProjectRepoId) GetProjectId() string { |
| if x != nil { |
| return x.ProjectId |
| } |
| return "" |
| } |
| |
| func (x *ProjectRepoId) GetRepoName() string { |
| if x != nil { |
| return x.RepoName |
| } |
| return "" |
| } |
| |
| var File_grafeas_v1_provenance_proto protoreflect.FileDescriptor |
| |
| var file_grafeas_v1_provenance_proto_rawDesc = []byte{ |
| 0x0a, 0x1b, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, |
| 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, |
| 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, |
| 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x05, 0x0a, 0x0f, 0x42, |
| 0x75, 0x69, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x0e, |
| 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, |
| 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, |
| 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x2f, 0x0a, |
| 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 0x13, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, |
| 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x12, 0x3d, |
| 0x0a, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x74, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, |
| 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, |
| 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x0e, 0x62, |
| 0x75, 0x69, 0x6c, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x3b, 0x0a, |
| 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, |
| 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, |
| 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, |
| 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, |
| 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, |
| 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, |
| 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, |
| 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, |
| 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, |
| 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x75, |
| 0x72, 0x69, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x73, 0x55, 0x72, |
| 0x69, 0x12, 0x3f, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, |
| 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, |
| 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 0x52, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, |
| 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x69, 0x64, |
| 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x49, |
| 0x64, 0x12, 0x52, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, |
| 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, |
| 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x65, |
| 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, |
| 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4f, 0x70, |
| 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, |
| 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, |
| 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x3f, |
| 0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, |
| 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, |
| 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, |
| 0xe4, 0x02, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x1b, 0x61, 0x72, |
| 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, |
| 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 0x18, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, |
| 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x69, 0x12, 0x43, 0x0a, 0x0b, 0x66, 0x69, 0x6c, |
| 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, |
| 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, |
| 0x63, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x45, 0x6e, 0x74, |
| 0x72, 0x79, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x33, |
| 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 0x19, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, |
| 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, |
| 0x65, 0x78, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, |
| 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, |
| 0x32, 0x19, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, |
| 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x12, 0x61, 0x64, 0x64, |
| 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x1a, |
| 0x55, 0x0a, 0x0f, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x45, 0x6e, 0x74, |
| 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, |
| 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, |
| 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, |
| 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3b, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x61, |
| 0x73, 0x68, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x68, 0x61, 0x73, |
| 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, |
| 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x48, |
| 0x61, 0x73, 0x68, 0x22, 0x30, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x74, |
| 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, |
| 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, |
| 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, |
| 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x02, 0x20, 0x03, |
| 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, |
| 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x64, |
| 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x72, 0x12, 0x0e, 0x0a, |
| 0x02, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, |
| 0x08, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, |
| 0x07, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x22, 0x4c, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, |
| 0x66, 0x61, 0x63, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, |
| 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, |
| 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, |
| 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, |
| 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0xc6, 0x02, 0x0a, 0x0d, 0x53, 0x6f, 0x75, 0x72, 0x63, |
| 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x43, 0x0a, 0x0a, 0x63, 0x6c, 0x6f, 0x75, |
| 0x64, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, |
| 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x52, |
| 0x65, 0x70, 0x6f, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, |
| 0x48, 0x00, 0x52, 0x09, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x39, 0x0a, |
| 0x06, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, |
| 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x72, 0x72, 0x69, |
| 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, |
| 0x52, 0x06, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x12, 0x30, 0x0a, 0x03, 0x67, 0x69, 0x74, 0x18, |
| 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, |
| 0x76, 0x31, 0x2e, 0x47, 0x69, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, |
| 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x03, 0x67, 0x69, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x6c, 0x61, |
| 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x61, |
| 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, |
| 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, |
| 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, |
| 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, |
| 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, |
| 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, |
| 0x3a, 0x02, 0x38, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, |
| 0x96, 0x01, 0x0a, 0x0c, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, |
| 0x12, 0x31, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, |
| 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x69, 0x61, |
| 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, |
| 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3f, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, |
| 0x14, 0x0a, 0x10, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, |
| 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x58, 0x45, 0x44, 0x10, 0x01, |
| 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x4f, 0x56, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x09, 0x0a, |
| 0x05, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x04, 0x22, 0xb5, 0x01, 0x0a, 0x16, 0x43, 0x6c, 0x6f, |
| 0x75, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, |
| 0x65, 0x78, 0x74, 0x12, 0x2b, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, |
| 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, |
| 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x49, 0x64, |
| 0x12, 0x21, 0x0a, 0x0b, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, |
| 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, |
| 0x6e, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x0d, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x6e, |
| 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x61, |
| 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, |
| 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, |
| 0x74, 0x65, 0x78, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, |
| 0x22, 0xc7, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, |
| 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, |
| 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74, |
| 0x55, 0x72, 0x69, 0x12, 0x25, 0x0a, 0x0e, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x5f, 0x70, 0x72, |
| 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x67, 0x65, 0x72, |
| 0x72, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x0a, 0x0b, 0x72, 0x65, |
| 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, |
| 0x00, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3f, 0x0a, |
| 0x0d, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x04, |
| 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, |
| 0x31, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, |
| 0x52, 0x0c, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x0a, |
| 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x45, 0x0a, 0x10, 0x47, 0x69, |
| 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x10, |
| 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, |
| 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, |
| 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x49, |
| 0x64, 0x22, 0x67, 0x0a, 0x06, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0f, 0x70, |
| 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, |
| 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, |
| 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x48, |
| 0x00, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, |
| 0x12, 0x12, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, |
| 0x03, 0x75, 0x69, 0x64, 0x42, 0x04, 0x0a, 0x02, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x0d, 0x50, 0x72, |
| 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, |
| 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, |
| 0x70, 0x6f, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, |
| 0x65, 0x70, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x51, 0x0a, 0x0d, 0x69, 0x6f, 0x2e, 0x67, 0x72, |
| 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x6f, 0x6f, 0x67, |
| 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, |
| 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, |
| 0x73, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x72, 0x61, |
| 0x66, 0x65, 0x61, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x52, 0x41, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, |
| 0x6f, 0x33, |
| } |
| |
| var ( |
| file_grafeas_v1_provenance_proto_rawDescOnce sync.Once |
| file_grafeas_v1_provenance_proto_rawDescData = file_grafeas_v1_provenance_proto_rawDesc |
| ) |
| |
| func file_grafeas_v1_provenance_proto_rawDescGZIP() []byte { |
| file_grafeas_v1_provenance_proto_rawDescOnce.Do(func() { |
| file_grafeas_v1_provenance_proto_rawDescData = protoimpl.X.CompressGZIP(file_grafeas_v1_provenance_proto_rawDescData) |
| }) |
| return file_grafeas_v1_provenance_proto_rawDescData |
| } |
| |
| var file_grafeas_v1_provenance_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| var file_grafeas_v1_provenance_proto_msgTypes = make([]protoimpl.MessageInfo, 16) |
| var file_grafeas_v1_provenance_proto_goTypes = []interface{}{ |
| (AliasContext_Kind)(0), // 0: grafeas.v1.AliasContext.Kind |
| (*BuildProvenance)(nil), // 1: grafeas.v1.BuildProvenance |
| (*Source)(nil), // 2: grafeas.v1.Source |
| (*FileHashes)(nil), // 3: grafeas.v1.FileHashes |
| (*Hash)(nil), // 4: grafeas.v1.Hash |
| (*Command)(nil), // 5: grafeas.v1.Command |
| (*Artifact)(nil), // 6: grafeas.v1.Artifact |
| (*SourceContext)(nil), // 7: grafeas.v1.SourceContext |
| (*AliasContext)(nil), // 8: grafeas.v1.AliasContext |
| (*CloudRepoSourceContext)(nil), // 9: grafeas.v1.CloudRepoSourceContext |
| (*GerritSourceContext)(nil), // 10: grafeas.v1.GerritSourceContext |
| (*GitSourceContext)(nil), // 11: grafeas.v1.GitSourceContext |
| (*RepoId)(nil), // 12: grafeas.v1.RepoId |
| (*ProjectRepoId)(nil), // 13: grafeas.v1.ProjectRepoId |
| nil, // 14: grafeas.v1.BuildProvenance.BuildOptionsEntry |
| nil, // 15: grafeas.v1.Source.FileHashesEntry |
| nil, // 16: grafeas.v1.SourceContext.LabelsEntry |
| (*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp |
| } |
| var file_grafeas_v1_provenance_proto_depIdxs = []int32{ |
| 5, // 0: grafeas.v1.BuildProvenance.commands:type_name -> grafeas.v1.Command |
| 6, // 1: grafeas.v1.BuildProvenance.built_artifacts:type_name -> grafeas.v1.Artifact |
| 17, // 2: grafeas.v1.BuildProvenance.create_time:type_name -> google.protobuf.Timestamp |
| 17, // 3: grafeas.v1.BuildProvenance.start_time:type_name -> google.protobuf.Timestamp |
| 17, // 4: grafeas.v1.BuildProvenance.end_time:type_name -> google.protobuf.Timestamp |
| 2, // 5: grafeas.v1.BuildProvenance.source_provenance:type_name -> grafeas.v1.Source |
| 14, // 6: grafeas.v1.BuildProvenance.build_options:type_name -> grafeas.v1.BuildProvenance.BuildOptionsEntry |
| 15, // 7: grafeas.v1.Source.file_hashes:type_name -> grafeas.v1.Source.FileHashesEntry |
| 7, // 8: grafeas.v1.Source.context:type_name -> grafeas.v1.SourceContext |
| 7, // 9: grafeas.v1.Source.additional_contexts:type_name -> grafeas.v1.SourceContext |
| 4, // 10: grafeas.v1.FileHashes.file_hash:type_name -> grafeas.v1.Hash |
| 9, // 11: grafeas.v1.SourceContext.cloud_repo:type_name -> grafeas.v1.CloudRepoSourceContext |
| 10, // 12: grafeas.v1.SourceContext.gerrit:type_name -> grafeas.v1.GerritSourceContext |
| 11, // 13: grafeas.v1.SourceContext.git:type_name -> grafeas.v1.GitSourceContext |
| 16, // 14: grafeas.v1.SourceContext.labels:type_name -> grafeas.v1.SourceContext.LabelsEntry |
| 0, // 15: grafeas.v1.AliasContext.kind:type_name -> grafeas.v1.AliasContext.Kind |
| 12, // 16: grafeas.v1.CloudRepoSourceContext.repo_id:type_name -> grafeas.v1.RepoId |
| 8, // 17: grafeas.v1.CloudRepoSourceContext.alias_context:type_name -> grafeas.v1.AliasContext |
| 8, // 18: grafeas.v1.GerritSourceContext.alias_context:type_name -> grafeas.v1.AliasContext |
| 13, // 19: grafeas.v1.RepoId.project_repo_id:type_name -> grafeas.v1.ProjectRepoId |
| 3, // 20: grafeas.v1.Source.FileHashesEntry.value:type_name -> grafeas.v1.FileHashes |
| 21, // [21:21] is the sub-list for method output_type |
| 21, // [21:21] is the sub-list for method input_type |
| 21, // [21:21] is the sub-list for extension type_name |
| 21, // [21:21] is the sub-list for extension extendee |
| 0, // [0:21] is the sub-list for field type_name |
| } |
| |
| func init() { file_grafeas_v1_provenance_proto_init() } |
| func file_grafeas_v1_provenance_proto_init() { |
| if File_grafeas_v1_provenance_proto != nil { |
| return |
| } |
| if !protoimpl.UnsafeEnabled { |
| file_grafeas_v1_provenance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*BuildProvenance); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Source); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*FileHashes); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Hash); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Command); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Artifact); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*SourceContext); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*AliasContext); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CloudRepoSourceContext); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*GerritSourceContext); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*GitSourceContext); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RepoId); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ProjectRepoId); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[6].OneofWrappers = []interface{}{ |
| (*SourceContext_CloudRepo)(nil), |
| (*SourceContext_Gerrit)(nil), |
| (*SourceContext_Git)(nil), |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[8].OneofWrappers = []interface{}{ |
| (*CloudRepoSourceContext_RevisionId)(nil), |
| (*CloudRepoSourceContext_AliasContext)(nil), |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[9].OneofWrappers = []interface{}{ |
| (*GerritSourceContext_RevisionId)(nil), |
| (*GerritSourceContext_AliasContext)(nil), |
| } |
| file_grafeas_v1_provenance_proto_msgTypes[11].OneofWrappers = []interface{}{ |
| (*RepoId_ProjectRepoId)(nil), |
| (*RepoId_Uid)(nil), |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_grafeas_v1_provenance_proto_rawDesc, |
| NumEnums: 1, |
| NumMessages: 16, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_grafeas_v1_provenance_proto_goTypes, |
| DependencyIndexes: file_grafeas_v1_provenance_proto_depIdxs, |
| EnumInfos: file_grafeas_v1_provenance_proto_enumTypes, |
| MessageInfos: file_grafeas_v1_provenance_proto_msgTypes, |
| }.Build() |
| File_grafeas_v1_provenance_proto = out.File |
| file_grafeas_v1_provenance_proto_rawDesc = nil |
| file_grafeas_v1_provenance_proto_goTypes = nil |
| file_grafeas_v1_provenance_proto_depIdxs = nil |
| } |