// source: pkg/server/proto/server.proto
/**
 * @fileoverview
 * @enhanceable
 * @suppress {missingRequire} reports error on implicit type usages.
 * @suppress {messageConventions} JS Compiler reports an error if a variable or
 *     field starts with 'MSG_' and isn't a translatable message.
 * @public
 */
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck

var jspb = require('google-protobuf');
var goog = jspb;
var global = Function('return this')();

var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
goog.object.extend(proto, google_protobuf_empty_pb);
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
goog.object.extend(proto, google_protobuf_timestamp_pb);
var google_rpc_status_pb = require('api-common-protos/google/rpc/status_pb.js');
goog.object.extend(proto, google_rpc_status_pb);
var any_pb = require('opaqueany/any_pb.js');
goog.object.extend(proto, any_pb);
goog.exportSymbol('proto.hashicorp.waypoint.AdoptRunnerRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Application', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Artifact', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.AuthMethod', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.AuthMethod.MethodCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.AuthMethod.OIDC', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Build', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Build.Preload', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.CancelJobRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.CancelTaskRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.CompleteOIDCAuthRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.CompleteOIDCAuthResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Component', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Component.Type', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigGetRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigGetRequest.ScopeCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigGetResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigSetRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigSetResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigSource', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigSource.ScopeCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigSyncPipelineRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigSyncPipelineResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigVar', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigVar.DynamicVal', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigVar.Target', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigVar.Target.AppScopeCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigVar.UnusedScopeCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConfigVar.ValueCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ConvertInviteTokenRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.CreateHostnameRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.CreateHostnameResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.CreateSnapshotResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.CreateSnapshotResponse.EventCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.CreateSnapshotResponse.Open', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.DeclaredResource', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.DecodeTokenRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.DecodeTokenResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.DeleteAuthMethodRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.DeleteHostnameRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.DeleteTaskRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.DeleteTriggerRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.DeleteUserRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Deployment', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Deployment.LoadDetails', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Deployment.Preload', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.DeploymentExpanded', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Documentation', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Documentation.Field', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Documentation.Mapper', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointConfig', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointConfig.Exec', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointConfig.URLService', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointConfigRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointConfigResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointExecRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointExecRequest.Error', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointExecRequest.EventCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointExecRequest.Exit', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointExecRequest.Open', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointExecRequest.Output', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointExecRequest.Output.Channel', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointExecResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointExecResponse.EventCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.EntrypointLogBatch', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ErrorDetail', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExecStreamRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExecStreamRequest.EventCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExecStreamRequest.Input', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExecStreamRequest.PTY', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExecStreamRequest.Start', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExecStreamRequest.Start.TargetCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExecStreamRequest.WindowSize', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExecStreamResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExecStreamResponse.EventCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExecStreamResponse.Exit', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExecStreamResponse.Open', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExecStreamResponse.Output', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExecStreamResponse.Output.Channel', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExpediteStatusReportRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExpediteStatusReportRequest.TargetCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ExpediteStatusReportResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ForgetRunnerRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GenerateRunnerTokenRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Generation', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetApplicationRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetApplicationResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetAuthMethodRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetAuthMethodResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetBuildRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetConfigSourceRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetConfigSourceRequest.ScopeCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetConfigSourceResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetDeploymentRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Complete', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Download', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Error', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.EventCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.JobChange', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Open', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.State', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Terminal', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.EventCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetLatestBuildRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetLatestPushedArtifactRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetLatestReleaseRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetLatestStatusReportRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetLatestStatusReportRequest.TargetCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetLogStreamRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetLogStreamRequest.Application', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetLogStreamRequest.ScopeCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetOIDCAuthURLRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetOIDCAuthURLResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetPipelineRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetPipelineResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetPipelineResponse.Graph', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetPipelineResponse.Graph.Format', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetPipelineRunRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetPipelineRunResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetProjectRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetProjectResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetPushedArtifactRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetReleaseRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetRunnerRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetServerConfigResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetStatusReportRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetTaskRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetTaskResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetTriggerRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetTriggerResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetUserRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetUserResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetVersionInfoResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetWorkspaceRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.GetWorkspaceResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.HMACKey', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Hcl', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Hcl.Format', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Hostname', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Hostname.Target', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Hostname.Target.TargetCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Hostname.TargetApp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.InlineKeepalive', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Instance', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Instance.Type', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.InviteTokenRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.AuthOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.AuthResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.AuthResult.Result', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.BuildOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.BuildResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.Config', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.Config.Source', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.ConfigSyncOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.ConfigSyncResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.DataSource', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.DataSource.Ref', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.DataSource.Ref.RefCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.DataSource.SourceCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.DeployOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.DeployResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.DestroyOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.DestroyOp.TargetCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.DocsOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.DocsResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.DocsResult.Result', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.ExecOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.ExecResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.Git', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.Git.AuthCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.Git.Basic', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.Git.Ref', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.Git.SSH', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.InitOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.InitResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.Local', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.LogsOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.Noop', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.OperationCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.PipelineConfigSyncResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.PipelineStepOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.PipelineStepResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.PollOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.PollResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.PushOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.PushResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.QueueProjectOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.QueueProjectResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.QueueProjectResult.Application', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.ReleaseOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.ReleaseResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.Result', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.StartTaskLaunchOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.StartTaskResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.State', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.StatusReportOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.StatusReportOp.TargetCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.StatusReportResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.StopTaskLaunchOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.StopTaskLaunchOp.StateCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.TaskOverride', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.TaskPluginParams', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.UpOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.UpResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.ValidateOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.ValidateResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.WatchTaskOp', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Job.WatchTaskResult', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListAuthMethodsResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListBuildsRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListBuildsResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListDeploymentsRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListDeploymentsResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListHostnamesRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListHostnamesResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListInstancesRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListInstancesRequest.Application', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListInstancesRequest.ScopeCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListInstancesResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListJobsRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListJobsResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListPipelineRunsRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListPipelineRunsResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListPipelinesRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListPipelinesResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListProjectsResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListPushedArtifactsRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListPushedArtifactsResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListReleasesRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListReleasesResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListRunnersRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListRunnersResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListStatusReportsRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListStatusReportsRequest.TargetCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListStatusReportsResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListTaskRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListTaskResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListTriggerRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListTriggerResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListUsersResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListWorkspacesRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListWorkspacesRequest.ScopeCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ListWorkspacesResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.LogBatch', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.LogBatch.Entry', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.LogBatch.Entry.Source', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.LoginTokenRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.NewTokenResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.OIDCAuthMethod', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.OIDCAuthMethod.Kind', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.OnDemandRunnerConfig', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Operation', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Operation.PhysicalState', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.OperationOrder', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.OperationOrder.Order', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Pipeline', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Pipeline.OwnerCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Pipeline.Step', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Pipeline.Step.Build', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Pipeline.Step.Deploy', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Pipeline.Step.Exec', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Pipeline.Step.KindCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Pipeline.Step.Pipeline', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Pipeline.Step.Release', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Pipeline.Step.Up', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.PipelineRun', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.PipelineRun.State', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Project', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Project.AppStatusPoll', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Project.Poll', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.PushedArtifact', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.PushedArtifact.Preload', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.QueueJobRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.QueueJobResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Application', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Artifact', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Artifact.RefCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.AuthMethod', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Component', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.DeclaredResource', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Deployment', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Deployment.RefCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Global', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Job', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Operation', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Operation.TargetCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.OperationSeq', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Pipeline', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Pipeline.RefCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.PipelineOwner', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.PipelineStep', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Project', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Runner', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Runner.TargetCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.RunnerAny', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.RunnerId', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.RunnerLabels', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Task', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Task.RefCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Trigger', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.User', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.User.RefCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.UserId', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.UserUsername', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Ref.Workspace', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Release', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Release.LoadDetails', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Release.Preload', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ReleaseExpanded', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ResourceCategoryDisplayHint', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RestoreSnapshotRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RestoreSnapshotRequest.EventCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RestoreSnapshotRequest.Open', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunPipelineRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunPipelineResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunTriggerRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunTriggerResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Runner', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Runner.AdoptionState', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Runner.KindCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Runner.Local', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Runner.ODR', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Runner.Remote', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerConfig', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerConfigRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerConfigRequest.EventCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerConfigRequest.Open', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerConfigResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerJobStreamRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerJobStreamRequest.Error', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerJobStreamRequest.EventCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerJobStreamRequest.Request', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerJobStreamResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerJobStreamResponse.EventCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerTokenRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.RunnerTokenResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ServerConfig', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ServerFeatures', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ServerFeatures.feature', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.SetConfigSourceRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.SetServerConfigRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Snapshot', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Snapshot.BoltChunk', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Snapshot.Header', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Snapshot.Header.Format', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Snapshot.Trailer', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Snapshot.Trailer.ChecksumCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Status', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Status.State', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.StatusFilter', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.StatusFilter.Filter', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.StatusFilter.Filter.FilterCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.StatusReport', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.StatusReport.Health', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.StatusReport.Resource', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.StatusReport.Resource.Health', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.StatusReport.TargetIdCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Task', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Task.State', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.TaskLaunchInfo', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Token', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Token.Entrypoint', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Token.Invite', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Token.Invite.Signup', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Token.KindCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Token.Login', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Token.Runner', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Token.Trigger', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.TokenTransport', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.TokenTransport.ExternalCredsCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.TokenTransport.OAuthCredentials', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Trigger', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Trigger.OperationCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UI', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UI.DeploymentBundle', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UI.GetProjectRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UI.GetProjectResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UI.ListDeploymentsRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UI.ListDeploymentsResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UI.ListReleasesRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UI.ListReleasesResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UI.ReleaseBundle', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpdateUserRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpdateUserResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertApplicationRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertApplicationResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertAuthMethodRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertAuthMethodResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertBuildRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertBuildResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertDeploymentRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertDeploymentRequest.Tristate', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertDeploymentResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertPipelineRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertPipelineResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertProjectRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertProjectResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertPushedArtifactRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertPushedArtifactResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertReleaseRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertReleaseResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertStatusReportRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertStatusReportResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertTaskRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertTaskResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertTriggerRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertTriggerResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertWorkspaceRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.UpsertWorkspaceResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.User', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.User.Link', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.User.Link.MethodCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.User.Link.OIDC', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ValidateJobRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.ValidateJobResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Variable', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Variable.File', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Variable.FinalValue', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Variable.FinalValue.Source', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Variable.FinalValue.ValueCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Variable.HclPos', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Variable.HclRange', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Variable.SourceCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Variable.VCS', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Variable.ValueCase', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.VersionInfo', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.VersionInfo.ProtocolVersion', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.WaypointHclFmtRequest', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.WaypointHclFmtResponse', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Workspace', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Workspace.Application', null, global);
goog.exportSymbol('proto.hashicorp.waypoint.Workspace.Project', null, global);
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UI = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UI, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UI.displayName = 'proto.hashicorp.waypoint.UI';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UI.GetProjectRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UI.GetProjectRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UI.GetProjectRequest.displayName = 'proto.hashicorp.waypoint.UI.GetProjectRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UI.GetProjectResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UI.GetProjectResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UI.GetProjectResponse.displayName = 'proto.hashicorp.waypoint.UI.GetProjectResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.UI.ListDeploymentsRequest.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.UI.ListDeploymentsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UI.ListDeploymentsRequest.displayName = 'proto.hashicorp.waypoint.UI.ListDeploymentsRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UI.ListDeploymentsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.UI.ListDeploymentsResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.UI.ListDeploymentsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UI.ListDeploymentsResponse.displayName = 'proto.hashicorp.waypoint.UI.ListDeploymentsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UI.DeploymentBundle = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UI.DeploymentBundle, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UI.DeploymentBundle.displayName = 'proto.hashicorp.waypoint.UI.DeploymentBundle';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.UI.ListReleasesRequest.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.UI.ListReleasesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UI.ListReleasesRequest.displayName = 'proto.hashicorp.waypoint.UI.ListReleasesRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UI.ListReleasesResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.UI.ListReleasesResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.UI.ListReleasesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UI.ListReleasesResponse.displayName = 'proto.hashicorp.waypoint.UI.ListReleasesResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UI.ReleaseBundle = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UI.ReleaseBundle, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UI.ReleaseBundle.displayName = 'proto.hashicorp.waypoint.UI.ReleaseBundle';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetVersionInfoResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetVersionInfoResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetVersionInfoResponse.displayName = 'proto.hashicorp.waypoint.GetVersionInfoResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ServerFeatures = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ServerFeatures.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ServerFeatures, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ServerFeatures.displayName = 'proto.hashicorp.waypoint.ServerFeatures';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.VersionInfo = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.VersionInfo, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.VersionInfo.displayName = 'proto.hashicorp.waypoint.VersionInfo';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.VersionInfo.ProtocolVersion = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.VersionInfo.ProtocolVersion, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.displayName = 'proto.hashicorp.waypoint.VersionInfo.ProtocolVersion';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Application = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Application, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Application.displayName = 'proto.hashicorp.waypoint.Application';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Variable = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Variable.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Variable, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Variable.displayName = 'proto.hashicorp.waypoint.Variable';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Variable.File = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Variable.File, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Variable.File.displayName = 'proto.hashicorp.waypoint.Variable.File';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Variable.VCS = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Variable.VCS, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Variable.VCS.displayName = 'proto.hashicorp.waypoint.Variable.VCS';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Variable.HclPos = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Variable.HclPos, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Variable.HclPos.displayName = 'proto.hashicorp.waypoint.Variable.HclPos';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Variable.HclRange = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Variable.HclRange, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Variable.HclRange.displayName = 'proto.hashicorp.waypoint.Variable.HclRange';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Variable.FinalValue = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Variable.FinalValue.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Variable.FinalValue, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Variable.FinalValue.displayName = 'proto.hashicorp.waypoint.Variable.FinalValue';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Project = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.Project.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.Project, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Project.displayName = 'proto.hashicorp.waypoint.Project';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Project.Poll = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Project.Poll, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Project.Poll.displayName = 'proto.hashicorp.waypoint.Project.Poll';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Project.AppStatusPoll = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Project.AppStatusPoll, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Project.AppStatusPoll.displayName = 'proto.hashicorp.waypoint.Project.AppStatusPoll';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Workspace = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.Workspace.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.Workspace, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Workspace.displayName = 'proto.hashicorp.waypoint.Workspace';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Workspace.Project = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.Workspace.Project.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.Workspace.Project, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Workspace.Project.displayName = 'proto.hashicorp.waypoint.Workspace.Project';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Workspace.Application = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Workspace.Application, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Workspace.Application.displayName = 'proto.hashicorp.waypoint.Workspace.Application';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.User = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.User.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.User, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.User.displayName = 'proto.hashicorp.waypoint.User';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.User.Link = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.User.Link.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.User.Link, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.User.Link.displayName = 'proto.hashicorp.waypoint.User.Link';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.User.Link.OIDC = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.User.Link.OIDC, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.User.Link.OIDC.displayName = 'proto.hashicorp.waypoint.User.Link.OIDC';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.displayName = 'proto.hashicorp.waypoint.Ref';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.Global = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.Global, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.Global.displayName = 'proto.hashicorp.waypoint.Ref.Global';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.Application = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.Application, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.Application.displayName = 'proto.hashicorp.waypoint.Ref.Application';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.Project = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.Project, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.Project.displayName = 'proto.hashicorp.waypoint.Ref.Project';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.Workspace = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.Workspace, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.Workspace.displayName = 'proto.hashicorp.waypoint.Ref.Workspace';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.Deployment = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Ref.Deployment.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Ref.Deployment, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.Deployment.displayName = 'proto.hashicorp.waypoint.Ref.Deployment';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.Artifact = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Ref.Artifact.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Ref.Artifact, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.Artifact.displayName = 'proto.hashicorp.waypoint.Ref.Artifact';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.Component = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.Component, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.Component.displayName = 'proto.hashicorp.waypoint.Ref.Component';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.Operation = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Ref.Operation.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Ref.Operation, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.Operation.displayName = 'proto.hashicorp.waypoint.Ref.Operation';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.OperationSeq = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.OperationSeq, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.OperationSeq.displayName = 'proto.hashicorp.waypoint.Ref.OperationSeq';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.Runner = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Ref.Runner.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Ref.Runner, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.Runner.displayName = 'proto.hashicorp.waypoint.Ref.Runner';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.RunnerAny = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.RunnerAny, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.RunnerAny.displayName = 'proto.hashicorp.waypoint.Ref.RunnerAny';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.RunnerId = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.RunnerId, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.RunnerId.displayName = 'proto.hashicorp.waypoint.Ref.RunnerId';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.RunnerLabels = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.RunnerLabels, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.RunnerLabels.displayName = 'proto.hashicorp.waypoint.Ref.RunnerLabels';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.User = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Ref.User.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Ref.User, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.User.displayName = 'proto.hashicorp.waypoint.Ref.User';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.UserId = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.UserId, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.UserId.displayName = 'proto.hashicorp.waypoint.Ref.UserId';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.UserUsername = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.UserUsername, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.UserUsername.displayName = 'proto.hashicorp.waypoint.Ref.UserUsername';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.AuthMethod = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.AuthMethod, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.AuthMethod.displayName = 'proto.hashicorp.waypoint.Ref.AuthMethod';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.DeclaredResource = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.DeclaredResource, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.DeclaredResource.displayName = 'proto.hashicorp.waypoint.Ref.DeclaredResource';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.displayName = 'proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.Trigger = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.Trigger, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.Trigger.displayName = 'proto.hashicorp.waypoint.Ref.Trigger';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.Job = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.Job, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.Job.displayName = 'proto.hashicorp.waypoint.Ref.Job';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.Task = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Ref.Task.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Ref.Task, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.Task.displayName = 'proto.hashicorp.waypoint.Ref.Task';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.Pipeline = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Ref.Pipeline.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Ref.Pipeline, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.Pipeline.displayName = 'proto.hashicorp.waypoint.Ref.Pipeline';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.PipelineOwner = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.PipelineOwner, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.PipelineOwner.displayName = 'proto.hashicorp.waypoint.Ref.PipelineOwner';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Ref.PipelineStep = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Ref.PipelineStep, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Ref.PipelineStep.displayName = 'proto.hashicorp.waypoint.Ref.PipelineStep';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Component = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Component, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Component.displayName = 'proto.hashicorp.waypoint.Component';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Status = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Status, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Status.displayName = 'proto.hashicorp.waypoint.Status';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.StatusFilter = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.StatusFilter.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.StatusFilter, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.StatusFilter.displayName = 'proto.hashicorp.waypoint.StatusFilter';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.StatusFilter.Filter = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.StatusFilter.Filter.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.StatusFilter.Filter, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.StatusFilter.Filter.displayName = 'proto.hashicorp.waypoint.StatusFilter.Filter';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Operation = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Operation, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Operation.displayName = 'proto.hashicorp.waypoint.Operation';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.OperationOrder = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.OperationOrder, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.OperationOrder.displayName = 'proto.hashicorp.waypoint.OperationOrder';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Generation = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Generation, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Generation.displayName = 'proto.hashicorp.waypoint.Generation';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.DeclaredResource = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.DeclaredResource, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.DeclaredResource.displayName = 'proto.hashicorp.waypoint.DeclaredResource';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.TaskLaunchInfo = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.TaskLaunchInfo.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.TaskLaunchInfo, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.TaskLaunchInfo.displayName = 'proto.hashicorp.waypoint.TaskLaunchInfo';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Task = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Task, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Task.displayName = 'proto.hashicorp.waypoint.Task';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertTaskRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertTaskRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertTaskRequest.displayName = 'proto.hashicorp.waypoint.UpsertTaskRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertTaskResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertTaskResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertTaskResponse.displayName = 'proto.hashicorp.waypoint.UpsertTaskResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetTaskRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetTaskRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetTaskRequest.displayName = 'proto.hashicorp.waypoint.GetTaskRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetTaskResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetTaskResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetTaskResponse.displayName = 'proto.hashicorp.waypoint.GetTaskResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.DeleteTaskRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.DeleteTaskRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.DeleteTaskRequest.displayName = 'proto.hashicorp.waypoint.DeleteTaskRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListTaskRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListTaskRequest.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListTaskRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListTaskRequest.displayName = 'proto.hashicorp.waypoint.ListTaskRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListTaskResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListTaskResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListTaskResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListTaskResponse.displayName = 'proto.hashicorp.waypoint.ListTaskResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.CancelTaskRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.CancelTaskRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.CancelTaskRequest.displayName = 'proto.hashicorp.waypoint.CancelTaskRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ErrorDetail = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ErrorDetail, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ErrorDetail.displayName = 'proto.hashicorp.waypoint.ErrorDetail';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetUserRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetUserRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetUserRequest.displayName = 'proto.hashicorp.waypoint.GetUserRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetUserResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetUserResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetUserResponse.displayName = 'proto.hashicorp.waypoint.GetUserResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListUsersResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListUsersResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListUsersResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListUsersResponse.displayName = 'proto.hashicorp.waypoint.ListUsersResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpdateUserRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpdateUserRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpdateUserRequest.displayName = 'proto.hashicorp.waypoint.UpdateUserRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpdateUserResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpdateUserResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpdateUserResponse.displayName = 'proto.hashicorp.waypoint.UpdateUserResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.DeleteUserRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.DeleteUserRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.DeleteUserRequest.displayName = 'proto.hashicorp.waypoint.DeleteUserRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.AuthMethod = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.AuthMethod.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.AuthMethod, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.AuthMethod.displayName = 'proto.hashicorp.waypoint.AuthMethod';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.AuthMethod.OIDC = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.AuthMethod.OIDC.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.AuthMethod.OIDC, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.AuthMethod.OIDC.displayName = 'proto.hashicorp.waypoint.AuthMethod.OIDC';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.OIDCAuthMethod = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.OIDCAuthMethod, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.OIDCAuthMethod.displayName = 'proto.hashicorp.waypoint.OIDCAuthMethod';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertAuthMethodRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertAuthMethodRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertAuthMethodRequest.displayName = 'proto.hashicorp.waypoint.UpsertAuthMethodRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertAuthMethodResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertAuthMethodResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertAuthMethodResponse.displayName = 'proto.hashicorp.waypoint.UpsertAuthMethodResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetAuthMethodRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetAuthMethodRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetAuthMethodRequest.displayName = 'proto.hashicorp.waypoint.GetAuthMethodRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetAuthMethodResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetAuthMethodResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetAuthMethodResponse.displayName = 'proto.hashicorp.waypoint.GetAuthMethodResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.DeleteAuthMethodRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.DeleteAuthMethodRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.DeleteAuthMethodRequest.displayName = 'proto.hashicorp.waypoint.DeleteAuthMethodRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListAuthMethodsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListAuthMethodsResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListAuthMethodsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListAuthMethodsResponse.displayName = 'proto.hashicorp.waypoint.ListAuthMethodsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.displayName = 'proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetOIDCAuthURLRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetOIDCAuthURLRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetOIDCAuthURLRequest.displayName = 'proto.hashicorp.waypoint.GetOIDCAuthURLRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetOIDCAuthURLResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetOIDCAuthURLResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetOIDCAuthURLResponse.displayName = 'proto.hashicorp.waypoint.GetOIDCAuthURLResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.CompleteOIDCAuthRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.CompleteOIDCAuthRequest.displayName = 'proto.hashicorp.waypoint.CompleteOIDCAuthRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.CompleteOIDCAuthResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.CompleteOIDCAuthResponse.displayName = 'proto.hashicorp.waypoint.CompleteOIDCAuthResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.QueueJobRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.QueueJobRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.QueueJobRequest.displayName = 'proto.hashicorp.waypoint.QueueJobRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.QueueJobResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.QueueJobResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.QueueJobResponse.displayName = 'proto.hashicorp.waypoint.QueueJobResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.CancelJobRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.CancelJobRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.CancelJobRequest.displayName = 'proto.hashicorp.waypoint.CancelJobRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ValidateJobRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ValidateJobRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ValidateJobRequest.displayName = 'proto.hashicorp.waypoint.ValidateJobRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ValidateJobResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ValidateJobResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ValidateJobResponse.displayName = 'proto.hashicorp.waypoint.ValidateJobResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.Job.repeatedFields_, proto.hashicorp.waypoint.Job.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Job, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.displayName = 'proto.hashicorp.waypoint.Job';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.TaskOverride = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.TaskOverride, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.TaskOverride.displayName = 'proto.hashicorp.waypoint.Job.TaskOverride';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.Result = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.Result, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.Result.displayName = 'proto.hashicorp.waypoint.Job.Result';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.Config = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.Config, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.Config.displayName = 'proto.hashicorp.waypoint.Job.Config';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.DataSource = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Job.DataSource.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Job.DataSource, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.DataSource.displayName = 'proto.hashicorp.waypoint.Job.DataSource';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.DataSource.Ref = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Job.DataSource.Ref.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Job.DataSource.Ref, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.DataSource.Ref.displayName = 'proto.hashicorp.waypoint.Job.DataSource.Ref';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.Local = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.Local, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.Local.displayName = 'proto.hashicorp.waypoint.Job.Local';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.Git = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Job.Git.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Job.Git, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.Git.displayName = 'proto.hashicorp.waypoint.Job.Git';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.Git.Basic = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.Git.Basic, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.Git.Basic.displayName = 'proto.hashicorp.waypoint.Job.Git.Basic';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.Git.SSH = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.Git.SSH, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.Git.SSH.displayName = 'proto.hashicorp.waypoint.Job.Git.SSH';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.Git.Ref = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.Git.Ref, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.Git.Ref.displayName = 'proto.hashicorp.waypoint.Job.Git.Ref';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.Noop = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.Noop, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.Noop.displayName = 'proto.hashicorp.waypoint.Job.Noop';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.UpOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.UpOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.UpOp.displayName = 'proto.hashicorp.waypoint.Job.UpOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.UpResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.UpResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.UpResult.displayName = 'proto.hashicorp.waypoint.Job.UpResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.ValidateOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.ValidateOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.ValidateOp.displayName = 'proto.hashicorp.waypoint.Job.ValidateOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.ValidateResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.ValidateResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.ValidateResult.displayName = 'proto.hashicorp.waypoint.Job.ValidateResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.AuthOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.AuthOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.AuthOp.displayName = 'proto.hashicorp.waypoint.Job.AuthOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.AuthResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.Job.AuthResult.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.AuthResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.AuthResult.displayName = 'proto.hashicorp.waypoint.Job.AuthResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.AuthResult.Result = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.AuthResult.Result, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.AuthResult.Result.displayName = 'proto.hashicorp.waypoint.Job.AuthResult.Result';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.BuildOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.BuildOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.BuildOp.displayName = 'proto.hashicorp.waypoint.Job.BuildOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.BuildResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.BuildResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.BuildResult.displayName = 'proto.hashicorp.waypoint.Job.BuildResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.PushOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.PushOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.PushOp.displayName = 'proto.hashicorp.waypoint.Job.PushOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.PushResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.PushResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.PushResult.displayName = 'proto.hashicorp.waypoint.Job.PushResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.DeployOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.DeployOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.DeployOp.displayName = 'proto.hashicorp.waypoint.Job.DeployOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.DeployResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.DeployResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.DeployResult.displayName = 'proto.hashicorp.waypoint.Job.DeployResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.ExecOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.ExecOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.ExecOp.displayName = 'proto.hashicorp.waypoint.Job.ExecOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.ExecResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.ExecResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.ExecResult.displayName = 'proto.hashicorp.waypoint.Job.ExecResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.LogsOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.LogsOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.LogsOp.displayName = 'proto.hashicorp.waypoint.Job.LogsOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.DestroyOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Job.DestroyOp.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Job.DestroyOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.DestroyOp.displayName = 'proto.hashicorp.waypoint.Job.DestroyOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.ReleaseOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.ReleaseOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.ReleaseOp.displayName = 'proto.hashicorp.waypoint.Job.ReleaseOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.ReleaseResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.ReleaseResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.ReleaseResult.displayName = 'proto.hashicorp.waypoint.Job.ReleaseResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.TaskPluginParams = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.TaskPluginParams, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.TaskPluginParams.displayName = 'proto.hashicorp.waypoint.Job.TaskPluginParams';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.StartTaskLaunchOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.StartTaskLaunchOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.StartTaskLaunchOp.displayName = 'proto.hashicorp.waypoint.Job.StartTaskLaunchOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.StartTaskResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.StartTaskResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.StartTaskResult.displayName = 'proto.hashicorp.waypoint.Job.StartTaskResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Job.StopTaskLaunchOp.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Job.StopTaskLaunchOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.StopTaskLaunchOp.displayName = 'proto.hashicorp.waypoint.Job.StopTaskLaunchOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.WatchTaskOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.WatchTaskOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.WatchTaskOp.displayName = 'proto.hashicorp.waypoint.Job.WatchTaskOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.WatchTaskResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.WatchTaskResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.WatchTaskResult.displayName = 'proto.hashicorp.waypoint.Job.WatchTaskResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.StatusReportOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Job.StatusReportOp.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Job.StatusReportOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.StatusReportOp.displayName = 'proto.hashicorp.waypoint.Job.StatusReportOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.StatusReportResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.StatusReportResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.StatusReportResult.displayName = 'proto.hashicorp.waypoint.Job.StatusReportResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.DocsOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.DocsOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.DocsOp.displayName = 'proto.hashicorp.waypoint.Job.DocsOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.DocsResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.Job.DocsResult.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.DocsResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.DocsResult.displayName = 'proto.hashicorp.waypoint.Job.DocsResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.DocsResult.Result = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.DocsResult.Result, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.DocsResult.Result.displayName = 'proto.hashicorp.waypoint.Job.DocsResult.Result';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.ConfigSyncOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.ConfigSyncOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.ConfigSyncOp.displayName = 'proto.hashicorp.waypoint.Job.ConfigSyncOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.ConfigSyncResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.ConfigSyncResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.ConfigSyncResult.displayName = 'proto.hashicorp.waypoint.Job.ConfigSyncResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.PipelineConfigSyncResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.PipelineConfigSyncResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.displayName = 'proto.hashicorp.waypoint.Job.PipelineConfigSyncResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.PollOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.PollOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.PollOp.displayName = 'proto.hashicorp.waypoint.Job.PollOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.PollResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.PollResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.PollResult.displayName = 'proto.hashicorp.waypoint.Job.PollResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.InitOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.InitOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.InitOp.displayName = 'proto.hashicorp.waypoint.Job.InitOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.InitResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.InitResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.InitResult.displayName = 'proto.hashicorp.waypoint.Job.InitResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.PipelineStepOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.PipelineStepOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.PipelineStepOp.displayName = 'proto.hashicorp.waypoint.Job.PipelineStepOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.PipelineStepResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.PipelineStepResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.PipelineStepResult.displayName = 'proto.hashicorp.waypoint.Job.PipelineStepResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.QueueProjectOp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.QueueProjectOp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.QueueProjectOp.displayName = 'proto.hashicorp.waypoint.Job.QueueProjectOp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.QueueProjectResult = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.Job.QueueProjectResult.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.QueueProjectResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.QueueProjectResult.displayName = 'proto.hashicorp.waypoint.Job.QueueProjectResult';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.Application = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Job.QueueProjectResult.Application, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Job.QueueProjectResult.Application.displayName = 'proto.hashicorp.waypoint.Job.QueueProjectResult.Application';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Documentation = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.Documentation.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.Documentation, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Documentation.displayName = 'proto.hashicorp.waypoint.Documentation';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Documentation.Field = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Documentation.Field, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Documentation.Field.displayName = 'proto.hashicorp.waypoint.Documentation.Field';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Documentation.Mapper = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Documentation.Mapper, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Documentation.Mapper.displayName = 'proto.hashicorp.waypoint.Documentation.Mapper';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobRequest.displayName = 'proto.hashicorp.waypoint.GetJobRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListJobsRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListJobsRequest.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListJobsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListJobsRequest.displayName = 'proto.hashicorp.waypoint.ListJobsRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListJobsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListJobsResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListJobsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListJobsResponse.displayName = 'proto.hashicorp.waypoint.ListJobsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamRequest.displayName = 'proto.hashicorp.waypoint.GetJobStreamRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.GetJobStreamResponse.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Open = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Open, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Open.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Open';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.State, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.State.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.State';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.JobChange = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.JobChange, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.JobChange';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Download = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Download, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Download.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Download';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Terminal, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Terminal';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Error = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Error, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Error.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Error';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Complete = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetJobStreamResponse.Complete, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetJobStreamResponse.Complete.displayName = 'proto.hashicorp.waypoint.GetJobStreamResponse.Complete';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Runner = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.Runner.repeatedFields_, proto.hashicorp.waypoint.Runner.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Runner, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Runner.displayName = 'proto.hashicorp.waypoint.Runner';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Runner.ODR = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Runner.ODR, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Runner.ODR.displayName = 'proto.hashicorp.waypoint.Runner.ODR';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Runner.Local = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Runner.Local, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Runner.Local.displayName = 'proto.hashicorp.waypoint.Runner.Local';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Runner.Remote = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Runner.Remote, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Runner.Remote.displayName = 'proto.hashicorp.waypoint.Runner.Remote';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerTokenRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerTokenRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerTokenRequest.displayName = 'proto.hashicorp.waypoint.RunnerTokenRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerTokenResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerTokenResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerTokenResponse.displayName = 'proto.hashicorp.waypoint.RunnerTokenResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerConfigRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.RunnerConfigRequest.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.RunnerConfigRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerConfigRequest.displayName = 'proto.hashicorp.waypoint.RunnerConfigRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerConfigRequest.Open = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerConfigRequest.Open, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerConfigRequest.Open.displayName = 'proto.hashicorp.waypoint.RunnerConfigRequest.Open';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerConfigResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerConfigResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerConfigResponse.displayName = 'proto.hashicorp.waypoint.RunnerConfigResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerConfig = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.RunnerConfig.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerConfig.displayName = 'proto.hashicorp.waypoint.RunnerConfig';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.RunnerJobStreamRequest.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.RunnerJobStreamRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerJobStreamRequest.displayName = 'proto.hashicorp.waypoint.RunnerJobStreamRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Request = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerJobStreamRequest.Request, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.displayName = 'proto.hashicorp.waypoint.RunnerJobStreamRequest.Request';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack.displayName = 'proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.displayName = 'proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Error = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerJobStreamRequest.Error, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.displayName = 'proto.hashicorp.waypoint.RunnerJobStreamRequest.Error';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat.displayName = 'proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.displayName = 'proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.displayName = 'proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.RunnerJobStreamResponse.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.RunnerJobStreamResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerJobStreamResponse.displayName = 'proto.hashicorp.waypoint.RunnerJobStreamResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.displayName = 'proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.displayName = 'proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest.displayName = 'proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.displayName = 'proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetRunnerRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetRunnerRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetRunnerRequest.displayName = 'proto.hashicorp.waypoint.GetRunnerRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListRunnersRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ListRunnersRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListRunnersRequest.displayName = 'proto.hashicorp.waypoint.ListRunnersRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListRunnersResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListRunnersResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListRunnersResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListRunnersResponse.displayName = 'proto.hashicorp.waypoint.ListRunnersResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.AdoptRunnerRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.AdoptRunnerRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.AdoptRunnerRequest.displayName = 'proto.hashicorp.waypoint.AdoptRunnerRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ForgetRunnerRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ForgetRunnerRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ForgetRunnerRequest.displayName = 'proto.hashicorp.waypoint.ForgetRunnerRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.SetServerConfigRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.SetServerConfigRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.SetServerConfigRequest.displayName = 'proto.hashicorp.waypoint.SetServerConfigRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetServerConfigResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetServerConfigResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetServerConfigResponse.displayName = 'proto.hashicorp.waypoint.GetServerConfigResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ServerConfig = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ServerConfig.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ServerConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ServerConfig.displayName = 'proto.hashicorp.waypoint.ServerConfig';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.displayName = 'proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.CreateHostnameRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.CreateHostnameRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.CreateHostnameRequest.displayName = 'proto.hashicorp.waypoint.CreateHostnameRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.CreateHostnameResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.CreateHostnameResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.CreateHostnameResponse.displayName = 'proto.hashicorp.waypoint.CreateHostnameResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListHostnamesRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ListHostnamesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListHostnamesRequest.displayName = 'proto.hashicorp.waypoint.ListHostnamesRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListHostnamesResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListHostnamesResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListHostnamesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListHostnamesResponse.displayName = 'proto.hashicorp.waypoint.ListHostnamesResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.DeleteHostnameRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.DeleteHostnameRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.DeleteHostnameRequest.displayName = 'proto.hashicorp.waypoint.DeleteHostnameRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Hostname = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Hostname, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Hostname.displayName = 'proto.hashicorp.waypoint.Hostname';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Hostname.Target = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Hostname.Target.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Hostname.Target, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Hostname.Target.displayName = 'proto.hashicorp.waypoint.Hostname.Target';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Hostname.TargetApp = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Hostname.TargetApp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Hostname.TargetApp.displayName = 'proto.hashicorp.waypoint.Hostname.TargetApp';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListWorkspacesRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.ListWorkspacesRequest.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.ListWorkspacesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListWorkspacesRequest.displayName = 'proto.hashicorp.waypoint.ListWorkspacesRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListWorkspacesResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListWorkspacesResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListWorkspacesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListWorkspacesResponse.displayName = 'proto.hashicorp.waypoint.ListWorkspacesResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetWorkspaceRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetWorkspaceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetWorkspaceRequest.displayName = 'proto.hashicorp.waypoint.GetWorkspaceRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetWorkspaceResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetWorkspaceResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetWorkspaceResponse.displayName = 'proto.hashicorp.waypoint.GetWorkspaceResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertWorkspaceRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertWorkspaceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertWorkspaceRequest.displayName = 'proto.hashicorp.waypoint.UpsertWorkspaceRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertWorkspaceResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertWorkspaceResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertWorkspaceResponse.displayName = 'proto.hashicorp.waypoint.UpsertWorkspaceResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertProjectRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertProjectRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertProjectRequest.displayName = 'proto.hashicorp.waypoint.UpsertProjectRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertProjectResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertProjectResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertProjectResponse.displayName = 'proto.hashicorp.waypoint.UpsertProjectResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetProjectRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetProjectRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetProjectRequest.displayName = 'proto.hashicorp.waypoint.GetProjectRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetProjectResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.GetProjectResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.GetProjectResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetProjectResponse.displayName = 'proto.hashicorp.waypoint.GetProjectResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListProjectsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListProjectsResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListProjectsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListProjectsResponse.displayName = 'proto.hashicorp.waypoint.ListProjectsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetApplicationRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetApplicationRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetApplicationRequest.displayName = 'proto.hashicorp.waypoint.GetApplicationRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetApplicationResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetApplicationResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetApplicationResponse.displayName = 'proto.hashicorp.waypoint.GetApplicationResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertApplicationRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertApplicationRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertApplicationRequest.displayName = 'proto.hashicorp.waypoint.UpsertApplicationRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertApplicationResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertApplicationResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertApplicationResponse.displayName = 'proto.hashicorp.waypoint.UpsertApplicationResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertBuildRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertBuildRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertBuildRequest.displayName = 'proto.hashicorp.waypoint.UpsertBuildRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertBuildResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertBuildResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertBuildResponse.displayName = 'proto.hashicorp.waypoint.UpsertBuildResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListBuildsRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ListBuildsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListBuildsRequest.displayName = 'proto.hashicorp.waypoint.ListBuildsRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListBuildsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListBuildsResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListBuildsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListBuildsResponse.displayName = 'proto.hashicorp.waypoint.ListBuildsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetLatestBuildRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetLatestBuildRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetLatestBuildRequest.displayName = 'proto.hashicorp.waypoint.GetLatestBuildRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetBuildRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetBuildRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetBuildRequest.displayName = 'proto.hashicorp.waypoint.GetBuildRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Build = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Build, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Build.displayName = 'proto.hashicorp.waypoint.Build';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Build.Preload = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Build.Preload, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Build.Preload.displayName = 'proto.hashicorp.waypoint.Build.Preload';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Artifact = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Artifact, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Artifact.displayName = 'proto.hashicorp.waypoint.Artifact';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.OnDemandRunnerConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.OnDemandRunnerConfig.displayName = 'proto.hashicorp.waypoint.OnDemandRunnerConfig';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest.displayName = 'proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse.displayName = 'proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest.displayName = 'proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse.displayName = 'proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest.displayName = 'proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse.displayName = 'proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.displayName = 'proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertPushedArtifactRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertPushedArtifactRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertPushedArtifactRequest.displayName = 'proto.hashicorp.waypoint.UpsertPushedArtifactRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertPushedArtifactResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertPushedArtifactResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertPushedArtifactResponse.displayName = 'proto.hashicorp.waypoint.UpsertPushedArtifactResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetLatestPushedArtifactRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.displayName = 'proto.hashicorp.waypoint.GetLatestPushedArtifactRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetPushedArtifactRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetPushedArtifactRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetPushedArtifactRequest.displayName = 'proto.hashicorp.waypoint.GetPushedArtifactRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListPushedArtifactsRequest.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListPushedArtifactsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListPushedArtifactsRequest.displayName = 'proto.hashicorp.waypoint.ListPushedArtifactsRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListPushedArtifactsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListPushedArtifactsResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListPushedArtifactsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListPushedArtifactsResponse.displayName = 'proto.hashicorp.waypoint.ListPushedArtifactsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.PushedArtifact = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.PushedArtifact, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.PushedArtifact.displayName = 'proto.hashicorp.waypoint.PushedArtifact';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.PushedArtifact.Preload = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.PushedArtifact.Preload, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.PushedArtifact.Preload.displayName = 'proto.hashicorp.waypoint.PushedArtifact.Preload';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetDeploymentRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetDeploymentRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetDeploymentRequest.displayName = 'proto.hashicorp.waypoint.GetDeploymentRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertDeploymentRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertDeploymentRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertDeploymentRequest.displayName = 'proto.hashicorp.waypoint.UpsertDeploymentRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertDeploymentResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertDeploymentResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertDeploymentResponse.displayName = 'proto.hashicorp.waypoint.UpsertDeploymentResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListDeploymentsRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListDeploymentsRequest.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListDeploymentsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListDeploymentsRequest.displayName = 'proto.hashicorp.waypoint.ListDeploymentsRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListDeploymentsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListDeploymentsResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListDeploymentsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListDeploymentsResponse.displayName = 'proto.hashicorp.waypoint.ListDeploymentsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Deployment = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.Deployment.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.Deployment, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Deployment.displayName = 'proto.hashicorp.waypoint.Deployment';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Deployment.Preload = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Deployment.Preload, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Deployment.Preload.displayName = 'proto.hashicorp.waypoint.Deployment.Preload';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.DeploymentExpanded = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.DeploymentExpanded, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.DeploymentExpanded.displayName = 'proto.hashicorp.waypoint.DeploymentExpanded';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListInstancesRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.ListInstancesRequest.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.ListInstancesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListInstancesRequest.displayName = 'proto.hashicorp.waypoint.ListInstancesRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListInstancesRequest.Application = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ListInstancesRequest.Application, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListInstancesRequest.Application.displayName = 'proto.hashicorp.waypoint.ListInstancesRequest.Application';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListInstancesResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListInstancesResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListInstancesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListInstancesResponse.displayName = 'proto.hashicorp.waypoint.ListInstancesResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Instance = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Instance, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Instance.displayName = 'proto.hashicorp.waypoint.Instance';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertReleaseRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertReleaseRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertReleaseRequest.displayName = 'proto.hashicorp.waypoint.UpsertReleaseRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertReleaseResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertReleaseResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertReleaseResponse.displayName = 'proto.hashicorp.waypoint.UpsertReleaseResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetLatestReleaseRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetLatestReleaseRequest.displayName = 'proto.hashicorp.waypoint.GetLatestReleaseRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListReleasesRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListReleasesRequest.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListReleasesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListReleasesRequest.displayName = 'proto.hashicorp.waypoint.ListReleasesRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListReleasesResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListReleasesResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListReleasesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListReleasesResponse.displayName = 'proto.hashicorp.waypoint.ListReleasesResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetReleaseRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetReleaseRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetReleaseRequest.displayName = 'proto.hashicorp.waypoint.GetReleaseRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Release = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.Release.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.Release, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Release.displayName = 'proto.hashicorp.waypoint.Release';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Release.Preload = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Release.Preload, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Release.Preload.displayName = 'proto.hashicorp.waypoint.Release.Preload';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ReleaseExpanded = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ReleaseExpanded, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ReleaseExpanded.displayName = 'proto.hashicorp.waypoint.ReleaseExpanded';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Trigger = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.Trigger.repeatedFields_, proto.hashicorp.waypoint.Trigger.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Trigger, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Trigger.displayName = 'proto.hashicorp.waypoint.Trigger';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertTriggerRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertTriggerRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertTriggerRequest.displayName = 'proto.hashicorp.waypoint.UpsertTriggerRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertTriggerResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertTriggerResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertTriggerResponse.displayName = 'proto.hashicorp.waypoint.UpsertTriggerResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetTriggerRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetTriggerRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetTriggerRequest.displayName = 'proto.hashicorp.waypoint.GetTriggerRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetTriggerResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetTriggerResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetTriggerResponse.displayName = 'proto.hashicorp.waypoint.GetTriggerResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.DeleteTriggerRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.DeleteTriggerRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.DeleteTriggerRequest.displayName = 'proto.hashicorp.waypoint.DeleteTriggerRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunTriggerRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.RunTriggerRequest.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.RunTriggerRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunTriggerRequest.displayName = 'proto.hashicorp.waypoint.RunTriggerRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunTriggerResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.RunTriggerResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.RunTriggerResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunTriggerResponse.displayName = 'proto.hashicorp.waypoint.RunTriggerResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListTriggerRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListTriggerRequest.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListTriggerRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListTriggerRequest.displayName = 'proto.hashicorp.waypoint.ListTriggerRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListTriggerResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListTriggerResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListTriggerResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListTriggerResponse.displayName = 'proto.hashicorp.waypoint.ListTriggerResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertStatusReportRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertStatusReportRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertStatusReportRequest.displayName = 'proto.hashicorp.waypoint.UpsertStatusReportRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertStatusReportResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertStatusReportResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertStatusReportResponse.displayName = 'proto.hashicorp.waypoint.UpsertStatusReportResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.GetLatestStatusReportRequest.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.GetLatestStatusReportRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetLatestStatusReportRequest.displayName = 'proto.hashicorp.waypoint.GetLatestStatusReportRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListStatusReportsRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListStatusReportsRequest.repeatedFields_, proto.hashicorp.waypoint.ListStatusReportsRequest.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.ListStatusReportsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListStatusReportsRequest.displayName = 'proto.hashicorp.waypoint.ListStatusReportsRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListStatusReportsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListStatusReportsResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListStatusReportsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListStatusReportsResponse.displayName = 'proto.hashicorp.waypoint.ListStatusReportsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetStatusReportRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetStatusReportRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetStatusReportRequest.displayName = 'proto.hashicorp.waypoint.GetStatusReportRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.ExpediteStatusReportRequest.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.ExpediteStatusReportRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ExpediteStatusReportRequest.displayName = 'proto.hashicorp.waypoint.ExpediteStatusReportRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ExpediteStatusReportResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ExpediteStatusReportResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ExpediteStatusReportResponse.displayName = 'proto.hashicorp.waypoint.ExpediteStatusReportResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.StatusReport = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.StatusReport.repeatedFields_, proto.hashicorp.waypoint.StatusReport.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.StatusReport, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.StatusReport.displayName = 'proto.hashicorp.waypoint.StatusReport';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.StatusReport.Resource = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.StatusReport.Resource, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.StatusReport.Resource.displayName = 'proto.hashicorp.waypoint.StatusReport.Resource';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.StatusReport.Health = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.StatusReport.Health, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.StatusReport.Health.displayName = 'proto.hashicorp.waypoint.StatusReport.Health';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetLogStreamRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.GetLogStreamRequest.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.GetLogStreamRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetLogStreamRequest.displayName = 'proto.hashicorp.waypoint.GetLogStreamRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetLogStreamRequest.Application = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetLogStreamRequest.Application, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetLogStreamRequest.Application.displayName = 'proto.hashicorp.waypoint.GetLogStreamRequest.Application';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.LogBatch = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.LogBatch.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.LogBatch, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.LogBatch.displayName = 'proto.hashicorp.waypoint.LogBatch';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.LogBatch.Entry = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.LogBatch.Entry, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.LogBatch.Entry.displayName = 'proto.hashicorp.waypoint.LogBatch.Entry';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ConfigVar = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.ConfigVar.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.ConfigVar, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ConfigVar.displayName = 'proto.hashicorp.waypoint.ConfigVar';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ConfigVar.DynamicVal = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ConfigVar.DynamicVal, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ConfigVar.DynamicVal.displayName = 'proto.hashicorp.waypoint.ConfigVar.DynamicVal';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ConfigVar.Target = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.ConfigVar.Target.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.ConfigVar.Target, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ConfigVar.Target.displayName = 'proto.hashicorp.waypoint.ConfigVar.Target';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ConfigSetRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ConfigSetRequest.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ConfigSetRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ConfigSetRequest.displayName = 'proto.hashicorp.waypoint.ConfigSetRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ConfigSetResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ConfigSetResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ConfigSetResponse.displayName = 'proto.hashicorp.waypoint.ConfigSetResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ConfigGetRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.ConfigGetRequest.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.ConfigGetRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ConfigGetRequest.displayName = 'proto.hashicorp.waypoint.ConfigGetRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ConfigGetResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ConfigGetResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ConfigGetResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ConfigGetResponse.displayName = 'proto.hashicorp.waypoint.ConfigGetResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ConfigSource = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.ConfigSource.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.ConfigSource, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ConfigSource.displayName = 'proto.hashicorp.waypoint.ConfigSource';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.SetConfigSourceRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.SetConfigSourceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.SetConfigSourceRequest.displayName = 'proto.hashicorp.waypoint.SetConfigSourceRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetConfigSourceRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.GetConfigSourceRequest.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.GetConfigSourceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetConfigSourceRequest.displayName = 'proto.hashicorp.waypoint.GetConfigSourceRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetConfigSourceResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.GetConfigSourceResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.GetConfigSourceResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetConfigSourceResponse.displayName = 'proto.hashicorp.waypoint.GetConfigSourceResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ExecStreamRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.ExecStreamRequest.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.ExecStreamRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ExecStreamRequest.displayName = 'proto.hashicorp.waypoint.ExecStreamRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ExecStreamRequest.Start.repeatedFields_, proto.hashicorp.waypoint.ExecStreamRequest.Start.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.ExecStreamRequest.Start, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ExecStreamRequest.Start.displayName = 'proto.hashicorp.waypoint.ExecStreamRequest.Start';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ExecStreamRequest.Input = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ExecStreamRequest.Input, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ExecStreamRequest.Input.displayName = 'proto.hashicorp.waypoint.ExecStreamRequest.Input';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ExecStreamRequest.PTY = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ExecStreamRequest.PTY, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ExecStreamRequest.PTY.displayName = 'proto.hashicorp.waypoint.ExecStreamRequest.PTY';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ExecStreamRequest.WindowSize, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.displayName = 'proto.hashicorp.waypoint.ExecStreamRequest.WindowSize';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ExecStreamResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.ExecStreamResponse.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.ExecStreamResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ExecStreamResponse.displayName = 'proto.hashicorp.waypoint.ExecStreamResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ExecStreamResponse.Open = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ExecStreamResponse.Open, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ExecStreamResponse.Open.displayName = 'proto.hashicorp.waypoint.ExecStreamResponse.Open';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ExecStreamResponse.Exit = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ExecStreamResponse.Exit, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ExecStreamResponse.Exit.displayName = 'proto.hashicorp.waypoint.ExecStreamResponse.Exit';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ExecStreamResponse.Output = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ExecStreamResponse.Output, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ExecStreamResponse.Output.displayName = 'proto.hashicorp.waypoint.ExecStreamResponse.Output';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.EntrypointConfigRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.EntrypointConfigRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.EntrypointConfigRequest.displayName = 'proto.hashicorp.waypoint.EntrypointConfigRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.EntrypointConfigResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.EntrypointConfigResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.EntrypointConfigResponse.displayName = 'proto.hashicorp.waypoint.EntrypointConfigResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.EntrypointConfig = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.EntrypointConfig.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.EntrypointConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.EntrypointConfig.displayName = 'proto.hashicorp.waypoint.EntrypointConfig';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.EntrypointConfig.Exec.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.EntrypointConfig.Exec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.EntrypointConfig.Exec.displayName = 'proto.hashicorp.waypoint.EntrypointConfig.Exec';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.EntrypointConfig.URLService = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.EntrypointConfig.URLService, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.EntrypointConfig.URLService.displayName = 'proto.hashicorp.waypoint.EntrypointConfig.URLService';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.displayName = 'proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.EntrypointLogBatch = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.EntrypointLogBatch.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.EntrypointLogBatch, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.EntrypointLogBatch.displayName = 'proto.hashicorp.waypoint.EntrypointLogBatch';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.EntrypointExecRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.EntrypointExecRequest.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.EntrypointExecRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.EntrypointExecRequest.displayName = 'proto.hashicorp.waypoint.EntrypointExecRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Open = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.EntrypointExecRequest.Open, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.EntrypointExecRequest.Open.displayName = 'proto.hashicorp.waypoint.EntrypointExecRequest.Open';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Exit = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.EntrypointExecRequest.Exit, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.EntrypointExecRequest.Exit.displayName = 'proto.hashicorp.waypoint.EntrypointExecRequest.Exit';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Output = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.EntrypointExecRequest.Output, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.EntrypointExecRequest.Output.displayName = 'proto.hashicorp.waypoint.EntrypointExecRequest.Output';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Error = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.EntrypointExecRequest.Error, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.EntrypointExecRequest.Error.displayName = 'proto.hashicorp.waypoint.EntrypointExecRequest.Error';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.EntrypointExecResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.EntrypointExecResponse.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.EntrypointExecResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.EntrypointExecResponse.displayName = 'proto.hashicorp.waypoint.EntrypointExecResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Pipeline = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Pipeline.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Pipeline, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Pipeline.displayName = 'proto.hashicorp.waypoint.Pipeline';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Pipeline.Step = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.Pipeline.Step.repeatedFields_, proto.hashicorp.waypoint.Pipeline.Step.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Pipeline.Step, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Pipeline.Step.displayName = 'proto.hashicorp.waypoint.Pipeline.Step';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.Pipeline.Step.Exec.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.Pipeline.Step.Exec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Pipeline.Step.Exec.displayName = 'proto.hashicorp.waypoint.Pipeline.Step.Exec';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Pipeline.Step.Build = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Pipeline.Step.Build, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Pipeline.Step.Build.displayName = 'proto.hashicorp.waypoint.Pipeline.Step.Build';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Pipeline.Step.Deploy = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Pipeline.Step.Deploy, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Pipeline.Step.Deploy.displayName = 'proto.hashicorp.waypoint.Pipeline.Step.Deploy';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Pipeline.Step.Release = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Pipeline.Step.Release, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Pipeline.Step.Release.displayName = 'proto.hashicorp.waypoint.Pipeline.Step.Release';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Pipeline.Step.Up = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Pipeline.Step.Up, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Pipeline.Step.Up.displayName = 'proto.hashicorp.waypoint.Pipeline.Step.Up';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Pipeline.Step.Pipeline = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Pipeline.Step.Pipeline, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Pipeline.Step.Pipeline.displayName = 'proto.hashicorp.waypoint.Pipeline.Step.Pipeline';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.PipelineRun = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.PipelineRun.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.PipelineRun, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.PipelineRun.displayName = 'proto.hashicorp.waypoint.PipelineRun';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertPipelineRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertPipelineRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertPipelineRequest.displayName = 'proto.hashicorp.waypoint.UpsertPipelineRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.UpsertPipelineResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.UpsertPipelineResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.UpsertPipelineResponse.displayName = 'proto.hashicorp.waypoint.UpsertPipelineResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetPipelineRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetPipelineRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetPipelineRequest.displayName = 'proto.hashicorp.waypoint.GetPipelineRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetPipelineResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetPipelineResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetPipelineResponse.displayName = 'proto.hashicorp.waypoint.GetPipelineResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetPipelineResponse.Graph = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetPipelineResponse.Graph, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetPipelineResponse.Graph.displayName = 'proto.hashicorp.waypoint.GetPipelineResponse.Graph';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunPipelineRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RunPipelineRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunPipelineRequest.displayName = 'proto.hashicorp.waypoint.RunPipelineRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RunPipelineResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.RunPipelineResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.RunPipelineResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RunPipelineResponse.displayName = 'proto.hashicorp.waypoint.RunPipelineResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListPipelinesRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ListPipelinesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListPipelinesRequest.displayName = 'proto.hashicorp.waypoint.ListPipelinesRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListPipelinesResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListPipelinesResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListPipelinesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListPipelinesResponse.displayName = 'proto.hashicorp.waypoint.ListPipelinesResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListPipelineRunsRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ListPipelineRunsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListPipelineRunsRequest.displayName = 'proto.hashicorp.waypoint.ListPipelineRunsRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ListPipelineRunsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.hashicorp.waypoint.ListPipelineRunsResponse.repeatedFields_, null);
};
goog.inherits(proto.hashicorp.waypoint.ListPipelineRunsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ListPipelineRunsResponse.displayName = 'proto.hashicorp.waypoint.ListPipelineRunsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetPipelineRunRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetPipelineRunRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetPipelineRunRequest.displayName = 'proto.hashicorp.waypoint.GetPipelineRunRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GetPipelineRunResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GetPipelineRunResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GetPipelineRunResponse.displayName = 'proto.hashicorp.waypoint.GetPipelineRunResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ConfigSyncPipelineRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ConfigSyncPipelineRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ConfigSyncPipelineRequest.displayName = 'proto.hashicorp.waypoint.ConfigSyncPipelineRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ConfigSyncPipelineResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ConfigSyncPipelineResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ConfigSyncPipelineResponse.displayName = 'proto.hashicorp.waypoint.ConfigSyncPipelineResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.TokenTransport = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.TokenTransport.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.TokenTransport, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.TokenTransport.displayName = 'proto.hashicorp.waypoint.TokenTransport';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.TokenTransport.OAuthCredentials = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.TokenTransport.OAuthCredentials, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.displayName = 'proto.hashicorp.waypoint.TokenTransport.OAuthCredentials';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Token = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Token.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Token, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Token.displayName = 'proto.hashicorp.waypoint.Token';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Token.Login = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Token.Login, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Token.Login.displayName = 'proto.hashicorp.waypoint.Token.Login';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Token.Runner = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Token.Runner, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Token.Runner.displayName = 'proto.hashicorp.waypoint.Token.Runner';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Token.Invite = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Token.Invite, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Token.Invite.displayName = 'proto.hashicorp.waypoint.Token.Invite';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Token.Invite.Signup = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Token.Invite.Signup, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Token.Invite.Signup.displayName = 'proto.hashicorp.waypoint.Token.Invite.Signup';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Token.Entrypoint = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Token.Entrypoint, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Token.Entrypoint.displayName = 'proto.hashicorp.waypoint.Token.Entrypoint';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Token.Trigger = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Token.Trigger, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Token.Trigger.displayName = 'proto.hashicorp.waypoint.Token.Trigger';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.HMACKey = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.HMACKey, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.HMACKey.displayName = 'proto.hashicorp.waypoint.HMACKey';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.DecodeTokenRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.DecodeTokenRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.DecodeTokenRequest.displayName = 'proto.hashicorp.waypoint.DecodeTokenRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.DecodeTokenResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.DecodeTokenResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.DecodeTokenResponse.displayName = 'proto.hashicorp.waypoint.DecodeTokenResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.LoginTokenRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.LoginTokenRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.LoginTokenRequest.displayName = 'proto.hashicorp.waypoint.LoginTokenRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.GenerateRunnerTokenRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.GenerateRunnerTokenRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.GenerateRunnerTokenRequest.displayName = 'proto.hashicorp.waypoint.GenerateRunnerTokenRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.InviteTokenRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.InviteTokenRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.InviteTokenRequest.displayName = 'proto.hashicorp.waypoint.InviteTokenRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.NewTokenResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.NewTokenResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.NewTokenResponse.displayName = 'proto.hashicorp.waypoint.NewTokenResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.ConvertInviteTokenRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.ConvertInviteTokenRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.ConvertInviteTokenRequest.displayName = 'proto.hashicorp.waypoint.ConvertInviteTokenRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.CreateSnapshotResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.CreateSnapshotResponse.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.CreateSnapshotResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.CreateSnapshotResponse.displayName = 'proto.hashicorp.waypoint.CreateSnapshotResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.Open = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.CreateSnapshotResponse.Open, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.CreateSnapshotResponse.Open.displayName = 'proto.hashicorp.waypoint.CreateSnapshotResponse.Open';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.RestoreSnapshotRequest.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.RestoreSnapshotRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RestoreSnapshotRequest.displayName = 'proto.hashicorp.waypoint.RestoreSnapshotRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.Open = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.RestoreSnapshotRequest.Open, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.displayName = 'proto.hashicorp.waypoint.RestoreSnapshotRequest.Open';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Snapshot = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Snapshot, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Snapshot.displayName = 'proto.hashicorp.waypoint.Snapshot';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Snapshot.Header = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Snapshot.Header, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Snapshot.Header.displayName = 'proto.hashicorp.waypoint.Snapshot.Header';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Snapshot.Trailer = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.hashicorp.waypoint.Snapshot.Trailer.oneofGroups_);
};
goog.inherits(proto.hashicorp.waypoint.Snapshot.Trailer, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Snapshot.Trailer.displayName = 'proto.hashicorp.waypoint.Snapshot.Trailer';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Snapshot.BoltChunk = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Snapshot.BoltChunk, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Snapshot.BoltChunk.displayName = 'proto.hashicorp.waypoint.Snapshot.BoltChunk';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.Hcl = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.Hcl, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.Hcl.displayName = 'proto.hashicorp.waypoint.Hcl';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.WaypointHclFmtRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.WaypointHclFmtRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.WaypointHclFmtRequest.displayName = 'proto.hashicorp.waypoint.WaypointHclFmtRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.WaypointHclFmtResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.hashicorp.waypoint.WaypointHclFmtResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.WaypointHclFmtResponse.displayName = 'proto.hashicorp.waypoint.WaypointHclFmtResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.hashicorp.waypoint.InlineKeepalive = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, 500, null, null);
};
goog.inherits(proto.hashicorp.waypoint.InlineKeepalive, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.hashicorp.waypoint.InlineKeepalive.displayName = 'proto.hashicorp.waypoint.InlineKeepalive';
}



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UI.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UI.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UI} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UI}
 */
proto.hashicorp.waypoint.UI.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UI;
  return proto.hashicorp.waypoint.UI.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UI} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UI}
 */
proto.hashicorp.waypoint.UI.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UI.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UI.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UI} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UI.GetProjectRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UI.GetProjectRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UI.GetProjectRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.GetProjectRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UI.GetProjectRequest}
 */
proto.hashicorp.waypoint.UI.GetProjectRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UI.GetProjectRequest;
  return proto.hashicorp.waypoint.UI.GetProjectRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UI.GetProjectRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UI.GetProjectRequest}
 */
proto.hashicorp.waypoint.UI.GetProjectRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UI.GetProjectRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UI.GetProjectRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UI.GetProjectRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.GetProjectRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Project project = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.UI.GetProjectRequest.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.GetProjectRequest} returns this
*/
proto.hashicorp.waypoint.UI.GetProjectRequest.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.GetProjectRequest} returns this
 */
proto.hashicorp.waypoint.UI.GetProjectRequest.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.GetProjectRequest.prototype.hasProject = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UI.GetProjectResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UI.GetProjectResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UI.GetProjectResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.GetProjectResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Project.toObject(includeInstance, f),
    latestInitJob: (f = msg.getLatestInitJob()) && proto.hashicorp.waypoint.Job.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UI.GetProjectResponse}
 */
proto.hashicorp.waypoint.UI.GetProjectResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UI.GetProjectResponse;
  return proto.hashicorp.waypoint.UI.GetProjectResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UI.GetProjectResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UI.GetProjectResponse}
 */
proto.hashicorp.waypoint.UI.GetProjectResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.deserializeBinaryFromReader);
      msg.setLatestInitJob(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UI.GetProjectResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UI.GetProjectResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UI.GetProjectResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.GetProjectResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Project.serializeBinaryToWriter
    );
  }
  f = message.getLatestInitJob();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Job.serializeBinaryToWriter
    );
  }
};


/**
 * optional Project project = 1;
 * @return {?proto.hashicorp.waypoint.Project}
 */
proto.hashicorp.waypoint.UI.GetProjectResponse.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Project, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.GetProjectResponse} returns this
*/
proto.hashicorp.waypoint.UI.GetProjectResponse.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.GetProjectResponse} returns this
 */
proto.hashicorp.waypoint.UI.GetProjectResponse.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.GetProjectResponse.prototype.hasProject = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Job latest_init_job = 2;
 * @return {?proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.UI.GetProjectResponse.prototype.getLatestInitJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.GetProjectResponse} returns this
*/
proto.hashicorp.waypoint.UI.GetProjectResponse.prototype.setLatestInitJob = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.GetProjectResponse} returns this
 */
proto.hashicorp.waypoint.UI.GetProjectResponse.prototype.clearLatestInitJob = function() {
  return this.setLatestInitJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.GetProjectResponse.prototype.hasLatestInitJob = function() {
  return jspb.Message.getField(this, 2) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.repeatedFields_ = [4];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UI.ListDeploymentsRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UI.ListDeploymentsRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    order: (f = msg.getOrder()) && proto.hashicorp.waypoint.OperationOrder.toObject(includeInstance, f),
    statusList: jspb.Message.toObjectList(msg.getStatusList(),
    proto.hashicorp.waypoint.StatusFilter.toObject, includeInstance),
    physicalState: jspb.Message.getFieldWithDefault(msg, 5, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsRequest}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UI.ListDeploymentsRequest;
  return proto.hashicorp.waypoint.UI.ListDeploymentsRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UI.ListDeploymentsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsRequest}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.OperationOrder;
      reader.readMessage(value,proto.hashicorp.waypoint.OperationOrder.deserializeBinaryFromReader);
      msg.setOrder(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.StatusFilter;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusFilter.deserializeBinaryFromReader);
      msg.addStatus(value);
      break;
    case 5:
      var value = /** @type {!proto.hashicorp.waypoint.Operation.PhysicalState} */ (reader.readEnum());
      msg.setPhysicalState(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UI.ListDeploymentsRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UI.ListDeploymentsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getOrder();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.OperationOrder.serializeBinaryToWriter
    );
  }
  f = message.getStatusList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      4,
      f,
      proto.hashicorp.waypoint.StatusFilter.serializeBinaryToWriter
    );
  }
  f = message.getPhysicalState();
  if (f !== 0.0) {
    writer.writeEnum(
      5,
      f
    );
  }
};


/**
 * optional Ref.Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsRequest} returns this
*/
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsRequest} returns this
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Workspace workspace = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsRequest} returns this
*/
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsRequest} returns this
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional OperationOrder order = 3;
 * @return {?proto.hashicorp.waypoint.OperationOrder}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.getOrder = function() {
  return /** @type{?proto.hashicorp.waypoint.OperationOrder} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.OperationOrder, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.OperationOrder|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsRequest} returns this
*/
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.setOrder = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsRequest} returns this
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.clearOrder = function() {
  return this.setOrder(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.hasOrder = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * repeated StatusFilter status = 4;
 * @return {!Array<!proto.hashicorp.waypoint.StatusFilter>}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.getStatusList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.StatusFilter>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.StatusFilter, 4));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.StatusFilter>} value
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsRequest} returns this
*/
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.setStatusList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 4, value);
};


/**
 * @param {!proto.hashicorp.waypoint.StatusFilter=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.StatusFilter}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.addStatus = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.hashicorp.waypoint.StatusFilter, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsRequest} returns this
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.clearStatusList = function() {
  return this.setStatusList([]);
};


/**
 * optional Operation.PhysicalState physical_state = 5;
 * @return {!proto.hashicorp.waypoint.Operation.PhysicalState}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.getPhysicalState = function() {
  return /** @type {!proto.hashicorp.waypoint.Operation.PhysicalState} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Operation.PhysicalState} value
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsRequest} returns this
 */
proto.hashicorp.waypoint.UI.ListDeploymentsRequest.prototype.setPhysicalState = function(value) {
  return jspb.Message.setProto3EnumField(this, 5, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.UI.ListDeploymentsResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UI.ListDeploymentsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UI.ListDeploymentsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.ListDeploymentsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    deploymentsList: jspb.Message.toObjectList(msg.getDeploymentsList(),
    proto.hashicorp.waypoint.UI.DeploymentBundle.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsResponse}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UI.ListDeploymentsResponse;
  return proto.hashicorp.waypoint.UI.ListDeploymentsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UI.ListDeploymentsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsResponse}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.UI.DeploymentBundle;
      reader.readMessage(value,proto.hashicorp.waypoint.UI.DeploymentBundle.deserializeBinaryFromReader);
      msg.addDeployments(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UI.ListDeploymentsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UI.ListDeploymentsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.ListDeploymentsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDeploymentsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.UI.DeploymentBundle.serializeBinaryToWriter
    );
  }
};


/**
 * repeated DeploymentBundle deployments = 1;
 * @return {!Array<!proto.hashicorp.waypoint.UI.DeploymentBundle>}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsResponse.prototype.getDeploymentsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.UI.DeploymentBundle>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.UI.DeploymentBundle, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.UI.DeploymentBundle>} value
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsResponse} returns this
*/
proto.hashicorp.waypoint.UI.ListDeploymentsResponse.prototype.setDeploymentsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.UI.DeploymentBundle=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.UI.DeploymentBundle}
 */
proto.hashicorp.waypoint.UI.ListDeploymentsResponse.prototype.addDeployments = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.UI.DeploymentBundle, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.UI.ListDeploymentsResponse} returns this
 */
proto.hashicorp.waypoint.UI.ListDeploymentsResponse.prototype.clearDeploymentsList = function() {
  return this.setDeploymentsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UI.DeploymentBundle.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UI.DeploymentBundle} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.toObject = function(includeInstance, msg) {
  var f, obj = {
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.Deployment.toObject(includeInstance, f),
    artifact: (f = msg.getArtifact()) && proto.hashicorp.waypoint.PushedArtifact.toObject(includeInstance, f),
    build: (f = msg.getBuild()) && proto.hashicorp.waypoint.Build.toObject(includeInstance, f),
    deployUrl: jspb.Message.getFieldWithDefault(msg, 5, ""),
    jobDataSourceRef: (f = msg.getJobDataSourceRef()) && proto.hashicorp.waypoint.Job.DataSource.Ref.toObject(includeInstance, f),
    latestStatusReport: (f = msg.getLatestStatusReport()) && proto.hashicorp.waypoint.StatusReport.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UI.DeploymentBundle}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UI.DeploymentBundle;
  return proto.hashicorp.waypoint.UI.DeploymentBundle.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UI.DeploymentBundle} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UI.DeploymentBundle}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Deployment;
      reader.readMessage(value,proto.hashicorp.waypoint.Deployment.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.PushedArtifact;
      reader.readMessage(value,proto.hashicorp.waypoint.PushedArtifact.deserializeBinaryFromReader);
      msg.setArtifact(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Build;
      reader.readMessage(value,proto.hashicorp.waypoint.Build.deserializeBinaryFromReader);
      msg.setBuild(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeployUrl(value);
      break;
    case 6:
      var value = new proto.hashicorp.waypoint.Job.DataSource.Ref;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DataSource.Ref.deserializeBinaryFromReader);
      msg.setJobDataSourceRef(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.StatusReport;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusReport.deserializeBinaryFromReader);
      msg.setLatestStatusReport(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UI.DeploymentBundle.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UI.DeploymentBundle} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Deployment.serializeBinaryToWriter
    );
  }
  f = message.getArtifact();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.PushedArtifact.serializeBinaryToWriter
    );
  }
  f = message.getBuild();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Build.serializeBinaryToWriter
    );
  }
  f = message.getDeployUrl();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getJobDataSourceRef();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      proto.hashicorp.waypoint.Job.DataSource.Ref.serializeBinaryToWriter
    );
  }
  f = message.getLatestStatusReport();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.StatusReport.serializeBinaryToWriter
    );
  }
};


/**
 * optional Deployment deployment = 1;
 * @return {?proto.hashicorp.waypoint.Deployment}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.Deployment} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Deployment, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Deployment|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.DeploymentBundle} returns this
*/
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.setDeployment = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.DeploymentBundle} returns this
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional PushedArtifact artifact = 3;
 * @return {?proto.hashicorp.waypoint.PushedArtifact}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.getArtifact = function() {
  return /** @type{?proto.hashicorp.waypoint.PushedArtifact} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.PushedArtifact, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.PushedArtifact|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.DeploymentBundle} returns this
*/
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.setArtifact = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.DeploymentBundle} returns this
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.clearArtifact = function() {
  return this.setArtifact(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.hasArtifact = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Build build = 4;
 * @return {?proto.hashicorp.waypoint.Build}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.getBuild = function() {
  return /** @type{?proto.hashicorp.waypoint.Build} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Build, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Build|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.DeploymentBundle} returns this
*/
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.setBuild = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.DeploymentBundle} returns this
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.clearBuild = function() {
  return this.setBuild(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.hasBuild = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional string deploy_url = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.getDeployUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.UI.DeploymentBundle} returns this
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.setDeployUrl = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional Job.DataSource.Ref job_data_source_ref = 6;
 * @return {?proto.hashicorp.waypoint.Job.DataSource.Ref}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.getJobDataSourceRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DataSource.Ref} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DataSource.Ref, 6));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DataSource.Ref|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.DeploymentBundle} returns this
*/
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.setJobDataSourceRef = function(value) {
  return jspb.Message.setWrapperField(this, 6, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.DeploymentBundle} returns this
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.clearJobDataSourceRef = function() {
  return this.setJobDataSourceRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.hasJobDataSourceRef = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * optional StatusReport latest_status_report = 2;
 * @return {?proto.hashicorp.waypoint.StatusReport}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.getLatestStatusReport = function() {
  return /** @type{?proto.hashicorp.waypoint.StatusReport} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.StatusReport, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.StatusReport|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.DeploymentBundle} returns this
*/
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.setLatestStatusReport = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.DeploymentBundle} returns this
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.clearLatestStatusReport = function() {
  return this.setLatestStatusReport(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.DeploymentBundle.prototype.hasLatestStatusReport = function() {
  return jspb.Message.getField(this, 2) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.repeatedFields_ = [4];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UI.ListReleasesRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UI.ListReleasesRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    order: (f = msg.getOrder()) && proto.hashicorp.waypoint.OperationOrder.toObject(includeInstance, f),
    statusList: jspb.Message.toObjectList(msg.getStatusList(),
    proto.hashicorp.waypoint.StatusFilter.toObject, includeInstance),
    physicalState: jspb.Message.getFieldWithDefault(msg, 5, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesRequest}
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UI.ListReleasesRequest;
  return proto.hashicorp.waypoint.UI.ListReleasesRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UI.ListReleasesRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesRequest}
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.OperationOrder;
      reader.readMessage(value,proto.hashicorp.waypoint.OperationOrder.deserializeBinaryFromReader);
      msg.setOrder(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.StatusFilter;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusFilter.deserializeBinaryFromReader);
      msg.addStatus(value);
      break;
    case 5:
      var value = /** @type {!proto.hashicorp.waypoint.Operation.PhysicalState} */ (reader.readEnum());
      msg.setPhysicalState(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UI.ListReleasesRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UI.ListReleasesRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getOrder();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.OperationOrder.serializeBinaryToWriter
    );
  }
  f = message.getStatusList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      4,
      f,
      proto.hashicorp.waypoint.StatusFilter.serializeBinaryToWriter
    );
  }
  f = message.getPhysicalState();
  if (f !== 0.0) {
    writer.writeEnum(
      5,
      f
    );
  }
};


/**
 * optional Ref.Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesRequest} returns this
*/
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesRequest} returns this
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Workspace workspace = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesRequest} returns this
*/
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesRequest} returns this
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional OperationOrder order = 3;
 * @return {?proto.hashicorp.waypoint.OperationOrder}
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.getOrder = function() {
  return /** @type{?proto.hashicorp.waypoint.OperationOrder} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.OperationOrder, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.OperationOrder|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesRequest} returns this
*/
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.setOrder = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesRequest} returns this
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.clearOrder = function() {
  return this.setOrder(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.hasOrder = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * repeated StatusFilter status = 4;
 * @return {!Array<!proto.hashicorp.waypoint.StatusFilter>}
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.getStatusList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.StatusFilter>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.StatusFilter, 4));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.StatusFilter>} value
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesRequest} returns this
*/
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.setStatusList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 4, value);
};


/**
 * @param {!proto.hashicorp.waypoint.StatusFilter=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.StatusFilter}
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.addStatus = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.hashicorp.waypoint.StatusFilter, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesRequest} returns this
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.clearStatusList = function() {
  return this.setStatusList([]);
};


/**
 * optional Operation.PhysicalState physical_state = 5;
 * @return {!proto.hashicorp.waypoint.Operation.PhysicalState}
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.getPhysicalState = function() {
  return /** @type {!proto.hashicorp.waypoint.Operation.PhysicalState} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Operation.PhysicalState} value
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesRequest} returns this
 */
proto.hashicorp.waypoint.UI.ListReleasesRequest.prototype.setPhysicalState = function(value) {
  return jspb.Message.setProto3EnumField(this, 5, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.UI.ListReleasesResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UI.ListReleasesResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UI.ListReleasesResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UI.ListReleasesResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.ListReleasesResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    releasesList: jspb.Message.toObjectList(msg.getReleasesList(),
    proto.hashicorp.waypoint.UI.ReleaseBundle.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesResponse}
 */
proto.hashicorp.waypoint.UI.ListReleasesResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UI.ListReleasesResponse;
  return proto.hashicorp.waypoint.UI.ListReleasesResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UI.ListReleasesResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesResponse}
 */
proto.hashicorp.waypoint.UI.ListReleasesResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.UI.ReleaseBundle;
      reader.readMessage(value,proto.hashicorp.waypoint.UI.ReleaseBundle.deserializeBinaryFromReader);
      msg.addReleases(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UI.ListReleasesResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UI.ListReleasesResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UI.ListReleasesResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.ListReleasesResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getReleasesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.UI.ReleaseBundle.serializeBinaryToWriter
    );
  }
};


/**
 * repeated ReleaseBundle releases = 1;
 * @return {!Array<!proto.hashicorp.waypoint.UI.ReleaseBundle>}
 */
proto.hashicorp.waypoint.UI.ListReleasesResponse.prototype.getReleasesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.UI.ReleaseBundle>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.UI.ReleaseBundle, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.UI.ReleaseBundle>} value
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesResponse} returns this
*/
proto.hashicorp.waypoint.UI.ListReleasesResponse.prototype.setReleasesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.UI.ReleaseBundle=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.UI.ReleaseBundle}
 */
proto.hashicorp.waypoint.UI.ListReleasesResponse.prototype.addReleases = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.UI.ReleaseBundle, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.UI.ListReleasesResponse} returns this
 */
proto.hashicorp.waypoint.UI.ListReleasesResponse.prototype.clearReleasesList = function() {
  return this.setReleasesList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UI.ReleaseBundle.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UI.ReleaseBundle.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UI.ReleaseBundle} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.ReleaseBundle.toObject = function(includeInstance, msg) {
  var f, obj = {
    release: (f = msg.getRelease()) && proto.hashicorp.waypoint.Release.toObject(includeInstance, f),
    latestStatusReport: (f = msg.getLatestStatusReport()) && proto.hashicorp.waypoint.StatusReport.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UI.ReleaseBundle}
 */
proto.hashicorp.waypoint.UI.ReleaseBundle.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UI.ReleaseBundle;
  return proto.hashicorp.waypoint.UI.ReleaseBundle.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UI.ReleaseBundle} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UI.ReleaseBundle}
 */
proto.hashicorp.waypoint.UI.ReleaseBundle.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Release;
      reader.readMessage(value,proto.hashicorp.waypoint.Release.deserializeBinaryFromReader);
      msg.setRelease(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.StatusReport;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusReport.deserializeBinaryFromReader);
      msg.setLatestStatusReport(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UI.ReleaseBundle.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UI.ReleaseBundle.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UI.ReleaseBundle} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UI.ReleaseBundle.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRelease();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Release.serializeBinaryToWriter
    );
  }
  f = message.getLatestStatusReport();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.StatusReport.serializeBinaryToWriter
    );
  }
};


/**
 * optional Release release = 1;
 * @return {?proto.hashicorp.waypoint.Release}
 */
proto.hashicorp.waypoint.UI.ReleaseBundle.prototype.getRelease = function() {
  return /** @type{?proto.hashicorp.waypoint.Release} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Release, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Release|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.ReleaseBundle} returns this
*/
proto.hashicorp.waypoint.UI.ReleaseBundle.prototype.setRelease = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.ReleaseBundle} returns this
 */
proto.hashicorp.waypoint.UI.ReleaseBundle.prototype.clearRelease = function() {
  return this.setRelease(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.ReleaseBundle.prototype.hasRelease = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional StatusReport latest_status_report = 2;
 * @return {?proto.hashicorp.waypoint.StatusReport}
 */
proto.hashicorp.waypoint.UI.ReleaseBundle.prototype.getLatestStatusReport = function() {
  return /** @type{?proto.hashicorp.waypoint.StatusReport} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.StatusReport, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.StatusReport|undefined} value
 * @return {!proto.hashicorp.waypoint.UI.ReleaseBundle} returns this
*/
proto.hashicorp.waypoint.UI.ReleaseBundle.prototype.setLatestStatusReport = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UI.ReleaseBundle} returns this
 */
proto.hashicorp.waypoint.UI.ReleaseBundle.prototype.clearLatestStatusReport = function() {
  return this.setLatestStatusReport(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UI.ReleaseBundle.prototype.hasLatestStatusReport = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetVersionInfoResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetVersionInfoResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetVersionInfoResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetVersionInfoResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    info: (f = msg.getInfo()) && proto.hashicorp.waypoint.VersionInfo.toObject(includeInstance, f),
    serverFeatures: (f = msg.getServerFeatures()) && proto.hashicorp.waypoint.ServerFeatures.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetVersionInfoResponse}
 */
proto.hashicorp.waypoint.GetVersionInfoResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetVersionInfoResponse;
  return proto.hashicorp.waypoint.GetVersionInfoResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetVersionInfoResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetVersionInfoResponse}
 */
proto.hashicorp.waypoint.GetVersionInfoResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.VersionInfo;
      reader.readMessage(value,proto.hashicorp.waypoint.VersionInfo.deserializeBinaryFromReader);
      msg.setInfo(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.ServerFeatures;
      reader.readMessage(value,proto.hashicorp.waypoint.ServerFeatures.deserializeBinaryFromReader);
      msg.setServerFeatures(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetVersionInfoResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetVersionInfoResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetVersionInfoResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetVersionInfoResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getInfo();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.VersionInfo.serializeBinaryToWriter
    );
  }
  f = message.getServerFeatures();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.ServerFeatures.serializeBinaryToWriter
    );
  }
};


/**
 * optional VersionInfo info = 1;
 * @return {?proto.hashicorp.waypoint.VersionInfo}
 */
proto.hashicorp.waypoint.GetVersionInfoResponse.prototype.getInfo = function() {
  return /** @type{?proto.hashicorp.waypoint.VersionInfo} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.VersionInfo, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.VersionInfo|undefined} value
 * @return {!proto.hashicorp.waypoint.GetVersionInfoResponse} returns this
*/
proto.hashicorp.waypoint.GetVersionInfoResponse.prototype.setInfo = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetVersionInfoResponse} returns this
 */
proto.hashicorp.waypoint.GetVersionInfoResponse.prototype.clearInfo = function() {
  return this.setInfo(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetVersionInfoResponse.prototype.hasInfo = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional ServerFeatures server_features = 2;
 * @return {?proto.hashicorp.waypoint.ServerFeatures}
 */
proto.hashicorp.waypoint.GetVersionInfoResponse.prototype.getServerFeatures = function() {
  return /** @type{?proto.hashicorp.waypoint.ServerFeatures} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ServerFeatures, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.ServerFeatures|undefined} value
 * @return {!proto.hashicorp.waypoint.GetVersionInfoResponse} returns this
*/
proto.hashicorp.waypoint.GetVersionInfoResponse.prototype.setServerFeatures = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetVersionInfoResponse} returns this
 */
proto.hashicorp.waypoint.GetVersionInfoResponse.prototype.clearServerFeatures = function() {
  return this.setServerFeatures(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetVersionInfoResponse.prototype.hasServerFeatures = function() {
  return jspb.Message.getField(this, 2) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ServerFeatures.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ServerFeatures.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ServerFeatures.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ServerFeatures} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ServerFeatures.toObject = function(includeInstance, msg) {
  var f, obj = {
    featuresList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ServerFeatures}
 */
proto.hashicorp.waypoint.ServerFeatures.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ServerFeatures;
  return proto.hashicorp.waypoint.ServerFeatures.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ServerFeatures} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ServerFeatures}
 */
proto.hashicorp.waypoint.ServerFeatures.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var values = /** @type {!Array<!proto.hashicorp.waypoint.ServerFeatures.feature>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
      for (var i = 0; i < values.length; i++) {
        msg.addFeatures(values[i]);
      }
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ServerFeatures.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ServerFeatures.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ServerFeatures} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ServerFeatures.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFeaturesList();
  if (f.length > 0) {
    writer.writePackedEnum(
      1,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ServerFeatures.feature = {
  FEATURE_UNSPECIFIED: 0,
  FEATURE_INLINE_KEEPALIVES: 1
};

/**
 * repeated feature features = 1;
 * @return {!Array<!proto.hashicorp.waypoint.ServerFeatures.feature>}
 */
proto.hashicorp.waypoint.ServerFeatures.prototype.getFeaturesList = function() {
  return /** @type {!Array<!proto.hashicorp.waypoint.ServerFeatures.feature>} */ (jspb.Message.getRepeatedField(this, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.ServerFeatures.feature>} value
 * @return {!proto.hashicorp.waypoint.ServerFeatures} returns this
 */
proto.hashicorp.waypoint.ServerFeatures.prototype.setFeaturesList = function(value) {
  return jspb.Message.setField(this, 1, value || []);
};


/**
 * @param {!proto.hashicorp.waypoint.ServerFeatures.feature} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.ServerFeatures} returns this
 */
proto.hashicorp.waypoint.ServerFeatures.prototype.addFeatures = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ServerFeatures} returns this
 */
proto.hashicorp.waypoint.ServerFeatures.prototype.clearFeaturesList = function() {
  return this.setFeaturesList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.VersionInfo.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.VersionInfo.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.VersionInfo} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.VersionInfo.toObject = function(includeInstance, msg) {
  var f, obj = {
    api: (f = msg.getApi()) && proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.toObject(includeInstance, f),
    entrypoint: (f = msg.getEntrypoint()) && proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.toObject(includeInstance, f),
    version: jspb.Message.getFieldWithDefault(msg, 3, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.VersionInfo}
 */
proto.hashicorp.waypoint.VersionInfo.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.VersionInfo;
  return proto.hashicorp.waypoint.VersionInfo.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.VersionInfo} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.VersionInfo}
 */
proto.hashicorp.waypoint.VersionInfo.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.VersionInfo.ProtocolVersion;
      reader.readMessage(value,proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.deserializeBinaryFromReader);
      msg.setApi(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.VersionInfo.ProtocolVersion;
      reader.readMessage(value,proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.deserializeBinaryFromReader);
      msg.setEntrypoint(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setVersion(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.VersionInfo.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.VersionInfo.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.VersionInfo} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.VersionInfo.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApi();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.serializeBinaryToWriter
    );
  }
  f = message.getEntrypoint();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.serializeBinaryToWriter
    );
  }
  f = message.getVersion();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.VersionInfo.ProtocolVersion} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.toObject = function(includeInstance, msg) {
  var f, obj = {
    current: jspb.Message.getFieldWithDefault(msg, 1, 0),
    minimum: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.VersionInfo.ProtocolVersion}
 */
proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.VersionInfo.ProtocolVersion;
  return proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.VersionInfo.ProtocolVersion} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.VersionInfo.ProtocolVersion}
 */
proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readUint32());
      msg.setCurrent(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint32());
      msg.setMinimum(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.VersionInfo.ProtocolVersion} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getCurrent();
  if (f !== 0) {
    writer.writeUint32(
      1,
      f
    );
  }
  f = message.getMinimum();
  if (f !== 0) {
    writer.writeUint32(
      2,
      f
    );
  }
};


/**
 * optional uint32 current = 1;
 * @return {number}
 */
proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.prototype.getCurrent = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.VersionInfo.ProtocolVersion} returns this
 */
proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.prototype.setCurrent = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};


/**
 * optional uint32 minimum = 2;
 * @return {number}
 */
proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.prototype.getMinimum = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.VersionInfo.ProtocolVersion} returns this
 */
proto.hashicorp.waypoint.VersionInfo.ProtocolVersion.prototype.setMinimum = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional ProtocolVersion api = 1;
 * @return {?proto.hashicorp.waypoint.VersionInfo.ProtocolVersion}
 */
proto.hashicorp.waypoint.VersionInfo.prototype.getApi = function() {
  return /** @type{?proto.hashicorp.waypoint.VersionInfo.ProtocolVersion} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.VersionInfo.ProtocolVersion, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.VersionInfo.ProtocolVersion|undefined} value
 * @return {!proto.hashicorp.waypoint.VersionInfo} returns this
*/
proto.hashicorp.waypoint.VersionInfo.prototype.setApi = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.VersionInfo} returns this
 */
proto.hashicorp.waypoint.VersionInfo.prototype.clearApi = function() {
  return this.setApi(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.VersionInfo.prototype.hasApi = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional ProtocolVersion entrypoint = 2;
 * @return {?proto.hashicorp.waypoint.VersionInfo.ProtocolVersion}
 */
proto.hashicorp.waypoint.VersionInfo.prototype.getEntrypoint = function() {
  return /** @type{?proto.hashicorp.waypoint.VersionInfo.ProtocolVersion} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.VersionInfo.ProtocolVersion, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.VersionInfo.ProtocolVersion|undefined} value
 * @return {!proto.hashicorp.waypoint.VersionInfo} returns this
*/
proto.hashicorp.waypoint.VersionInfo.prototype.setEntrypoint = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.VersionInfo} returns this
 */
proto.hashicorp.waypoint.VersionInfo.prototype.clearEntrypoint = function() {
  return this.setEntrypoint(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.VersionInfo.prototype.hasEntrypoint = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional string version = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.VersionInfo.prototype.getVersion = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.VersionInfo} returns this
 */
proto.hashicorp.waypoint.VersionInfo.prototype.setVersion = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Application.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Application.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Application} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Application.toObject = function(includeInstance, msg) {
  var f, obj = {
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f),
    name: jspb.Message.getFieldWithDefault(msg, 1, ""),
    fileChangeSignal: jspb.Message.getFieldWithDefault(msg, 3, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Application}
 */
proto.hashicorp.waypoint.Application.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Application;
  return proto.hashicorp.waypoint.Application.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Application} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Application}
 */
proto.hashicorp.waypoint.Application.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setFileChangeSignal(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Application.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Application.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Application} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Application.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getFileChangeSignal();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
};


/**
 * optional Ref.Project project = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.Application.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.Application} returns this
*/
proto.hashicorp.waypoint.Application.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Application} returns this
 */
proto.hashicorp.waypoint.Application.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Application.prototype.hasProject = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional string name = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Application.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Application} returns this
 */
proto.hashicorp.waypoint.Application.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string file_change_signal = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.Application.prototype.getFileChangeSignal = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Application} returns this
 */
proto.hashicorp.waypoint.Application.prototype.setFileChangeSignal = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Variable.oneofGroups_ = [[2,9,10,3],[4,5,6,7,8,11]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Variable.ValueCase = {
  VALUE_NOT_SET: 0,
  STR: 2,
  BOOL: 9,
  NUM: 10,
  HCL: 3
};

/**
 * @return {proto.hashicorp.waypoint.Variable.ValueCase}
 */
proto.hashicorp.waypoint.Variable.prototype.getValueCase = function() {
  return /** @type {proto.hashicorp.waypoint.Variable.ValueCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Variable.oneofGroups_[0]));
};

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Variable.SourceCase = {
  SOURCE_NOT_SET: 0,
  CLI: 4,
  FILE: 5,
  ENV: 6,
  VCS: 7,
  SERVER: 8,
  DYNAMIC: 11
};

/**
 * @return {proto.hashicorp.waypoint.Variable.SourceCase}
 */
proto.hashicorp.waypoint.Variable.prototype.getSourceCase = function() {
  return /** @type {proto.hashicorp.waypoint.Variable.SourceCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Variable.oneofGroups_[1]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Variable.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Variable.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Variable} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Variable.toObject = function(includeInstance, msg) {
  var f, obj = {
    name: jspb.Message.getFieldWithDefault(msg, 1, ""),
    str: jspb.Message.getFieldWithDefault(msg, 2, ""),
    bool: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
    num: jspb.Message.getFieldWithDefault(msg, 10, 0),
    hcl: jspb.Message.getFieldWithDefault(msg, 3, ""),
    cli: (f = msg.getCli()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
    file: (f = msg.getFile()) && proto.hashicorp.waypoint.Variable.File.toObject(includeInstance, f),
    env: (f = msg.getEnv()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
    vcs: (f = msg.getVcs()) && proto.hashicorp.waypoint.Variable.VCS.toObject(includeInstance, f),
    server: (f = msg.getServer()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
    dynamic: (f = msg.getDynamic()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
    finalValue: (f = msg.getFinalValue()) && proto.hashicorp.waypoint.Variable.FinalValue.toObject(includeInstance, f),
    sensitive: jspb.Message.getBooleanFieldWithDefault(msg, 13, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Variable}
 */
proto.hashicorp.waypoint.Variable.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Variable;
  return proto.hashicorp.waypoint.Variable.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Variable} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Variable}
 */
proto.hashicorp.waypoint.Variable.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setStr(value);
      break;
    case 9:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setBool(value);
      break;
    case 10:
      var value = /** @type {number} */ (reader.readInt64());
      msg.setNum(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setHcl(value);
      break;
    case 4:
      var value = new google_protobuf_empty_pb.Empty;
      reader.readMessage(value,google_protobuf_empty_pb.Empty.deserializeBinaryFromReader);
      msg.setCli(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.Variable.File;
      reader.readMessage(value,proto.hashicorp.waypoint.Variable.File.deserializeBinaryFromReader);
      msg.setFile(value);
      break;
    case 6:
      var value = new google_protobuf_empty_pb.Empty;
      reader.readMessage(value,google_protobuf_empty_pb.Empty.deserializeBinaryFromReader);
      msg.setEnv(value);
      break;
    case 7:
      var value = new proto.hashicorp.waypoint.Variable.VCS;
      reader.readMessage(value,proto.hashicorp.waypoint.Variable.VCS.deserializeBinaryFromReader);
      msg.setVcs(value);
      break;
    case 8:
      var value = new google_protobuf_empty_pb.Empty;
      reader.readMessage(value,google_protobuf_empty_pb.Empty.deserializeBinaryFromReader);
      msg.setServer(value);
      break;
    case 11:
      var value = new google_protobuf_empty_pb.Empty;
      reader.readMessage(value,google_protobuf_empty_pb.Empty.deserializeBinaryFromReader);
      msg.setDynamic(value);
      break;
    case 12:
      var value = new proto.hashicorp.waypoint.Variable.FinalValue;
      reader.readMessage(value,proto.hashicorp.waypoint.Variable.FinalValue.deserializeBinaryFromReader);
      msg.setFinalValue(value);
      break;
    case 13:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setSensitive(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Variable.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Variable.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Variable} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Variable.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 2));
  if (f != null) {
    writer.writeString(
      2,
      f
    );
  }
  f = /** @type {boolean} */ (jspb.Message.getField(message, 9));
  if (f != null) {
    writer.writeBool(
      9,
      f
    );
  }
  f = /** @type {number} */ (jspb.Message.getField(message, 10));
  if (f != null) {
    writer.writeInt64(
      10,
      f
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 3));
  if (f != null) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getCli();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      google_protobuf_empty_pb.Empty.serializeBinaryToWriter
    );
  }
  f = message.getFile();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      proto.hashicorp.waypoint.Variable.File.serializeBinaryToWriter
    );
  }
  f = message.getEnv();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      google_protobuf_empty_pb.Empty.serializeBinaryToWriter
    );
  }
  f = message.getVcs();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      proto.hashicorp.waypoint.Variable.VCS.serializeBinaryToWriter
    );
  }
  f = message.getServer();
  if (f != null) {
    writer.writeMessage(
      8,
      f,
      google_protobuf_empty_pb.Empty.serializeBinaryToWriter
    );
  }
  f = message.getDynamic();
  if (f != null) {
    writer.writeMessage(
      11,
      f,
      google_protobuf_empty_pb.Empty.serializeBinaryToWriter
    );
  }
  f = message.getFinalValue();
  if (f != null) {
    writer.writeMessage(
      12,
      f,
      proto.hashicorp.waypoint.Variable.FinalValue.serializeBinaryToWriter
    );
  }
  f = message.getSensitive();
  if (f) {
    writer.writeBool(
      13,
      f
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Variable.File.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Variable.File.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Variable.File} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Variable.File.toObject = function(includeInstance, msg) {
  var f, obj = {
    filename: jspb.Message.getFieldWithDefault(msg, 1, ""),
    hclRange: (f = msg.getHclRange()) && proto.hashicorp.waypoint.Variable.HclRange.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Variable.File}
 */
proto.hashicorp.waypoint.Variable.File.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Variable.File;
  return proto.hashicorp.waypoint.Variable.File.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Variable.File} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Variable.File}
 */
proto.hashicorp.waypoint.Variable.File.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setFilename(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Variable.HclRange;
      reader.readMessage(value,proto.hashicorp.waypoint.Variable.HclRange.deserializeBinaryFromReader);
      msg.setHclRange(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Variable.File.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Variable.File.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Variable.File} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Variable.File.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFilename();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getHclRange();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Variable.HclRange.serializeBinaryToWriter
    );
  }
};


/**
 * optional string fileName = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Variable.File.prototype.getFilename = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Variable.File} returns this
 */
proto.hashicorp.waypoint.Variable.File.prototype.setFilename = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional HclRange hcl_range = 2;
 * @return {?proto.hashicorp.waypoint.Variable.HclRange}
 */
proto.hashicorp.waypoint.Variable.File.prototype.getHclRange = function() {
  return /** @type{?proto.hashicorp.waypoint.Variable.HclRange} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Variable.HclRange, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Variable.HclRange|undefined} value
 * @return {!proto.hashicorp.waypoint.Variable.File} returns this
*/
proto.hashicorp.waypoint.Variable.File.prototype.setHclRange = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable.File} returns this
 */
proto.hashicorp.waypoint.Variable.File.prototype.clearHclRange = function() {
  return this.setHclRange(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.File.prototype.hasHclRange = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Variable.VCS.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Variable.VCS.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Variable.VCS} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Variable.VCS.toObject = function(includeInstance, msg) {
  var f, obj = {
    filename: jspb.Message.getFieldWithDefault(msg, 1, ""),
    hclRange: (f = msg.getHclRange()) && proto.hashicorp.waypoint.Variable.HclRange.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Variable.VCS}
 */
proto.hashicorp.waypoint.Variable.VCS.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Variable.VCS;
  return proto.hashicorp.waypoint.Variable.VCS.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Variable.VCS} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Variable.VCS}
 */
proto.hashicorp.waypoint.Variable.VCS.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setFilename(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Variable.HclRange;
      reader.readMessage(value,proto.hashicorp.waypoint.Variable.HclRange.deserializeBinaryFromReader);
      msg.setHclRange(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Variable.VCS.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Variable.VCS.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Variable.VCS} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Variable.VCS.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFilename();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getHclRange();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Variable.HclRange.serializeBinaryToWriter
    );
  }
};


/**
 * optional string fileName = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Variable.VCS.prototype.getFilename = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Variable.VCS} returns this
 */
proto.hashicorp.waypoint.Variable.VCS.prototype.setFilename = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional HclRange hcl_range = 2;
 * @return {?proto.hashicorp.waypoint.Variable.HclRange}
 */
proto.hashicorp.waypoint.Variable.VCS.prototype.getHclRange = function() {
  return /** @type{?proto.hashicorp.waypoint.Variable.HclRange} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Variable.HclRange, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Variable.HclRange|undefined} value
 * @return {!proto.hashicorp.waypoint.Variable.VCS} returns this
*/
proto.hashicorp.waypoint.Variable.VCS.prototype.setHclRange = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable.VCS} returns this
 */
proto.hashicorp.waypoint.Variable.VCS.prototype.clearHclRange = function() {
  return this.setHclRange(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.VCS.prototype.hasHclRange = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Variable.HclPos.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Variable.HclPos.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Variable.HclPos} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Variable.HclPos.toObject = function(includeInstance, msg) {
  var f, obj = {
    line: jspb.Message.getFieldWithDefault(msg, 1, 0),
    column: jspb.Message.getFieldWithDefault(msg, 2, 0),
    pb_byte: jspb.Message.getFieldWithDefault(msg, 3, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Variable.HclPos}
 */
proto.hashicorp.waypoint.Variable.HclPos.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Variable.HclPos;
  return proto.hashicorp.waypoint.Variable.HclPos.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Variable.HclPos} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Variable.HclPos}
 */
proto.hashicorp.waypoint.Variable.HclPos.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setLine(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setColumn(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setByte(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Variable.HclPos.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Variable.HclPos.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Variable.HclPos} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Variable.HclPos.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getLine();
  if (f !== 0) {
    writer.writeInt32(
      1,
      f
    );
  }
  f = message.getColumn();
  if (f !== 0) {
    writer.writeInt32(
      2,
      f
    );
  }
  f = message.getByte();
  if (f !== 0) {
    writer.writeInt32(
      3,
      f
    );
  }
};


/**
 * optional int32 line = 1;
 * @return {number}
 */
proto.hashicorp.waypoint.Variable.HclPos.prototype.getLine = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Variable.HclPos} returns this
 */
proto.hashicorp.waypoint.Variable.HclPos.prototype.setLine = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};


/**
 * optional int32 column = 2;
 * @return {number}
 */
proto.hashicorp.waypoint.Variable.HclPos.prototype.getColumn = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Variable.HclPos} returns this
 */
proto.hashicorp.waypoint.Variable.HclPos.prototype.setColumn = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional int32 byte = 3;
 * @return {number}
 */
proto.hashicorp.waypoint.Variable.HclPos.prototype.getByte = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Variable.HclPos} returns this
 */
proto.hashicorp.waypoint.Variable.HclPos.prototype.setByte = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Variable.HclRange.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Variable.HclRange.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Variable.HclRange} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Variable.HclRange.toObject = function(includeInstance, msg) {
  var f, obj = {
    filename: jspb.Message.getFieldWithDefault(msg, 1, ""),
    start: (f = msg.getStart()) && proto.hashicorp.waypoint.Variable.HclPos.toObject(includeInstance, f),
    end: (f = msg.getEnd()) && proto.hashicorp.waypoint.Variable.HclPos.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Variable.HclRange}
 */
proto.hashicorp.waypoint.Variable.HclRange.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Variable.HclRange;
  return proto.hashicorp.waypoint.Variable.HclRange.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Variable.HclRange} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Variable.HclRange}
 */
proto.hashicorp.waypoint.Variable.HclRange.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setFilename(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Variable.HclPos;
      reader.readMessage(value,proto.hashicorp.waypoint.Variable.HclPos.deserializeBinaryFromReader);
      msg.setStart(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Variable.HclPos;
      reader.readMessage(value,proto.hashicorp.waypoint.Variable.HclPos.deserializeBinaryFromReader);
      msg.setEnd(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Variable.HclRange.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Variable.HclRange.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Variable.HclRange} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Variable.HclRange.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFilename();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getStart();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Variable.HclPos.serializeBinaryToWriter
    );
  }
  f = message.getEnd();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Variable.HclPos.serializeBinaryToWriter
    );
  }
};


/**
 * optional string filename = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Variable.HclRange.prototype.getFilename = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Variable.HclRange} returns this
 */
proto.hashicorp.waypoint.Variable.HclRange.prototype.setFilename = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional HclPos start = 2;
 * @return {?proto.hashicorp.waypoint.Variable.HclPos}
 */
proto.hashicorp.waypoint.Variable.HclRange.prototype.getStart = function() {
  return /** @type{?proto.hashicorp.waypoint.Variable.HclPos} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Variable.HclPos, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Variable.HclPos|undefined} value
 * @return {!proto.hashicorp.waypoint.Variable.HclRange} returns this
*/
proto.hashicorp.waypoint.Variable.HclRange.prototype.setStart = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable.HclRange} returns this
 */
proto.hashicorp.waypoint.Variable.HclRange.prototype.clearStart = function() {
  return this.setStart(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.HclRange.prototype.hasStart = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional HclPos end = 3;
 * @return {?proto.hashicorp.waypoint.Variable.HclPos}
 */
proto.hashicorp.waypoint.Variable.HclRange.prototype.getEnd = function() {
  return /** @type{?proto.hashicorp.waypoint.Variable.HclPos} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Variable.HclPos, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Variable.HclPos|undefined} value
 * @return {!proto.hashicorp.waypoint.Variable.HclRange} returns this
*/
proto.hashicorp.waypoint.Variable.HclRange.prototype.setEnd = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable.HclRange} returns this
 */
proto.hashicorp.waypoint.Variable.HclRange.prototype.clearEnd = function() {
  return this.setEnd(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.HclRange.prototype.hasEnd = function() {
  return jspb.Message.getField(this, 3) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Variable.FinalValue.oneofGroups_ = [[1,2,3,4,5]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Variable.FinalValue.ValueCase = {
  VALUE_NOT_SET: 0,
  SENSITIVE: 1,
  STR: 2,
  BOOL: 3,
  NUM: 4,
  HCL: 5
};

/**
 * @return {proto.hashicorp.waypoint.Variable.FinalValue.ValueCase}
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.getValueCase = function() {
  return /** @type {proto.hashicorp.waypoint.Variable.FinalValue.ValueCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Variable.FinalValue.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Variable.FinalValue.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Variable.FinalValue} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Variable.FinalValue.toObject = function(includeInstance, msg) {
  var f, obj = {
    sensitive: jspb.Message.getFieldWithDefault(msg, 1, ""),
    str: jspb.Message.getFieldWithDefault(msg, 2, ""),
    bool: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
    num: jspb.Message.getFieldWithDefault(msg, 4, 0),
    hcl: jspb.Message.getFieldWithDefault(msg, 5, ""),
    source: jspb.Message.getFieldWithDefault(msg, 6, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Variable.FinalValue}
 */
proto.hashicorp.waypoint.Variable.FinalValue.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Variable.FinalValue;
  return proto.hashicorp.waypoint.Variable.FinalValue.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Variable.FinalValue} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Variable.FinalValue}
 */
proto.hashicorp.waypoint.Variable.FinalValue.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setSensitive(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setStr(value);
      break;
    case 3:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setBool(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readInt64());
      msg.setNum(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setHcl(value);
      break;
    case 6:
      var value = /** @type {!proto.hashicorp.waypoint.Variable.FinalValue.Source} */ (reader.readEnum());
      msg.setSource(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Variable.FinalValue.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Variable.FinalValue} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Variable.FinalValue.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = /** @type {string} */ (jspb.Message.getField(message, 1));
  if (f != null) {
    writer.writeString(
      1,
      f
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 2));
  if (f != null) {
    writer.writeString(
      2,
      f
    );
  }
  f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
  if (f != null) {
    writer.writeBool(
      3,
      f
    );
  }
  f = /** @type {number} */ (jspb.Message.getField(message, 4));
  if (f != null) {
    writer.writeInt64(
      4,
      f
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 5));
  if (f != null) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getSource();
  if (f !== 0.0) {
    writer.writeEnum(
      6,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Variable.FinalValue.Source = {
  UNKNOWN: 0,
  DEFAULT: 1,
  FILE: 2,
  CLI: 3,
  ENV: 4,
  VCS: 5,
  SERVER: 6,
  DYNAMIC: 7
};

/**
 * optional string sensitive = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.getSensitive = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Variable.FinalValue} returns this
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.setSensitive = function(value) {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.Variable.FinalValue.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable.FinalValue} returns this
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.clearSensitive = function() {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.Variable.FinalValue.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.hasSensitive = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string str = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.getStr = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Variable.FinalValue} returns this
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.setStr = function(value) {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.Variable.FinalValue.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable.FinalValue} returns this
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.clearStr = function() {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.Variable.FinalValue.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.hasStr = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional bool bool = 3;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.getBool = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Variable.FinalValue} returns this
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.setBool = function(value) {
  return jspb.Message.setOneofField(this, 3, proto.hashicorp.waypoint.Variable.FinalValue.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable.FinalValue} returns this
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.clearBool = function() {
  return jspb.Message.setOneofField(this, 3, proto.hashicorp.waypoint.Variable.FinalValue.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.hasBool = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional int64 num = 4;
 * @return {number}
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.getNum = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Variable.FinalValue} returns this
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.setNum = function(value) {
  return jspb.Message.setOneofField(this, 4, proto.hashicorp.waypoint.Variable.FinalValue.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable.FinalValue} returns this
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.clearNum = function() {
  return jspb.Message.setOneofField(this, 4, proto.hashicorp.waypoint.Variable.FinalValue.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.hasNum = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional string hcl = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.getHcl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Variable.FinalValue} returns this
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.setHcl = function(value) {
  return jspb.Message.setOneofField(this, 5, proto.hashicorp.waypoint.Variable.FinalValue.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable.FinalValue} returns this
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.clearHcl = function() {
  return jspb.Message.setOneofField(this, 5, proto.hashicorp.waypoint.Variable.FinalValue.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.hasHcl = function() {
  return jspb.Message.getField(this, 5) != null;
};


/**
 * optional Source source = 6;
 * @return {!proto.hashicorp.waypoint.Variable.FinalValue.Source}
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.getSource = function() {
  return /** @type {!proto.hashicorp.waypoint.Variable.FinalValue.Source} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Variable.FinalValue.Source} value
 * @return {!proto.hashicorp.waypoint.Variable.FinalValue} returns this
 */
proto.hashicorp.waypoint.Variable.FinalValue.prototype.setSource = function(value) {
  return jspb.Message.setProto3EnumField(this, 6, value);
};


/**
 * optional string name = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Variable.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string str = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Variable.prototype.getStr = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.setStr = function(value) {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.Variable.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.clearStr = function() {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.Variable.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.prototype.hasStr = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional bool bool = 9;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.prototype.getBool = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.setBool = function(value) {
  return jspb.Message.setOneofField(this, 9, proto.hashicorp.waypoint.Variable.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.clearBool = function() {
  return jspb.Message.setOneofField(this, 9, proto.hashicorp.waypoint.Variable.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.prototype.hasBool = function() {
  return jspb.Message.getField(this, 9) != null;
};


/**
 * optional int64 num = 10;
 * @return {number}
 */
proto.hashicorp.waypoint.Variable.prototype.getNum = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.setNum = function(value) {
  return jspb.Message.setOneofField(this, 10, proto.hashicorp.waypoint.Variable.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.clearNum = function() {
  return jspb.Message.setOneofField(this, 10, proto.hashicorp.waypoint.Variable.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.prototype.hasNum = function() {
  return jspb.Message.getField(this, 10) != null;
};


/**
 * optional string hcl = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.Variable.prototype.getHcl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.setHcl = function(value) {
  return jspb.Message.setOneofField(this, 3, proto.hashicorp.waypoint.Variable.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.clearHcl = function() {
  return jspb.Message.setOneofField(this, 3, proto.hashicorp.waypoint.Variable.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.prototype.hasHcl = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional google.protobuf.Empty cli = 4;
 * @return {?proto.google.protobuf.Empty}
 */
proto.hashicorp.waypoint.Variable.prototype.getCli = function() {
  return /** @type{?proto.google.protobuf.Empty} */ (
    jspb.Message.getWrapperField(this, google_protobuf_empty_pb.Empty, 4));
};


/**
 * @param {?proto.google.protobuf.Empty|undefined} value
 * @return {!proto.hashicorp.waypoint.Variable} returns this
*/
proto.hashicorp.waypoint.Variable.prototype.setCli = function(value) {
  return jspb.Message.setOneofWrapperField(this, 4, proto.hashicorp.waypoint.Variable.oneofGroups_[1], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.clearCli = function() {
  return this.setCli(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.prototype.hasCli = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional File file = 5;
 * @return {?proto.hashicorp.waypoint.Variable.File}
 */
proto.hashicorp.waypoint.Variable.prototype.getFile = function() {
  return /** @type{?proto.hashicorp.waypoint.Variable.File} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Variable.File, 5));
};


/**
 * @param {?proto.hashicorp.waypoint.Variable.File|undefined} value
 * @return {!proto.hashicorp.waypoint.Variable} returns this
*/
proto.hashicorp.waypoint.Variable.prototype.setFile = function(value) {
  return jspb.Message.setOneofWrapperField(this, 5, proto.hashicorp.waypoint.Variable.oneofGroups_[1], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.clearFile = function() {
  return this.setFile(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.prototype.hasFile = function() {
  return jspb.Message.getField(this, 5) != null;
};


/**
 * optional google.protobuf.Empty env = 6;
 * @return {?proto.google.protobuf.Empty}
 */
proto.hashicorp.waypoint.Variable.prototype.getEnv = function() {
  return /** @type{?proto.google.protobuf.Empty} */ (
    jspb.Message.getWrapperField(this, google_protobuf_empty_pb.Empty, 6));
};


/**
 * @param {?proto.google.protobuf.Empty|undefined} value
 * @return {!proto.hashicorp.waypoint.Variable} returns this
*/
proto.hashicorp.waypoint.Variable.prototype.setEnv = function(value) {
  return jspb.Message.setOneofWrapperField(this, 6, proto.hashicorp.waypoint.Variable.oneofGroups_[1], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.clearEnv = function() {
  return this.setEnv(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.prototype.hasEnv = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * optional VCS vcs = 7;
 * @return {?proto.hashicorp.waypoint.Variable.VCS}
 */
proto.hashicorp.waypoint.Variable.prototype.getVcs = function() {
  return /** @type{?proto.hashicorp.waypoint.Variable.VCS} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Variable.VCS, 7));
};


/**
 * @param {?proto.hashicorp.waypoint.Variable.VCS|undefined} value
 * @return {!proto.hashicorp.waypoint.Variable} returns this
*/
proto.hashicorp.waypoint.Variable.prototype.setVcs = function(value) {
  return jspb.Message.setOneofWrapperField(this, 7, proto.hashicorp.waypoint.Variable.oneofGroups_[1], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.clearVcs = function() {
  return this.setVcs(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.prototype.hasVcs = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional google.protobuf.Empty server = 8;
 * @return {?proto.google.protobuf.Empty}
 */
proto.hashicorp.waypoint.Variable.prototype.getServer = function() {
  return /** @type{?proto.google.protobuf.Empty} */ (
    jspb.Message.getWrapperField(this, google_protobuf_empty_pb.Empty, 8));
};


/**
 * @param {?proto.google.protobuf.Empty|undefined} value
 * @return {!proto.hashicorp.waypoint.Variable} returns this
*/
proto.hashicorp.waypoint.Variable.prototype.setServer = function(value) {
  return jspb.Message.setOneofWrapperField(this, 8, proto.hashicorp.waypoint.Variable.oneofGroups_[1], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.clearServer = function() {
  return this.setServer(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.prototype.hasServer = function() {
  return jspb.Message.getField(this, 8) != null;
};


/**
 * optional google.protobuf.Empty dynamic = 11;
 * @return {?proto.google.protobuf.Empty}
 */
proto.hashicorp.waypoint.Variable.prototype.getDynamic = function() {
  return /** @type{?proto.google.protobuf.Empty} */ (
    jspb.Message.getWrapperField(this, google_protobuf_empty_pb.Empty, 11));
};


/**
 * @param {?proto.google.protobuf.Empty|undefined} value
 * @return {!proto.hashicorp.waypoint.Variable} returns this
*/
proto.hashicorp.waypoint.Variable.prototype.setDynamic = function(value) {
  return jspb.Message.setOneofWrapperField(this, 11, proto.hashicorp.waypoint.Variable.oneofGroups_[1], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.clearDynamic = function() {
  return this.setDynamic(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.prototype.hasDynamic = function() {
  return jspb.Message.getField(this, 11) != null;
};


/**
 * optional FinalValue final_value = 12;
 * @return {?proto.hashicorp.waypoint.Variable.FinalValue}
 */
proto.hashicorp.waypoint.Variable.prototype.getFinalValue = function() {
  return /** @type{?proto.hashicorp.waypoint.Variable.FinalValue} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Variable.FinalValue, 12));
};


/**
 * @param {?proto.hashicorp.waypoint.Variable.FinalValue|undefined} value
 * @return {!proto.hashicorp.waypoint.Variable} returns this
*/
proto.hashicorp.waypoint.Variable.prototype.setFinalValue = function(value) {
  return jspb.Message.setWrapperField(this, 12, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.clearFinalValue = function() {
  return this.setFinalValue(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.prototype.hasFinalValue = function() {
  return jspb.Message.getField(this, 12) != null;
};


/**
 * optional bool sensitive = 13;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Variable.prototype.getSensitive = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Variable} returns this
 */
proto.hashicorp.waypoint.Variable.prototype.setSensitive = function(value) {
  return jspb.Message.setProto3BooleanField(this, 13, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.Project.repeatedFields_ = [2,9];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Project.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Project.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Project} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Project.toObject = function(includeInstance, msg) {
  var f, obj = {
    name: jspb.Message.getFieldWithDefault(msg, 1, ""),
    applicationsList: jspb.Message.toObjectList(msg.getApplicationsList(),
    proto.hashicorp.waypoint.Application.toObject, includeInstance),
    remoteEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
    dataSource: (f = msg.getDataSource()) && proto.hashicorp.waypoint.Job.DataSource.toObject(includeInstance, f),
    dataSourcePoll: (f = msg.getDataSourcePoll()) && proto.hashicorp.waypoint.Project.Poll.toObject(includeInstance, f),
    waypointHcl: msg.getWaypointHcl_asB64(),
    waypointHclFormat: jspb.Message.getFieldWithDefault(msg, 6, 0),
    fileChangeSignal: jspb.Message.getFieldWithDefault(msg, 8, ""),
    variablesList: jspb.Message.toObjectList(msg.getVariablesList(),
    proto.hashicorp.waypoint.Variable.toObject, includeInstance),
    statusReportPoll: (f = msg.getStatusReportPoll()) && proto.hashicorp.waypoint.Project.AppStatusPoll.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Project}
 */
proto.hashicorp.waypoint.Project.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Project;
  return proto.hashicorp.waypoint.Project.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Project} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Project}
 */
proto.hashicorp.waypoint.Project.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Application.deserializeBinaryFromReader);
      msg.addApplications(value);
      break;
    case 3:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setRemoteEnabled(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Job.DataSource;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DataSource.deserializeBinaryFromReader);
      msg.setDataSource(value);
      break;
    case 7:
      var value = new proto.hashicorp.waypoint.Project.Poll;
      reader.readMessage(value,proto.hashicorp.waypoint.Project.Poll.deserializeBinaryFromReader);
      msg.setDataSourcePoll(value);
      break;
    case 5:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setWaypointHcl(value);
      break;
    case 6:
      var value = /** @type {!proto.hashicorp.waypoint.Hcl.Format} */ (reader.readEnum());
      msg.setWaypointHclFormat(value);
      break;
    case 8:
      var value = /** @type {string} */ (reader.readString());
      msg.setFileChangeSignal(value);
      break;
    case 9:
      var value = new proto.hashicorp.waypoint.Variable;
      reader.readMessage(value,proto.hashicorp.waypoint.Variable.deserializeBinaryFromReader);
      msg.addVariables(value);
      break;
    case 10:
      var value = new proto.hashicorp.waypoint.Project.AppStatusPoll;
      reader.readMessage(value,proto.hashicorp.waypoint.Project.AppStatusPoll.deserializeBinaryFromReader);
      msg.setStatusReportPoll(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Project.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Project.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Project} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Project.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getApplicationsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.hashicorp.waypoint.Application.serializeBinaryToWriter
    );
  }
  f = message.getRemoteEnabled();
  if (f) {
    writer.writeBool(
      3,
      f
    );
  }
  f = message.getDataSource();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Job.DataSource.serializeBinaryToWriter
    );
  }
  f = message.getDataSourcePoll();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      proto.hashicorp.waypoint.Project.Poll.serializeBinaryToWriter
    );
  }
  f = message.getWaypointHcl_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      5,
      f
    );
  }
  f = message.getWaypointHclFormat();
  if (f !== 0.0) {
    writer.writeEnum(
      6,
      f
    );
  }
  f = message.getFileChangeSignal();
  if (f.length > 0) {
    writer.writeString(
      8,
      f
    );
  }
  f = message.getVariablesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      9,
      f,
      proto.hashicorp.waypoint.Variable.serializeBinaryToWriter
    );
  }
  f = message.getStatusReportPoll();
  if (f != null) {
    writer.writeMessage(
      10,
      f,
      proto.hashicorp.waypoint.Project.AppStatusPoll.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Project.Poll.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Project.Poll.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Project.Poll} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Project.Poll.toObject = function(includeInstance, msg) {
  var f, obj = {
    enabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
    interval: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Project.Poll}
 */
proto.hashicorp.waypoint.Project.Poll.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Project.Poll;
  return proto.hashicorp.waypoint.Project.Poll.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Project.Poll} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Project.Poll}
 */
proto.hashicorp.waypoint.Project.Poll.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setEnabled(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setInterval(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Project.Poll.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Project.Poll.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Project.Poll} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Project.Poll.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getEnabled();
  if (f) {
    writer.writeBool(
      1,
      f
    );
  }
  f = message.getInterval();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional bool enabled = 1;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Project.Poll.prototype.getEnabled = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Project.Poll} returns this
 */
proto.hashicorp.waypoint.Project.Poll.prototype.setEnabled = function(value) {
  return jspb.Message.setProto3BooleanField(this, 1, value);
};


/**
 * optional string interval = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Project.Poll.prototype.getInterval = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Project.Poll} returns this
 */
proto.hashicorp.waypoint.Project.Poll.prototype.setInterval = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Project.AppStatusPoll.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Project.AppStatusPoll.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Project.AppStatusPoll} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Project.AppStatusPoll.toObject = function(includeInstance, msg) {
  var f, obj = {
    enabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
    interval: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Project.AppStatusPoll}
 */
proto.hashicorp.waypoint.Project.AppStatusPoll.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Project.AppStatusPoll;
  return proto.hashicorp.waypoint.Project.AppStatusPoll.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Project.AppStatusPoll} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Project.AppStatusPoll}
 */
proto.hashicorp.waypoint.Project.AppStatusPoll.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setEnabled(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setInterval(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Project.AppStatusPoll.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Project.AppStatusPoll.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Project.AppStatusPoll} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Project.AppStatusPoll.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getEnabled();
  if (f) {
    writer.writeBool(
      1,
      f
    );
  }
  f = message.getInterval();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional bool enabled = 1;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Project.AppStatusPoll.prototype.getEnabled = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Project.AppStatusPoll} returns this
 */
proto.hashicorp.waypoint.Project.AppStatusPoll.prototype.setEnabled = function(value) {
  return jspb.Message.setProto3BooleanField(this, 1, value);
};


/**
 * optional string interval = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Project.AppStatusPoll.prototype.getInterval = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Project.AppStatusPoll} returns this
 */
proto.hashicorp.waypoint.Project.AppStatusPoll.prototype.setInterval = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string name = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Project.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Project} returns this
 */
proto.hashicorp.waypoint.Project.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * repeated Application applications = 2;
 * @return {!Array<!proto.hashicorp.waypoint.Application>}
 */
proto.hashicorp.waypoint.Project.prototype.getApplicationsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Application>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Application, 2));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Application>} value
 * @return {!proto.hashicorp.waypoint.Project} returns this
*/
proto.hashicorp.waypoint.Project.prototype.setApplicationsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Application=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Application}
 */
proto.hashicorp.waypoint.Project.prototype.addApplications = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.hashicorp.waypoint.Application, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Project} returns this
 */
proto.hashicorp.waypoint.Project.prototype.clearApplicationsList = function() {
  return this.setApplicationsList([]);
};


/**
 * optional bool remote_enabled = 3;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Project.prototype.getRemoteEnabled = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Project} returns this
 */
proto.hashicorp.waypoint.Project.prototype.setRemoteEnabled = function(value) {
  return jspb.Message.setProto3BooleanField(this, 3, value);
};


/**
 * optional Job.DataSource data_source = 4;
 * @return {?proto.hashicorp.waypoint.Job.DataSource}
 */
proto.hashicorp.waypoint.Project.prototype.getDataSource = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DataSource} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DataSource, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DataSource|undefined} value
 * @return {!proto.hashicorp.waypoint.Project} returns this
*/
proto.hashicorp.waypoint.Project.prototype.setDataSource = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Project} returns this
 */
proto.hashicorp.waypoint.Project.prototype.clearDataSource = function() {
  return this.setDataSource(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Project.prototype.hasDataSource = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional Poll data_source_poll = 7;
 * @return {?proto.hashicorp.waypoint.Project.Poll}
 */
proto.hashicorp.waypoint.Project.prototype.getDataSourcePoll = function() {
  return /** @type{?proto.hashicorp.waypoint.Project.Poll} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Project.Poll, 7));
};


/**
 * @param {?proto.hashicorp.waypoint.Project.Poll|undefined} value
 * @return {!proto.hashicorp.waypoint.Project} returns this
*/
proto.hashicorp.waypoint.Project.prototype.setDataSourcePoll = function(value) {
  return jspb.Message.setWrapperField(this, 7, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Project} returns this
 */
proto.hashicorp.waypoint.Project.prototype.clearDataSourcePoll = function() {
  return this.setDataSourcePoll(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Project.prototype.hasDataSourcePoll = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional bytes waypoint_hcl = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.Project.prototype.getWaypointHcl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * optional bytes waypoint_hcl = 5;
 * This is a type-conversion wrapper around `getWaypointHcl()`
 * @return {string}
 */
proto.hashicorp.waypoint.Project.prototype.getWaypointHcl_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getWaypointHcl()));
};


/**
 * optional bytes waypoint_hcl = 5;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getWaypointHcl()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Project.prototype.getWaypointHcl_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getWaypointHcl()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.Project} returns this
 */
proto.hashicorp.waypoint.Project.prototype.setWaypointHcl = function(value) {
  return jspb.Message.setProto3BytesField(this, 5, value);
};


/**
 * optional Hcl.Format waypoint_hcl_format = 6;
 * @return {!proto.hashicorp.waypoint.Hcl.Format}
 */
proto.hashicorp.waypoint.Project.prototype.getWaypointHclFormat = function() {
  return /** @type {!proto.hashicorp.waypoint.Hcl.Format} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Hcl.Format} value
 * @return {!proto.hashicorp.waypoint.Project} returns this
 */
proto.hashicorp.waypoint.Project.prototype.setWaypointHclFormat = function(value) {
  return jspb.Message.setProto3EnumField(this, 6, value);
};


/**
 * optional string file_change_signal = 8;
 * @return {string}
 */
proto.hashicorp.waypoint.Project.prototype.getFileChangeSignal = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Project} returns this
 */
proto.hashicorp.waypoint.Project.prototype.setFileChangeSignal = function(value) {
  return jspb.Message.setProto3StringField(this, 8, value);
};


/**
 * repeated Variable variables = 9;
 * @return {!Array<!proto.hashicorp.waypoint.Variable>}
 */
proto.hashicorp.waypoint.Project.prototype.getVariablesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Variable>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Variable, 9));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Variable>} value
 * @return {!proto.hashicorp.waypoint.Project} returns this
*/
proto.hashicorp.waypoint.Project.prototype.setVariablesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 9, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Variable=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Variable}
 */
proto.hashicorp.waypoint.Project.prototype.addVariables = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.hashicorp.waypoint.Variable, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Project} returns this
 */
proto.hashicorp.waypoint.Project.prototype.clearVariablesList = function() {
  return this.setVariablesList([]);
};


/**
 * optional AppStatusPoll status_report_poll = 10;
 * @return {?proto.hashicorp.waypoint.Project.AppStatusPoll}
 */
proto.hashicorp.waypoint.Project.prototype.getStatusReportPoll = function() {
  return /** @type{?proto.hashicorp.waypoint.Project.AppStatusPoll} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Project.AppStatusPoll, 10));
};


/**
 * @param {?proto.hashicorp.waypoint.Project.AppStatusPoll|undefined} value
 * @return {!proto.hashicorp.waypoint.Project} returns this
*/
proto.hashicorp.waypoint.Project.prototype.setStatusReportPoll = function(value) {
  return jspb.Message.setWrapperField(this, 10, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Project} returns this
 */
proto.hashicorp.waypoint.Project.prototype.clearStatusReportPoll = function() {
  return this.setStatusReportPoll(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Project.prototype.hasStatusReportPoll = function() {
  return jspb.Message.getField(this, 10) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.Workspace.repeatedFields_ = [4];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Workspace.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Workspace.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Workspace} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Workspace.toObject = function(includeInstance, msg) {
  var f, obj = {
    name: jspb.Message.getFieldWithDefault(msg, 1, ""),
    projectsList: jspb.Message.toObjectList(msg.getProjectsList(),
    proto.hashicorp.waypoint.Workspace.Project.toObject, includeInstance),
    activeTime: (f = msg.getActiveTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Workspace}
 */
proto.hashicorp.waypoint.Workspace.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Workspace;
  return proto.hashicorp.waypoint.Workspace.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Workspace} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Workspace}
 */
proto.hashicorp.waypoint.Workspace.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Workspace.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Workspace.Project.deserializeBinaryFromReader);
      msg.addProjects(value);
      break;
    case 3:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setActiveTime(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Workspace.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Workspace.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Workspace} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Workspace.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getProjectsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      4,
      f,
      proto.hashicorp.waypoint.Workspace.Project.serializeBinaryToWriter
    );
  }
  f = message.getActiveTime();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.Workspace.Project.repeatedFields_ = [4];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Workspace.Project.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Workspace.Project} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Workspace.Project.toObject = function(includeInstance, msg) {
  var f, obj = {
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    dataSourceRef: (f = msg.getDataSourceRef()) && proto.hashicorp.waypoint.Job.DataSource.Ref.toObject(includeInstance, f),
    activeTime: (f = msg.getActiveTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    applicationsList: jspb.Message.toObjectList(msg.getApplicationsList(),
    proto.hashicorp.waypoint.Workspace.Application.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Workspace.Project}
 */
proto.hashicorp.waypoint.Workspace.Project.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Workspace.Project;
  return proto.hashicorp.waypoint.Workspace.Project.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Workspace.Project} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Workspace.Project}
 */
proto.hashicorp.waypoint.Workspace.Project.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Job.DataSource.Ref;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DataSource.Ref.deserializeBinaryFromReader);
      msg.setDataSourceRef(value);
      break;
    case 3:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setActiveTime(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Workspace.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Workspace.Application.deserializeBinaryFromReader);
      msg.addApplications(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Workspace.Project.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Workspace.Project} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Workspace.Project.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getDataSourceRef();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Job.DataSource.Ref.serializeBinaryToWriter
    );
  }
  f = message.getActiveTime();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getApplicationsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      4,
      f,
      proto.hashicorp.waypoint.Workspace.Application.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Project project = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.Workspace.Project} returns this
*/
proto.hashicorp.waypoint.Workspace.Project.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Workspace.Project} returns this
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.hasProject = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Workspace workspace = 5;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 5));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.Workspace.Project} returns this
*/
proto.hashicorp.waypoint.Workspace.Project.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 5, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Workspace.Project} returns this
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 5) != null;
};


/**
 * optional Job.DataSource.Ref data_source_ref = 2;
 * @return {?proto.hashicorp.waypoint.Job.DataSource.Ref}
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.getDataSourceRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DataSource.Ref} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DataSource.Ref, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DataSource.Ref|undefined} value
 * @return {!proto.hashicorp.waypoint.Workspace.Project} returns this
*/
proto.hashicorp.waypoint.Workspace.Project.prototype.setDataSourceRef = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Workspace.Project} returns this
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.clearDataSourceRef = function() {
  return this.setDataSourceRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.hasDataSourceRef = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional google.protobuf.Timestamp active_time = 3;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.getActiveTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Workspace.Project} returns this
*/
proto.hashicorp.waypoint.Workspace.Project.prototype.setActiveTime = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Workspace.Project} returns this
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.clearActiveTime = function() {
  return this.setActiveTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.hasActiveTime = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * repeated Application applications = 4;
 * @return {!Array<!proto.hashicorp.waypoint.Workspace.Application>}
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.getApplicationsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Workspace.Application>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Workspace.Application, 4));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Workspace.Application>} value
 * @return {!proto.hashicorp.waypoint.Workspace.Project} returns this
*/
proto.hashicorp.waypoint.Workspace.Project.prototype.setApplicationsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 4, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Workspace.Application=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Workspace.Application}
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.addApplications = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.hashicorp.waypoint.Workspace.Application, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Workspace.Project} returns this
 */
proto.hashicorp.waypoint.Workspace.Project.prototype.clearApplicationsList = function() {
  return this.setApplicationsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Workspace.Application.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Workspace.Application.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Workspace.Application} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Workspace.Application.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    activeTime: (f = msg.getActiveTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Workspace.Application}
 */
proto.hashicorp.waypoint.Workspace.Application.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Workspace.Application;
  return proto.hashicorp.waypoint.Workspace.Application.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Workspace.Application} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Workspace.Application}
 */
proto.hashicorp.waypoint.Workspace.Application.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 2:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setActiveTime(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Workspace.Application.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Workspace.Application.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Workspace.Application} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Workspace.Application.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getActiveTime();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.Workspace.Application.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.Workspace.Application} returns this
*/
proto.hashicorp.waypoint.Workspace.Application.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Workspace.Application} returns this
 */
proto.hashicorp.waypoint.Workspace.Application.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Workspace.Application.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional google.protobuf.Timestamp active_time = 2;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Workspace.Application.prototype.getActiveTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Workspace.Application} returns this
*/
proto.hashicorp.waypoint.Workspace.Application.prototype.setActiveTime = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Workspace.Application} returns this
 */
proto.hashicorp.waypoint.Workspace.Application.prototype.clearActiveTime = function() {
  return this.setActiveTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Workspace.Application.prototype.hasActiveTime = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional string name = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Workspace.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Workspace} returns this
 */
proto.hashicorp.waypoint.Workspace.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * repeated Project projects = 4;
 * @return {!Array<!proto.hashicorp.waypoint.Workspace.Project>}
 */
proto.hashicorp.waypoint.Workspace.prototype.getProjectsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Workspace.Project>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Workspace.Project, 4));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Workspace.Project>} value
 * @return {!proto.hashicorp.waypoint.Workspace} returns this
*/
proto.hashicorp.waypoint.Workspace.prototype.setProjectsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 4, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Workspace.Project=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Workspace.Project}
 */
proto.hashicorp.waypoint.Workspace.prototype.addProjects = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.hashicorp.waypoint.Workspace.Project, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Workspace} returns this
 */
proto.hashicorp.waypoint.Workspace.prototype.clearProjectsList = function() {
  return this.setProjectsList([]);
};


/**
 * optional google.protobuf.Timestamp active_time = 3;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Workspace.prototype.getActiveTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Workspace} returns this
*/
proto.hashicorp.waypoint.Workspace.prototype.setActiveTime = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Workspace} returns this
 */
proto.hashicorp.waypoint.Workspace.prototype.clearActiveTime = function() {
  return this.setActiveTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Workspace.prototype.hasActiveTime = function() {
  return jspb.Message.getField(this, 3) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.User.repeatedFields_ = [5];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.User.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.User.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.User} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.User.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    username: jspb.Message.getFieldWithDefault(msg, 2, ""),
    display: jspb.Message.getFieldWithDefault(msg, 3, ""),
    email: jspb.Message.getFieldWithDefault(msg, 4, ""),
    linksList: jspb.Message.toObjectList(msg.getLinksList(),
    proto.hashicorp.waypoint.User.Link.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.User}
 */
proto.hashicorp.waypoint.User.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.User;
  return proto.hashicorp.waypoint.User.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.User} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.User}
 */
proto.hashicorp.waypoint.User.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setUsername(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setDisplay(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setEmail(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.User.Link;
      reader.readMessage(value,proto.hashicorp.waypoint.User.Link.deserializeBinaryFromReader);
      msg.addLinks(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.User.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.User.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.User} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.User.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getUsername();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getDisplay();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getEmail();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getLinksList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      5,
      f,
      proto.hashicorp.waypoint.User.Link.serializeBinaryToWriter
    );
  }
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.User.Link.oneofGroups_ = [[1]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.User.Link.MethodCase = {
  METHOD_NOT_SET: 0,
  OIDC: 1
};

/**
 * @return {proto.hashicorp.waypoint.User.Link.MethodCase}
 */
proto.hashicorp.waypoint.User.Link.prototype.getMethodCase = function() {
  return /** @type {proto.hashicorp.waypoint.User.Link.MethodCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.User.Link.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.User.Link.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.User.Link.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.User.Link} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.User.Link.toObject = function(includeInstance, msg) {
  var f, obj = {
    oidc: (f = msg.getOidc()) && proto.hashicorp.waypoint.User.Link.OIDC.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.User.Link}
 */
proto.hashicorp.waypoint.User.Link.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.User.Link;
  return proto.hashicorp.waypoint.User.Link.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.User.Link} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.User.Link}
 */
proto.hashicorp.waypoint.User.Link.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.User.Link.OIDC;
      reader.readMessage(value,proto.hashicorp.waypoint.User.Link.OIDC.deserializeBinaryFromReader);
      msg.setOidc(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.User.Link.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.User.Link.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.User.Link} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.User.Link.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getOidc();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.User.Link.OIDC.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.User.Link.OIDC.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.User.Link.OIDC.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.User.Link.OIDC} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.User.Link.OIDC.toObject = function(includeInstance, msg) {
  var f, obj = {
    iss: jspb.Message.getFieldWithDefault(msg, 1, ""),
    sub: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.User.Link.OIDC}
 */
proto.hashicorp.waypoint.User.Link.OIDC.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.User.Link.OIDC;
  return proto.hashicorp.waypoint.User.Link.OIDC.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.User.Link.OIDC} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.User.Link.OIDC}
 */
proto.hashicorp.waypoint.User.Link.OIDC.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setIss(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setSub(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.User.Link.OIDC.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.User.Link.OIDC.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.User.Link.OIDC} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.User.Link.OIDC.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getIss();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getSub();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional string iss = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.User.Link.OIDC.prototype.getIss = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.User.Link.OIDC} returns this
 */
proto.hashicorp.waypoint.User.Link.OIDC.prototype.setIss = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string sub = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.User.Link.OIDC.prototype.getSub = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.User.Link.OIDC} returns this
 */
proto.hashicorp.waypoint.User.Link.OIDC.prototype.setSub = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional OIDC oidc = 1;
 * @return {?proto.hashicorp.waypoint.User.Link.OIDC}
 */
proto.hashicorp.waypoint.User.Link.prototype.getOidc = function() {
  return /** @type{?proto.hashicorp.waypoint.User.Link.OIDC} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.User.Link.OIDC, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.User.Link.OIDC|undefined} value
 * @return {!proto.hashicorp.waypoint.User.Link} returns this
*/
proto.hashicorp.waypoint.User.Link.prototype.setOidc = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.User.Link.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.User.Link} returns this
 */
proto.hashicorp.waypoint.User.Link.prototype.clearOidc = function() {
  return this.setOidc(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.User.Link.prototype.hasOidc = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.User.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.User} returns this
 */
proto.hashicorp.waypoint.User.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string username = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.User.prototype.getUsername = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.User} returns this
 */
proto.hashicorp.waypoint.User.prototype.setUsername = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string display = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.User.prototype.getDisplay = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.User} returns this
 */
proto.hashicorp.waypoint.User.prototype.setDisplay = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string email = 4;
 * @return {string}
 */
proto.hashicorp.waypoint.User.prototype.getEmail = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.User} returns this
 */
proto.hashicorp.waypoint.User.prototype.setEmail = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * repeated Link links = 5;
 * @return {!Array<!proto.hashicorp.waypoint.User.Link>}
 */
proto.hashicorp.waypoint.User.prototype.getLinksList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.User.Link>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.User.Link, 5));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.User.Link>} value
 * @return {!proto.hashicorp.waypoint.User} returns this
*/
proto.hashicorp.waypoint.User.prototype.setLinksList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 5, value);
};


/**
 * @param {!proto.hashicorp.waypoint.User.Link=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.User.Link}
 */
proto.hashicorp.waypoint.User.prototype.addLinks = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.hashicorp.waypoint.User.Link, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.User} returns this
 */
proto.hashicorp.waypoint.User.prototype.clearLinksList = function() {
  return this.setLinksList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref}
 */
proto.hashicorp.waypoint.Ref.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref;
  return proto.hashicorp.waypoint.Ref.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref}
 */
proto.hashicorp.waypoint.Ref.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.Global.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.Global.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.Global} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Global.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.Global}
 */
proto.hashicorp.waypoint.Ref.Global.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.Global;
  return proto.hashicorp.waypoint.Ref.Global.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.Global} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.Global}
 */
proto.hashicorp.waypoint.Ref.Global.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.Global.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.Global.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.Global} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Global.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.Application.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.Application.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.Application} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Application.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: jspb.Message.getFieldWithDefault(msg, 1, ""),
    project: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.Ref.Application.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.Application;
  return proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.Application} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setApplication(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setProject(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.Application.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.Application} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getProject();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional string application = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.Application.prototype.getApplication = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.Application} returns this
 */
proto.hashicorp.waypoint.Ref.Application.prototype.setApplication = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string project = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.Application.prototype.getProject = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.Application} returns this
 */
proto.hashicorp.waypoint.Ref.Application.prototype.setProject = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.Project.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.Project.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.Project} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Project.toObject = function(includeInstance, msg) {
  var f, obj = {
    project: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.Ref.Project.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.Project;
  return proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.Project} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setProject(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.Project.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.Project} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProject();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string project = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.Project.prototype.getProject = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.Project} returns this
 */
proto.hashicorp.waypoint.Ref.Project.prototype.setProject = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.Workspace.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.Workspace.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.Workspace} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Workspace.toObject = function(includeInstance, msg) {
  var f, obj = {
    workspace: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.Ref.Workspace.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.Workspace;
  return proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.Workspace} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setWorkspace(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.Workspace.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.Workspace} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getWorkspace();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string workspace = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.Workspace.prototype.getWorkspace = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.Workspace} returns this
 */
proto.hashicorp.waypoint.Ref.Workspace.prototype.setWorkspace = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Ref.Deployment.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Ref.Deployment.RefCase = {
  REF_NOT_SET: 0,
  LATEST: 1,
  SEQUENCE: 2
};

/**
 * @return {proto.hashicorp.waypoint.Ref.Deployment.RefCase}
 */
proto.hashicorp.waypoint.Ref.Deployment.prototype.getRefCase = function() {
  return /** @type {proto.hashicorp.waypoint.Ref.Deployment.RefCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Ref.Deployment.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.Deployment.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.Deployment.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.Deployment} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Deployment.toObject = function(includeInstance, msg) {
  var f, obj = {
    latest: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
    sequence: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.Deployment}
 */
proto.hashicorp.waypoint.Ref.Deployment.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.Deployment;
  return proto.hashicorp.waypoint.Ref.Deployment.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.Deployment} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.Deployment}
 */
proto.hashicorp.waypoint.Ref.Deployment.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setLatest(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSequence(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.Deployment.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.Deployment.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.Deployment} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Deployment.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = /** @type {boolean} */ (jspb.Message.getField(message, 1));
  if (f != null) {
    writer.writeBool(
      1,
      f
    );
  }
  f = /** @type {number} */ (jspb.Message.getField(message, 2));
  if (f != null) {
    writer.writeUint64(
      2,
      f
    );
  }
};


/**
 * optional bool latest = 1;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Deployment.prototype.getLatest = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Ref.Deployment} returns this
 */
proto.hashicorp.waypoint.Ref.Deployment.prototype.setLatest = function(value) {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.Ref.Deployment.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.Deployment} returns this
 */
proto.hashicorp.waypoint.Ref.Deployment.prototype.clearLatest = function() {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.Ref.Deployment.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Deployment.prototype.hasLatest = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional uint64 sequence = 2;
 * @return {number}
 */
proto.hashicorp.waypoint.Ref.Deployment.prototype.getSequence = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Ref.Deployment} returns this
 */
proto.hashicorp.waypoint.Ref.Deployment.prototype.setSequence = function(value) {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.Ref.Deployment.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.Deployment} returns this
 */
proto.hashicorp.waypoint.Ref.Deployment.prototype.clearSequence = function() {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.Ref.Deployment.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Deployment.prototype.hasSequence = function() {
  return jspb.Message.getField(this, 2) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Ref.Artifact.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Ref.Artifact.RefCase = {
  REF_NOT_SET: 0,
  LATEST: 1,
  SEQUENCE: 2
};

/**
 * @return {proto.hashicorp.waypoint.Ref.Artifact.RefCase}
 */
proto.hashicorp.waypoint.Ref.Artifact.prototype.getRefCase = function() {
  return /** @type {proto.hashicorp.waypoint.Ref.Artifact.RefCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Ref.Artifact.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.Artifact.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.Artifact.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.Artifact} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Artifact.toObject = function(includeInstance, msg) {
  var f, obj = {
    latest: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
    sequence: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.Artifact}
 */
proto.hashicorp.waypoint.Ref.Artifact.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.Artifact;
  return proto.hashicorp.waypoint.Ref.Artifact.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.Artifact} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.Artifact}
 */
proto.hashicorp.waypoint.Ref.Artifact.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setLatest(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSequence(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.Artifact.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.Artifact.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.Artifact} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Artifact.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = /** @type {boolean} */ (jspb.Message.getField(message, 1));
  if (f != null) {
    writer.writeBool(
      1,
      f
    );
  }
  f = /** @type {number} */ (jspb.Message.getField(message, 2));
  if (f != null) {
    writer.writeUint64(
      2,
      f
    );
  }
};


/**
 * optional bool latest = 1;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Artifact.prototype.getLatest = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Ref.Artifact} returns this
 */
proto.hashicorp.waypoint.Ref.Artifact.prototype.setLatest = function(value) {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.Ref.Artifact.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.Artifact} returns this
 */
proto.hashicorp.waypoint.Ref.Artifact.prototype.clearLatest = function() {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.Ref.Artifact.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Artifact.prototype.hasLatest = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional uint64 sequence = 2;
 * @return {number}
 */
proto.hashicorp.waypoint.Ref.Artifact.prototype.getSequence = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Ref.Artifact} returns this
 */
proto.hashicorp.waypoint.Ref.Artifact.prototype.setSequence = function(value) {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.Ref.Artifact.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.Artifact} returns this
 */
proto.hashicorp.waypoint.Ref.Artifact.prototype.clearSequence = function() {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.Ref.Artifact.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Artifact.prototype.hasSequence = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.Component.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.Component.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.Component} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Component.toObject = function(includeInstance, msg) {
  var f, obj = {
    type: jspb.Message.getFieldWithDefault(msg, 1, 0),
    name: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.Component}
 */
proto.hashicorp.waypoint.Ref.Component.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.Component;
  return proto.hashicorp.waypoint.Ref.Component.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.Component} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.Component}
 */
proto.hashicorp.waypoint.Ref.Component.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!proto.hashicorp.waypoint.Component.Type} */ (reader.readEnum());
      msg.setType(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.Component.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.Component.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.Component} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Component.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getType();
  if (f !== 0.0) {
    writer.writeEnum(
      1,
      f
    );
  }
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional Component.Type type = 1;
 * @return {!proto.hashicorp.waypoint.Component.Type}
 */
proto.hashicorp.waypoint.Ref.Component.prototype.getType = function() {
  return /** @type {!proto.hashicorp.waypoint.Component.Type} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Component.Type} value
 * @return {!proto.hashicorp.waypoint.Ref.Component} returns this
 */
proto.hashicorp.waypoint.Ref.Component.prototype.setType = function(value) {
  return jspb.Message.setProto3EnumField(this, 1, value);
};


/**
 * optional string name = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.Component.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.Component} returns this
 */
proto.hashicorp.waypoint.Ref.Component.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Ref.Operation.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Ref.Operation.TargetCase = {
  TARGET_NOT_SET: 0,
  ID: 1,
  SEQUENCE: 2
};

/**
 * @return {proto.hashicorp.waypoint.Ref.Operation.TargetCase}
 */
proto.hashicorp.waypoint.Ref.Operation.prototype.getTargetCase = function() {
  return /** @type {proto.hashicorp.waypoint.Ref.Operation.TargetCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Ref.Operation.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.Operation.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.Operation.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.Operation} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Operation.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    sequence: (f = msg.getSequence()) && proto.hashicorp.waypoint.Ref.OperationSeq.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.Operation}
 */
proto.hashicorp.waypoint.Ref.Operation.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.Operation;
  return proto.hashicorp.waypoint.Ref.Operation.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.Operation} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.Operation}
 */
proto.hashicorp.waypoint.Ref.Operation.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.OperationSeq;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.OperationSeq.deserializeBinaryFromReader);
      msg.setSequence(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.Operation.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.Operation.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.Operation} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Operation.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = /** @type {string} */ (jspb.Message.getField(message, 1));
  if (f != null) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getSequence();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.OperationSeq.serializeBinaryToWriter
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.Operation.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.Operation} returns this
 */
proto.hashicorp.waypoint.Ref.Operation.prototype.setId = function(value) {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.Ref.Operation.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.Operation} returns this
 */
proto.hashicorp.waypoint.Ref.Operation.prototype.clearId = function() {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.Ref.Operation.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Operation.prototype.hasId = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional OperationSeq sequence = 2;
 * @return {?proto.hashicorp.waypoint.Ref.OperationSeq}
 */
proto.hashicorp.waypoint.Ref.Operation.prototype.getSequence = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.OperationSeq} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.OperationSeq, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.OperationSeq|undefined} value
 * @return {!proto.hashicorp.waypoint.Ref.Operation} returns this
*/
proto.hashicorp.waypoint.Ref.Operation.prototype.setSequence = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.Ref.Operation.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.Operation} returns this
 */
proto.hashicorp.waypoint.Ref.Operation.prototype.clearSequence = function() {
  return this.setSequence(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Operation.prototype.hasSequence = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.OperationSeq.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.OperationSeq.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.OperationSeq} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.OperationSeq.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    number: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.OperationSeq}
 */
proto.hashicorp.waypoint.Ref.OperationSeq.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.OperationSeq;
  return proto.hashicorp.waypoint.Ref.OperationSeq.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.OperationSeq} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.OperationSeq}
 */
proto.hashicorp.waypoint.Ref.OperationSeq.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setNumber(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.OperationSeq.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.OperationSeq.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.OperationSeq} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.OperationSeq.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getNumber();
  if (f !== 0) {
    writer.writeUint64(
      2,
      f
    );
  }
};


/**
 * optional Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.Ref.OperationSeq.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.Ref.OperationSeq} returns this
*/
proto.hashicorp.waypoint.Ref.OperationSeq.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.OperationSeq} returns this
 */
proto.hashicorp.waypoint.Ref.OperationSeq.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.OperationSeq.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional uint64 number = 2;
 * @return {number}
 */
proto.hashicorp.waypoint.Ref.OperationSeq.prototype.getNumber = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Ref.OperationSeq} returns this
 */
proto.hashicorp.waypoint.Ref.OperationSeq.prototype.setNumber = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Ref.Runner.oneofGroups_ = [[1,2,3]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Ref.Runner.TargetCase = {
  TARGET_NOT_SET: 0,
  ANY: 1,
  ID: 2,
  LABELS: 3
};

/**
 * @return {proto.hashicorp.waypoint.Ref.Runner.TargetCase}
 */
proto.hashicorp.waypoint.Ref.Runner.prototype.getTargetCase = function() {
  return /** @type {proto.hashicorp.waypoint.Ref.Runner.TargetCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Ref.Runner.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.Runner.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.Runner.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.Runner} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Runner.toObject = function(includeInstance, msg) {
  var f, obj = {
    any: (f = msg.getAny()) && proto.hashicorp.waypoint.Ref.RunnerAny.toObject(includeInstance, f),
    id: (f = msg.getId()) && proto.hashicorp.waypoint.Ref.RunnerId.toObject(includeInstance, f),
    labels: (f = msg.getLabels()) && proto.hashicorp.waypoint.Ref.RunnerLabels.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.Runner}
 */
proto.hashicorp.waypoint.Ref.Runner.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.Runner;
  return proto.hashicorp.waypoint.Ref.Runner.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.Runner} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.Runner}
 */
proto.hashicorp.waypoint.Ref.Runner.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.RunnerAny;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.RunnerAny.deserializeBinaryFromReader);
      msg.setAny(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.RunnerId;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.RunnerId.deserializeBinaryFromReader);
      msg.setId(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.RunnerLabels;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.RunnerLabels.deserializeBinaryFromReader);
      msg.setLabels(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.Runner.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.Runner.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.Runner} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Runner.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAny();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.RunnerAny.serializeBinaryToWriter
    );
  }
  f = message.getId();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.RunnerId.serializeBinaryToWriter
    );
  }
  f = message.getLabels();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.RunnerLabels.serializeBinaryToWriter
    );
  }
};


/**
 * optional RunnerAny any = 1;
 * @return {?proto.hashicorp.waypoint.Ref.RunnerAny}
 */
proto.hashicorp.waypoint.Ref.Runner.prototype.getAny = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.RunnerAny} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.RunnerAny, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.RunnerAny|undefined} value
 * @return {!proto.hashicorp.waypoint.Ref.Runner} returns this
*/
proto.hashicorp.waypoint.Ref.Runner.prototype.setAny = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.Ref.Runner.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.Runner} returns this
 */
proto.hashicorp.waypoint.Ref.Runner.prototype.clearAny = function() {
  return this.setAny(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Runner.prototype.hasAny = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional RunnerId id = 2;
 * @return {?proto.hashicorp.waypoint.Ref.RunnerId}
 */
proto.hashicorp.waypoint.Ref.Runner.prototype.getId = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.RunnerId} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.RunnerId, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.RunnerId|undefined} value
 * @return {!proto.hashicorp.waypoint.Ref.Runner} returns this
*/
proto.hashicorp.waypoint.Ref.Runner.prototype.setId = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.Ref.Runner.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.Runner} returns this
 */
proto.hashicorp.waypoint.Ref.Runner.prototype.clearId = function() {
  return this.setId(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Runner.prototype.hasId = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional RunnerLabels labels = 3;
 * @return {?proto.hashicorp.waypoint.Ref.RunnerLabels}
 */
proto.hashicorp.waypoint.Ref.Runner.prototype.getLabels = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.RunnerLabels} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.RunnerLabels, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.RunnerLabels|undefined} value
 * @return {!proto.hashicorp.waypoint.Ref.Runner} returns this
*/
proto.hashicorp.waypoint.Ref.Runner.prototype.setLabels = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.Ref.Runner.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.Runner} returns this
 */
proto.hashicorp.waypoint.Ref.Runner.prototype.clearLabels = function() {
  return this.setLabels(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Runner.prototype.hasLabels = function() {
  return jspb.Message.getField(this, 3) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.RunnerAny.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.RunnerAny.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.RunnerAny} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.RunnerAny.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.RunnerAny}
 */
proto.hashicorp.waypoint.Ref.RunnerAny.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.RunnerAny;
  return proto.hashicorp.waypoint.Ref.RunnerAny.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.RunnerAny} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.RunnerAny}
 */
proto.hashicorp.waypoint.Ref.RunnerAny.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.RunnerAny.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.RunnerAny.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.RunnerAny} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.RunnerAny.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.RunnerId.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.RunnerId.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.RunnerId} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.RunnerId.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.RunnerId}
 */
proto.hashicorp.waypoint.Ref.RunnerId.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.RunnerId;
  return proto.hashicorp.waypoint.Ref.RunnerId.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.RunnerId} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.RunnerId}
 */
proto.hashicorp.waypoint.Ref.RunnerId.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.RunnerId.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.RunnerId.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.RunnerId} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.RunnerId.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.RunnerId.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.RunnerId} returns this
 */
proto.hashicorp.waypoint.Ref.RunnerId.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.RunnerLabels.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.RunnerLabels.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.RunnerLabels} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.RunnerLabels.toObject = function(includeInstance, msg) {
  var f, obj = {
    labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.RunnerLabels}
 */
proto.hashicorp.waypoint.Ref.RunnerLabels.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.RunnerLabels;
  return proto.hashicorp.waypoint.Ref.RunnerLabels.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.RunnerLabels} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.RunnerLabels}
 */
proto.hashicorp.waypoint.Ref.RunnerLabels.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = msg.getLabelsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.RunnerLabels.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.RunnerLabels.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.RunnerLabels} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.RunnerLabels.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getLabelsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
};


/**
 * map<string, string> labels = 1;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.Ref.RunnerLabels.prototype.getLabelsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 1, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.Ref.RunnerLabels} returns this
 */
proto.hashicorp.waypoint.Ref.RunnerLabels.prototype.clearLabelsMap = function() {
  this.getLabelsMap().clear();
  return this;};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Ref.User.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Ref.User.RefCase = {
  REF_NOT_SET: 0,
  ID: 1,
  USERNAME: 2
};

/**
 * @return {proto.hashicorp.waypoint.Ref.User.RefCase}
 */
proto.hashicorp.waypoint.Ref.User.prototype.getRefCase = function() {
  return /** @type {proto.hashicorp.waypoint.Ref.User.RefCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Ref.User.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.User.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.User.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.User} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.User.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: (f = msg.getId()) && proto.hashicorp.waypoint.Ref.UserId.toObject(includeInstance, f),
    username: (f = msg.getUsername()) && proto.hashicorp.waypoint.Ref.UserUsername.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.User}
 */
proto.hashicorp.waypoint.Ref.User.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.User;
  return proto.hashicorp.waypoint.Ref.User.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.User} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.User}
 */
proto.hashicorp.waypoint.Ref.User.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.UserId;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.UserId.deserializeBinaryFromReader);
      msg.setId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.UserUsername;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.UserUsername.deserializeBinaryFromReader);
      msg.setUsername(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.User.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.User.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.User} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.User.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.UserId.serializeBinaryToWriter
    );
  }
  f = message.getUsername();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.UserUsername.serializeBinaryToWriter
    );
  }
};


/**
 * optional UserId id = 1;
 * @return {?proto.hashicorp.waypoint.Ref.UserId}
 */
proto.hashicorp.waypoint.Ref.User.prototype.getId = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.UserId} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.UserId, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.UserId|undefined} value
 * @return {!proto.hashicorp.waypoint.Ref.User} returns this
*/
proto.hashicorp.waypoint.Ref.User.prototype.setId = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.Ref.User.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.User} returns this
 */
proto.hashicorp.waypoint.Ref.User.prototype.clearId = function() {
  return this.setId(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.User.prototype.hasId = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional UserUsername username = 2;
 * @return {?proto.hashicorp.waypoint.Ref.UserUsername}
 */
proto.hashicorp.waypoint.Ref.User.prototype.getUsername = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.UserUsername} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.UserUsername, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.UserUsername|undefined} value
 * @return {!proto.hashicorp.waypoint.Ref.User} returns this
*/
proto.hashicorp.waypoint.Ref.User.prototype.setUsername = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.Ref.User.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.User} returns this
 */
proto.hashicorp.waypoint.Ref.User.prototype.clearUsername = function() {
  return this.setUsername(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.User.prototype.hasUsername = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.UserId.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.UserId.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.UserId} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.UserId.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.UserId}
 */
proto.hashicorp.waypoint.Ref.UserId.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.UserId;
  return proto.hashicorp.waypoint.Ref.UserId.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.UserId} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.UserId}
 */
proto.hashicorp.waypoint.Ref.UserId.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.UserId.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.UserId.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.UserId} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.UserId.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.UserId.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.UserId} returns this
 */
proto.hashicorp.waypoint.Ref.UserId.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.UserUsername.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.UserUsername.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.UserUsername} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.UserUsername.toObject = function(includeInstance, msg) {
  var f, obj = {
    username: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.UserUsername}
 */
proto.hashicorp.waypoint.Ref.UserUsername.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.UserUsername;
  return proto.hashicorp.waypoint.Ref.UserUsername.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.UserUsername} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.UserUsername}
 */
proto.hashicorp.waypoint.Ref.UserUsername.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setUsername(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.UserUsername.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.UserUsername.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.UserUsername} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.UserUsername.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getUsername();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string username = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.UserUsername.prototype.getUsername = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.UserUsername} returns this
 */
proto.hashicorp.waypoint.Ref.UserUsername.prototype.setUsername = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.AuthMethod.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.AuthMethod.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.AuthMethod} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.AuthMethod.toObject = function(includeInstance, msg) {
  var f, obj = {
    name: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.AuthMethod}
 */
proto.hashicorp.waypoint.Ref.AuthMethod.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.AuthMethod;
  return proto.hashicorp.waypoint.Ref.AuthMethod.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.AuthMethod} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.AuthMethod}
 */
proto.hashicorp.waypoint.Ref.AuthMethod.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.AuthMethod.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.AuthMethod.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.AuthMethod} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.AuthMethod.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string name = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.AuthMethod.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.AuthMethod} returns this
 */
proto.hashicorp.waypoint.Ref.AuthMethod.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.DeclaredResource.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.DeclaredResource.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.DeclaredResource} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.DeclaredResource.toObject = function(includeInstance, msg) {
  var f, obj = {
    name: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.DeclaredResource}
 */
proto.hashicorp.waypoint.Ref.DeclaredResource.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.DeclaredResource;
  return proto.hashicorp.waypoint.Ref.DeclaredResource.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.DeclaredResource} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.DeclaredResource}
 */
proto.hashicorp.waypoint.Ref.DeclaredResource.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.DeclaredResource.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.DeclaredResource.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.DeclaredResource} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.DeclaredResource.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string name = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.DeclaredResource.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.DeclaredResource} returns this
 */
proto.hashicorp.waypoint.Ref.DeclaredResource.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    name: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig}
 */
proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig;
  return proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig}
 */
proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig} returns this
 */
proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string name = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig} returns this
 */
proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.Trigger.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.Trigger.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.Trigger} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Trigger.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.Trigger}
 */
proto.hashicorp.waypoint.Ref.Trigger.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.Trigger;
  return proto.hashicorp.waypoint.Ref.Trigger.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.Trigger} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.Trigger}
 */
proto.hashicorp.waypoint.Ref.Trigger.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.Trigger.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.Trigger.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.Trigger} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Trigger.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.Trigger.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.Trigger} returns this
 */
proto.hashicorp.waypoint.Ref.Trigger.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.Job.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.Job.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.Job} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Job.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.Job}
 */
proto.hashicorp.waypoint.Ref.Job.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.Job;
  return proto.hashicorp.waypoint.Ref.Job.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.Job} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.Job}
 */
proto.hashicorp.waypoint.Ref.Job.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.Job.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.Job.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.Job} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Job.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.Job.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.Job} returns this
 */
proto.hashicorp.waypoint.Ref.Job.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Ref.Task.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Ref.Task.RefCase = {
  REF_NOT_SET: 0,
  ID: 1,
  JOB_ID: 2
};

/**
 * @return {proto.hashicorp.waypoint.Ref.Task.RefCase}
 */
proto.hashicorp.waypoint.Ref.Task.prototype.getRefCase = function() {
  return /** @type {proto.hashicorp.waypoint.Ref.Task.RefCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Ref.Task.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.Task.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.Task.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.Task} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Task.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    jobId: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.Task}
 */
proto.hashicorp.waypoint.Ref.Task.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.Task;
  return proto.hashicorp.waypoint.Ref.Task.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.Task} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.Task}
 */
proto.hashicorp.waypoint.Ref.Task.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setJobId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.Task.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.Task.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.Task} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Task.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = /** @type {string} */ (jspb.Message.getField(message, 1));
  if (f != null) {
    writer.writeString(
      1,
      f
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 2));
  if (f != null) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.Task.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.Task} returns this
 */
proto.hashicorp.waypoint.Ref.Task.prototype.setId = function(value) {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.Ref.Task.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.Task} returns this
 */
proto.hashicorp.waypoint.Ref.Task.prototype.clearId = function() {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.Ref.Task.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Task.prototype.hasId = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string job_id = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.Task.prototype.getJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.Task} returns this
 */
proto.hashicorp.waypoint.Ref.Task.prototype.setJobId = function(value) {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.Ref.Task.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.Task} returns this
 */
proto.hashicorp.waypoint.Ref.Task.prototype.clearJobId = function() {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.Ref.Task.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Task.prototype.hasJobId = function() {
  return jspb.Message.getField(this, 2) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Ref.Pipeline.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Ref.Pipeline.RefCase = {
  REF_NOT_SET: 0,
  ID: 1,
  OWNER: 2
};

/**
 * @return {proto.hashicorp.waypoint.Ref.Pipeline.RefCase}
 */
proto.hashicorp.waypoint.Ref.Pipeline.prototype.getRefCase = function() {
  return /** @type {proto.hashicorp.waypoint.Ref.Pipeline.RefCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Ref.Pipeline.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.Pipeline.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.Pipeline.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.Pipeline} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Pipeline.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    owner: (f = msg.getOwner()) && proto.hashicorp.waypoint.Ref.PipelineOwner.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.Pipeline}
 */
proto.hashicorp.waypoint.Ref.Pipeline.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.Pipeline;
  return proto.hashicorp.waypoint.Ref.Pipeline.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.Pipeline} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.Pipeline}
 */
proto.hashicorp.waypoint.Ref.Pipeline.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.PipelineOwner;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.PipelineOwner.deserializeBinaryFromReader);
      msg.setOwner(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.Pipeline.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.Pipeline.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.Pipeline} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.Pipeline.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = /** @type {string} */ (jspb.Message.getField(message, 1));
  if (f != null) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getOwner();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.PipelineOwner.serializeBinaryToWriter
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.Pipeline.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.Pipeline} returns this
 */
proto.hashicorp.waypoint.Ref.Pipeline.prototype.setId = function(value) {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.Ref.Pipeline.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.Pipeline} returns this
 */
proto.hashicorp.waypoint.Ref.Pipeline.prototype.clearId = function() {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.Ref.Pipeline.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Pipeline.prototype.hasId = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional PipelineOwner owner = 2;
 * @return {?proto.hashicorp.waypoint.Ref.PipelineOwner}
 */
proto.hashicorp.waypoint.Ref.Pipeline.prototype.getOwner = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.PipelineOwner} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.PipelineOwner, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.PipelineOwner|undefined} value
 * @return {!proto.hashicorp.waypoint.Ref.Pipeline} returns this
*/
proto.hashicorp.waypoint.Ref.Pipeline.prototype.setOwner = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.Ref.Pipeline.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.Pipeline} returns this
 */
proto.hashicorp.waypoint.Ref.Pipeline.prototype.clearOwner = function() {
  return this.setOwner(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.Pipeline.prototype.hasOwner = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.PipelineOwner.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.PipelineOwner.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.PipelineOwner} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.PipelineOwner.toObject = function(includeInstance, msg) {
  var f, obj = {
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f),
    pipelineName: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.PipelineOwner}
 */
proto.hashicorp.waypoint.Ref.PipelineOwner.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.PipelineOwner;
  return proto.hashicorp.waypoint.Ref.PipelineOwner.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.PipelineOwner} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.PipelineOwner}
 */
proto.hashicorp.waypoint.Ref.PipelineOwner.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setPipelineName(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.PipelineOwner.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.PipelineOwner.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.PipelineOwner} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.PipelineOwner.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
  f = message.getPipelineName();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional Project project = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.Ref.PipelineOwner.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.Ref.PipelineOwner} returns this
*/
proto.hashicorp.waypoint.Ref.PipelineOwner.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Ref.PipelineOwner} returns this
 */
proto.hashicorp.waypoint.Ref.PipelineOwner.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Ref.PipelineOwner.prototype.hasProject = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string pipeline_name = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.PipelineOwner.prototype.getPipelineName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.PipelineOwner} returns this
 */
proto.hashicorp.waypoint.Ref.PipelineOwner.prototype.setPipelineName = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Ref.PipelineStep.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Ref.PipelineStep.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Ref.PipelineStep} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.PipelineStep.toObject = function(includeInstance, msg) {
  var f, obj = {
    pipelineId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    pipelineName: jspb.Message.getFieldWithDefault(msg, 2, ""),
    step: jspb.Message.getFieldWithDefault(msg, 3, ""),
    runSequence: jspb.Message.getFieldWithDefault(msg, 4, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Ref.PipelineStep}
 */
proto.hashicorp.waypoint.Ref.PipelineStep.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Ref.PipelineStep;
  return proto.hashicorp.waypoint.Ref.PipelineStep.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Ref.PipelineStep} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Ref.PipelineStep}
 */
proto.hashicorp.waypoint.Ref.PipelineStep.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setPipelineId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setPipelineName(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setStep(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setRunSequence(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Ref.PipelineStep.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Ref.PipelineStep.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Ref.PipelineStep} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Ref.PipelineStep.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPipelineId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getPipelineName();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getStep();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getRunSequence();
  if (f !== 0) {
    writer.writeUint64(
      4,
      f
    );
  }
};


/**
 * optional string pipeline_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.PipelineStep.prototype.getPipelineId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.PipelineStep} returns this
 */
proto.hashicorp.waypoint.Ref.PipelineStep.prototype.setPipelineId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string pipeline_name = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.PipelineStep.prototype.getPipelineName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.PipelineStep} returns this
 */
proto.hashicorp.waypoint.Ref.PipelineStep.prototype.setPipelineName = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string step = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.Ref.PipelineStep.prototype.getStep = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Ref.PipelineStep} returns this
 */
proto.hashicorp.waypoint.Ref.PipelineStep.prototype.setStep = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional uint64 run_sequence = 4;
 * @return {number}
 */
proto.hashicorp.waypoint.Ref.PipelineStep.prototype.getRunSequence = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Ref.PipelineStep} returns this
 */
proto.hashicorp.waypoint.Ref.PipelineStep.prototype.setRunSequence = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Component.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Component.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Component} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Component.toObject = function(includeInstance, msg) {
  var f, obj = {
    type: jspb.Message.getFieldWithDefault(msg, 1, 0),
    name: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Component}
 */
proto.hashicorp.waypoint.Component.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Component;
  return proto.hashicorp.waypoint.Component.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Component} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Component}
 */
proto.hashicorp.waypoint.Component.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!proto.hashicorp.waypoint.Component.Type} */ (reader.readEnum());
      msg.setType(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Component.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Component.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Component} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Component.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getType();
  if (f !== 0.0) {
    writer.writeEnum(
      1,
      f
    );
  }
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Component.Type = {
  UNKNOWN: 0,
  BUILDER: 1,
  REGISTRY: 2,
  PLATFORM: 3,
  RELEASEMANAGER: 4
};

/**
 * optional Type type = 1;
 * @return {!proto.hashicorp.waypoint.Component.Type}
 */
proto.hashicorp.waypoint.Component.prototype.getType = function() {
  return /** @type {!proto.hashicorp.waypoint.Component.Type} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Component.Type} value
 * @return {!proto.hashicorp.waypoint.Component} returns this
 */
proto.hashicorp.waypoint.Component.prototype.setType = function(value) {
  return jspb.Message.setProto3EnumField(this, 1, value);
};


/**
 * optional string name = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Component.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Component} returns this
 */
proto.hashicorp.waypoint.Component.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Status.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Status.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Status} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Status.toObject = function(includeInstance, msg) {
  var f, obj = {
    state: jspb.Message.getFieldWithDefault(msg, 1, 0),
    details: jspb.Message.getFieldWithDefault(msg, 2, ""),
    error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f),
    startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    completeTime: (f = msg.getCompleteTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Status}
 */
proto.hashicorp.waypoint.Status.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Status;
  return proto.hashicorp.waypoint.Status.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Status} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Status}
 */
proto.hashicorp.waypoint.Status.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!proto.hashicorp.waypoint.Status.State} */ (reader.readEnum());
      msg.setState(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setDetails(value);
      break;
    case 3:
      var value = new google_rpc_status_pb.Status;
      reader.readMessage(value,google_rpc_status_pb.Status.deserializeBinaryFromReader);
      msg.setError(value);
      break;
    case 4:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setStartTime(value);
      break;
    case 5:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setCompleteTime(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Status.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Status.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Status} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Status.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getState();
  if (f !== 0.0) {
    writer.writeEnum(
      1,
      f
    );
  }
  f = message.getDetails();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      google_rpc_status_pb.Status.serializeBinaryToWriter
    );
  }
  f = message.getStartTime();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getCompleteTime();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Status.State = {
  UNKNOWN: 0,
  RUNNING: 1,
  SUCCESS: 2,
  ERROR: 3
};

/**
 * optional State state = 1;
 * @return {!proto.hashicorp.waypoint.Status.State}
 */
proto.hashicorp.waypoint.Status.prototype.getState = function() {
  return /** @type {!proto.hashicorp.waypoint.Status.State} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Status.State} value
 * @return {!proto.hashicorp.waypoint.Status} returns this
 */
proto.hashicorp.waypoint.Status.prototype.setState = function(value) {
  return jspb.Message.setProto3EnumField(this, 1, value);
};


/**
 * optional string details = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Status.prototype.getDetails = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Status} returns this
 */
proto.hashicorp.waypoint.Status.prototype.setDetails = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional google.rpc.Status error = 3;
 * @return {?proto.google.rpc.Status}
 */
proto.hashicorp.waypoint.Status.prototype.getError = function() {
  return /** @type{?proto.google.rpc.Status} */ (
    jspb.Message.getWrapperField(this, google_rpc_status_pb.Status, 3));
};


/**
 * @param {?proto.google.rpc.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.Status} returns this
*/
proto.hashicorp.waypoint.Status.prototype.setError = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Status} returns this
 */
proto.hashicorp.waypoint.Status.prototype.clearError = function() {
  return this.setError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Status.prototype.hasError = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional google.protobuf.Timestamp start_time = 4;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Status.prototype.getStartTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Status} returns this
*/
proto.hashicorp.waypoint.Status.prototype.setStartTime = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Status} returns this
 */
proto.hashicorp.waypoint.Status.prototype.clearStartTime = function() {
  return this.setStartTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Status.prototype.hasStartTime = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional google.protobuf.Timestamp complete_time = 5;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Status.prototype.getCompleteTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Status} returns this
*/
proto.hashicorp.waypoint.Status.prototype.setCompleteTime = function(value) {
  return jspb.Message.setWrapperField(this, 5, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Status} returns this
 */
proto.hashicorp.waypoint.Status.prototype.clearCompleteTime = function() {
  return this.setCompleteTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Status.prototype.hasCompleteTime = function() {
  return jspb.Message.getField(this, 5) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.StatusFilter.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.StatusFilter.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.StatusFilter.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.StatusFilter} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.StatusFilter.toObject = function(includeInstance, msg) {
  var f, obj = {
    filtersList: jspb.Message.toObjectList(msg.getFiltersList(),
    proto.hashicorp.waypoint.StatusFilter.Filter.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.StatusFilter}
 */
proto.hashicorp.waypoint.StatusFilter.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.StatusFilter;
  return proto.hashicorp.waypoint.StatusFilter.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.StatusFilter} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.StatusFilter}
 */
proto.hashicorp.waypoint.StatusFilter.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.StatusFilter.Filter;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusFilter.Filter.deserializeBinaryFromReader);
      msg.addFilters(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.StatusFilter.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.StatusFilter.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.StatusFilter} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.StatusFilter.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFiltersList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.StatusFilter.Filter.serializeBinaryToWriter
    );
  }
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.StatusFilter.Filter.oneofGroups_ = [[2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.StatusFilter.Filter.FilterCase = {
  FILTER_NOT_SET: 0,
  STATE: 2
};

/**
 * @return {proto.hashicorp.waypoint.StatusFilter.Filter.FilterCase}
 */
proto.hashicorp.waypoint.StatusFilter.Filter.prototype.getFilterCase = function() {
  return /** @type {proto.hashicorp.waypoint.StatusFilter.Filter.FilterCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.StatusFilter.Filter.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.StatusFilter.Filter.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.StatusFilter.Filter.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.StatusFilter.Filter} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.StatusFilter.Filter.toObject = function(includeInstance, msg) {
  var f, obj = {
    state: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.StatusFilter.Filter}
 */
proto.hashicorp.waypoint.StatusFilter.Filter.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.StatusFilter.Filter;
  return proto.hashicorp.waypoint.StatusFilter.Filter.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.StatusFilter.Filter} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.StatusFilter.Filter}
 */
proto.hashicorp.waypoint.StatusFilter.Filter.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 2:
      var value = /** @type {!proto.hashicorp.waypoint.Status.State} */ (reader.readEnum());
      msg.setState(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.StatusFilter.Filter.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.StatusFilter.Filter.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.StatusFilter.Filter} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.StatusFilter.Filter.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = /** @type {!proto.hashicorp.waypoint.Status.State} */ (jspb.Message.getField(message, 2));
  if (f != null) {
    writer.writeEnum(
      2,
      f
    );
  }
};


/**
 * optional Status.State state = 2;
 * @return {!proto.hashicorp.waypoint.Status.State}
 */
proto.hashicorp.waypoint.StatusFilter.Filter.prototype.getState = function() {
  return /** @type {!proto.hashicorp.waypoint.Status.State} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Status.State} value
 * @return {!proto.hashicorp.waypoint.StatusFilter.Filter} returns this
 */
proto.hashicorp.waypoint.StatusFilter.Filter.prototype.setState = function(value) {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.StatusFilter.Filter.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.StatusFilter.Filter} returns this
 */
proto.hashicorp.waypoint.StatusFilter.Filter.prototype.clearState = function() {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.StatusFilter.Filter.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.StatusFilter.Filter.prototype.hasState = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * repeated Filter filters = 1;
 * @return {!Array<!proto.hashicorp.waypoint.StatusFilter.Filter>}
 */
proto.hashicorp.waypoint.StatusFilter.prototype.getFiltersList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.StatusFilter.Filter>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.StatusFilter.Filter, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.StatusFilter.Filter>} value
 * @return {!proto.hashicorp.waypoint.StatusFilter} returns this
*/
proto.hashicorp.waypoint.StatusFilter.prototype.setFiltersList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.StatusFilter.Filter=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.StatusFilter.Filter}
 */
proto.hashicorp.waypoint.StatusFilter.prototype.addFilters = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.StatusFilter.Filter, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.StatusFilter} returns this
 */
proto.hashicorp.waypoint.StatusFilter.prototype.clearFiltersList = function() {
  return this.setFiltersList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Operation.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Operation.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Operation} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Operation.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Operation}
 */
proto.hashicorp.waypoint.Operation.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Operation;
  return proto.hashicorp.waypoint.Operation.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Operation} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Operation}
 */
proto.hashicorp.waypoint.Operation.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Operation.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Operation.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Operation} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Operation.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Operation.PhysicalState = {
  UNKNOWN: 0,
  PENDING: 1,
  CREATED: 3,
  DESTROYED: 4
};




if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.OperationOrder.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.OperationOrder.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.OperationOrder} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.OperationOrder.toObject = function(includeInstance, msg) {
  var f, obj = {
    order: jspb.Message.getFieldWithDefault(msg, 2, 0),
    desc: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
    limit: jspb.Message.getFieldWithDefault(msg, 4, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.OperationOrder}
 */
proto.hashicorp.waypoint.OperationOrder.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.OperationOrder;
  return proto.hashicorp.waypoint.OperationOrder.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.OperationOrder} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.OperationOrder}
 */
proto.hashicorp.waypoint.OperationOrder.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 2:
      var value = /** @type {!proto.hashicorp.waypoint.OperationOrder.Order} */ (reader.readEnum());
      msg.setOrder(value);
      break;
    case 3:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setDesc(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readUint32());
      msg.setLimit(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.OperationOrder.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.OperationOrder.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.OperationOrder} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.OperationOrder.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getOrder();
  if (f !== 0.0) {
    writer.writeEnum(
      2,
      f
    );
  }
  f = message.getDesc();
  if (f) {
    writer.writeBool(
      3,
      f
    );
  }
  f = message.getLimit();
  if (f !== 0) {
    writer.writeUint32(
      4,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.OperationOrder.Order = {
  UNSET: 0,
  START_TIME: 1,
  COMPLETE_TIME: 2
};

/**
 * optional Order order = 2;
 * @return {!proto.hashicorp.waypoint.OperationOrder.Order}
 */
proto.hashicorp.waypoint.OperationOrder.prototype.getOrder = function() {
  return /** @type {!proto.hashicorp.waypoint.OperationOrder.Order} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.OperationOrder.Order} value
 * @return {!proto.hashicorp.waypoint.OperationOrder} returns this
 */
proto.hashicorp.waypoint.OperationOrder.prototype.setOrder = function(value) {
  return jspb.Message.setProto3EnumField(this, 2, value);
};


/**
 * optional bool desc = 3;
 * @return {boolean}
 */
proto.hashicorp.waypoint.OperationOrder.prototype.getDesc = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.OperationOrder} returns this
 */
proto.hashicorp.waypoint.OperationOrder.prototype.setDesc = function(value) {
  return jspb.Message.setProto3BooleanField(this, 3, value);
};


/**
 * optional uint32 limit = 4;
 * @return {number}
 */
proto.hashicorp.waypoint.OperationOrder.prototype.getLimit = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.OperationOrder} returns this
 */
proto.hashicorp.waypoint.OperationOrder.prototype.setLimit = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Generation.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Generation.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Generation} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Generation.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    initialSequence: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Generation}
 */
proto.hashicorp.waypoint.Generation.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Generation;
  return proto.hashicorp.waypoint.Generation.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Generation} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Generation}
 */
proto.hashicorp.waypoint.Generation.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setInitialSequence(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Generation.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Generation.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Generation} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Generation.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getInitialSequence();
  if (f !== 0) {
    writer.writeUint64(
      2,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Generation.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Generation} returns this
 */
proto.hashicorp.waypoint.Generation.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional uint64 initial_sequence = 2;
 * @return {number}
 */
proto.hashicorp.waypoint.Generation.prototype.getInitialSequence = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Generation} returns this
 */
proto.hashicorp.waypoint.Generation.prototype.setInitialSequence = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.DeclaredResource.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.DeclaredResource} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeclaredResource.toObject = function(includeInstance, msg) {
  var f, obj = {
    name: jspb.Message.getFieldWithDefault(msg, 1, ""),
    type: jspb.Message.getFieldWithDefault(msg, 6, ""),
    platform: jspb.Message.getFieldWithDefault(msg, 2, ""),
    state: (f = msg.getState()) && any_pb.Any.toObject(includeInstance, f),
    stateJson: jspb.Message.getFieldWithDefault(msg, 4, ""),
    categoryDisplayHint: jspb.Message.getFieldWithDefault(msg, 5, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.DeclaredResource}
 */
proto.hashicorp.waypoint.DeclaredResource.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.DeclaredResource;
  return proto.hashicorp.waypoint.DeclaredResource.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.DeclaredResource} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.DeclaredResource}
 */
proto.hashicorp.waypoint.DeclaredResource.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 6:
      var value = /** @type {string} */ (reader.readString());
      msg.setType(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setPlatform(value);
      break;
    case 3:
      var value = new any_pb.Any;
      reader.readMessage(value,any_pb.Any.deserializeBinaryFromReader);
      msg.setState(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setStateJson(value);
      break;
    case 5:
      var value = /** @type {!proto.hashicorp.waypoint.ResourceCategoryDisplayHint} */ (reader.readEnum());
      msg.setCategoryDisplayHint(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.DeclaredResource.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.DeclaredResource} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeclaredResource.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getType();
  if (f.length > 0) {
    writer.writeString(
      6,
      f
    );
  }
  f = message.getPlatform();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getState();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      any_pb.Any.serializeBinaryToWriter
    );
  }
  f = message.getStateJson();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getCategoryDisplayHint();
  if (f !== 0.0) {
    writer.writeEnum(
      5,
      f
    );
  }
};


/**
 * optional string name = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.DeclaredResource} returns this
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string type = 6;
 * @return {string}
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.getType = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.DeclaredResource} returns this
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.setType = function(value) {
  return jspb.Message.setProto3StringField(this, 6, value);
};


/**
 * optional string platform = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.getPlatform = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.DeclaredResource} returns this
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.setPlatform = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional opaqueany.Any state = 3;
 * @return {?proto.opaqueany.Any}
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.getState = function() {
  return /** @type{?proto.opaqueany.Any} */ (
    jspb.Message.getWrapperField(this, any_pb.Any, 3));
};


/**
 * @param {?proto.opaqueany.Any|undefined} value
 * @return {!proto.hashicorp.waypoint.DeclaredResource} returns this
*/
proto.hashicorp.waypoint.DeclaredResource.prototype.setState = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.DeclaredResource} returns this
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.clearState = function() {
  return this.setState(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.hasState = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional string state_json = 4;
 * @return {string}
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.getStateJson = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.DeclaredResource} returns this
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.setStateJson = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional ResourceCategoryDisplayHint category_display_hint = 5;
 * @return {!proto.hashicorp.waypoint.ResourceCategoryDisplayHint}
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.getCategoryDisplayHint = function() {
  return /** @type {!proto.hashicorp.waypoint.ResourceCategoryDisplayHint} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.ResourceCategoryDisplayHint} value
 * @return {!proto.hashicorp.waypoint.DeclaredResource} returns this
 */
proto.hashicorp.waypoint.DeclaredResource.prototype.setCategoryDisplayHint = function(value) {
  return jspb.Message.setProto3EnumField(this, 5, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.TaskLaunchInfo.repeatedFields_ = [4,3];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.TaskLaunchInfo.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.TaskLaunchInfo.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.TaskLaunchInfo} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.TaskLaunchInfo.toObject = function(includeInstance, msg) {
  var f, obj = {
    ociUrl: jspb.Message.getFieldWithDefault(msg, 1, ""),
    environmentVariablesMap: (f = msg.getEnvironmentVariablesMap()) ? f.toObject(includeInstance, undefined) : [],
    entrypointList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
    argumentsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.TaskLaunchInfo}
 */
proto.hashicorp.waypoint.TaskLaunchInfo.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.TaskLaunchInfo;
  return proto.hashicorp.waypoint.TaskLaunchInfo.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.TaskLaunchInfo} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.TaskLaunchInfo}
 */
proto.hashicorp.waypoint.TaskLaunchInfo.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setOciUrl(value);
      break;
    case 2:
      var value = msg.getEnvironmentVariablesMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.addEntrypoint(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.addArguments(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.TaskLaunchInfo.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.TaskLaunchInfo.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.TaskLaunchInfo} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.TaskLaunchInfo.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getOciUrl();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getEnvironmentVariablesMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
  f = message.getEntrypointList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      4,
      f
    );
  }
  f = message.getArgumentsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      3,
      f
    );
  }
};


/**
 * optional string oci_url = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.TaskLaunchInfo.prototype.getOciUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.TaskLaunchInfo} returns this
 */
proto.hashicorp.waypoint.TaskLaunchInfo.prototype.setOciUrl = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * map<string, string> environment_variables = 2;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.TaskLaunchInfo.prototype.getEnvironmentVariablesMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 2, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.TaskLaunchInfo} returns this
 */
proto.hashicorp.waypoint.TaskLaunchInfo.prototype.clearEnvironmentVariablesMap = function() {
  this.getEnvironmentVariablesMap().clear();
  return this;};


/**
 * repeated string entrypoint = 4;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.TaskLaunchInfo.prototype.getEntrypointList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.TaskLaunchInfo} returns this
 */
proto.hashicorp.waypoint.TaskLaunchInfo.prototype.setEntrypointList = function(value) {
  return jspb.Message.setField(this, 4, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.TaskLaunchInfo} returns this
 */
proto.hashicorp.waypoint.TaskLaunchInfo.prototype.addEntrypoint = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.TaskLaunchInfo} returns this
 */
proto.hashicorp.waypoint.TaskLaunchInfo.prototype.clearEntrypointList = function() {
  return this.setEntrypointList([]);
};


/**
 * repeated string arguments = 3;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.TaskLaunchInfo.prototype.getArgumentsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.TaskLaunchInfo} returns this
 */
proto.hashicorp.waypoint.TaskLaunchInfo.prototype.setArgumentsList = function(value) {
  return jspb.Message.setField(this, 3, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.TaskLaunchInfo} returns this
 */
proto.hashicorp.waypoint.TaskLaunchInfo.prototype.addArguments = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.TaskLaunchInfo} returns this
 */
proto.hashicorp.waypoint.TaskLaunchInfo.prototype.clearArgumentsList = function() {
  return this.setArgumentsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Task.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Task.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Task} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Task.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    taskJob: (f = msg.getTaskJob()) && proto.hashicorp.waypoint.Ref.Job.toObject(includeInstance, f),
    watchJob: (f = msg.getWatchJob()) && proto.hashicorp.waypoint.Ref.Job.toObject(includeInstance, f),
    startJob: (f = msg.getStartJob()) && proto.hashicorp.waypoint.Ref.Job.toObject(includeInstance, f),
    stopJob: (f = msg.getStopJob()) && proto.hashicorp.waypoint.Ref.Job.toObject(includeInstance, f),
    stateJson: jspb.Message.getFieldWithDefault(msg, 5, ""),
    state: (f = msg.getState()) && any_pb.Any.toObject(includeInstance, f),
    jobState: jspb.Message.getFieldWithDefault(msg, 7, 0),
    resourceName: jspb.Message.getFieldWithDefault(msg, 8, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Task}
 */
proto.hashicorp.waypoint.Task.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Task;
  return proto.hashicorp.waypoint.Task.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Task} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Task}
 */
proto.hashicorp.waypoint.Task.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Job.deserializeBinaryFromReader);
      msg.setTaskJob(value);
      break;
    case 9:
      var value = new proto.hashicorp.waypoint.Ref.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Job.deserializeBinaryFromReader);
      msg.setWatchJob(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Job.deserializeBinaryFromReader);
      msg.setStartJob(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Ref.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Job.deserializeBinaryFromReader);
      msg.setStopJob(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setStateJson(value);
      break;
    case 6:
      var value = new any_pb.Any;
      reader.readMessage(value,any_pb.Any.deserializeBinaryFromReader);
      msg.setState(value);
      break;
    case 7:
      var value = /** @type {!proto.hashicorp.waypoint.Task.State} */ (reader.readEnum());
      msg.setJobState(value);
      break;
    case 8:
      var value = /** @type {string} */ (reader.readString());
      msg.setResourceName(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Task.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Task.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Task} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Task.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getTaskJob();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Job.serializeBinaryToWriter
    );
  }
  f = message.getWatchJob();
  if (f != null) {
    writer.writeMessage(
      9,
      f,
      proto.hashicorp.waypoint.Ref.Job.serializeBinaryToWriter
    );
  }
  f = message.getStartJob();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Job.serializeBinaryToWriter
    );
  }
  f = message.getStopJob();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Ref.Job.serializeBinaryToWriter
    );
  }
  f = message.getStateJson();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getState();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      any_pb.Any.serializeBinaryToWriter
    );
  }
  f = message.getJobState();
  if (f !== 0.0) {
    writer.writeEnum(
      7,
      f
    );
  }
  f = message.getResourceName();
  if (f.length > 0) {
    writer.writeString(
      8,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Task.State = {
  UNKNOWN: 0,
  PENDING: 1,
  STARTING: 2,
  STARTED: 3,
  RUNNING: 4,
  COMPLETED: 5,
  STOPPING: 6,
  STOPPED: 7,
  MIXED: 8
};

/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Task.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Task} returns this
 */
proto.hashicorp.waypoint.Task.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional Ref.Job task_job = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Job}
 */
proto.hashicorp.waypoint.Task.prototype.getTaskJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Job, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.Task} returns this
*/
proto.hashicorp.waypoint.Task.prototype.setTaskJob = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Task} returns this
 */
proto.hashicorp.waypoint.Task.prototype.clearTaskJob = function() {
  return this.setTaskJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Task.prototype.hasTaskJob = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Ref.Job watch_job = 9;
 * @return {?proto.hashicorp.waypoint.Ref.Job}
 */
proto.hashicorp.waypoint.Task.prototype.getWatchJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Job, 9));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.Task} returns this
*/
proto.hashicorp.waypoint.Task.prototype.setWatchJob = function(value) {
  return jspb.Message.setWrapperField(this, 9, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Task} returns this
 */
proto.hashicorp.waypoint.Task.prototype.clearWatchJob = function() {
  return this.setWatchJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Task.prototype.hasWatchJob = function() {
  return jspb.Message.getField(this, 9) != null;
};


/**
 * optional Ref.Job start_job = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Job}
 */
proto.hashicorp.waypoint.Task.prototype.getStartJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Job, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.Task} returns this
*/
proto.hashicorp.waypoint.Task.prototype.setStartJob = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Task} returns this
 */
proto.hashicorp.waypoint.Task.prototype.clearStartJob = function() {
  return this.setStartJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Task.prototype.hasStartJob = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Ref.Job stop_job = 4;
 * @return {?proto.hashicorp.waypoint.Ref.Job}
 */
proto.hashicorp.waypoint.Task.prototype.getStopJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Job, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.Task} returns this
*/
proto.hashicorp.waypoint.Task.prototype.setStopJob = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Task} returns this
 */
proto.hashicorp.waypoint.Task.prototype.clearStopJob = function() {
  return this.setStopJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Task.prototype.hasStopJob = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional string state_json = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.Task.prototype.getStateJson = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Task} returns this
 */
proto.hashicorp.waypoint.Task.prototype.setStateJson = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional opaqueany.Any state = 6;
 * @return {?proto.opaqueany.Any}
 */
proto.hashicorp.waypoint.Task.prototype.getState = function() {
  return /** @type{?proto.opaqueany.Any} */ (
    jspb.Message.getWrapperField(this, any_pb.Any, 6));
};


/**
 * @param {?proto.opaqueany.Any|undefined} value
 * @return {!proto.hashicorp.waypoint.Task} returns this
*/
proto.hashicorp.waypoint.Task.prototype.setState = function(value) {
  return jspb.Message.setWrapperField(this, 6, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Task} returns this
 */
proto.hashicorp.waypoint.Task.prototype.clearState = function() {
  return this.setState(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Task.prototype.hasState = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * optional State job_state = 7;
 * @return {!proto.hashicorp.waypoint.Task.State}
 */
proto.hashicorp.waypoint.Task.prototype.getJobState = function() {
  return /** @type {!proto.hashicorp.waypoint.Task.State} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Task.State} value
 * @return {!proto.hashicorp.waypoint.Task} returns this
 */
proto.hashicorp.waypoint.Task.prototype.setJobState = function(value) {
  return jspb.Message.setProto3EnumField(this, 7, value);
};


/**
 * optional string resource_name = 8;
 * @return {string}
 */
proto.hashicorp.waypoint.Task.prototype.getResourceName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Task} returns this
 */
proto.hashicorp.waypoint.Task.prototype.setResourceName = function(value) {
  return jspb.Message.setProto3StringField(this, 8, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertTaskRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertTaskRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertTaskRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertTaskRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    task: (f = msg.getTask()) && proto.hashicorp.waypoint.Task.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertTaskRequest}
 */
proto.hashicorp.waypoint.UpsertTaskRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertTaskRequest;
  return proto.hashicorp.waypoint.UpsertTaskRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertTaskRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertTaskRequest}
 */
proto.hashicorp.waypoint.UpsertTaskRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Task;
      reader.readMessage(value,proto.hashicorp.waypoint.Task.deserializeBinaryFromReader);
      msg.setTask(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertTaskRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertTaskRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertTaskRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertTaskRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTask();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Task.serializeBinaryToWriter
    );
  }
};


/**
 * optional Task task = 1;
 * @return {?proto.hashicorp.waypoint.Task}
 */
proto.hashicorp.waypoint.UpsertTaskRequest.prototype.getTask = function() {
  return /** @type{?proto.hashicorp.waypoint.Task} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Task, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Task|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertTaskRequest} returns this
*/
proto.hashicorp.waypoint.UpsertTaskRequest.prototype.setTask = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertTaskRequest} returns this
 */
proto.hashicorp.waypoint.UpsertTaskRequest.prototype.clearTask = function() {
  return this.setTask(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertTaskRequest.prototype.hasTask = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertTaskResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertTaskResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertTaskResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertTaskResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    task: (f = msg.getTask()) && proto.hashicorp.waypoint.Task.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertTaskResponse}
 */
proto.hashicorp.waypoint.UpsertTaskResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertTaskResponse;
  return proto.hashicorp.waypoint.UpsertTaskResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertTaskResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertTaskResponse}
 */
proto.hashicorp.waypoint.UpsertTaskResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Task;
      reader.readMessage(value,proto.hashicorp.waypoint.Task.deserializeBinaryFromReader);
      msg.setTask(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertTaskResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertTaskResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertTaskResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertTaskResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTask();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Task.serializeBinaryToWriter
    );
  }
};


/**
 * optional Task task = 1;
 * @return {?proto.hashicorp.waypoint.Task}
 */
proto.hashicorp.waypoint.UpsertTaskResponse.prototype.getTask = function() {
  return /** @type{?proto.hashicorp.waypoint.Task} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Task, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Task|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertTaskResponse} returns this
*/
proto.hashicorp.waypoint.UpsertTaskResponse.prototype.setTask = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertTaskResponse} returns this
 */
proto.hashicorp.waypoint.UpsertTaskResponse.prototype.clearTask = function() {
  return this.setTask(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertTaskResponse.prototype.hasTask = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetTaskRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetTaskRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetTaskRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetTaskRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    ref: (f = msg.getRef()) && proto.hashicorp.waypoint.Ref.Task.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetTaskRequest}
 */
proto.hashicorp.waypoint.GetTaskRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetTaskRequest;
  return proto.hashicorp.waypoint.GetTaskRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetTaskRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetTaskRequest}
 */
proto.hashicorp.waypoint.GetTaskRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Task;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Task.deserializeBinaryFromReader);
      msg.setRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetTaskRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetTaskRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetTaskRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetTaskRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Task.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Task ref = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Task}
 */
proto.hashicorp.waypoint.GetTaskRequest.prototype.getRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Task} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Task, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Task|undefined} value
 * @return {!proto.hashicorp.waypoint.GetTaskRequest} returns this
*/
proto.hashicorp.waypoint.GetTaskRequest.prototype.setRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetTaskRequest} returns this
 */
proto.hashicorp.waypoint.GetTaskRequest.prototype.clearRef = function() {
  return this.setRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetTaskRequest.prototype.hasRef = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetTaskResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetTaskResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetTaskResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    task: (f = msg.getTask()) && proto.hashicorp.waypoint.Task.toObject(includeInstance, f),
    taskJob: (f = msg.getTaskJob()) && proto.hashicorp.waypoint.Job.toObject(includeInstance, f),
    startJob: (f = msg.getStartJob()) && proto.hashicorp.waypoint.Job.toObject(includeInstance, f),
    stopJob: (f = msg.getStopJob()) && proto.hashicorp.waypoint.Job.toObject(includeInstance, f),
    watchJob: (f = msg.getWatchJob()) && proto.hashicorp.waypoint.Job.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetTaskResponse}
 */
proto.hashicorp.waypoint.GetTaskResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetTaskResponse;
  return proto.hashicorp.waypoint.GetTaskResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetTaskResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetTaskResponse}
 */
proto.hashicorp.waypoint.GetTaskResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Task;
      reader.readMessage(value,proto.hashicorp.waypoint.Task.deserializeBinaryFromReader);
      msg.setTask(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.deserializeBinaryFromReader);
      msg.setTaskJob(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.deserializeBinaryFromReader);
      msg.setStartJob(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.deserializeBinaryFromReader);
      msg.setStopJob(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.deserializeBinaryFromReader);
      msg.setWatchJob(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetTaskResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetTaskResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetTaskResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTask();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Task.serializeBinaryToWriter
    );
  }
  f = message.getTaskJob();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Job.serializeBinaryToWriter
    );
  }
  f = message.getStartJob();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Job.serializeBinaryToWriter
    );
  }
  f = message.getStopJob();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Job.serializeBinaryToWriter
    );
  }
  f = message.getWatchJob();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      proto.hashicorp.waypoint.Job.serializeBinaryToWriter
    );
  }
};


/**
 * optional Task task = 1;
 * @return {?proto.hashicorp.waypoint.Task}
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.getTask = function() {
  return /** @type{?proto.hashicorp.waypoint.Task} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Task, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Task|undefined} value
 * @return {!proto.hashicorp.waypoint.GetTaskResponse} returns this
*/
proto.hashicorp.waypoint.GetTaskResponse.prototype.setTask = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetTaskResponse} returns this
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.clearTask = function() {
  return this.setTask(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.hasTask = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Job task_job = 2;
 * @return {?proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.getTaskJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.GetTaskResponse} returns this
*/
proto.hashicorp.waypoint.GetTaskResponse.prototype.setTaskJob = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetTaskResponse} returns this
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.clearTaskJob = function() {
  return this.setTaskJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.hasTaskJob = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Job start_job = 3;
 * @return {?proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.getStartJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.GetTaskResponse} returns this
*/
proto.hashicorp.waypoint.GetTaskResponse.prototype.setStartJob = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetTaskResponse} returns this
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.clearStartJob = function() {
  return this.setStartJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.hasStartJob = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Job stop_job = 4;
 * @return {?proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.getStopJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.GetTaskResponse} returns this
*/
proto.hashicorp.waypoint.GetTaskResponse.prototype.setStopJob = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetTaskResponse} returns this
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.clearStopJob = function() {
  return this.setStopJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.hasStopJob = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional Job watch_job = 5;
 * @return {?proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.getWatchJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job, 5));
};


/**
 * @param {?proto.hashicorp.waypoint.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.GetTaskResponse} returns this
*/
proto.hashicorp.waypoint.GetTaskResponse.prototype.setWatchJob = function(value) {
  return jspb.Message.setWrapperField(this, 5, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetTaskResponse} returns this
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.clearWatchJob = function() {
  return this.setWatchJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetTaskResponse.prototype.hasWatchJob = function() {
  return jspb.Message.getField(this, 5) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.DeleteTaskRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.DeleteTaskRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.DeleteTaskRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeleteTaskRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    ref: (f = msg.getRef()) && proto.hashicorp.waypoint.Ref.Task.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.DeleteTaskRequest}
 */
proto.hashicorp.waypoint.DeleteTaskRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.DeleteTaskRequest;
  return proto.hashicorp.waypoint.DeleteTaskRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.DeleteTaskRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.DeleteTaskRequest}
 */
proto.hashicorp.waypoint.DeleteTaskRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Task;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Task.deserializeBinaryFromReader);
      msg.setRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.DeleteTaskRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.DeleteTaskRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.DeleteTaskRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeleteTaskRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Task.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Task ref = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Task}
 */
proto.hashicorp.waypoint.DeleteTaskRequest.prototype.getRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Task} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Task, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Task|undefined} value
 * @return {!proto.hashicorp.waypoint.DeleteTaskRequest} returns this
*/
proto.hashicorp.waypoint.DeleteTaskRequest.prototype.setRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.DeleteTaskRequest} returns this
 */
proto.hashicorp.waypoint.DeleteTaskRequest.prototype.clearRef = function() {
  return this.setRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.DeleteTaskRequest.prototype.hasRef = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListTaskRequest.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListTaskRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListTaskRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListTaskRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListTaskRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    taskstateList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListTaskRequest}
 */
proto.hashicorp.waypoint.ListTaskRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListTaskRequest;
  return proto.hashicorp.waypoint.ListTaskRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListTaskRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListTaskRequest}
 */
proto.hashicorp.waypoint.ListTaskRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var values = /** @type {!Array<!proto.hashicorp.waypoint.Task.State>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
      for (var i = 0; i < values.length; i++) {
        msg.addTaskstate(values[i]);
      }
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListTaskRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListTaskRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListTaskRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListTaskRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTaskstateList();
  if (f.length > 0) {
    writer.writePackedEnum(
      1,
      f
    );
  }
};


/**
 * repeated Task.State taskState = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Task.State>}
 */
proto.hashicorp.waypoint.ListTaskRequest.prototype.getTaskstateList = function() {
  return /** @type {!Array<!proto.hashicorp.waypoint.Task.State>} */ (jspb.Message.getRepeatedField(this, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Task.State>} value
 * @return {!proto.hashicorp.waypoint.ListTaskRequest} returns this
 */
proto.hashicorp.waypoint.ListTaskRequest.prototype.setTaskstateList = function(value) {
  return jspb.Message.setField(this, 1, value || []);
};


/**
 * @param {!proto.hashicorp.waypoint.Task.State} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.ListTaskRequest} returns this
 */
proto.hashicorp.waypoint.ListTaskRequest.prototype.addTaskstate = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListTaskRequest} returns this
 */
proto.hashicorp.waypoint.ListTaskRequest.prototype.clearTaskstateList = function() {
  return this.setTaskstateList([]);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListTaskResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListTaskResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListTaskResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListTaskResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListTaskResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    tasksList: jspb.Message.toObjectList(msg.getTasksList(),
    proto.hashicorp.waypoint.GetTaskResponse.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListTaskResponse}
 */
proto.hashicorp.waypoint.ListTaskResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListTaskResponse;
  return proto.hashicorp.waypoint.ListTaskResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListTaskResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListTaskResponse}
 */
proto.hashicorp.waypoint.ListTaskResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.GetTaskResponse;
      reader.readMessage(value,proto.hashicorp.waypoint.GetTaskResponse.deserializeBinaryFromReader);
      msg.addTasks(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListTaskResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListTaskResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListTaskResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListTaskResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTasksList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.GetTaskResponse.serializeBinaryToWriter
    );
  }
};


/**
 * repeated GetTaskResponse tasks = 1;
 * @return {!Array<!proto.hashicorp.waypoint.GetTaskResponse>}
 */
proto.hashicorp.waypoint.ListTaskResponse.prototype.getTasksList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.GetTaskResponse>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.GetTaskResponse, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.GetTaskResponse>} value
 * @return {!proto.hashicorp.waypoint.ListTaskResponse} returns this
*/
proto.hashicorp.waypoint.ListTaskResponse.prototype.setTasksList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.GetTaskResponse=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.GetTaskResponse}
 */
proto.hashicorp.waypoint.ListTaskResponse.prototype.addTasks = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.GetTaskResponse, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListTaskResponse} returns this
 */
proto.hashicorp.waypoint.ListTaskResponse.prototype.clearTasksList = function() {
  return this.setTasksList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.CancelTaskRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.CancelTaskRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.CancelTaskRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CancelTaskRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    ref: (f = msg.getRef()) && proto.hashicorp.waypoint.Ref.Task.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.CancelTaskRequest}
 */
proto.hashicorp.waypoint.CancelTaskRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.CancelTaskRequest;
  return proto.hashicorp.waypoint.CancelTaskRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.CancelTaskRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.CancelTaskRequest}
 */
proto.hashicorp.waypoint.CancelTaskRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Task;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Task.deserializeBinaryFromReader);
      msg.setRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.CancelTaskRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.CancelTaskRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.CancelTaskRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CancelTaskRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Task.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Task ref = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Task}
 */
proto.hashicorp.waypoint.CancelTaskRequest.prototype.getRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Task} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Task, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Task|undefined} value
 * @return {!proto.hashicorp.waypoint.CancelTaskRequest} returns this
*/
proto.hashicorp.waypoint.CancelTaskRequest.prototype.setRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.CancelTaskRequest} returns this
 */
proto.hashicorp.waypoint.CancelTaskRequest.prototype.clearRef = function() {
  return this.setRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.CancelTaskRequest.prototype.hasRef = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ErrorDetail.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ErrorDetail.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ErrorDetail} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ErrorDetail.toObject = function(includeInstance, msg) {
  var f, obj = {
    key: jspb.Message.getFieldWithDefault(msg, 1, ""),
    value: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ErrorDetail}
 */
proto.hashicorp.waypoint.ErrorDetail.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ErrorDetail;
  return proto.hashicorp.waypoint.ErrorDetail.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ErrorDetail} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ErrorDetail}
 */
proto.hashicorp.waypoint.ErrorDetail.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setKey(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setValue(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ErrorDetail.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ErrorDetail.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ErrorDetail} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ErrorDetail.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getKey();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getValue();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional string key = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.ErrorDetail.prototype.getKey = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ErrorDetail} returns this
 */
proto.hashicorp.waypoint.ErrorDetail.prototype.setKey = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string value = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.ErrorDetail.prototype.getValue = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ErrorDetail} returns this
 */
proto.hashicorp.waypoint.ErrorDetail.prototype.setValue = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetUserRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetUserRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetUserRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetUserRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    user: (f = msg.getUser()) && proto.hashicorp.waypoint.Ref.User.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetUserRequest}
 */
proto.hashicorp.waypoint.GetUserRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetUserRequest;
  return proto.hashicorp.waypoint.GetUserRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetUserRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetUserRequest}
 */
proto.hashicorp.waypoint.GetUserRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.User;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.User.deserializeBinaryFromReader);
      msg.setUser(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetUserRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetUserRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetUserRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetUserRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getUser();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.User.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.User user = 1;
 * @return {?proto.hashicorp.waypoint.Ref.User}
 */
proto.hashicorp.waypoint.GetUserRequest.prototype.getUser = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.User} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.User, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.User|undefined} value
 * @return {!proto.hashicorp.waypoint.GetUserRequest} returns this
*/
proto.hashicorp.waypoint.GetUserRequest.prototype.setUser = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetUserRequest} returns this
 */
proto.hashicorp.waypoint.GetUserRequest.prototype.clearUser = function() {
  return this.setUser(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetUserRequest.prototype.hasUser = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetUserResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetUserResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetUserResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetUserResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    user: (f = msg.getUser()) && proto.hashicorp.waypoint.User.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetUserResponse}
 */
proto.hashicorp.waypoint.GetUserResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetUserResponse;
  return proto.hashicorp.waypoint.GetUserResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetUserResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetUserResponse}
 */
proto.hashicorp.waypoint.GetUserResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.User;
      reader.readMessage(value,proto.hashicorp.waypoint.User.deserializeBinaryFromReader);
      msg.setUser(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetUserResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetUserResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetUserResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetUserResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getUser();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.User.serializeBinaryToWriter
    );
  }
};


/**
 * optional User user = 1;
 * @return {?proto.hashicorp.waypoint.User}
 */
proto.hashicorp.waypoint.GetUserResponse.prototype.getUser = function() {
  return /** @type{?proto.hashicorp.waypoint.User} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.User, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.User|undefined} value
 * @return {!proto.hashicorp.waypoint.GetUserResponse} returns this
*/
proto.hashicorp.waypoint.GetUserResponse.prototype.setUser = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetUserResponse} returns this
 */
proto.hashicorp.waypoint.GetUserResponse.prototype.clearUser = function() {
  return this.setUser(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetUserResponse.prototype.hasUser = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListUsersResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListUsersResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListUsersResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListUsersResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListUsersResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    usersList: jspb.Message.toObjectList(msg.getUsersList(),
    proto.hashicorp.waypoint.User.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListUsersResponse}
 */
proto.hashicorp.waypoint.ListUsersResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListUsersResponse;
  return proto.hashicorp.waypoint.ListUsersResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListUsersResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListUsersResponse}
 */
proto.hashicorp.waypoint.ListUsersResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.User;
      reader.readMessage(value,proto.hashicorp.waypoint.User.deserializeBinaryFromReader);
      msg.addUsers(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListUsersResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListUsersResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListUsersResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListUsersResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getUsersList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.User.serializeBinaryToWriter
    );
  }
};


/**
 * repeated User users = 1;
 * @return {!Array<!proto.hashicorp.waypoint.User>}
 */
proto.hashicorp.waypoint.ListUsersResponse.prototype.getUsersList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.User>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.User, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.User>} value
 * @return {!proto.hashicorp.waypoint.ListUsersResponse} returns this
*/
proto.hashicorp.waypoint.ListUsersResponse.prototype.setUsersList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.User=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.User}
 */
proto.hashicorp.waypoint.ListUsersResponse.prototype.addUsers = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.User, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListUsersResponse} returns this
 */
proto.hashicorp.waypoint.ListUsersResponse.prototype.clearUsersList = function() {
  return this.setUsersList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpdateUserRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpdateUserRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpdateUserRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpdateUserRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    user: (f = msg.getUser()) && proto.hashicorp.waypoint.User.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpdateUserRequest}
 */
proto.hashicorp.waypoint.UpdateUserRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpdateUserRequest;
  return proto.hashicorp.waypoint.UpdateUserRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpdateUserRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpdateUserRequest}
 */
proto.hashicorp.waypoint.UpdateUserRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.User;
      reader.readMessage(value,proto.hashicorp.waypoint.User.deserializeBinaryFromReader);
      msg.setUser(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpdateUserRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpdateUserRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpdateUserRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpdateUserRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getUser();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.User.serializeBinaryToWriter
    );
  }
};


/**
 * optional User user = 1;
 * @return {?proto.hashicorp.waypoint.User}
 */
proto.hashicorp.waypoint.UpdateUserRequest.prototype.getUser = function() {
  return /** @type{?proto.hashicorp.waypoint.User} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.User, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.User|undefined} value
 * @return {!proto.hashicorp.waypoint.UpdateUserRequest} returns this
*/
proto.hashicorp.waypoint.UpdateUserRequest.prototype.setUser = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpdateUserRequest} returns this
 */
proto.hashicorp.waypoint.UpdateUserRequest.prototype.clearUser = function() {
  return this.setUser(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpdateUserRequest.prototype.hasUser = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpdateUserResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpdateUserResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpdateUserResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpdateUserResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    user: (f = msg.getUser()) && proto.hashicorp.waypoint.User.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpdateUserResponse}
 */
proto.hashicorp.waypoint.UpdateUserResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpdateUserResponse;
  return proto.hashicorp.waypoint.UpdateUserResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpdateUserResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpdateUserResponse}
 */
proto.hashicorp.waypoint.UpdateUserResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.User;
      reader.readMessage(value,proto.hashicorp.waypoint.User.deserializeBinaryFromReader);
      msg.setUser(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpdateUserResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpdateUserResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpdateUserResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpdateUserResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getUser();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.User.serializeBinaryToWriter
    );
  }
};


/**
 * optional User user = 1;
 * @return {?proto.hashicorp.waypoint.User}
 */
proto.hashicorp.waypoint.UpdateUserResponse.prototype.getUser = function() {
  return /** @type{?proto.hashicorp.waypoint.User} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.User, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.User|undefined} value
 * @return {!proto.hashicorp.waypoint.UpdateUserResponse} returns this
*/
proto.hashicorp.waypoint.UpdateUserResponse.prototype.setUser = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpdateUserResponse} returns this
 */
proto.hashicorp.waypoint.UpdateUserResponse.prototype.clearUser = function() {
  return this.setUser(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpdateUserResponse.prototype.hasUser = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.DeleteUserRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.DeleteUserRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.DeleteUserRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeleteUserRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    user: (f = msg.getUser()) && proto.hashicorp.waypoint.Ref.User.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.DeleteUserRequest}
 */
proto.hashicorp.waypoint.DeleteUserRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.DeleteUserRequest;
  return proto.hashicorp.waypoint.DeleteUserRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.DeleteUserRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.DeleteUserRequest}
 */
proto.hashicorp.waypoint.DeleteUserRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.User;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.User.deserializeBinaryFromReader);
      msg.setUser(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.DeleteUserRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.DeleteUserRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.DeleteUserRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeleteUserRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getUser();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.User.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.User user = 1;
 * @return {?proto.hashicorp.waypoint.Ref.User}
 */
proto.hashicorp.waypoint.DeleteUserRequest.prototype.getUser = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.User} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.User, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.User|undefined} value
 * @return {!proto.hashicorp.waypoint.DeleteUserRequest} returns this
*/
proto.hashicorp.waypoint.DeleteUserRequest.prototype.setUser = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.DeleteUserRequest} returns this
 */
proto.hashicorp.waypoint.DeleteUserRequest.prototype.clearUser = function() {
  return this.setUser(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.DeleteUserRequest.prototype.hasUser = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.AuthMethod.oneofGroups_ = [[20]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.AuthMethod.MethodCase = {
  METHOD_NOT_SET: 0,
  OIDC: 20
};

/**
 * @return {proto.hashicorp.waypoint.AuthMethod.MethodCase}
 */
proto.hashicorp.waypoint.AuthMethod.prototype.getMethodCase = function() {
  return /** @type {proto.hashicorp.waypoint.AuthMethod.MethodCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.AuthMethod.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.AuthMethod.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.AuthMethod.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.AuthMethod} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.AuthMethod.toObject = function(includeInstance, msg) {
  var f, obj = {
    name: jspb.Message.getFieldWithDefault(msg, 1, ""),
    displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
    description: jspb.Message.getFieldWithDefault(msg, 3, ""),
    accessSelector: jspb.Message.getFieldWithDefault(msg, 4, ""),
    oidc: (f = msg.getOidc()) && proto.hashicorp.waypoint.AuthMethod.OIDC.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.AuthMethod}
 */
proto.hashicorp.waypoint.AuthMethod.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.AuthMethod;
  return proto.hashicorp.waypoint.AuthMethod.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.AuthMethod} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.AuthMethod}
 */
proto.hashicorp.waypoint.AuthMethod.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setDisplayName(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setDescription(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setAccessSelector(value);
      break;
    case 20:
      var value = new proto.hashicorp.waypoint.AuthMethod.OIDC;
      reader.readMessage(value,proto.hashicorp.waypoint.AuthMethod.OIDC.deserializeBinaryFromReader);
      msg.setOidc(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.AuthMethod.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.AuthMethod.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.AuthMethod} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.AuthMethod.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getDisplayName();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getDescription();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getAccessSelector();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getOidc();
  if (f != null) {
    writer.writeMessage(
      20,
      f,
      proto.hashicorp.waypoint.AuthMethod.OIDC.serializeBinaryToWriter
    );
  }
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.repeatedFields_ = [3,4,5,11,7];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.AuthMethod.OIDC.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.AuthMethod.OIDC} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.toObject = function(includeInstance, msg) {
  var f, obj = {
    clientId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    clientSecret: jspb.Message.getFieldWithDefault(msg, 2, ""),
    scopesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
    audsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
    allowedRedirectUrisList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
    signingAlgsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
    discoveryUrl: jspb.Message.getFieldWithDefault(msg, 6, ""),
    discoveryCaPemList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
    claimMappingsMap: (f = msg.getClaimMappingsMap()) ? f.toObject(includeInstance, undefined) : [],
    listClaimMappingsMap: (f = msg.getListClaimMappingsMap()) ? f.toObject(includeInstance, undefined) : []
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC}
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.AuthMethod.OIDC;
  return proto.hashicorp.waypoint.AuthMethod.OIDC.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.AuthMethod.OIDC} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC}
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setClientId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setClientSecret(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.addScopes(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.addAuds(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.addAllowedRedirectUris(value);
      break;
    case 11:
      var value = /** @type {string} */ (reader.readString());
      msg.addSigningAlgs(value);
      break;
    case 6:
      var value = /** @type {string} */ (reader.readString());
      msg.setDiscoveryUrl(value);
      break;
    case 7:
      var value = /** @type {string} */ (reader.readString());
      msg.addDiscoveryCaPem(value);
      break;
    case 8:
      var value = msg.getClaimMappingsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    case 9:
      var value = msg.getListClaimMappingsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.AuthMethod.OIDC.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.AuthMethod.OIDC} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getClientId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getClientSecret();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getScopesList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      3,
      f
    );
  }
  f = message.getAudsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      4,
      f
    );
  }
  f = message.getAllowedRedirectUrisList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      5,
      f
    );
  }
  f = message.getSigningAlgsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      11,
      f
    );
  }
  f = message.getDiscoveryUrl();
  if (f.length > 0) {
    writer.writeString(
      6,
      f
    );
  }
  f = message.getDiscoveryCaPemList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      7,
      f
    );
  }
  f = message.getClaimMappingsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(8, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
  f = message.getListClaimMappingsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
};


/**
 * optional string client_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.getClientId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.setClientId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string client_secret = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.getClientSecret = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.setClientSecret = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * repeated string scopes = 3;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.getScopesList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.setScopesList = function(value) {
  return jspb.Message.setField(this, 3, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.addScopes = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.clearScopesList = function() {
  return this.setScopesList([]);
};


/**
 * repeated string auds = 4;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.getAudsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.setAudsList = function(value) {
  return jspb.Message.setField(this, 4, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.addAuds = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.clearAudsList = function() {
  return this.setAudsList([]);
};


/**
 * repeated string allowed_redirect_uris = 5;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.getAllowedRedirectUrisList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.setAllowedRedirectUrisList = function(value) {
  return jspb.Message.setField(this, 5, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.addAllowedRedirectUris = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.clearAllowedRedirectUrisList = function() {
  return this.setAllowedRedirectUrisList([]);
};


/**
 * repeated string signing_algs = 11;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.getSigningAlgsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.setSigningAlgsList = function(value) {
  return jspb.Message.setField(this, 11, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.addSigningAlgs = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.clearSigningAlgsList = function() {
  return this.setSigningAlgsList([]);
};


/**
 * optional string discovery_url = 6;
 * @return {string}
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.getDiscoveryUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.setDiscoveryUrl = function(value) {
  return jspb.Message.setProto3StringField(this, 6, value);
};


/**
 * repeated string discovery_ca_pem = 7;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.getDiscoveryCaPemList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.setDiscoveryCaPemList = function(value) {
  return jspb.Message.setField(this, 7, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.addDiscoveryCaPem = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.clearDiscoveryCaPemList = function() {
  return this.setDiscoveryCaPemList([]);
};


/**
 * map<string, string> claim_mappings = 8;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.getClaimMappingsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 8, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.clearClaimMappingsMap = function() {
  this.getClaimMappingsMap().clear();
  return this;};


/**
 * map<string, string> list_claim_mappings = 9;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.getListClaimMappingsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 9, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.AuthMethod.OIDC} returns this
 */
proto.hashicorp.waypoint.AuthMethod.OIDC.prototype.clearListClaimMappingsMap = function() {
  this.getListClaimMappingsMap().clear();
  return this;};


/**
 * optional string name = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.AuthMethod.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.AuthMethod} returns this
 */
proto.hashicorp.waypoint.AuthMethod.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string display_name = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.AuthMethod.prototype.getDisplayName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.AuthMethod} returns this
 */
proto.hashicorp.waypoint.AuthMethod.prototype.setDisplayName = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string description = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.AuthMethod.prototype.getDescription = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.AuthMethod} returns this
 */
proto.hashicorp.waypoint.AuthMethod.prototype.setDescription = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string access_selector = 4;
 * @return {string}
 */
proto.hashicorp.waypoint.AuthMethod.prototype.getAccessSelector = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.AuthMethod} returns this
 */
proto.hashicorp.waypoint.AuthMethod.prototype.setAccessSelector = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional OIDC oidc = 20;
 * @return {?proto.hashicorp.waypoint.AuthMethod.OIDC}
 */
proto.hashicorp.waypoint.AuthMethod.prototype.getOidc = function() {
  return /** @type{?proto.hashicorp.waypoint.AuthMethod.OIDC} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.AuthMethod.OIDC, 20));
};


/**
 * @param {?proto.hashicorp.waypoint.AuthMethod.OIDC|undefined} value
 * @return {!proto.hashicorp.waypoint.AuthMethod} returns this
*/
proto.hashicorp.waypoint.AuthMethod.prototype.setOidc = function(value) {
  return jspb.Message.setOneofWrapperField(this, 20, proto.hashicorp.waypoint.AuthMethod.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.AuthMethod} returns this
 */
proto.hashicorp.waypoint.AuthMethod.prototype.clearOidc = function() {
  return this.setOidc(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.AuthMethod.prototype.hasOidc = function() {
  return jspb.Message.getField(this, 20) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.OIDCAuthMethod.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.OIDCAuthMethod.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.OIDCAuthMethod} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.OIDCAuthMethod.toObject = function(includeInstance, msg) {
  var f, obj = {
    name: jspb.Message.getFieldWithDefault(msg, 1, ""),
    displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
    kind: jspb.Message.getFieldWithDefault(msg, 3, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.OIDCAuthMethod}
 */
proto.hashicorp.waypoint.OIDCAuthMethod.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.OIDCAuthMethod;
  return proto.hashicorp.waypoint.OIDCAuthMethod.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.OIDCAuthMethod} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.OIDCAuthMethod}
 */
proto.hashicorp.waypoint.OIDCAuthMethod.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setDisplayName(value);
      break;
    case 3:
      var value = /** @type {!proto.hashicorp.waypoint.OIDCAuthMethod.Kind} */ (reader.readEnum());
      msg.setKind(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.OIDCAuthMethod.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.OIDCAuthMethod.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.OIDCAuthMethod} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.OIDCAuthMethod.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getDisplayName();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getKind();
  if (f !== 0.0) {
    writer.writeEnum(
      3,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.OIDCAuthMethod.Kind = {
  UNKNOWN: 0,
  GITHUB: 1,
  GOOGLE: 2
};

/**
 * optional string name = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.OIDCAuthMethod.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.OIDCAuthMethod} returns this
 */
proto.hashicorp.waypoint.OIDCAuthMethod.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string display_name = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.OIDCAuthMethod.prototype.getDisplayName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.OIDCAuthMethod} returns this
 */
proto.hashicorp.waypoint.OIDCAuthMethod.prototype.setDisplayName = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional Kind kind = 3;
 * @return {!proto.hashicorp.waypoint.OIDCAuthMethod.Kind}
 */
proto.hashicorp.waypoint.OIDCAuthMethod.prototype.getKind = function() {
  return /** @type {!proto.hashicorp.waypoint.OIDCAuthMethod.Kind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.OIDCAuthMethod.Kind} value
 * @return {!proto.hashicorp.waypoint.OIDCAuthMethod} returns this
 */
proto.hashicorp.waypoint.OIDCAuthMethod.prototype.setKind = function(value) {
  return jspb.Message.setProto3EnumField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertAuthMethodRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertAuthMethodRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertAuthMethodRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertAuthMethodRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    authMethod: (f = msg.getAuthMethod()) && proto.hashicorp.waypoint.AuthMethod.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertAuthMethodRequest}
 */
proto.hashicorp.waypoint.UpsertAuthMethodRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertAuthMethodRequest;
  return proto.hashicorp.waypoint.UpsertAuthMethodRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertAuthMethodRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertAuthMethodRequest}
 */
proto.hashicorp.waypoint.UpsertAuthMethodRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.AuthMethod;
      reader.readMessage(value,proto.hashicorp.waypoint.AuthMethod.deserializeBinaryFromReader);
      msg.setAuthMethod(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertAuthMethodRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertAuthMethodRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertAuthMethodRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertAuthMethodRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAuthMethod();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.AuthMethod.serializeBinaryToWriter
    );
  }
};


/**
 * optional AuthMethod auth_method = 1;
 * @return {?proto.hashicorp.waypoint.AuthMethod}
 */
proto.hashicorp.waypoint.UpsertAuthMethodRequest.prototype.getAuthMethod = function() {
  return /** @type{?proto.hashicorp.waypoint.AuthMethod} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.AuthMethod, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.AuthMethod|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertAuthMethodRequest} returns this
*/
proto.hashicorp.waypoint.UpsertAuthMethodRequest.prototype.setAuthMethod = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertAuthMethodRequest} returns this
 */
proto.hashicorp.waypoint.UpsertAuthMethodRequest.prototype.clearAuthMethod = function() {
  return this.setAuthMethod(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertAuthMethodRequest.prototype.hasAuthMethod = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertAuthMethodResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertAuthMethodResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertAuthMethodResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertAuthMethodResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    authMethod: (f = msg.getAuthMethod()) && proto.hashicorp.waypoint.AuthMethod.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertAuthMethodResponse}
 */
proto.hashicorp.waypoint.UpsertAuthMethodResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertAuthMethodResponse;
  return proto.hashicorp.waypoint.UpsertAuthMethodResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertAuthMethodResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertAuthMethodResponse}
 */
proto.hashicorp.waypoint.UpsertAuthMethodResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.AuthMethod;
      reader.readMessage(value,proto.hashicorp.waypoint.AuthMethod.deserializeBinaryFromReader);
      msg.setAuthMethod(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertAuthMethodResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertAuthMethodResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertAuthMethodResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertAuthMethodResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAuthMethod();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.AuthMethod.serializeBinaryToWriter
    );
  }
};


/**
 * optional AuthMethod auth_method = 1;
 * @return {?proto.hashicorp.waypoint.AuthMethod}
 */
proto.hashicorp.waypoint.UpsertAuthMethodResponse.prototype.getAuthMethod = function() {
  return /** @type{?proto.hashicorp.waypoint.AuthMethod} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.AuthMethod, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.AuthMethod|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertAuthMethodResponse} returns this
*/
proto.hashicorp.waypoint.UpsertAuthMethodResponse.prototype.setAuthMethod = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertAuthMethodResponse} returns this
 */
proto.hashicorp.waypoint.UpsertAuthMethodResponse.prototype.clearAuthMethod = function() {
  return this.setAuthMethod(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertAuthMethodResponse.prototype.hasAuthMethod = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetAuthMethodRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetAuthMethodRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetAuthMethodRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetAuthMethodRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    authMethod: (f = msg.getAuthMethod()) && proto.hashicorp.waypoint.Ref.AuthMethod.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetAuthMethodRequest}
 */
proto.hashicorp.waypoint.GetAuthMethodRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetAuthMethodRequest;
  return proto.hashicorp.waypoint.GetAuthMethodRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetAuthMethodRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetAuthMethodRequest}
 */
proto.hashicorp.waypoint.GetAuthMethodRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.AuthMethod;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.AuthMethod.deserializeBinaryFromReader);
      msg.setAuthMethod(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetAuthMethodRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetAuthMethodRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetAuthMethodRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetAuthMethodRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAuthMethod();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.AuthMethod.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.AuthMethod auth_method = 1;
 * @return {?proto.hashicorp.waypoint.Ref.AuthMethod}
 */
proto.hashicorp.waypoint.GetAuthMethodRequest.prototype.getAuthMethod = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.AuthMethod} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.AuthMethod, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.AuthMethod|undefined} value
 * @return {!proto.hashicorp.waypoint.GetAuthMethodRequest} returns this
*/
proto.hashicorp.waypoint.GetAuthMethodRequest.prototype.setAuthMethod = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetAuthMethodRequest} returns this
 */
proto.hashicorp.waypoint.GetAuthMethodRequest.prototype.clearAuthMethod = function() {
  return this.setAuthMethod(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetAuthMethodRequest.prototype.hasAuthMethod = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetAuthMethodResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetAuthMethodResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetAuthMethodResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetAuthMethodResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    authMethod: (f = msg.getAuthMethod()) && proto.hashicorp.waypoint.AuthMethod.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetAuthMethodResponse}
 */
proto.hashicorp.waypoint.GetAuthMethodResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetAuthMethodResponse;
  return proto.hashicorp.waypoint.GetAuthMethodResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetAuthMethodResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetAuthMethodResponse}
 */
proto.hashicorp.waypoint.GetAuthMethodResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.AuthMethod;
      reader.readMessage(value,proto.hashicorp.waypoint.AuthMethod.deserializeBinaryFromReader);
      msg.setAuthMethod(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetAuthMethodResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetAuthMethodResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetAuthMethodResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetAuthMethodResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAuthMethod();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.AuthMethod.serializeBinaryToWriter
    );
  }
};


/**
 * optional AuthMethod auth_method = 1;
 * @return {?proto.hashicorp.waypoint.AuthMethod}
 */
proto.hashicorp.waypoint.GetAuthMethodResponse.prototype.getAuthMethod = function() {
  return /** @type{?proto.hashicorp.waypoint.AuthMethod} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.AuthMethod, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.AuthMethod|undefined} value
 * @return {!proto.hashicorp.waypoint.GetAuthMethodResponse} returns this
*/
proto.hashicorp.waypoint.GetAuthMethodResponse.prototype.setAuthMethod = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetAuthMethodResponse} returns this
 */
proto.hashicorp.waypoint.GetAuthMethodResponse.prototype.clearAuthMethod = function() {
  return this.setAuthMethod(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetAuthMethodResponse.prototype.hasAuthMethod = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.DeleteAuthMethodRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.DeleteAuthMethodRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.DeleteAuthMethodRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeleteAuthMethodRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    authMethod: (f = msg.getAuthMethod()) && proto.hashicorp.waypoint.Ref.AuthMethod.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.DeleteAuthMethodRequest}
 */
proto.hashicorp.waypoint.DeleteAuthMethodRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.DeleteAuthMethodRequest;
  return proto.hashicorp.waypoint.DeleteAuthMethodRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.DeleteAuthMethodRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.DeleteAuthMethodRequest}
 */
proto.hashicorp.waypoint.DeleteAuthMethodRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.AuthMethod;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.AuthMethod.deserializeBinaryFromReader);
      msg.setAuthMethod(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.DeleteAuthMethodRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.DeleteAuthMethodRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.DeleteAuthMethodRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeleteAuthMethodRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAuthMethod();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.AuthMethod.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.AuthMethod auth_method = 1;
 * @return {?proto.hashicorp.waypoint.Ref.AuthMethod}
 */
proto.hashicorp.waypoint.DeleteAuthMethodRequest.prototype.getAuthMethod = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.AuthMethod} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.AuthMethod, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.AuthMethod|undefined} value
 * @return {!proto.hashicorp.waypoint.DeleteAuthMethodRequest} returns this
*/
proto.hashicorp.waypoint.DeleteAuthMethodRequest.prototype.setAuthMethod = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.DeleteAuthMethodRequest} returns this
 */
proto.hashicorp.waypoint.DeleteAuthMethodRequest.prototype.clearAuthMethod = function() {
  return this.setAuthMethod(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.DeleteAuthMethodRequest.prototype.hasAuthMethod = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListAuthMethodsResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListAuthMethodsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListAuthMethodsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListAuthMethodsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListAuthMethodsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    authMethodsList: jspb.Message.toObjectList(msg.getAuthMethodsList(),
    proto.hashicorp.waypoint.AuthMethod.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListAuthMethodsResponse}
 */
proto.hashicorp.waypoint.ListAuthMethodsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListAuthMethodsResponse;
  return proto.hashicorp.waypoint.ListAuthMethodsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListAuthMethodsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListAuthMethodsResponse}
 */
proto.hashicorp.waypoint.ListAuthMethodsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.AuthMethod;
      reader.readMessage(value,proto.hashicorp.waypoint.AuthMethod.deserializeBinaryFromReader);
      msg.addAuthMethods(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListAuthMethodsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListAuthMethodsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListAuthMethodsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListAuthMethodsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAuthMethodsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.AuthMethod.serializeBinaryToWriter
    );
  }
};


/**
 * repeated AuthMethod auth_methods = 1;
 * @return {!Array<!proto.hashicorp.waypoint.AuthMethod>}
 */
proto.hashicorp.waypoint.ListAuthMethodsResponse.prototype.getAuthMethodsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.AuthMethod>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.AuthMethod, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.AuthMethod>} value
 * @return {!proto.hashicorp.waypoint.ListAuthMethodsResponse} returns this
*/
proto.hashicorp.waypoint.ListAuthMethodsResponse.prototype.setAuthMethodsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.AuthMethod=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.AuthMethod}
 */
proto.hashicorp.waypoint.ListAuthMethodsResponse.prototype.addAuthMethods = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.AuthMethod, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListAuthMethodsResponse} returns this
 */
proto.hashicorp.waypoint.ListAuthMethodsResponse.prototype.clearAuthMethodsList = function() {
  return this.setAuthMethodsList([]);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    authMethodsList: jspb.Message.toObjectList(msg.getAuthMethodsList(),
    proto.hashicorp.waypoint.OIDCAuthMethod.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse}
 */
proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse;
  return proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse}
 */
proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.OIDCAuthMethod;
      reader.readMessage(value,proto.hashicorp.waypoint.OIDCAuthMethod.deserializeBinaryFromReader);
      msg.addAuthMethods(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAuthMethodsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.OIDCAuthMethod.serializeBinaryToWriter
    );
  }
};


/**
 * repeated OIDCAuthMethod auth_methods = 1;
 * @return {!Array<!proto.hashicorp.waypoint.OIDCAuthMethod>}
 */
proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.prototype.getAuthMethodsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.OIDCAuthMethod>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.OIDCAuthMethod, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.OIDCAuthMethod>} value
 * @return {!proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse} returns this
*/
proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.prototype.setAuthMethodsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.OIDCAuthMethod=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.OIDCAuthMethod}
 */
proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.prototype.addAuthMethods = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.OIDCAuthMethod, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse} returns this
 */
proto.hashicorp.waypoint.ListOIDCAuthMethodsResponse.prototype.clearAuthMethodsList = function() {
  return this.setAuthMethodsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetOIDCAuthURLRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetOIDCAuthURLRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetOIDCAuthURLRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetOIDCAuthURLRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    authMethod: (f = msg.getAuthMethod()) && proto.hashicorp.waypoint.Ref.AuthMethod.toObject(includeInstance, f),
    redirectUri: jspb.Message.getFieldWithDefault(msg, 2, ""),
    nonce: jspb.Message.getFieldWithDefault(msg, 3, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetOIDCAuthURLRequest}
 */
proto.hashicorp.waypoint.GetOIDCAuthURLRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetOIDCAuthURLRequest;
  return proto.hashicorp.waypoint.GetOIDCAuthURLRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetOIDCAuthURLRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetOIDCAuthURLRequest}
 */
proto.hashicorp.waypoint.GetOIDCAuthURLRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.AuthMethod;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.AuthMethod.deserializeBinaryFromReader);
      msg.setAuthMethod(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setRedirectUri(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setNonce(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetOIDCAuthURLRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetOIDCAuthURLRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetOIDCAuthURLRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetOIDCAuthURLRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAuthMethod();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.AuthMethod.serializeBinaryToWriter
    );
  }
  f = message.getRedirectUri();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getNonce();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
};


/**
 * optional Ref.AuthMethod auth_method = 1;
 * @return {?proto.hashicorp.waypoint.Ref.AuthMethod}
 */
proto.hashicorp.waypoint.GetOIDCAuthURLRequest.prototype.getAuthMethod = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.AuthMethod} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.AuthMethod, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.AuthMethod|undefined} value
 * @return {!proto.hashicorp.waypoint.GetOIDCAuthURLRequest} returns this
*/
proto.hashicorp.waypoint.GetOIDCAuthURLRequest.prototype.setAuthMethod = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetOIDCAuthURLRequest} returns this
 */
proto.hashicorp.waypoint.GetOIDCAuthURLRequest.prototype.clearAuthMethod = function() {
  return this.setAuthMethod(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetOIDCAuthURLRequest.prototype.hasAuthMethod = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string redirect_uri = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.GetOIDCAuthURLRequest.prototype.getRedirectUri = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetOIDCAuthURLRequest} returns this
 */
proto.hashicorp.waypoint.GetOIDCAuthURLRequest.prototype.setRedirectUri = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string nonce = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.GetOIDCAuthURLRequest.prototype.getNonce = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetOIDCAuthURLRequest} returns this
 */
proto.hashicorp.waypoint.GetOIDCAuthURLRequest.prototype.setNonce = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetOIDCAuthURLResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetOIDCAuthURLResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetOIDCAuthURLResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetOIDCAuthURLResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    url: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetOIDCAuthURLResponse}
 */
proto.hashicorp.waypoint.GetOIDCAuthURLResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetOIDCAuthURLResponse;
  return proto.hashicorp.waypoint.GetOIDCAuthURLResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetOIDCAuthURLResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetOIDCAuthURLResponse}
 */
proto.hashicorp.waypoint.GetOIDCAuthURLResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setUrl(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetOIDCAuthURLResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetOIDCAuthURLResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetOIDCAuthURLResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetOIDCAuthURLResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getUrl();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string url = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.GetOIDCAuthURLResponse.prototype.getUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetOIDCAuthURLResponse} returns this
 */
proto.hashicorp.waypoint.GetOIDCAuthURLResponse.prototype.setUrl = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.CompleteOIDCAuthRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.CompleteOIDCAuthRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    authMethod: (f = msg.getAuthMethod()) && proto.hashicorp.waypoint.Ref.AuthMethod.toObject(includeInstance, f),
    redirectUri: jspb.Message.getFieldWithDefault(msg, 2, ""),
    state: jspb.Message.getFieldWithDefault(msg, 3, ""),
    nonce: jspb.Message.getFieldWithDefault(msg, 4, ""),
    code: jspb.Message.getFieldWithDefault(msg, 5, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthRequest}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.CompleteOIDCAuthRequest;
  return proto.hashicorp.waypoint.CompleteOIDCAuthRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.CompleteOIDCAuthRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthRequest}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.AuthMethod;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.AuthMethod.deserializeBinaryFromReader);
      msg.setAuthMethod(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setRedirectUri(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setState(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setNonce(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setCode(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.CompleteOIDCAuthRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.CompleteOIDCAuthRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAuthMethod();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.AuthMethod.serializeBinaryToWriter
    );
  }
  f = message.getRedirectUri();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getState();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getNonce();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getCode();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
};


/**
 * optional Ref.AuthMethod auth_method = 1;
 * @return {?proto.hashicorp.waypoint.Ref.AuthMethod}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.prototype.getAuthMethod = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.AuthMethod} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.AuthMethod, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.AuthMethod|undefined} value
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthRequest} returns this
*/
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.prototype.setAuthMethod = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthRequest} returns this
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.prototype.clearAuthMethod = function() {
  return this.setAuthMethod(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.prototype.hasAuthMethod = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string redirect_uri = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.prototype.getRedirectUri = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthRequest} returns this
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.prototype.setRedirectUri = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string state = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.prototype.getState = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthRequest} returns this
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.prototype.setState = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string nonce = 4;
 * @return {string}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.prototype.getNonce = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthRequest} returns this
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.prototype.setNonce = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional string code = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.prototype.getCode = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthRequest} returns this
 */
proto.hashicorp.waypoint.CompleteOIDCAuthRequest.prototype.setCode = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.CompleteOIDCAuthResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.CompleteOIDCAuthResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    token: jspb.Message.getFieldWithDefault(msg, 1, ""),
    user: (f = msg.getUser()) && proto.hashicorp.waypoint.User.toObject(includeInstance, f),
    idClaimsJson: jspb.Message.getFieldWithDefault(msg, 3, ""),
    userClaimsJson: jspb.Message.getFieldWithDefault(msg, 4, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthResponse}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.CompleteOIDCAuthResponse;
  return proto.hashicorp.waypoint.CompleteOIDCAuthResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.CompleteOIDCAuthResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthResponse}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setToken(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.User;
      reader.readMessage(value,proto.hashicorp.waypoint.User.deserializeBinaryFromReader);
      msg.setUser(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setIdClaimsJson(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setUserClaimsJson(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.CompleteOIDCAuthResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.CompleteOIDCAuthResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getToken();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getUser();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.User.serializeBinaryToWriter
    );
  }
  f = message.getIdClaimsJson();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getUserClaimsJson();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
};


/**
 * optional string token = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.prototype.getToken = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthResponse} returns this
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.prototype.setToken = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional User user = 2;
 * @return {?proto.hashicorp.waypoint.User}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.prototype.getUser = function() {
  return /** @type{?proto.hashicorp.waypoint.User} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.User, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.User|undefined} value
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthResponse} returns this
*/
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.prototype.setUser = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthResponse} returns this
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.prototype.clearUser = function() {
  return this.setUser(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.prototype.hasUser = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional string id_claims_json = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.prototype.getIdClaimsJson = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthResponse} returns this
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.prototype.setIdClaimsJson = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string user_claims_json = 4;
 * @return {string}
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.prototype.getUserClaimsJson = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.CompleteOIDCAuthResponse} returns this
 */
proto.hashicorp.waypoint.CompleteOIDCAuthResponse.prototype.setUserClaimsJson = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.QueueJobRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.QueueJobRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.QueueJobRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.QueueJobRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    job: (f = msg.getJob()) && proto.hashicorp.waypoint.Job.toObject(includeInstance, f),
    expiresIn: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.QueueJobRequest}
 */
proto.hashicorp.waypoint.QueueJobRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.QueueJobRequest;
  return proto.hashicorp.waypoint.QueueJobRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.QueueJobRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.QueueJobRequest}
 */
proto.hashicorp.waypoint.QueueJobRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.deserializeBinaryFromReader);
      msg.setJob(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setExpiresIn(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.QueueJobRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.QueueJobRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.QueueJobRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.QueueJobRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJob();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.serializeBinaryToWriter
    );
  }
  f = message.getExpiresIn();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional Job job = 1;
 * @return {?proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.QueueJobRequest.prototype.getJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.QueueJobRequest} returns this
*/
proto.hashicorp.waypoint.QueueJobRequest.prototype.setJob = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.QueueJobRequest} returns this
 */
proto.hashicorp.waypoint.QueueJobRequest.prototype.clearJob = function() {
  return this.setJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.QueueJobRequest.prototype.hasJob = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string expires_in = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.QueueJobRequest.prototype.getExpiresIn = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.QueueJobRequest} returns this
 */
proto.hashicorp.waypoint.QueueJobRequest.prototype.setExpiresIn = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.QueueJobResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.QueueJobResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.QueueJobResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.QueueJobResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    jobId: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.QueueJobResponse}
 */
proto.hashicorp.waypoint.QueueJobResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.QueueJobResponse;
  return proto.hashicorp.waypoint.QueueJobResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.QueueJobResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.QueueJobResponse}
 */
proto.hashicorp.waypoint.QueueJobResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setJobId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.QueueJobResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.QueueJobResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.QueueJobResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.QueueJobResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJobId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string job_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.QueueJobResponse.prototype.getJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.QueueJobResponse} returns this
 */
proto.hashicorp.waypoint.QueueJobResponse.prototype.setJobId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.CancelJobRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.CancelJobRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.CancelJobRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CancelJobRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    jobId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    force: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.CancelJobRequest}
 */
proto.hashicorp.waypoint.CancelJobRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.CancelJobRequest;
  return proto.hashicorp.waypoint.CancelJobRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.CancelJobRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.CancelJobRequest}
 */
proto.hashicorp.waypoint.CancelJobRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setJobId(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setForce(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.CancelJobRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.CancelJobRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.CancelJobRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CancelJobRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJobId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getForce();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
};


/**
 * optional string job_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.CancelJobRequest.prototype.getJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.CancelJobRequest} returns this
 */
proto.hashicorp.waypoint.CancelJobRequest.prototype.setJobId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional bool force = 2;
 * @return {boolean}
 */
proto.hashicorp.waypoint.CancelJobRequest.prototype.getForce = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.CancelJobRequest} returns this
 */
proto.hashicorp.waypoint.CancelJobRequest.prototype.setForce = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ValidateJobRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ValidateJobRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ValidateJobRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ValidateJobRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    job: (f = msg.getJob()) && proto.hashicorp.waypoint.Job.toObject(includeInstance, f),
    disableAssign: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ValidateJobRequest}
 */
proto.hashicorp.waypoint.ValidateJobRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ValidateJobRequest;
  return proto.hashicorp.waypoint.ValidateJobRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ValidateJobRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ValidateJobRequest}
 */
proto.hashicorp.waypoint.ValidateJobRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.deserializeBinaryFromReader);
      msg.setJob(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setDisableAssign(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ValidateJobRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ValidateJobRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ValidateJobRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ValidateJobRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJob();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.serializeBinaryToWriter
    );
  }
  f = message.getDisableAssign();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
};


/**
 * optional Job job = 1;
 * @return {?proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.ValidateJobRequest.prototype.getJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.ValidateJobRequest} returns this
*/
proto.hashicorp.waypoint.ValidateJobRequest.prototype.setJob = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ValidateJobRequest} returns this
 */
proto.hashicorp.waypoint.ValidateJobRequest.prototype.clearJob = function() {
  return this.setJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ValidateJobRequest.prototype.hasJob = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional bool disable_assign = 2;
 * @return {boolean}
 */
proto.hashicorp.waypoint.ValidateJobRequest.prototype.getDisableAssign = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.ValidateJobRequest} returns this
 */
proto.hashicorp.waypoint.ValidateJobRequest.prototype.setDisableAssign = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ValidateJobResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ValidateJobResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ValidateJobResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ValidateJobResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    valid: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
    validationError: (f = msg.getValidationError()) && google_rpc_status_pb.Status.toObject(includeInstance, f),
    assignable: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ValidateJobResponse}
 */
proto.hashicorp.waypoint.ValidateJobResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ValidateJobResponse;
  return proto.hashicorp.waypoint.ValidateJobResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ValidateJobResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ValidateJobResponse}
 */
proto.hashicorp.waypoint.ValidateJobResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setValid(value);
      break;
    case 2:
      var value = new google_rpc_status_pb.Status;
      reader.readMessage(value,google_rpc_status_pb.Status.deserializeBinaryFromReader);
      msg.setValidationError(value);
      break;
    case 3:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setAssignable(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ValidateJobResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ValidateJobResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ValidateJobResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ValidateJobResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getValid();
  if (f) {
    writer.writeBool(
      1,
      f
    );
  }
  f = message.getValidationError();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      google_rpc_status_pb.Status.serializeBinaryToWriter
    );
  }
  f = message.getAssignable();
  if (f) {
    writer.writeBool(
      3,
      f
    );
  }
};


/**
 * optional bool valid = 1;
 * @return {boolean}
 */
proto.hashicorp.waypoint.ValidateJobResponse.prototype.getValid = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.ValidateJobResponse} returns this
 */
proto.hashicorp.waypoint.ValidateJobResponse.prototype.setValid = function(value) {
  return jspb.Message.setProto3BooleanField(this, 1, value);
};


/**
 * optional google.rpc.Status validation_error = 2;
 * @return {?proto.google.rpc.Status}
 */
proto.hashicorp.waypoint.ValidateJobResponse.prototype.getValidationError = function() {
  return /** @type{?proto.google.rpc.Status} */ (
    jspb.Message.getWrapperField(this, google_rpc_status_pb.Status, 2));
};


/**
 * @param {?proto.google.rpc.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.ValidateJobResponse} returns this
*/
proto.hashicorp.waypoint.ValidateJobResponse.prototype.setValidationError = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ValidateJobResponse} returns this
 */
proto.hashicorp.waypoint.ValidateJobResponse.prototype.clearValidationError = function() {
  return this.setValidationError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ValidateJobResponse.prototype.hasValidationError = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional bool assignable = 3;
 * @return {boolean}
 */
proto.hashicorp.waypoint.ValidateJobResponse.prototype.getAssignable = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.ValidateJobResponse} returns this
 */
proto.hashicorp.waypoint.ValidateJobResponse.prototype.setAssignable = function(value) {
  return jspb.Message.setProto3BooleanField(this, 3, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.Job.repeatedFields_ = [10,11,9];

/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Job.oneofGroups_ = [[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Job.OperationCase = {
  OPERATION_NOT_SET: 0,
  NOOP: 50,
  BUILD: 51,
  PUSH: 52,
  DEPLOY: 53,
  DESTROY: 54,
  RELEASE: 55,
  VALIDATE: 56,
  AUTH: 57,
  DOCS: 58,
  CONFIG_SYNC: 59,
  EXEC: 60,
  UP: 61,
  LOGS: 62,
  QUEUE_PROJECT: 63,
  POLL: 64,
  STATUS_REPORT: 65,
  START_TASK: 66,
  STOP_TASK: 67,
  INIT: 68,
  WATCH_TASK: 69,
  PIPELINE_STEP: 70
};

/**
 * @return {proto.hashicorp.waypoint.Job.OperationCase}
 */
proto.hashicorp.waypoint.Job.prototype.getOperationCase = function() {
  return /** @type {proto.hashicorp.waypoint.Job.OperationCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Job.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    singletonId: jspb.Message.getFieldWithDefault(msg, 8, ""),
    dependsOnList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
    dependsOnAllowFailureList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    targetRunner: (f = msg.getTargetRunner()) && proto.hashicorp.waypoint.Ref.Runner.toObject(includeInstance, f),
    ondemandRunner: (f = msg.getOndemandRunner()) && proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.toObject(includeInstance, f),
    ondemandRunnerTask: (f = msg.getOndemandRunnerTask()) && proto.hashicorp.waypoint.Job.TaskOverride.toObject(includeInstance, f),
    labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [],
    dataSource: (f = msg.getDataSource()) && proto.hashicorp.waypoint.Job.DataSource.toObject(includeInstance, f),
    dataSourceOverridesMap: (f = msg.getDataSourceOverridesMap()) ? f.toObject(includeInstance, undefined) : [],
    waypointHcl: (f = msg.getWaypointHcl()) && proto.hashicorp.waypoint.Hcl.toObject(includeInstance, f),
    variablesList: jspb.Message.toObjectList(msg.getVariablesList(),
    proto.hashicorp.waypoint.Variable.toObject, includeInstance),
    noop: (f = msg.getNoop()) && proto.hashicorp.waypoint.Job.Noop.toObject(includeInstance, f),
    build: (f = msg.getBuild()) && proto.hashicorp.waypoint.Job.BuildOp.toObject(includeInstance, f),
    push: (f = msg.getPush()) && proto.hashicorp.waypoint.Job.PushOp.toObject(includeInstance, f),
    deploy: (f = msg.getDeploy()) && proto.hashicorp.waypoint.Job.DeployOp.toObject(includeInstance, f),
    destroy: (f = msg.getDestroy()) && proto.hashicorp.waypoint.Job.DestroyOp.toObject(includeInstance, f),
    release: (f = msg.getRelease()) && proto.hashicorp.waypoint.Job.ReleaseOp.toObject(includeInstance, f),
    validate: (f = msg.getValidate()) && proto.hashicorp.waypoint.Job.ValidateOp.toObject(includeInstance, f),
    auth: (f = msg.getAuth()) && proto.hashicorp.waypoint.Job.AuthOp.toObject(includeInstance, f),
    docs: (f = msg.getDocs()) && proto.hashicorp.waypoint.Job.DocsOp.toObject(includeInstance, f),
    configSync: (f = msg.getConfigSync()) && proto.hashicorp.waypoint.Job.ConfigSyncOp.toObject(includeInstance, f),
    exec: (f = msg.getExec()) && proto.hashicorp.waypoint.Job.ExecOp.toObject(includeInstance, f),
    up: (f = msg.getUp()) && proto.hashicorp.waypoint.Job.UpOp.toObject(includeInstance, f),
    logs: (f = msg.getLogs()) && proto.hashicorp.waypoint.Job.LogsOp.toObject(includeInstance, f),
    queueProject: (f = msg.getQueueProject()) && proto.hashicorp.waypoint.Job.QueueProjectOp.toObject(includeInstance, f),
    poll: (f = msg.getPoll()) && proto.hashicorp.waypoint.Job.PollOp.toObject(includeInstance, f),
    statusReport: (f = msg.getStatusReport()) && proto.hashicorp.waypoint.Job.StatusReportOp.toObject(includeInstance, f),
    startTask: (f = msg.getStartTask()) && proto.hashicorp.waypoint.Job.StartTaskLaunchOp.toObject(includeInstance, f),
    stopTask: (f = msg.getStopTask()) && proto.hashicorp.waypoint.Job.StopTaskLaunchOp.toObject(includeInstance, f),
    init: (f = msg.getInit()) && proto.hashicorp.waypoint.Job.InitOp.toObject(includeInstance, f),
    watchTask: (f = msg.getWatchTask()) && proto.hashicorp.waypoint.Job.WatchTaskOp.toObject(includeInstance, f),
    pipelineStep: (f = msg.getPipelineStep()) && proto.hashicorp.waypoint.Job.PipelineStepOp.toObject(includeInstance, f),
    state: jspb.Message.getFieldWithDefault(msg, 100, 0),
    assignedRunner: (f = msg.getAssignedRunner()) && proto.hashicorp.waypoint.Ref.RunnerId.toObject(includeInstance, f),
    queueTime: (f = msg.getQueueTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    assignTime: (f = msg.getAssignTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    ackTime: (f = msg.getAckTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    completeTime: (f = msg.getCompleteTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    dataSourceRef: (f = msg.getDataSourceRef()) && proto.hashicorp.waypoint.Job.DataSource.Ref.toObject(includeInstance, f),
    variableFinalValuesMap: (f = msg.getVariableFinalValuesMap()) ? f.toObject(includeInstance, proto.hashicorp.waypoint.Variable.FinalValue.toObject) : [],
    config: (f = msg.getConfig()) && proto.hashicorp.waypoint.Job.Config.toObject(includeInstance, f),
    error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f),
    result: (f = msg.getResult()) && proto.hashicorp.waypoint.Job.Result.toObject(includeInstance, f),
    cancelTime: (f = msg.getCancelTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    expireTime: (f = msg.getExpireTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    task: (f = msg.getTask()) && proto.hashicorp.waypoint.Ref.Task.toObject(includeInstance, f),
    pipeline: (f = msg.getPipeline()) && proto.hashicorp.waypoint.Ref.PipelineStep.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.Job.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job;
  return proto.hashicorp.waypoint.Job.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.Job.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 8:
      var value = /** @type {string} */ (reader.readString());
      msg.setSingletonId(value);
      break;
    case 10:
      var value = /** @type {string} */ (reader.readString());
      msg.addDependsOn(value);
      break;
    case 11:
      var value = /** @type {string} */ (reader.readString());
      msg.addDependsOnAllowFailure(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Ref.Runner;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Runner.deserializeBinaryFromReader);
      msg.setTargetRunner(value);
      break;
    case 112:
      var value = new proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.deserializeBinaryFromReader);
      msg.setOndemandRunner(value);
      break;
    case 115:
      var value = new proto.hashicorp.waypoint.Job.TaskOverride;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.TaskOverride.deserializeBinaryFromReader);
      msg.setOndemandRunnerTask(value);
      break;
    case 5:
      var value = msg.getLabelsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    case 6:
      var value = new proto.hashicorp.waypoint.Job.DataSource;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DataSource.deserializeBinaryFromReader);
      msg.setDataSource(value);
      break;
    case 7:
      var value = msg.getDataSourceOverridesMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    case 12:
      var value = new proto.hashicorp.waypoint.Hcl;
      reader.readMessage(value,proto.hashicorp.waypoint.Hcl.deserializeBinaryFromReader);
      msg.setWaypointHcl(value);
      break;
    case 9:
      var value = new proto.hashicorp.waypoint.Variable;
      reader.readMessage(value,proto.hashicorp.waypoint.Variable.deserializeBinaryFromReader);
      msg.addVariables(value);
      break;
    case 50:
      var value = new proto.hashicorp.waypoint.Job.Noop;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.Noop.deserializeBinaryFromReader);
      msg.setNoop(value);
      break;
    case 51:
      var value = new proto.hashicorp.waypoint.Job.BuildOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.BuildOp.deserializeBinaryFromReader);
      msg.setBuild(value);
      break;
    case 52:
      var value = new proto.hashicorp.waypoint.Job.PushOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.PushOp.deserializeBinaryFromReader);
      msg.setPush(value);
      break;
    case 53:
      var value = new proto.hashicorp.waypoint.Job.DeployOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DeployOp.deserializeBinaryFromReader);
      msg.setDeploy(value);
      break;
    case 54:
      var value = new proto.hashicorp.waypoint.Job.DestroyOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DestroyOp.deserializeBinaryFromReader);
      msg.setDestroy(value);
      break;
    case 55:
      var value = new proto.hashicorp.waypoint.Job.ReleaseOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.ReleaseOp.deserializeBinaryFromReader);
      msg.setRelease(value);
      break;
    case 56:
      var value = new proto.hashicorp.waypoint.Job.ValidateOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.ValidateOp.deserializeBinaryFromReader);
      msg.setValidate(value);
      break;
    case 57:
      var value = new proto.hashicorp.waypoint.Job.AuthOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.AuthOp.deserializeBinaryFromReader);
      msg.setAuth(value);
      break;
    case 58:
      var value = new proto.hashicorp.waypoint.Job.DocsOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DocsOp.deserializeBinaryFromReader);
      msg.setDocs(value);
      break;
    case 59:
      var value = new proto.hashicorp.waypoint.Job.ConfigSyncOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.ConfigSyncOp.deserializeBinaryFromReader);
      msg.setConfigSync(value);
      break;
    case 60:
      var value = new proto.hashicorp.waypoint.Job.ExecOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.ExecOp.deserializeBinaryFromReader);
      msg.setExec(value);
      break;
    case 61:
      var value = new proto.hashicorp.waypoint.Job.UpOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.UpOp.deserializeBinaryFromReader);
      msg.setUp(value);
      break;
    case 62:
      var value = new proto.hashicorp.waypoint.Job.LogsOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.LogsOp.deserializeBinaryFromReader);
      msg.setLogs(value);
      break;
    case 63:
      var value = new proto.hashicorp.waypoint.Job.QueueProjectOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.QueueProjectOp.deserializeBinaryFromReader);
      msg.setQueueProject(value);
      break;
    case 64:
      var value = new proto.hashicorp.waypoint.Job.PollOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.PollOp.deserializeBinaryFromReader);
      msg.setPoll(value);
      break;
    case 65:
      var value = new proto.hashicorp.waypoint.Job.StatusReportOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.StatusReportOp.deserializeBinaryFromReader);
      msg.setStatusReport(value);
      break;
    case 66:
      var value = new proto.hashicorp.waypoint.Job.StartTaskLaunchOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.StartTaskLaunchOp.deserializeBinaryFromReader);
      msg.setStartTask(value);
      break;
    case 67:
      var value = new proto.hashicorp.waypoint.Job.StopTaskLaunchOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.StopTaskLaunchOp.deserializeBinaryFromReader);
      msg.setStopTask(value);
      break;
    case 68:
      var value = new proto.hashicorp.waypoint.Job.InitOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.InitOp.deserializeBinaryFromReader);
      msg.setInit(value);
      break;
    case 69:
      var value = new proto.hashicorp.waypoint.Job.WatchTaskOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.WatchTaskOp.deserializeBinaryFromReader);
      msg.setWatchTask(value);
      break;
    case 70:
      var value = new proto.hashicorp.waypoint.Job.PipelineStepOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.PipelineStepOp.deserializeBinaryFromReader);
      msg.setPipelineStep(value);
      break;
    case 100:
      var value = /** @type {!proto.hashicorp.waypoint.Job.State} */ (reader.readEnum());
      msg.setState(value);
      break;
    case 101:
      var value = new proto.hashicorp.waypoint.Ref.RunnerId;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.RunnerId.deserializeBinaryFromReader);
      msg.setAssignedRunner(value);
      break;
    case 102:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setQueueTime(value);
      break;
    case 103:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setAssignTime(value);
      break;
    case 104:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setAckTime(value);
      break;
    case 105:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setCompleteTime(value);
      break;
    case 110:
      var value = new proto.hashicorp.waypoint.Job.DataSource.Ref;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DataSource.Ref.deserializeBinaryFromReader);
      msg.setDataSourceRef(value);
      break;
    case 113:
      var value = msg.getVariableFinalValuesMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.hashicorp.waypoint.Variable.FinalValue.deserializeBinaryFromReader, "", new proto.hashicorp.waypoint.Variable.FinalValue());
         });
      break;
    case 111:
      var value = new proto.hashicorp.waypoint.Job.Config;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.Config.deserializeBinaryFromReader);
      msg.setConfig(value);
      break;
    case 106:
      var value = new google_rpc_status_pb.Status;
      reader.readMessage(value,google_rpc_status_pb.Status.deserializeBinaryFromReader);
      msg.setError(value);
      break;
    case 107:
      var value = new proto.hashicorp.waypoint.Job.Result;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.Result.deserializeBinaryFromReader);
      msg.setResult(value);
      break;
    case 108:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setCancelTime(value);
      break;
    case 109:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setExpireTime(value);
      break;
    case 114:
      var value = new proto.hashicorp.waypoint.Ref.Task;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Task.deserializeBinaryFromReader);
      msg.setTask(value);
      break;
    case 117:
      var value = new proto.hashicorp.waypoint.Ref.PipelineStep;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.PipelineStep.deserializeBinaryFromReader);
      msg.setPipeline(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getSingletonId();
  if (f.length > 0) {
    writer.writeString(
      8,
      f
    );
  }
  f = message.getDependsOnList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      10,
      f
    );
  }
  f = message.getDependsOnAllowFailureList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      11,
      f
    );
  }
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getTargetRunner();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Ref.Runner.serializeBinaryToWriter
    );
  }
  f = message.getOndemandRunner();
  if (f != null) {
    writer.writeMessage(
      112,
      f,
      proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.serializeBinaryToWriter
    );
  }
  f = message.getOndemandRunnerTask();
  if (f != null) {
    writer.writeMessage(
      115,
      f,
      proto.hashicorp.waypoint.Job.TaskOverride.serializeBinaryToWriter
    );
  }
  f = message.getLabelsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
  f = message.getDataSource();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      proto.hashicorp.waypoint.Job.DataSource.serializeBinaryToWriter
    );
  }
  f = message.getDataSourceOverridesMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
  f = message.getWaypointHcl();
  if (f != null) {
    writer.writeMessage(
      12,
      f,
      proto.hashicorp.waypoint.Hcl.serializeBinaryToWriter
    );
  }
  f = message.getVariablesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      9,
      f,
      proto.hashicorp.waypoint.Variable.serializeBinaryToWriter
    );
  }
  f = message.getNoop();
  if (f != null) {
    writer.writeMessage(
      50,
      f,
      proto.hashicorp.waypoint.Job.Noop.serializeBinaryToWriter
    );
  }
  f = message.getBuild();
  if (f != null) {
    writer.writeMessage(
      51,
      f,
      proto.hashicorp.waypoint.Job.BuildOp.serializeBinaryToWriter
    );
  }
  f = message.getPush();
  if (f != null) {
    writer.writeMessage(
      52,
      f,
      proto.hashicorp.waypoint.Job.PushOp.serializeBinaryToWriter
    );
  }
  f = message.getDeploy();
  if (f != null) {
    writer.writeMessage(
      53,
      f,
      proto.hashicorp.waypoint.Job.DeployOp.serializeBinaryToWriter
    );
  }
  f = message.getDestroy();
  if (f != null) {
    writer.writeMessage(
      54,
      f,
      proto.hashicorp.waypoint.Job.DestroyOp.serializeBinaryToWriter
    );
  }
  f = message.getRelease();
  if (f != null) {
    writer.writeMessage(
      55,
      f,
      proto.hashicorp.waypoint.Job.ReleaseOp.serializeBinaryToWriter
    );
  }
  f = message.getValidate();
  if (f != null) {
    writer.writeMessage(
      56,
      f,
      proto.hashicorp.waypoint.Job.ValidateOp.serializeBinaryToWriter
    );
  }
  f = message.getAuth();
  if (f != null) {
    writer.writeMessage(
      57,
      f,
      proto.hashicorp.waypoint.Job.AuthOp.serializeBinaryToWriter
    );
  }
  f = message.getDocs();
  if (f != null) {
    writer.writeMessage(
      58,
      f,
      proto.hashicorp.waypoint.Job.DocsOp.serializeBinaryToWriter
    );
  }
  f = message.getConfigSync();
  if (f != null) {
    writer.writeMessage(
      59,
      f,
      proto.hashicorp.waypoint.Job.ConfigSyncOp.serializeBinaryToWriter
    );
  }
  f = message.getExec();
  if (f != null) {
    writer.writeMessage(
      60,
      f,
      proto.hashicorp.waypoint.Job.ExecOp.serializeBinaryToWriter
    );
  }
  f = message.getUp();
  if (f != null) {
    writer.writeMessage(
      61,
      f,
      proto.hashicorp.waypoint.Job.UpOp.serializeBinaryToWriter
    );
  }
  f = message.getLogs();
  if (f != null) {
    writer.writeMessage(
      62,
      f,
      proto.hashicorp.waypoint.Job.LogsOp.serializeBinaryToWriter
    );
  }
  f = message.getQueueProject();
  if (f != null) {
    writer.writeMessage(
      63,
      f,
      proto.hashicorp.waypoint.Job.QueueProjectOp.serializeBinaryToWriter
    );
  }
  f = message.getPoll();
  if (f != null) {
    writer.writeMessage(
      64,
      f,
      proto.hashicorp.waypoint.Job.PollOp.serializeBinaryToWriter
    );
  }
  f = message.getStatusReport();
  if (f != null) {
    writer.writeMessage(
      65,
      f,
      proto.hashicorp.waypoint.Job.StatusReportOp.serializeBinaryToWriter
    );
  }
  f = message.getStartTask();
  if (f != null) {
    writer.writeMessage(
      66,
      f,
      proto.hashicorp.waypoint.Job.StartTaskLaunchOp.serializeBinaryToWriter
    );
  }
  f = message.getStopTask();
  if (f != null) {
    writer.writeMessage(
      67,
      f,
      proto.hashicorp.waypoint.Job.StopTaskLaunchOp.serializeBinaryToWriter
    );
  }
  f = message.getInit();
  if (f != null) {
    writer.writeMessage(
      68,
      f,
      proto.hashicorp.waypoint.Job.InitOp.serializeBinaryToWriter
    );
  }
  f = message.getWatchTask();
  if (f != null) {
    writer.writeMessage(
      69,
      f,
      proto.hashicorp.waypoint.Job.WatchTaskOp.serializeBinaryToWriter
    );
  }
  f = message.getPipelineStep();
  if (f != null) {
    writer.writeMessage(
      70,
      f,
      proto.hashicorp.waypoint.Job.PipelineStepOp.serializeBinaryToWriter
    );
  }
  f = message.getState();
  if (f !== 0.0) {
    writer.writeEnum(
      100,
      f
    );
  }
  f = message.getAssignedRunner();
  if (f != null) {
    writer.writeMessage(
      101,
      f,
      proto.hashicorp.waypoint.Ref.RunnerId.serializeBinaryToWriter
    );
  }
  f = message.getQueueTime();
  if (f != null) {
    writer.writeMessage(
      102,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getAssignTime();
  if (f != null) {
    writer.writeMessage(
      103,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getAckTime();
  if (f != null) {
    writer.writeMessage(
      104,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getCompleteTime();
  if (f != null) {
    writer.writeMessage(
      105,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getDataSourceRef();
  if (f != null) {
    writer.writeMessage(
      110,
      f,
      proto.hashicorp.waypoint.Job.DataSource.Ref.serializeBinaryToWriter
    );
  }
  f = message.getVariableFinalValuesMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(113, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.hashicorp.waypoint.Variable.FinalValue.serializeBinaryToWriter);
  }
  f = message.getConfig();
  if (f != null) {
    writer.writeMessage(
      111,
      f,
      proto.hashicorp.waypoint.Job.Config.serializeBinaryToWriter
    );
  }
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      106,
      f,
      google_rpc_status_pb.Status.serializeBinaryToWriter
    );
  }
  f = message.getResult();
  if (f != null) {
    writer.writeMessage(
      107,
      f,
      proto.hashicorp.waypoint.Job.Result.serializeBinaryToWriter
    );
  }
  f = message.getCancelTime();
  if (f != null) {
    writer.writeMessage(
      108,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getExpireTime();
  if (f != null) {
    writer.writeMessage(
      109,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getTask();
  if (f != null) {
    writer.writeMessage(
      114,
      f,
      proto.hashicorp.waypoint.Ref.Task.serializeBinaryToWriter
    );
  }
  f = message.getPipeline();
  if (f != null) {
    writer.writeMessage(
      117,
      f,
      proto.hashicorp.waypoint.Ref.PipelineStep.serializeBinaryToWriter
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Job.State = {
  UNKNOWN: 0,
  QUEUED: 1,
  WAITING: 2,
  RUNNING: 3,
  ERROR: 4,
  SUCCESS: 5
};




if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.TaskOverride.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.TaskOverride.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.TaskOverride} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.TaskOverride.toObject = function(includeInstance, msg) {
  var f, obj = {
    launchInfo: (f = msg.getLaunchInfo()) && proto.hashicorp.waypoint.TaskLaunchInfo.toObject(includeInstance, f),
    skipOperation: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.TaskOverride}
 */
proto.hashicorp.waypoint.Job.TaskOverride.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.TaskOverride;
  return proto.hashicorp.waypoint.Job.TaskOverride.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.TaskOverride} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.TaskOverride}
 */
proto.hashicorp.waypoint.Job.TaskOverride.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.TaskLaunchInfo;
      reader.readMessage(value,proto.hashicorp.waypoint.TaskLaunchInfo.deserializeBinaryFromReader);
      msg.setLaunchInfo(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setSkipOperation(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.TaskOverride.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.TaskOverride.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.TaskOverride} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.TaskOverride.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getLaunchInfo();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.TaskLaunchInfo.serializeBinaryToWriter
    );
  }
  f = message.getSkipOperation();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
};


/**
 * optional TaskLaunchInfo launch_info = 1;
 * @return {?proto.hashicorp.waypoint.TaskLaunchInfo}
 */
proto.hashicorp.waypoint.Job.TaskOverride.prototype.getLaunchInfo = function() {
  return /** @type{?proto.hashicorp.waypoint.TaskLaunchInfo} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.TaskLaunchInfo, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.TaskLaunchInfo|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.TaskOverride} returns this
*/
proto.hashicorp.waypoint.Job.TaskOverride.prototype.setLaunchInfo = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.TaskOverride} returns this
 */
proto.hashicorp.waypoint.Job.TaskOverride.prototype.clearLaunchInfo = function() {
  return this.setLaunchInfo(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.TaskOverride.prototype.hasLaunchInfo = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional bool skip_operation = 2;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.TaskOverride.prototype.getSkipOperation = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Job.TaskOverride} returns this
 */
proto.hashicorp.waypoint.Job.TaskOverride.prototype.setSkipOperation = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.Result.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.Result.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.Result} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Result.toObject = function(includeInstance, msg) {
  var f, obj = {
    build: (f = msg.getBuild()) && proto.hashicorp.waypoint.Job.BuildResult.toObject(includeInstance, f),
    push: (f = msg.getPush()) && proto.hashicorp.waypoint.Job.PushResult.toObject(includeInstance, f),
    deploy: (f = msg.getDeploy()) && proto.hashicorp.waypoint.Job.DeployResult.toObject(includeInstance, f),
    release: (f = msg.getRelease()) && proto.hashicorp.waypoint.Job.ReleaseResult.toObject(includeInstance, f),
    validate: (f = msg.getValidate()) && proto.hashicorp.waypoint.Job.ValidateResult.toObject(includeInstance, f),
    auth: (f = msg.getAuth()) && proto.hashicorp.waypoint.Job.AuthResult.toObject(includeInstance, f),
    docs: (f = msg.getDocs()) && proto.hashicorp.waypoint.Job.DocsResult.toObject(includeInstance, f),
    configSync: (f = msg.getConfigSync()) && proto.hashicorp.waypoint.Job.ConfigSyncResult.toObject(includeInstance, f),
    up: (f = msg.getUp()) && proto.hashicorp.waypoint.Job.UpResult.toObject(includeInstance, f),
    queueProject: (f = msg.getQueueProject()) && proto.hashicorp.waypoint.Job.QueueProjectResult.toObject(includeInstance, f),
    poll: (f = msg.getPoll()) && proto.hashicorp.waypoint.Job.PollResult.toObject(includeInstance, f),
    statusReport: (f = msg.getStatusReport()) && proto.hashicorp.waypoint.Job.StatusReportResult.toObject(includeInstance, f),
    startTask: (f = msg.getStartTask()) && proto.hashicorp.waypoint.Job.StartTaskResult.toObject(includeInstance, f),
    init: (f = msg.getInit()) && proto.hashicorp.waypoint.Job.InitResult.toObject(includeInstance, f),
    watchTask: (f = msg.getWatchTask()) && proto.hashicorp.waypoint.Job.WatchTaskResult.toObject(includeInstance, f),
    pipelineStep: (f = msg.getPipelineStep()) && proto.hashicorp.waypoint.Job.PipelineStepResult.toObject(includeInstance, f),
    pipelineConfigSync: (f = msg.getPipelineConfigSync()) && proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.Result}
 */
proto.hashicorp.waypoint.Job.Result.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.Result;
  return proto.hashicorp.waypoint.Job.Result.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.Result}
 */
proto.hashicorp.waypoint.Job.Result.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job.BuildResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.BuildResult.deserializeBinaryFromReader);
      msg.setBuild(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Job.PushResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.PushResult.deserializeBinaryFromReader);
      msg.setPush(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Job.DeployResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DeployResult.deserializeBinaryFromReader);
      msg.setDeploy(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Job.ReleaseResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.ReleaseResult.deserializeBinaryFromReader);
      msg.setRelease(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.Job.ValidateResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.ValidateResult.deserializeBinaryFromReader);
      msg.setValidate(value);
      break;
    case 6:
      var value = new proto.hashicorp.waypoint.Job.AuthResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.AuthResult.deserializeBinaryFromReader);
      msg.setAuth(value);
      break;
    case 7:
      var value = new proto.hashicorp.waypoint.Job.DocsResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DocsResult.deserializeBinaryFromReader);
      msg.setDocs(value);
      break;
    case 8:
      var value = new proto.hashicorp.waypoint.Job.ConfigSyncResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.ConfigSyncResult.deserializeBinaryFromReader);
      msg.setConfigSync(value);
      break;
    case 9:
      var value = new proto.hashicorp.waypoint.Job.UpResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.UpResult.deserializeBinaryFromReader);
      msg.setUp(value);
      break;
    case 10:
      var value = new proto.hashicorp.waypoint.Job.QueueProjectResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.QueueProjectResult.deserializeBinaryFromReader);
      msg.setQueueProject(value);
      break;
    case 11:
      var value = new proto.hashicorp.waypoint.Job.PollResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.PollResult.deserializeBinaryFromReader);
      msg.setPoll(value);
      break;
    case 12:
      var value = new proto.hashicorp.waypoint.Job.StatusReportResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.StatusReportResult.deserializeBinaryFromReader);
      msg.setStatusReport(value);
      break;
    case 13:
      var value = new proto.hashicorp.waypoint.Job.StartTaskResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.StartTaskResult.deserializeBinaryFromReader);
      msg.setStartTask(value);
      break;
    case 14:
      var value = new proto.hashicorp.waypoint.Job.InitResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.InitResult.deserializeBinaryFromReader);
      msg.setInit(value);
      break;
    case 15:
      var value = new proto.hashicorp.waypoint.Job.WatchTaskResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.WatchTaskResult.deserializeBinaryFromReader);
      msg.setWatchTask(value);
      break;
    case 16:
      var value = new proto.hashicorp.waypoint.Job.PipelineStepResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.PipelineStepResult.deserializeBinaryFromReader);
      msg.setPipelineStep(value);
      break;
    case 17:
      var value = new proto.hashicorp.waypoint.Job.PipelineConfigSyncResult;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.deserializeBinaryFromReader);
      msg.setPipelineConfigSync(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.Result.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.Result.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Result.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getBuild();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.BuildResult.serializeBinaryToWriter
    );
  }
  f = message.getPush();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Job.PushResult.serializeBinaryToWriter
    );
  }
  f = message.getDeploy();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Job.DeployResult.serializeBinaryToWriter
    );
  }
  f = message.getRelease();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Job.ReleaseResult.serializeBinaryToWriter
    );
  }
  f = message.getValidate();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      proto.hashicorp.waypoint.Job.ValidateResult.serializeBinaryToWriter
    );
  }
  f = message.getAuth();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      proto.hashicorp.waypoint.Job.AuthResult.serializeBinaryToWriter
    );
  }
  f = message.getDocs();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      proto.hashicorp.waypoint.Job.DocsResult.serializeBinaryToWriter
    );
  }
  f = message.getConfigSync();
  if (f != null) {
    writer.writeMessage(
      8,
      f,
      proto.hashicorp.waypoint.Job.ConfigSyncResult.serializeBinaryToWriter
    );
  }
  f = message.getUp();
  if (f != null) {
    writer.writeMessage(
      9,
      f,
      proto.hashicorp.waypoint.Job.UpResult.serializeBinaryToWriter
    );
  }
  f = message.getQueueProject();
  if (f != null) {
    writer.writeMessage(
      10,
      f,
      proto.hashicorp.waypoint.Job.QueueProjectResult.serializeBinaryToWriter
    );
  }
  f = message.getPoll();
  if (f != null) {
    writer.writeMessage(
      11,
      f,
      proto.hashicorp.waypoint.Job.PollResult.serializeBinaryToWriter
    );
  }
  f = message.getStatusReport();
  if (f != null) {
    writer.writeMessage(
      12,
      f,
      proto.hashicorp.waypoint.Job.StatusReportResult.serializeBinaryToWriter
    );
  }
  f = message.getStartTask();
  if (f != null) {
    writer.writeMessage(
      13,
      f,
      proto.hashicorp.waypoint.Job.StartTaskResult.serializeBinaryToWriter
    );
  }
  f = message.getInit();
  if (f != null) {
    writer.writeMessage(
      14,
      f,
      proto.hashicorp.waypoint.Job.InitResult.serializeBinaryToWriter
    );
  }
  f = message.getWatchTask();
  if (f != null) {
    writer.writeMessage(
      15,
      f,
      proto.hashicorp.waypoint.Job.WatchTaskResult.serializeBinaryToWriter
    );
  }
  f = message.getPipelineStep();
  if (f != null) {
    writer.writeMessage(
      16,
      f,
      proto.hashicorp.waypoint.Job.PipelineStepResult.serializeBinaryToWriter
    );
  }
  f = message.getPipelineConfigSync();
  if (f != null) {
    writer.writeMessage(
      17,
      f,
      proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.serializeBinaryToWriter
    );
  }
};


/**
 * optional BuildResult build = 1;
 * @return {?proto.hashicorp.waypoint.Job.BuildResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getBuild = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.BuildResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.BuildResult, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.BuildResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setBuild = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearBuild = function() {
  return this.setBuild(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasBuild = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional PushResult push = 2;
 * @return {?proto.hashicorp.waypoint.Job.PushResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getPush = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.PushResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.PushResult, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.PushResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setPush = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearPush = function() {
  return this.setPush(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasPush = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional DeployResult deploy = 3;
 * @return {?proto.hashicorp.waypoint.Job.DeployResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getDeploy = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DeployResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DeployResult, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DeployResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setDeploy = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearDeploy = function() {
  return this.setDeploy(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasDeploy = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional ReleaseResult release = 4;
 * @return {?proto.hashicorp.waypoint.Job.ReleaseResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getRelease = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.ReleaseResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.ReleaseResult, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.ReleaseResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setRelease = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearRelease = function() {
  return this.setRelease(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasRelease = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional ValidateResult validate = 5;
 * @return {?proto.hashicorp.waypoint.Job.ValidateResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getValidate = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.ValidateResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.ValidateResult, 5));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.ValidateResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setValidate = function(value) {
  return jspb.Message.setWrapperField(this, 5, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearValidate = function() {
  return this.setValidate(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasValidate = function() {
  return jspb.Message.getField(this, 5) != null;
};


/**
 * optional AuthResult auth = 6;
 * @return {?proto.hashicorp.waypoint.Job.AuthResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getAuth = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.AuthResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.AuthResult, 6));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.AuthResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setAuth = function(value) {
  return jspb.Message.setWrapperField(this, 6, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearAuth = function() {
  return this.setAuth(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasAuth = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * optional DocsResult docs = 7;
 * @return {?proto.hashicorp.waypoint.Job.DocsResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getDocs = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DocsResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DocsResult, 7));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DocsResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setDocs = function(value) {
  return jspb.Message.setWrapperField(this, 7, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearDocs = function() {
  return this.setDocs(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasDocs = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional ConfigSyncResult config_sync = 8;
 * @return {?proto.hashicorp.waypoint.Job.ConfigSyncResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getConfigSync = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.ConfigSyncResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.ConfigSyncResult, 8));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.ConfigSyncResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setConfigSync = function(value) {
  return jspb.Message.setWrapperField(this, 8, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearConfigSync = function() {
  return this.setConfigSync(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasConfigSync = function() {
  return jspb.Message.getField(this, 8) != null;
};


/**
 * optional UpResult up = 9;
 * @return {?proto.hashicorp.waypoint.Job.UpResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getUp = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.UpResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.UpResult, 9));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.UpResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setUp = function(value) {
  return jspb.Message.setWrapperField(this, 9, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearUp = function() {
  return this.setUp(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasUp = function() {
  return jspb.Message.getField(this, 9) != null;
};


/**
 * optional QueueProjectResult queue_project = 10;
 * @return {?proto.hashicorp.waypoint.Job.QueueProjectResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getQueueProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.QueueProjectResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.QueueProjectResult, 10));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.QueueProjectResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setQueueProject = function(value) {
  return jspb.Message.setWrapperField(this, 10, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearQueueProject = function() {
  return this.setQueueProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasQueueProject = function() {
  return jspb.Message.getField(this, 10) != null;
};


/**
 * optional PollResult poll = 11;
 * @return {?proto.hashicorp.waypoint.Job.PollResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getPoll = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.PollResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.PollResult, 11));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.PollResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setPoll = function(value) {
  return jspb.Message.setWrapperField(this, 11, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearPoll = function() {
  return this.setPoll(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasPoll = function() {
  return jspb.Message.getField(this, 11) != null;
};


/**
 * optional StatusReportResult status_report = 12;
 * @return {?proto.hashicorp.waypoint.Job.StatusReportResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getStatusReport = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.StatusReportResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.StatusReportResult, 12));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.StatusReportResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setStatusReport = function(value) {
  return jspb.Message.setWrapperField(this, 12, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearStatusReport = function() {
  return this.setStatusReport(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasStatusReport = function() {
  return jspb.Message.getField(this, 12) != null;
};


/**
 * optional StartTaskResult start_task = 13;
 * @return {?proto.hashicorp.waypoint.Job.StartTaskResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getStartTask = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.StartTaskResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.StartTaskResult, 13));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.StartTaskResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setStartTask = function(value) {
  return jspb.Message.setWrapperField(this, 13, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearStartTask = function() {
  return this.setStartTask(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasStartTask = function() {
  return jspb.Message.getField(this, 13) != null;
};


/**
 * optional InitResult init = 14;
 * @return {?proto.hashicorp.waypoint.Job.InitResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getInit = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.InitResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.InitResult, 14));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.InitResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setInit = function(value) {
  return jspb.Message.setWrapperField(this, 14, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearInit = function() {
  return this.setInit(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasInit = function() {
  return jspb.Message.getField(this, 14) != null;
};


/**
 * optional WatchTaskResult watch_task = 15;
 * @return {?proto.hashicorp.waypoint.Job.WatchTaskResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getWatchTask = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.WatchTaskResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.WatchTaskResult, 15));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.WatchTaskResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setWatchTask = function(value) {
  return jspb.Message.setWrapperField(this, 15, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearWatchTask = function() {
  return this.setWatchTask(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasWatchTask = function() {
  return jspb.Message.getField(this, 15) != null;
};


/**
 * optional PipelineStepResult pipeline_step = 16;
 * @return {?proto.hashicorp.waypoint.Job.PipelineStepResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getPipelineStep = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.PipelineStepResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.PipelineStepResult, 16));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.PipelineStepResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setPipelineStep = function(value) {
  return jspb.Message.setWrapperField(this, 16, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearPipelineStep = function() {
  return this.setPipelineStep(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasPipelineStep = function() {
  return jspb.Message.getField(this, 16) != null;
};


/**
 * optional PipelineConfigSyncResult pipeline_config_sync = 17;
 * @return {?proto.hashicorp.waypoint.Job.PipelineConfigSyncResult}
 */
proto.hashicorp.waypoint.Job.Result.prototype.getPipelineConfigSync = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.PipelineConfigSyncResult} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.PipelineConfigSyncResult, 17));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.PipelineConfigSyncResult|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
*/
proto.hashicorp.waypoint.Job.Result.prototype.setPipelineConfigSync = function(value) {
  return jspb.Message.setWrapperField(this, 17, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Result} returns this
 */
proto.hashicorp.waypoint.Job.Result.prototype.clearPipelineConfigSync = function() {
  return this.setPipelineConfigSync(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Result.prototype.hasPipelineConfigSync = function() {
  return jspb.Message.getField(this, 17) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.Config.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.Config.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.Config} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Config.toObject = function(includeInstance, msg) {
  var f, obj = {
    source: jspb.Message.getFieldWithDefault(msg, 1, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.Config}
 */
proto.hashicorp.waypoint.Job.Config.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.Config;
  return proto.hashicorp.waypoint.Job.Config.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.Config} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.Config}
 */
proto.hashicorp.waypoint.Job.Config.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!proto.hashicorp.waypoint.Job.Config.Source} */ (reader.readEnum());
      msg.setSource(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.Config.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.Config.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.Config} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Config.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSource();
  if (f !== 0.0) {
    writer.writeEnum(
      1,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Job.Config.Source = {
  UNKNOWN: 0,
  FILE: 1,
  SERVER: 2,
  JOB: 3
};

/**
 * optional Source source = 1;
 * @return {!proto.hashicorp.waypoint.Job.Config.Source}
 */
proto.hashicorp.waypoint.Job.Config.prototype.getSource = function() {
  return /** @type {!proto.hashicorp.waypoint.Job.Config.Source} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Job.Config.Source} value
 * @return {!proto.hashicorp.waypoint.Job.Config} returns this
 */
proto.hashicorp.waypoint.Job.Config.prototype.setSource = function(value) {
  return jspb.Message.setProto3EnumField(this, 1, value);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Job.DataSource.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Job.DataSource.SourceCase = {
  SOURCE_NOT_SET: 0,
  LOCAL: 1,
  GIT: 2
};

/**
 * @return {proto.hashicorp.waypoint.Job.DataSource.SourceCase}
 */
proto.hashicorp.waypoint.Job.DataSource.prototype.getSourceCase = function() {
  return /** @type {proto.hashicorp.waypoint.Job.DataSource.SourceCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Job.DataSource.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.DataSource.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.DataSource.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.DataSource} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DataSource.toObject = function(includeInstance, msg) {
  var f, obj = {
    local: (f = msg.getLocal()) && proto.hashicorp.waypoint.Job.Local.toObject(includeInstance, f),
    git: (f = msg.getGit()) && proto.hashicorp.waypoint.Job.Git.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.DataSource}
 */
proto.hashicorp.waypoint.Job.DataSource.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.DataSource;
  return proto.hashicorp.waypoint.Job.DataSource.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.DataSource} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.DataSource}
 */
proto.hashicorp.waypoint.Job.DataSource.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job.Local;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.Local.deserializeBinaryFromReader);
      msg.setLocal(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Job.Git;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.Git.deserializeBinaryFromReader);
      msg.setGit(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.DataSource.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.DataSource.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.DataSource} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DataSource.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getLocal();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.Local.serializeBinaryToWriter
    );
  }
  f = message.getGit();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Job.Git.serializeBinaryToWriter
    );
  }
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.RefCase = {
  REF_NOT_SET: 0,
  UNKNOWN: 1,
  GIT: 2
};

/**
 * @return {proto.hashicorp.waypoint.Job.DataSource.Ref.RefCase}
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.prototype.getRefCase = function() {
  return /** @type {proto.hashicorp.waypoint.Job.DataSource.Ref.RefCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Job.DataSource.Ref.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.DataSource.Ref.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.DataSource.Ref} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.toObject = function(includeInstance, msg) {
  var f, obj = {
    unknown: (f = msg.getUnknown()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
    git: (f = msg.getGit()) && proto.hashicorp.waypoint.Job.Git.Ref.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.DataSource.Ref}
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.DataSource.Ref;
  return proto.hashicorp.waypoint.Job.DataSource.Ref.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.DataSource.Ref} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.DataSource.Ref}
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new google_protobuf_empty_pb.Empty;
      reader.readMessage(value,google_protobuf_empty_pb.Empty.deserializeBinaryFromReader);
      msg.setUnknown(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Job.Git.Ref;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.Git.Ref.deserializeBinaryFromReader);
      msg.setGit(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.DataSource.Ref.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.DataSource.Ref} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getUnknown();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      google_protobuf_empty_pb.Empty.serializeBinaryToWriter
    );
  }
  f = message.getGit();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Job.Git.Ref.serializeBinaryToWriter
    );
  }
};


/**
 * optional google.protobuf.Empty unknown = 1;
 * @return {?proto.google.protobuf.Empty}
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.prototype.getUnknown = function() {
  return /** @type{?proto.google.protobuf.Empty} */ (
    jspb.Message.getWrapperField(this, google_protobuf_empty_pb.Empty, 1));
};


/**
 * @param {?proto.google.protobuf.Empty|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.DataSource.Ref} returns this
*/
proto.hashicorp.waypoint.Job.DataSource.Ref.prototype.setUnknown = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.Job.DataSource.Ref.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.DataSource.Ref} returns this
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.prototype.clearUnknown = function() {
  return this.setUnknown(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.prototype.hasUnknown = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Git.Ref git = 2;
 * @return {?proto.hashicorp.waypoint.Job.Git.Ref}
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.prototype.getGit = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.Git.Ref} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.Git.Ref, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.Git.Ref|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.DataSource.Ref} returns this
*/
proto.hashicorp.waypoint.Job.DataSource.Ref.prototype.setGit = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.Job.DataSource.Ref.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.DataSource.Ref} returns this
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.prototype.clearGit = function() {
  return this.setGit(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.DataSource.Ref.prototype.hasGit = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Local local = 1;
 * @return {?proto.hashicorp.waypoint.Job.Local}
 */
proto.hashicorp.waypoint.Job.DataSource.prototype.getLocal = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.Local} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.Local, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.Local|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.DataSource} returns this
*/
proto.hashicorp.waypoint.Job.DataSource.prototype.setLocal = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.Job.DataSource.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.DataSource} returns this
 */
proto.hashicorp.waypoint.Job.DataSource.prototype.clearLocal = function() {
  return this.setLocal(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.DataSource.prototype.hasLocal = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Git git = 2;
 * @return {?proto.hashicorp.waypoint.Job.Git}
 */
proto.hashicorp.waypoint.Job.DataSource.prototype.getGit = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.Git} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.Git, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.Git|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.DataSource} returns this
*/
proto.hashicorp.waypoint.Job.DataSource.prototype.setGit = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.Job.DataSource.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.DataSource} returns this
 */
proto.hashicorp.waypoint.Job.DataSource.prototype.clearGit = function() {
  return this.setGit(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.DataSource.prototype.hasGit = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.Local.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.Local.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.Local} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Local.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.Local}
 */
proto.hashicorp.waypoint.Job.Local.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.Local;
  return proto.hashicorp.waypoint.Job.Local.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.Local} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.Local}
 */
proto.hashicorp.waypoint.Job.Local.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.Local.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.Local.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.Local} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Local.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Job.Git.oneofGroups_ = [[4,5]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Job.Git.AuthCase = {
  AUTH_NOT_SET: 0,
  BASIC: 4,
  SSH: 5
};

/**
 * @return {proto.hashicorp.waypoint.Job.Git.AuthCase}
 */
proto.hashicorp.waypoint.Job.Git.prototype.getAuthCase = function() {
  return /** @type {proto.hashicorp.waypoint.Job.Git.AuthCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Job.Git.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.Git.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.Git.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.Git} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Git.toObject = function(includeInstance, msg) {
  var f, obj = {
    url: jspb.Message.getFieldWithDefault(msg, 1, ""),
    ref: jspb.Message.getFieldWithDefault(msg, 2, ""),
    path: jspb.Message.getFieldWithDefault(msg, 3, ""),
    ignoreChangesOutsidePath: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
    recurseSubmodules: jspb.Message.getFieldWithDefault(msg, 11, 0),
    basic: (f = msg.getBasic()) && proto.hashicorp.waypoint.Job.Git.Basic.toObject(includeInstance, f),
    ssh: (f = msg.getSsh()) && proto.hashicorp.waypoint.Job.Git.SSH.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.Git}
 */
proto.hashicorp.waypoint.Job.Git.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.Git;
  return proto.hashicorp.waypoint.Job.Git.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.Git} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.Git}
 */
proto.hashicorp.waypoint.Job.Git.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setUrl(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setRef(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setPath(value);
      break;
    case 10:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setIgnoreChangesOutsidePath(value);
      break;
    case 11:
      var value = /** @type {number} */ (reader.readUint32());
      msg.setRecurseSubmodules(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Job.Git.Basic;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.Git.Basic.deserializeBinaryFromReader);
      msg.setBasic(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.Job.Git.SSH;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.Git.SSH.deserializeBinaryFromReader);
      msg.setSsh(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.Git.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.Git.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.Git} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Git.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getUrl();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getRef();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getPath();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getIgnoreChangesOutsidePath();
  if (f) {
    writer.writeBool(
      10,
      f
    );
  }
  f = message.getRecurseSubmodules();
  if (f !== 0) {
    writer.writeUint32(
      11,
      f
    );
  }
  f = message.getBasic();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Job.Git.Basic.serializeBinaryToWriter
    );
  }
  f = message.getSsh();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      proto.hashicorp.waypoint.Job.Git.SSH.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.Git.Basic.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.Git.Basic.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.Git.Basic} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Git.Basic.toObject = function(includeInstance, msg) {
  var f, obj = {
    username: jspb.Message.getFieldWithDefault(msg, 1, ""),
    password: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.Git.Basic}
 */
proto.hashicorp.waypoint.Job.Git.Basic.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.Git.Basic;
  return proto.hashicorp.waypoint.Job.Git.Basic.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.Git.Basic} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.Git.Basic}
 */
proto.hashicorp.waypoint.Job.Git.Basic.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setUsername(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setPassword(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.Git.Basic.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.Git.Basic.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.Git.Basic} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Git.Basic.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getUsername();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getPassword();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional string username = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.Git.Basic.prototype.getUsername = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.Git.Basic} returns this
 */
proto.hashicorp.waypoint.Job.Git.Basic.prototype.setUsername = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string password = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.Git.Basic.prototype.getPassword = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.Git.Basic} returns this
 */
proto.hashicorp.waypoint.Job.Git.Basic.prototype.setPassword = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.Git.SSH.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.Git.SSH.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.Git.SSH} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Git.SSH.toObject = function(includeInstance, msg) {
  var f, obj = {
    privateKeyPem: msg.getPrivateKeyPem_asB64(),
    password: jspb.Message.getFieldWithDefault(msg, 2, ""),
    user: jspb.Message.getFieldWithDefault(msg, 3, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.Git.SSH}
 */
proto.hashicorp.waypoint.Job.Git.SSH.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.Git.SSH;
  return proto.hashicorp.waypoint.Job.Git.SSH.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.Git.SSH} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.Git.SSH}
 */
proto.hashicorp.waypoint.Job.Git.SSH.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setPrivateKeyPem(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setPassword(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setUser(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.Git.SSH.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.Git.SSH.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.Git.SSH} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Git.SSH.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPrivateKeyPem_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      1,
      f
    );
  }
  f = message.getPassword();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getUser();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
};


/**
 * optional bytes private_key_pem = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.Git.SSH.prototype.getPrivateKeyPem = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * optional bytes private_key_pem = 1;
 * This is a type-conversion wrapper around `getPrivateKeyPem()`
 * @return {string}
 */
proto.hashicorp.waypoint.Job.Git.SSH.prototype.getPrivateKeyPem_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getPrivateKeyPem()));
};


/**
 * optional bytes private_key_pem = 1;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getPrivateKeyPem()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.Git.SSH.prototype.getPrivateKeyPem_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getPrivateKeyPem()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.Job.Git.SSH} returns this
 */
proto.hashicorp.waypoint.Job.Git.SSH.prototype.setPrivateKeyPem = function(value) {
  return jspb.Message.setProto3BytesField(this, 1, value);
};


/**
 * optional string password = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.Git.SSH.prototype.getPassword = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.Git.SSH} returns this
 */
proto.hashicorp.waypoint.Job.Git.SSH.prototype.setPassword = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string user = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.Git.SSH.prototype.getUser = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.Git.SSH} returns this
 */
proto.hashicorp.waypoint.Job.Git.SSH.prototype.setUser = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.Git.Ref.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.Git.Ref.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.Git.Ref} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Git.Ref.toObject = function(includeInstance, msg) {
  var f, obj = {
    commit: jspb.Message.getFieldWithDefault(msg, 1, ""),
    timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    commitMessage: jspb.Message.getFieldWithDefault(msg, 3, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.Git.Ref}
 */
proto.hashicorp.waypoint.Job.Git.Ref.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.Git.Ref;
  return proto.hashicorp.waypoint.Job.Git.Ref.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.Git.Ref} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.Git.Ref}
 */
proto.hashicorp.waypoint.Job.Git.Ref.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setCommit(value);
      break;
    case 2:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setTimestamp(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setCommitMessage(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.Git.Ref.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.Git.Ref.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.Git.Ref} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Git.Ref.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getCommit();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getTimestamp();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getCommitMessage();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
};


/**
 * optional string commit = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.Git.Ref.prototype.getCommit = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.Git.Ref} returns this
 */
proto.hashicorp.waypoint.Job.Git.Ref.prototype.setCommit = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional google.protobuf.Timestamp timestamp = 2;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Job.Git.Ref.prototype.getTimestamp = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Git.Ref} returns this
*/
proto.hashicorp.waypoint.Job.Git.Ref.prototype.setTimestamp = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Git.Ref} returns this
 */
proto.hashicorp.waypoint.Job.Git.Ref.prototype.clearTimestamp = function() {
  return this.setTimestamp(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Git.Ref.prototype.hasTimestamp = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional string commit_message = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.Git.Ref.prototype.getCommitMessage = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.Git.Ref} returns this
 */
proto.hashicorp.waypoint.Job.Git.Ref.prototype.setCommitMessage = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string url = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.Git.prototype.getUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.Git} returns this
 */
proto.hashicorp.waypoint.Job.Git.prototype.setUrl = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string ref = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.Git.prototype.getRef = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.Git} returns this
 */
proto.hashicorp.waypoint.Job.Git.prototype.setRef = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string path = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.Git.prototype.getPath = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.Git} returns this
 */
proto.hashicorp.waypoint.Job.Git.prototype.setPath = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional bool ignore_changes_outside_path = 10;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Git.prototype.getIgnoreChangesOutsidePath = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Job.Git} returns this
 */
proto.hashicorp.waypoint.Job.Git.prototype.setIgnoreChangesOutsidePath = function(value) {
  return jspb.Message.setProto3BooleanField(this, 10, value);
};


/**
 * optional uint32 recurse_submodules = 11;
 * @return {number}
 */
proto.hashicorp.waypoint.Job.Git.prototype.getRecurseSubmodules = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Job.Git} returns this
 */
proto.hashicorp.waypoint.Job.Git.prototype.setRecurseSubmodules = function(value) {
  return jspb.Message.setProto3IntField(this, 11, value);
};


/**
 * optional Basic basic = 4;
 * @return {?proto.hashicorp.waypoint.Job.Git.Basic}
 */
proto.hashicorp.waypoint.Job.Git.prototype.getBasic = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.Git.Basic} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.Git.Basic, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.Git.Basic|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Git} returns this
*/
proto.hashicorp.waypoint.Job.Git.prototype.setBasic = function(value) {
  return jspb.Message.setOneofWrapperField(this, 4, proto.hashicorp.waypoint.Job.Git.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Git} returns this
 */
proto.hashicorp.waypoint.Job.Git.prototype.clearBasic = function() {
  return this.setBasic(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Git.prototype.hasBasic = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional SSH ssh = 5;
 * @return {?proto.hashicorp.waypoint.Job.Git.SSH}
 */
proto.hashicorp.waypoint.Job.Git.prototype.getSsh = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.Git.SSH} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.Git.SSH, 5));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.Git.SSH|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.Git} returns this
*/
proto.hashicorp.waypoint.Job.Git.prototype.setSsh = function(value) {
  return jspb.Message.setOneofWrapperField(this, 5, proto.hashicorp.waypoint.Job.Git.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.Git} returns this
 */
proto.hashicorp.waypoint.Job.Git.prototype.clearSsh = function() {
  return this.setSsh(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.Git.prototype.hasSsh = function() {
  return jspb.Message.getField(this, 5) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.Noop.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.Noop.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.Noop} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Noop.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.Noop}
 */
proto.hashicorp.waypoint.Job.Noop.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.Noop;
  return proto.hashicorp.waypoint.Job.Noop.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.Noop} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.Noop}
 */
proto.hashicorp.waypoint.Job.Noop.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.Noop.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.Noop.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.Noop} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.Noop.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.UpOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.UpOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.UpOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.UpOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    release: (f = msg.getRelease()) && proto.hashicorp.waypoint.Job.ReleaseOp.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.UpOp}
 */
proto.hashicorp.waypoint.Job.UpOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.UpOp;
  return proto.hashicorp.waypoint.Job.UpOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.UpOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.UpOp}
 */
proto.hashicorp.waypoint.Job.UpOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job.ReleaseOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.ReleaseOp.deserializeBinaryFromReader);
      msg.setRelease(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.UpOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.UpOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.UpOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.UpOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRelease();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.ReleaseOp.serializeBinaryToWriter
    );
  }
};


/**
 * optional ReleaseOp release = 1;
 * @return {?proto.hashicorp.waypoint.Job.ReleaseOp}
 */
proto.hashicorp.waypoint.Job.UpOp.prototype.getRelease = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.ReleaseOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.ReleaseOp, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.ReleaseOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.UpOp} returns this
*/
proto.hashicorp.waypoint.Job.UpOp.prototype.setRelease = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.UpOp} returns this
 */
proto.hashicorp.waypoint.Job.UpOp.prototype.clearRelease = function() {
  return this.setRelease(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.UpOp.prototype.hasRelease = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.UpResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.UpResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.UpResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.UpResult.toObject = function(includeInstance, msg) {
  var f, obj = {
    releaseUrl: jspb.Message.getFieldWithDefault(msg, 1, ""),
    appUrl: jspb.Message.getFieldWithDefault(msg, 2, ""),
    deployUrl: jspb.Message.getFieldWithDefault(msg, 3, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.UpResult}
 */
proto.hashicorp.waypoint.Job.UpResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.UpResult;
  return proto.hashicorp.waypoint.Job.UpResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.UpResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.UpResult}
 */
proto.hashicorp.waypoint.Job.UpResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setReleaseUrl(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setAppUrl(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeployUrl(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.UpResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.UpResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.UpResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.UpResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getReleaseUrl();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getAppUrl();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getDeployUrl();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
};


/**
 * optional string release_url = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.UpResult.prototype.getReleaseUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.UpResult} returns this
 */
proto.hashicorp.waypoint.Job.UpResult.prototype.setReleaseUrl = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string app_url = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.UpResult.prototype.getAppUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.UpResult} returns this
 */
proto.hashicorp.waypoint.Job.UpResult.prototype.setAppUrl = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string deploy_url = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.UpResult.prototype.getDeployUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.UpResult} returns this
 */
proto.hashicorp.waypoint.Job.UpResult.prototype.setDeployUrl = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.ValidateOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.ValidateOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.ValidateOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ValidateOp.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.ValidateOp}
 */
proto.hashicorp.waypoint.Job.ValidateOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.ValidateOp;
  return proto.hashicorp.waypoint.Job.ValidateOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.ValidateOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.ValidateOp}
 */
proto.hashicorp.waypoint.Job.ValidateOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.ValidateOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.ValidateOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.ValidateOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ValidateOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.ValidateResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.ValidateResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.ValidateResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ValidateResult.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.ValidateResult}
 */
proto.hashicorp.waypoint.Job.ValidateResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.ValidateResult;
  return proto.hashicorp.waypoint.Job.ValidateResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.ValidateResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.ValidateResult}
 */
proto.hashicorp.waypoint.Job.ValidateResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.ValidateResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.ValidateResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.ValidateResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ValidateResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.AuthOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.AuthOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.AuthOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.AuthOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    checkOnly: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
    component: (f = msg.getComponent()) && proto.hashicorp.waypoint.Ref.Component.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.AuthOp}
 */
proto.hashicorp.waypoint.Job.AuthOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.AuthOp;
  return proto.hashicorp.waypoint.Job.AuthOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.AuthOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.AuthOp}
 */
proto.hashicorp.waypoint.Job.AuthOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setCheckOnly(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Component;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Component.deserializeBinaryFromReader);
      msg.setComponent(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.AuthOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.AuthOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.AuthOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.AuthOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getCheckOnly();
  if (f) {
    writer.writeBool(
      1,
      f
    );
  }
  f = message.getComponent();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Component.serializeBinaryToWriter
    );
  }
};


/**
 * optional bool check_only = 1;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.AuthOp.prototype.getCheckOnly = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Job.AuthOp} returns this
 */
proto.hashicorp.waypoint.Job.AuthOp.prototype.setCheckOnly = function(value) {
  return jspb.Message.setProto3BooleanField(this, 1, value);
};


/**
 * optional Ref.Component component = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Component}
 */
proto.hashicorp.waypoint.Job.AuthOp.prototype.getComponent = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Component} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Component, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Component|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.AuthOp} returns this
*/
proto.hashicorp.waypoint.Job.AuthOp.prototype.setComponent = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.AuthOp} returns this
 */
proto.hashicorp.waypoint.Job.AuthOp.prototype.clearComponent = function() {
  return this.setComponent(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.AuthOp.prototype.hasComponent = function() {
  return jspb.Message.getField(this, 2) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.Job.AuthResult.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.AuthResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.AuthResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.AuthResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.AuthResult.toObject = function(includeInstance, msg) {
  var f, obj = {
    resultsList: jspb.Message.toObjectList(msg.getResultsList(),
    proto.hashicorp.waypoint.Job.AuthResult.Result.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.AuthResult}
 */
proto.hashicorp.waypoint.Job.AuthResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.AuthResult;
  return proto.hashicorp.waypoint.Job.AuthResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.AuthResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.AuthResult}
 */
proto.hashicorp.waypoint.Job.AuthResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job.AuthResult.Result;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.AuthResult.Result.deserializeBinaryFromReader);
      msg.addResults(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.AuthResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.AuthResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.AuthResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.AuthResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getResultsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.AuthResult.Result.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.AuthResult.Result.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.AuthResult.Result} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.toObject = function(includeInstance, msg) {
  var f, obj = {
    component: (f = msg.getComponent()) && proto.hashicorp.waypoint.Component.toObject(includeInstance, f),
    checkResult: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
    checkError: (f = msg.getCheckError()) && google_rpc_status_pb.Status.toObject(includeInstance, f),
    authCompleted: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
    authError: (f = msg.getAuthError()) && google_rpc_status_pb.Status.toObject(includeInstance, f),
    authSupported: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.AuthResult.Result}
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.AuthResult.Result;
  return proto.hashicorp.waypoint.Job.AuthResult.Result.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.AuthResult.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.AuthResult.Result}
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Component;
      reader.readMessage(value,proto.hashicorp.waypoint.Component.deserializeBinaryFromReader);
      msg.setComponent(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setCheckResult(value);
      break;
    case 3:
      var value = new google_rpc_status_pb.Status;
      reader.readMessage(value,google_rpc_status_pb.Status.deserializeBinaryFromReader);
      msg.setCheckError(value);
      break;
    case 4:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setAuthCompleted(value);
      break;
    case 5:
      var value = new google_rpc_status_pb.Status;
      reader.readMessage(value,google_rpc_status_pb.Status.deserializeBinaryFromReader);
      msg.setAuthError(value);
      break;
    case 6:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setAuthSupported(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.AuthResult.Result.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.AuthResult.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getComponent();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Component.serializeBinaryToWriter
    );
  }
  f = message.getCheckResult();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
  f = message.getCheckError();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      google_rpc_status_pb.Status.serializeBinaryToWriter
    );
  }
  f = message.getAuthCompleted();
  if (f) {
    writer.writeBool(
      4,
      f
    );
  }
  f = message.getAuthError();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      google_rpc_status_pb.Status.serializeBinaryToWriter
    );
  }
  f = message.getAuthSupported();
  if (f) {
    writer.writeBool(
      6,
      f
    );
  }
};


/**
 * optional Component component = 1;
 * @return {?proto.hashicorp.waypoint.Component}
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.getComponent = function() {
  return /** @type{?proto.hashicorp.waypoint.Component} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Component, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Component|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.AuthResult.Result} returns this
*/
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.setComponent = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.AuthResult.Result} returns this
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.clearComponent = function() {
  return this.setComponent(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.hasComponent = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional bool check_result = 2;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.getCheckResult = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Job.AuthResult.Result} returns this
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.setCheckResult = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};


/**
 * optional google.rpc.Status check_error = 3;
 * @return {?proto.google.rpc.Status}
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.getCheckError = function() {
  return /** @type{?proto.google.rpc.Status} */ (
    jspb.Message.getWrapperField(this, google_rpc_status_pb.Status, 3));
};


/**
 * @param {?proto.google.rpc.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.AuthResult.Result} returns this
*/
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.setCheckError = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.AuthResult.Result} returns this
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.clearCheckError = function() {
  return this.setCheckError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.hasCheckError = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional bool auth_completed = 4;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.getAuthCompleted = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Job.AuthResult.Result} returns this
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.setAuthCompleted = function(value) {
  return jspb.Message.setProto3BooleanField(this, 4, value);
};


/**
 * optional google.rpc.Status auth_error = 5;
 * @return {?proto.google.rpc.Status}
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.getAuthError = function() {
  return /** @type{?proto.google.rpc.Status} */ (
    jspb.Message.getWrapperField(this, google_rpc_status_pb.Status, 5));
};


/**
 * @param {?proto.google.rpc.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.AuthResult.Result} returns this
*/
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.setAuthError = function(value) {
  return jspb.Message.setWrapperField(this, 5, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.AuthResult.Result} returns this
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.clearAuthError = function() {
  return this.setAuthError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.hasAuthError = function() {
  return jspb.Message.getField(this, 5) != null;
};


/**
 * optional bool auth_supported = 6;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.getAuthSupported = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Job.AuthResult.Result} returns this
 */
proto.hashicorp.waypoint.Job.AuthResult.Result.prototype.setAuthSupported = function(value) {
  return jspb.Message.setProto3BooleanField(this, 6, value);
};


/**
 * repeated Result results = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Job.AuthResult.Result>}
 */
proto.hashicorp.waypoint.Job.AuthResult.prototype.getResultsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Job.AuthResult.Result>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Job.AuthResult.Result, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Job.AuthResult.Result>} value
 * @return {!proto.hashicorp.waypoint.Job.AuthResult} returns this
*/
proto.hashicorp.waypoint.Job.AuthResult.prototype.setResultsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Job.AuthResult.Result=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Job.AuthResult.Result}
 */
proto.hashicorp.waypoint.Job.AuthResult.prototype.addResults = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.Job.AuthResult.Result, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Job.AuthResult} returns this
 */
proto.hashicorp.waypoint.Job.AuthResult.prototype.clearResultsList = function() {
  return this.setResultsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.BuildOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.BuildOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.BuildOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.BuildOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    disablePush: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.BuildOp}
 */
proto.hashicorp.waypoint.Job.BuildOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.BuildOp;
  return proto.hashicorp.waypoint.Job.BuildOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.BuildOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.BuildOp}
 */
proto.hashicorp.waypoint.Job.BuildOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setDisablePush(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.BuildOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.BuildOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.BuildOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.BuildOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDisablePush();
  if (f) {
    writer.writeBool(
      1,
      f
    );
  }
};


/**
 * optional bool disable_push = 1;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.BuildOp.prototype.getDisablePush = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Job.BuildOp} returns this
 */
proto.hashicorp.waypoint.Job.BuildOp.prototype.setDisablePush = function(value) {
  return jspb.Message.setProto3BooleanField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.BuildResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.BuildResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.BuildResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.BuildResult.toObject = function(includeInstance, msg) {
  var f, obj = {
    build: (f = msg.getBuild()) && proto.hashicorp.waypoint.Build.toObject(includeInstance, f),
    push: (f = msg.getPush()) && proto.hashicorp.waypoint.PushedArtifact.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.BuildResult}
 */
proto.hashicorp.waypoint.Job.BuildResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.BuildResult;
  return proto.hashicorp.waypoint.Job.BuildResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.BuildResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.BuildResult}
 */
proto.hashicorp.waypoint.Job.BuildResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Build;
      reader.readMessage(value,proto.hashicorp.waypoint.Build.deserializeBinaryFromReader);
      msg.setBuild(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.PushedArtifact;
      reader.readMessage(value,proto.hashicorp.waypoint.PushedArtifact.deserializeBinaryFromReader);
      msg.setPush(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.BuildResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.BuildResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.BuildResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.BuildResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getBuild();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Build.serializeBinaryToWriter
    );
  }
  f = message.getPush();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.PushedArtifact.serializeBinaryToWriter
    );
  }
};


/**
 * optional Build build = 1;
 * @return {?proto.hashicorp.waypoint.Build}
 */
proto.hashicorp.waypoint.Job.BuildResult.prototype.getBuild = function() {
  return /** @type{?proto.hashicorp.waypoint.Build} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Build, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Build|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.BuildResult} returns this
*/
proto.hashicorp.waypoint.Job.BuildResult.prototype.setBuild = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.BuildResult} returns this
 */
proto.hashicorp.waypoint.Job.BuildResult.prototype.clearBuild = function() {
  return this.setBuild(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.BuildResult.prototype.hasBuild = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional PushedArtifact push = 2;
 * @return {?proto.hashicorp.waypoint.PushedArtifact}
 */
proto.hashicorp.waypoint.Job.BuildResult.prototype.getPush = function() {
  return /** @type{?proto.hashicorp.waypoint.PushedArtifact} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.PushedArtifact, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.PushedArtifact|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.BuildResult} returns this
*/
proto.hashicorp.waypoint.Job.BuildResult.prototype.setPush = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.BuildResult} returns this
 */
proto.hashicorp.waypoint.Job.BuildResult.prototype.clearPush = function() {
  return this.setPush(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.BuildResult.prototype.hasPush = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.PushOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.PushOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.PushOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.PushOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    build: (f = msg.getBuild()) && proto.hashicorp.waypoint.Build.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.PushOp}
 */
proto.hashicorp.waypoint.Job.PushOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.PushOp;
  return proto.hashicorp.waypoint.Job.PushOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.PushOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.PushOp}
 */
proto.hashicorp.waypoint.Job.PushOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Build;
      reader.readMessage(value,proto.hashicorp.waypoint.Build.deserializeBinaryFromReader);
      msg.setBuild(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.PushOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.PushOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.PushOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.PushOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getBuild();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Build.serializeBinaryToWriter
    );
  }
};


/**
 * optional Build build = 1;
 * @return {?proto.hashicorp.waypoint.Build}
 */
proto.hashicorp.waypoint.Job.PushOp.prototype.getBuild = function() {
  return /** @type{?proto.hashicorp.waypoint.Build} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Build, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Build|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.PushOp} returns this
*/
proto.hashicorp.waypoint.Job.PushOp.prototype.setBuild = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.PushOp} returns this
 */
proto.hashicorp.waypoint.Job.PushOp.prototype.clearBuild = function() {
  return this.setBuild(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.PushOp.prototype.hasBuild = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.PushResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.PushResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.PushResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.PushResult.toObject = function(includeInstance, msg) {
  var f, obj = {
    artifact: (f = msg.getArtifact()) && proto.hashicorp.waypoint.PushedArtifact.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.PushResult}
 */
proto.hashicorp.waypoint.Job.PushResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.PushResult;
  return proto.hashicorp.waypoint.Job.PushResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.PushResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.PushResult}
 */
proto.hashicorp.waypoint.Job.PushResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.PushedArtifact;
      reader.readMessage(value,proto.hashicorp.waypoint.PushedArtifact.deserializeBinaryFromReader);
      msg.setArtifact(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.PushResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.PushResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.PushResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.PushResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getArtifact();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.PushedArtifact.serializeBinaryToWriter
    );
  }
};


/**
 * optional PushedArtifact artifact = 1;
 * @return {?proto.hashicorp.waypoint.PushedArtifact}
 */
proto.hashicorp.waypoint.Job.PushResult.prototype.getArtifact = function() {
  return /** @type{?proto.hashicorp.waypoint.PushedArtifact} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.PushedArtifact, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.PushedArtifact|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.PushResult} returns this
*/
proto.hashicorp.waypoint.Job.PushResult.prototype.setArtifact = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.PushResult} returns this
 */
proto.hashicorp.waypoint.Job.PushResult.prototype.clearArtifact = function() {
  return this.setArtifact(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.PushResult.prototype.hasArtifact = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.DeployOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.DeployOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.DeployOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DeployOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    artifact: (f = msg.getArtifact()) && proto.hashicorp.waypoint.PushedArtifact.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.DeployOp}
 */
proto.hashicorp.waypoint.Job.DeployOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.DeployOp;
  return proto.hashicorp.waypoint.Job.DeployOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.DeployOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.DeployOp}
 */
proto.hashicorp.waypoint.Job.DeployOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.PushedArtifact;
      reader.readMessage(value,proto.hashicorp.waypoint.PushedArtifact.deserializeBinaryFromReader);
      msg.setArtifact(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.DeployOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.DeployOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.DeployOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DeployOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getArtifact();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.PushedArtifact.serializeBinaryToWriter
    );
  }
};


/**
 * optional PushedArtifact artifact = 1;
 * @return {?proto.hashicorp.waypoint.PushedArtifact}
 */
proto.hashicorp.waypoint.Job.DeployOp.prototype.getArtifact = function() {
  return /** @type{?proto.hashicorp.waypoint.PushedArtifact} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.PushedArtifact, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.PushedArtifact|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.DeployOp} returns this
*/
proto.hashicorp.waypoint.Job.DeployOp.prototype.setArtifact = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.DeployOp} returns this
 */
proto.hashicorp.waypoint.Job.DeployOp.prototype.clearArtifact = function() {
  return this.setArtifact(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.DeployOp.prototype.hasArtifact = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.DeployResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.DeployResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.DeployResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DeployResult.toObject = function(includeInstance, msg) {
  var f, obj = {
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.Deployment.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.DeployResult}
 */
proto.hashicorp.waypoint.Job.DeployResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.DeployResult;
  return proto.hashicorp.waypoint.Job.DeployResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.DeployResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.DeployResult}
 */
proto.hashicorp.waypoint.Job.DeployResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Deployment;
      reader.readMessage(value,proto.hashicorp.waypoint.Deployment.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.DeployResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.DeployResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.DeployResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DeployResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Deployment.serializeBinaryToWriter
    );
  }
};


/**
 * optional Deployment deployment = 1;
 * @return {?proto.hashicorp.waypoint.Deployment}
 */
proto.hashicorp.waypoint.Job.DeployResult.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.Deployment} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Deployment, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Deployment|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.DeployResult} returns this
*/
proto.hashicorp.waypoint.Job.DeployResult.prototype.setDeployment = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.DeployResult} returns this
 */
proto.hashicorp.waypoint.Job.DeployResult.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.DeployResult.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.ExecOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.ExecOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.ExecOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ExecOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    instanceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.Deployment.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.ExecOp}
 */
proto.hashicorp.waypoint.Job.ExecOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.ExecOp;
  return proto.hashicorp.waypoint.Job.ExecOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.ExecOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.ExecOp}
 */
proto.hashicorp.waypoint.Job.ExecOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setInstanceId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Deployment;
      reader.readMessage(value,proto.hashicorp.waypoint.Deployment.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.ExecOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.ExecOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.ExecOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ExecOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getInstanceId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Deployment.serializeBinaryToWriter
    );
  }
};


/**
 * optional string instance_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.ExecOp.prototype.getInstanceId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.ExecOp} returns this
 */
proto.hashicorp.waypoint.Job.ExecOp.prototype.setInstanceId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional Deployment deployment = 2;
 * @return {?proto.hashicorp.waypoint.Deployment}
 */
proto.hashicorp.waypoint.Job.ExecOp.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.Deployment} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Deployment, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Deployment|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.ExecOp} returns this
*/
proto.hashicorp.waypoint.Job.ExecOp.prototype.setDeployment = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.ExecOp} returns this
 */
proto.hashicorp.waypoint.Job.ExecOp.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.ExecOp.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.ExecResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.ExecResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.ExecResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ExecResult.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.ExecResult}
 */
proto.hashicorp.waypoint.Job.ExecResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.ExecResult;
  return proto.hashicorp.waypoint.Job.ExecResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.ExecResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.ExecResult}
 */
proto.hashicorp.waypoint.Job.ExecResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.ExecResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.ExecResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.ExecResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ExecResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.LogsOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.LogsOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.LogsOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.LogsOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    instanceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.Deployment.toObject(includeInstance, f),
    startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    limit: jspb.Message.getFieldWithDefault(msg, 4, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.LogsOp}
 */
proto.hashicorp.waypoint.Job.LogsOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.LogsOp;
  return proto.hashicorp.waypoint.Job.LogsOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.LogsOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.LogsOp}
 */
proto.hashicorp.waypoint.Job.LogsOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setInstanceId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Deployment;
      reader.readMessage(value,proto.hashicorp.waypoint.Deployment.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    case 3:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setStartTime(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setLimit(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.LogsOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.LogsOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.LogsOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.LogsOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getInstanceId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Deployment.serializeBinaryToWriter
    );
  }
  f = message.getStartTime();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getLimit();
  if (f !== 0) {
    writer.writeInt32(
      4,
      f
    );
  }
};


/**
 * optional string instance_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.LogsOp.prototype.getInstanceId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.LogsOp} returns this
 */
proto.hashicorp.waypoint.Job.LogsOp.prototype.setInstanceId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional Deployment deployment = 2;
 * @return {?proto.hashicorp.waypoint.Deployment}
 */
proto.hashicorp.waypoint.Job.LogsOp.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.Deployment} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Deployment, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Deployment|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.LogsOp} returns this
*/
proto.hashicorp.waypoint.Job.LogsOp.prototype.setDeployment = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.LogsOp} returns this
 */
proto.hashicorp.waypoint.Job.LogsOp.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.LogsOp.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional google.protobuf.Timestamp start_time = 3;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Job.LogsOp.prototype.getStartTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.LogsOp} returns this
*/
proto.hashicorp.waypoint.Job.LogsOp.prototype.setStartTime = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.LogsOp} returns this
 */
proto.hashicorp.waypoint.Job.LogsOp.prototype.clearStartTime = function() {
  return this.setStartTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.LogsOp.prototype.hasStartTime = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional int32 limit = 4;
 * @return {number}
 */
proto.hashicorp.waypoint.Job.LogsOp.prototype.getLimit = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Job.LogsOp} returns this
 */
proto.hashicorp.waypoint.Job.LogsOp.prototype.setLimit = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Job.DestroyOp.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Job.DestroyOp.TargetCase = {
  TARGET_NOT_SET: 0,
  WORKSPACE: 1,
  DEPLOYMENT: 2
};

/**
 * @return {proto.hashicorp.waypoint.Job.DestroyOp.TargetCase}
 */
proto.hashicorp.waypoint.Job.DestroyOp.prototype.getTargetCase = function() {
  return /** @type {proto.hashicorp.waypoint.Job.DestroyOp.TargetCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Job.DestroyOp.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.DestroyOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.DestroyOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.DestroyOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DestroyOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    workspace: (f = msg.getWorkspace()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.Deployment.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.DestroyOp}
 */
proto.hashicorp.waypoint.Job.DestroyOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.DestroyOp;
  return proto.hashicorp.waypoint.Job.DestroyOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.DestroyOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.DestroyOp}
 */
proto.hashicorp.waypoint.Job.DestroyOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new google_protobuf_empty_pb.Empty;
      reader.readMessage(value,google_protobuf_empty_pb.Empty.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Deployment;
      reader.readMessage(value,proto.hashicorp.waypoint.Deployment.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.DestroyOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.DestroyOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.DestroyOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DestroyOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      google_protobuf_empty_pb.Empty.serializeBinaryToWriter
    );
  }
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Deployment.serializeBinaryToWriter
    );
  }
};


/**
 * optional google.protobuf.Empty workspace = 1;
 * @return {?proto.google.protobuf.Empty}
 */
proto.hashicorp.waypoint.Job.DestroyOp.prototype.getWorkspace = function() {
  return /** @type{?proto.google.protobuf.Empty} */ (
    jspb.Message.getWrapperField(this, google_protobuf_empty_pb.Empty, 1));
};


/**
 * @param {?proto.google.protobuf.Empty|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.DestroyOp} returns this
*/
proto.hashicorp.waypoint.Job.DestroyOp.prototype.setWorkspace = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.Job.DestroyOp.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.DestroyOp} returns this
 */
proto.hashicorp.waypoint.Job.DestroyOp.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.DestroyOp.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Deployment deployment = 2;
 * @return {?proto.hashicorp.waypoint.Deployment}
 */
proto.hashicorp.waypoint.Job.DestroyOp.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.Deployment} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Deployment, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Deployment|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.DestroyOp} returns this
*/
proto.hashicorp.waypoint.Job.DestroyOp.prototype.setDeployment = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.Job.DestroyOp.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.DestroyOp} returns this
 */
proto.hashicorp.waypoint.Job.DestroyOp.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.DestroyOp.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.ReleaseOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.ReleaseOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.ReleaseOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ReleaseOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.Deployment.toObject(includeInstance, f),
    prune: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
    pruneRetain: jspb.Message.getFieldWithDefault(msg, 3, 0),
    pruneRetainOverride: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.ReleaseOp}
 */
proto.hashicorp.waypoint.Job.ReleaseOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.ReleaseOp;
  return proto.hashicorp.waypoint.Job.ReleaseOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.ReleaseOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.ReleaseOp}
 */
proto.hashicorp.waypoint.Job.ReleaseOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Deployment;
      reader.readMessage(value,proto.hashicorp.waypoint.Deployment.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setPrune(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setPruneRetain(value);
      break;
    case 4:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setPruneRetainOverride(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.ReleaseOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.ReleaseOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.ReleaseOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ReleaseOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Deployment.serializeBinaryToWriter
    );
  }
  f = message.getPrune();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
  f = message.getPruneRetain();
  if (f !== 0) {
    writer.writeInt32(
      3,
      f
    );
  }
  f = message.getPruneRetainOverride();
  if (f) {
    writer.writeBool(
      4,
      f
    );
  }
};


/**
 * optional Deployment deployment = 1;
 * @return {?proto.hashicorp.waypoint.Deployment}
 */
proto.hashicorp.waypoint.Job.ReleaseOp.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.Deployment} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Deployment, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Deployment|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.ReleaseOp} returns this
*/
proto.hashicorp.waypoint.Job.ReleaseOp.prototype.setDeployment = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.ReleaseOp} returns this
 */
proto.hashicorp.waypoint.Job.ReleaseOp.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.ReleaseOp.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional bool prune = 2;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.ReleaseOp.prototype.getPrune = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Job.ReleaseOp} returns this
 */
proto.hashicorp.waypoint.Job.ReleaseOp.prototype.setPrune = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};


/**
 * optional int32 prune_retain = 3;
 * @return {number}
 */
proto.hashicorp.waypoint.Job.ReleaseOp.prototype.getPruneRetain = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Job.ReleaseOp} returns this
 */
proto.hashicorp.waypoint.Job.ReleaseOp.prototype.setPruneRetain = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional bool prune_retain_override = 4;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.ReleaseOp.prototype.getPruneRetainOverride = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Job.ReleaseOp} returns this
 */
proto.hashicorp.waypoint.Job.ReleaseOp.prototype.setPruneRetainOverride = function(value) {
  return jspb.Message.setProto3BooleanField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.ReleaseResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.ReleaseResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.ReleaseResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ReleaseResult.toObject = function(includeInstance, msg) {
  var f, obj = {
    release: (f = msg.getRelease()) && proto.hashicorp.waypoint.Release.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.ReleaseResult}
 */
proto.hashicorp.waypoint.Job.ReleaseResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.ReleaseResult;
  return proto.hashicorp.waypoint.Job.ReleaseResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.ReleaseResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.ReleaseResult}
 */
proto.hashicorp.waypoint.Job.ReleaseResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Release;
      reader.readMessage(value,proto.hashicorp.waypoint.Release.deserializeBinaryFromReader);
      msg.setRelease(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.ReleaseResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.ReleaseResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.ReleaseResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ReleaseResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRelease();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Release.serializeBinaryToWriter
    );
  }
};


/**
 * optional Release release = 1;
 * @return {?proto.hashicorp.waypoint.Release}
 */
proto.hashicorp.waypoint.Job.ReleaseResult.prototype.getRelease = function() {
  return /** @type{?proto.hashicorp.waypoint.Release} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Release, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Release|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.ReleaseResult} returns this
*/
proto.hashicorp.waypoint.Job.ReleaseResult.prototype.setRelease = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.ReleaseResult} returns this
 */
proto.hashicorp.waypoint.Job.ReleaseResult.prototype.clearRelease = function() {
  return this.setRelease(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.ReleaseResult.prototype.hasRelease = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.TaskPluginParams.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.TaskPluginParams.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.TaskPluginParams} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.TaskPluginParams.toObject = function(includeInstance, msg) {
  var f, obj = {
    pluginType: jspb.Message.getFieldWithDefault(msg, 2, ""),
    hclConfig: msg.getHclConfig_asB64(),
    hclFormat: jspb.Message.getFieldWithDefault(msg, 4, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.TaskPluginParams}
 */
proto.hashicorp.waypoint.Job.TaskPluginParams.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.TaskPluginParams;
  return proto.hashicorp.waypoint.Job.TaskPluginParams.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.TaskPluginParams} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.TaskPluginParams}
 */
proto.hashicorp.waypoint.Job.TaskPluginParams.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setPluginType(value);
      break;
    case 3:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setHclConfig(value);
      break;
    case 4:
      var value = /** @type {!proto.hashicorp.waypoint.Hcl.Format} */ (reader.readEnum());
      msg.setHclFormat(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.TaskPluginParams.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.TaskPluginParams.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.TaskPluginParams} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.TaskPluginParams.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPluginType();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getHclConfig_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      3,
      f
    );
  }
  f = message.getHclFormat();
  if (f !== 0.0) {
    writer.writeEnum(
      4,
      f
    );
  }
};


/**
 * optional string plugin_type = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.TaskPluginParams.prototype.getPluginType = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.TaskPluginParams} returns this
 */
proto.hashicorp.waypoint.Job.TaskPluginParams.prototype.setPluginType = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional bytes hcl_config = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.TaskPluginParams.prototype.getHclConfig = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * optional bytes hcl_config = 3;
 * This is a type-conversion wrapper around `getHclConfig()`
 * @return {string}
 */
proto.hashicorp.waypoint.Job.TaskPluginParams.prototype.getHclConfig_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getHclConfig()));
};


/**
 * optional bytes hcl_config = 3;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getHclConfig()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.TaskPluginParams.prototype.getHclConfig_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getHclConfig()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.Job.TaskPluginParams} returns this
 */
proto.hashicorp.waypoint.Job.TaskPluginParams.prototype.setHclConfig = function(value) {
  return jspb.Message.setProto3BytesField(this, 3, value);
};


/**
 * optional Hcl.Format hcl_format = 4;
 * @return {!proto.hashicorp.waypoint.Hcl.Format}
 */
proto.hashicorp.waypoint.Job.TaskPluginParams.prototype.getHclFormat = function() {
  return /** @type {!proto.hashicorp.waypoint.Hcl.Format} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Hcl.Format} value
 * @return {!proto.hashicorp.waypoint.Job.TaskPluginParams} returns this
 */
proto.hashicorp.waypoint.Job.TaskPluginParams.prototype.setHclFormat = function(value) {
  return jspb.Message.setProto3EnumField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.StartTaskLaunchOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.StartTaskLaunchOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.StartTaskLaunchOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.StartTaskLaunchOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    info: (f = msg.getInfo()) && proto.hashicorp.waypoint.TaskLaunchInfo.toObject(includeInstance, f),
    params: (f = msg.getParams()) && proto.hashicorp.waypoint.Job.TaskPluginParams.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.StartTaskLaunchOp}
 */
proto.hashicorp.waypoint.Job.StartTaskLaunchOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.StartTaskLaunchOp;
  return proto.hashicorp.waypoint.Job.StartTaskLaunchOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.StartTaskLaunchOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.StartTaskLaunchOp}
 */
proto.hashicorp.waypoint.Job.StartTaskLaunchOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.TaskLaunchInfo;
      reader.readMessage(value,proto.hashicorp.waypoint.TaskLaunchInfo.deserializeBinaryFromReader);
      msg.setInfo(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Job.TaskPluginParams;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.TaskPluginParams.deserializeBinaryFromReader);
      msg.setParams(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.StartTaskLaunchOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.StartTaskLaunchOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.StartTaskLaunchOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.StartTaskLaunchOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getInfo();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.TaskLaunchInfo.serializeBinaryToWriter
    );
  }
  f = message.getParams();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Job.TaskPluginParams.serializeBinaryToWriter
    );
  }
};


/**
 * optional TaskLaunchInfo info = 1;
 * @return {?proto.hashicorp.waypoint.TaskLaunchInfo}
 */
proto.hashicorp.waypoint.Job.StartTaskLaunchOp.prototype.getInfo = function() {
  return /** @type{?proto.hashicorp.waypoint.TaskLaunchInfo} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.TaskLaunchInfo, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.TaskLaunchInfo|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.StartTaskLaunchOp} returns this
*/
proto.hashicorp.waypoint.Job.StartTaskLaunchOp.prototype.setInfo = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.StartTaskLaunchOp} returns this
 */
proto.hashicorp.waypoint.Job.StartTaskLaunchOp.prototype.clearInfo = function() {
  return this.setInfo(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.StartTaskLaunchOp.prototype.hasInfo = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional TaskPluginParams params = 2;
 * @return {?proto.hashicorp.waypoint.Job.TaskPluginParams}
 */
proto.hashicorp.waypoint.Job.StartTaskLaunchOp.prototype.getParams = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.TaskPluginParams} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.TaskPluginParams, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.TaskPluginParams|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.StartTaskLaunchOp} returns this
*/
proto.hashicorp.waypoint.Job.StartTaskLaunchOp.prototype.setParams = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.StartTaskLaunchOp} returns this
 */
proto.hashicorp.waypoint.Job.StartTaskLaunchOp.prototype.clearParams = function() {
  return this.setParams(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.StartTaskLaunchOp.prototype.hasParams = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.StartTaskResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.StartTaskResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.StartTaskResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.StartTaskResult.toObject = function(includeInstance, msg) {
  var f, obj = {
    state: (f = msg.getState()) && any_pb.Any.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.StartTaskResult}
 */
proto.hashicorp.waypoint.Job.StartTaskResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.StartTaskResult;
  return proto.hashicorp.waypoint.Job.StartTaskResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.StartTaskResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.StartTaskResult}
 */
proto.hashicorp.waypoint.Job.StartTaskResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new any_pb.Any;
      reader.readMessage(value,any_pb.Any.deserializeBinaryFromReader);
      msg.setState(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.StartTaskResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.StartTaskResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.StartTaskResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.StartTaskResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getState();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      any_pb.Any.serializeBinaryToWriter
    );
  }
};


/**
 * optional opaqueany.Any state = 1;
 * @return {?proto.opaqueany.Any}
 */
proto.hashicorp.waypoint.Job.StartTaskResult.prototype.getState = function() {
  return /** @type{?proto.opaqueany.Any} */ (
    jspb.Message.getWrapperField(this, any_pb.Any, 1));
};


/**
 * @param {?proto.opaqueany.Any|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.StartTaskResult} returns this
*/
proto.hashicorp.waypoint.Job.StartTaskResult.prototype.setState = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.StartTaskResult} returns this
 */
proto.hashicorp.waypoint.Job.StartTaskResult.prototype.clearState = function() {
  return this.setState(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.StartTaskResult.prototype.hasState = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.oneofGroups_ = [[1,3]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.StateCase = {
  STATE_NOT_SET: 0,
  DIRECT: 1,
  START_JOB_ID: 3
};

/**
 * @return {proto.hashicorp.waypoint.Job.StopTaskLaunchOp.StateCase}
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.getStateCase = function() {
  return /** @type {proto.hashicorp.waypoint.Job.StopTaskLaunchOp.StateCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Job.StopTaskLaunchOp.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.StopTaskLaunchOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.StopTaskLaunchOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    params: (f = msg.getParams()) && proto.hashicorp.waypoint.Job.TaskPluginParams.toObject(includeInstance, f),
    direct: (f = msg.getDirect()) && any_pb.Any.toObject(includeInstance, f),
    startJobId: jspb.Message.getFieldWithDefault(msg, 3, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.StopTaskLaunchOp}
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.StopTaskLaunchOp;
  return proto.hashicorp.waypoint.Job.StopTaskLaunchOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.StopTaskLaunchOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.StopTaskLaunchOp}
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 2:
      var value = new proto.hashicorp.waypoint.Job.TaskPluginParams;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.TaskPluginParams.deserializeBinaryFromReader);
      msg.setParams(value);
      break;
    case 1:
      var value = new any_pb.Any;
      reader.readMessage(value,any_pb.Any.deserializeBinaryFromReader);
      msg.setDirect(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setStartJobId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.StopTaskLaunchOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.StopTaskLaunchOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getParams();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Job.TaskPluginParams.serializeBinaryToWriter
    );
  }
  f = message.getDirect();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      any_pb.Any.serializeBinaryToWriter
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 3));
  if (f != null) {
    writer.writeString(
      3,
      f
    );
  }
};


/**
 * optional TaskPluginParams params = 2;
 * @return {?proto.hashicorp.waypoint.Job.TaskPluginParams}
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.getParams = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.TaskPluginParams} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.TaskPluginParams, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.TaskPluginParams|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.StopTaskLaunchOp} returns this
*/
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.setParams = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.StopTaskLaunchOp} returns this
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.clearParams = function() {
  return this.setParams(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.hasParams = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional opaqueany.Any direct = 1;
 * @return {?proto.opaqueany.Any}
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.getDirect = function() {
  return /** @type{?proto.opaqueany.Any} */ (
    jspb.Message.getWrapperField(this, any_pb.Any, 1));
};


/**
 * @param {?proto.opaqueany.Any|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.StopTaskLaunchOp} returns this
*/
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.setDirect = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.Job.StopTaskLaunchOp.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.StopTaskLaunchOp} returns this
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.clearDirect = function() {
  return this.setDirect(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.hasDirect = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string start_job_id = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.getStartJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.StopTaskLaunchOp} returns this
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.setStartJobId = function(value) {
  return jspb.Message.setOneofField(this, 3, proto.hashicorp.waypoint.Job.StopTaskLaunchOp.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.StopTaskLaunchOp} returns this
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.clearStartJobId = function() {
  return jspb.Message.setOneofField(this, 3, proto.hashicorp.waypoint.Job.StopTaskLaunchOp.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.StopTaskLaunchOp.prototype.hasStartJobId = function() {
  return jspb.Message.getField(this, 3) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.WatchTaskOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.WatchTaskOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.WatchTaskOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.WatchTaskOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    startJob: (f = msg.getStartJob()) && proto.hashicorp.waypoint.Ref.Job.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.WatchTaskOp}
 */
proto.hashicorp.waypoint.Job.WatchTaskOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.WatchTaskOp;
  return proto.hashicorp.waypoint.Job.WatchTaskOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.WatchTaskOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.WatchTaskOp}
 */
proto.hashicorp.waypoint.Job.WatchTaskOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Job.deserializeBinaryFromReader);
      msg.setStartJob(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.WatchTaskOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.WatchTaskOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.WatchTaskOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.WatchTaskOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getStartJob();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Job.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Job start_job = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Job}
 */
proto.hashicorp.waypoint.Job.WatchTaskOp.prototype.getStartJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Job, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.WatchTaskOp} returns this
*/
proto.hashicorp.waypoint.Job.WatchTaskOp.prototype.setStartJob = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.WatchTaskOp} returns this
 */
proto.hashicorp.waypoint.Job.WatchTaskOp.prototype.clearStartJob = function() {
  return this.setStartJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.WatchTaskOp.prototype.hasStartJob = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.WatchTaskResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.WatchTaskResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.WatchTaskResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.WatchTaskResult.toObject = function(includeInstance, msg) {
  var f, obj = {
    exitCode: jspb.Message.getFieldWithDefault(msg, 1, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.WatchTaskResult}
 */
proto.hashicorp.waypoint.Job.WatchTaskResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.WatchTaskResult;
  return proto.hashicorp.waypoint.Job.WatchTaskResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.WatchTaskResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.WatchTaskResult}
 */
proto.hashicorp.waypoint.Job.WatchTaskResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setExitCode(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.WatchTaskResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.WatchTaskResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.WatchTaskResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.WatchTaskResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getExitCode();
  if (f !== 0) {
    writer.writeInt32(
      1,
      f
    );
  }
};


/**
 * optional int32 exit_code = 1;
 * @return {number}
 */
proto.hashicorp.waypoint.Job.WatchTaskResult.prototype.getExitCode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Job.WatchTaskResult} returns this
 */
proto.hashicorp.waypoint.Job.WatchTaskResult.prototype.setExitCode = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Job.StatusReportOp.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Job.StatusReportOp.TargetCase = {
  TARGET_NOT_SET: 0,
  DEPLOYMENT: 1,
  RELEASE: 2
};

/**
 * @return {proto.hashicorp.waypoint.Job.StatusReportOp.TargetCase}
 */
proto.hashicorp.waypoint.Job.StatusReportOp.prototype.getTargetCase = function() {
  return /** @type {proto.hashicorp.waypoint.Job.StatusReportOp.TargetCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Job.StatusReportOp.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.StatusReportOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.StatusReportOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.StatusReportOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.StatusReportOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.Deployment.toObject(includeInstance, f),
    release: (f = msg.getRelease()) && proto.hashicorp.waypoint.Release.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.StatusReportOp}
 */
proto.hashicorp.waypoint.Job.StatusReportOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.StatusReportOp;
  return proto.hashicorp.waypoint.Job.StatusReportOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.StatusReportOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.StatusReportOp}
 */
proto.hashicorp.waypoint.Job.StatusReportOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Deployment;
      reader.readMessage(value,proto.hashicorp.waypoint.Deployment.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Release;
      reader.readMessage(value,proto.hashicorp.waypoint.Release.deserializeBinaryFromReader);
      msg.setRelease(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.StatusReportOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.StatusReportOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.StatusReportOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.StatusReportOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Deployment.serializeBinaryToWriter
    );
  }
  f = message.getRelease();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Release.serializeBinaryToWriter
    );
  }
};


/**
 * optional Deployment deployment = 1;
 * @return {?proto.hashicorp.waypoint.Deployment}
 */
proto.hashicorp.waypoint.Job.StatusReportOp.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.Deployment} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Deployment, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Deployment|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.StatusReportOp} returns this
*/
proto.hashicorp.waypoint.Job.StatusReportOp.prototype.setDeployment = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.Job.StatusReportOp.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.StatusReportOp} returns this
 */
proto.hashicorp.waypoint.Job.StatusReportOp.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.StatusReportOp.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Release release = 2;
 * @return {?proto.hashicorp.waypoint.Release}
 */
proto.hashicorp.waypoint.Job.StatusReportOp.prototype.getRelease = function() {
  return /** @type{?proto.hashicorp.waypoint.Release} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Release, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Release|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.StatusReportOp} returns this
*/
proto.hashicorp.waypoint.Job.StatusReportOp.prototype.setRelease = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.Job.StatusReportOp.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.StatusReportOp} returns this
 */
proto.hashicorp.waypoint.Job.StatusReportOp.prototype.clearRelease = function() {
  return this.setRelease(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.StatusReportOp.prototype.hasRelease = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.StatusReportResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.StatusReportResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.StatusReportResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.StatusReportResult.toObject = function(includeInstance, msg) {
  var f, obj = {
    statusReport: (f = msg.getStatusReport()) && proto.hashicorp.waypoint.StatusReport.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.StatusReportResult}
 */
proto.hashicorp.waypoint.Job.StatusReportResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.StatusReportResult;
  return proto.hashicorp.waypoint.Job.StatusReportResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.StatusReportResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.StatusReportResult}
 */
proto.hashicorp.waypoint.Job.StatusReportResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.StatusReport;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusReport.deserializeBinaryFromReader);
      msg.setStatusReport(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.StatusReportResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.StatusReportResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.StatusReportResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.StatusReportResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getStatusReport();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.StatusReport.serializeBinaryToWriter
    );
  }
};


/**
 * optional StatusReport status_report = 1;
 * @return {?proto.hashicorp.waypoint.StatusReport}
 */
proto.hashicorp.waypoint.Job.StatusReportResult.prototype.getStatusReport = function() {
  return /** @type{?proto.hashicorp.waypoint.StatusReport} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.StatusReport, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.StatusReport|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.StatusReportResult} returns this
*/
proto.hashicorp.waypoint.Job.StatusReportResult.prototype.setStatusReport = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.StatusReportResult} returns this
 */
proto.hashicorp.waypoint.Job.StatusReportResult.prototype.clearStatusReport = function() {
  return this.setStatusReport(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.StatusReportResult.prototype.hasStatusReport = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.DocsOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.DocsOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.DocsOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DocsOp.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.DocsOp}
 */
proto.hashicorp.waypoint.Job.DocsOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.DocsOp;
  return proto.hashicorp.waypoint.Job.DocsOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.DocsOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.DocsOp}
 */
proto.hashicorp.waypoint.Job.DocsOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.DocsOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.DocsOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.DocsOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DocsOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.Job.DocsResult.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.DocsResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.DocsResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.DocsResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DocsResult.toObject = function(includeInstance, msg) {
  var f, obj = {
    resultsList: jspb.Message.toObjectList(msg.getResultsList(),
    proto.hashicorp.waypoint.Job.DocsResult.Result.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.DocsResult}
 */
proto.hashicorp.waypoint.Job.DocsResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.DocsResult;
  return proto.hashicorp.waypoint.Job.DocsResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.DocsResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.DocsResult}
 */
proto.hashicorp.waypoint.Job.DocsResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job.DocsResult.Result;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DocsResult.Result.deserializeBinaryFromReader);
      msg.addResults(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.DocsResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.DocsResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.DocsResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DocsResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getResultsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.DocsResult.Result.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.DocsResult.Result.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.DocsResult.Result.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.DocsResult.Result} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DocsResult.Result.toObject = function(includeInstance, msg) {
  var f, obj = {
    component: (f = msg.getComponent()) && proto.hashicorp.waypoint.Component.toObject(includeInstance, f),
    docs: (f = msg.getDocs()) && proto.hashicorp.waypoint.Documentation.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.DocsResult.Result}
 */
proto.hashicorp.waypoint.Job.DocsResult.Result.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.DocsResult.Result;
  return proto.hashicorp.waypoint.Job.DocsResult.Result.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.DocsResult.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.DocsResult.Result}
 */
proto.hashicorp.waypoint.Job.DocsResult.Result.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Component;
      reader.readMessage(value,proto.hashicorp.waypoint.Component.deserializeBinaryFromReader);
      msg.setComponent(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Documentation;
      reader.readMessage(value,proto.hashicorp.waypoint.Documentation.deserializeBinaryFromReader);
      msg.setDocs(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.DocsResult.Result.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.DocsResult.Result.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.DocsResult.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.DocsResult.Result.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getComponent();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Component.serializeBinaryToWriter
    );
  }
  f = message.getDocs();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Documentation.serializeBinaryToWriter
    );
  }
};


/**
 * optional Component component = 1;
 * @return {?proto.hashicorp.waypoint.Component}
 */
proto.hashicorp.waypoint.Job.DocsResult.Result.prototype.getComponent = function() {
  return /** @type{?proto.hashicorp.waypoint.Component} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Component, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Component|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.DocsResult.Result} returns this
*/
proto.hashicorp.waypoint.Job.DocsResult.Result.prototype.setComponent = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.DocsResult.Result} returns this
 */
proto.hashicorp.waypoint.Job.DocsResult.Result.prototype.clearComponent = function() {
  return this.setComponent(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.DocsResult.Result.prototype.hasComponent = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Documentation docs = 2;
 * @return {?proto.hashicorp.waypoint.Documentation}
 */
proto.hashicorp.waypoint.Job.DocsResult.Result.prototype.getDocs = function() {
  return /** @type{?proto.hashicorp.waypoint.Documentation} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Documentation, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Documentation|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.DocsResult.Result} returns this
*/
proto.hashicorp.waypoint.Job.DocsResult.Result.prototype.setDocs = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.DocsResult.Result} returns this
 */
proto.hashicorp.waypoint.Job.DocsResult.Result.prototype.clearDocs = function() {
  return this.setDocs(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.DocsResult.Result.prototype.hasDocs = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * repeated Result results = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Job.DocsResult.Result>}
 */
proto.hashicorp.waypoint.Job.DocsResult.prototype.getResultsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Job.DocsResult.Result>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Job.DocsResult.Result, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Job.DocsResult.Result>} value
 * @return {!proto.hashicorp.waypoint.Job.DocsResult} returns this
*/
proto.hashicorp.waypoint.Job.DocsResult.prototype.setResultsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Job.DocsResult.Result=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Job.DocsResult.Result}
 */
proto.hashicorp.waypoint.Job.DocsResult.prototype.addResults = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.Job.DocsResult.Result, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Job.DocsResult} returns this
 */
proto.hashicorp.waypoint.Job.DocsResult.prototype.clearResultsList = function() {
  return this.setResultsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.ConfigSyncOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.ConfigSyncOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.ConfigSyncOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ConfigSyncOp.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.ConfigSyncOp}
 */
proto.hashicorp.waypoint.Job.ConfigSyncOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.ConfigSyncOp;
  return proto.hashicorp.waypoint.Job.ConfigSyncOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.ConfigSyncOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.ConfigSyncOp}
 */
proto.hashicorp.waypoint.Job.ConfigSyncOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.ConfigSyncOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.ConfigSyncOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.ConfigSyncOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ConfigSyncOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.ConfigSyncResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.ConfigSyncResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.ConfigSyncResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ConfigSyncResult.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.ConfigSyncResult}
 */
proto.hashicorp.waypoint.Job.ConfigSyncResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.ConfigSyncResult;
  return proto.hashicorp.waypoint.Job.ConfigSyncResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.ConfigSyncResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.ConfigSyncResult}
 */
proto.hashicorp.waypoint.Job.ConfigSyncResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.ConfigSyncResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.ConfigSyncResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.ConfigSyncResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.ConfigSyncResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.PipelineConfigSyncResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.toObject = function(includeInstance, msg) {
  var f, obj = {
    syncedPipelinesMap: (f = msg.getSyncedPipelinesMap()) ? f.toObject(includeInstance, proto.hashicorp.waypoint.Ref.Pipeline.toObject) : []
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.PipelineConfigSyncResult}
 */
proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.PipelineConfigSyncResult;
  return proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.PipelineConfigSyncResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.PipelineConfigSyncResult}
 */
proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = msg.getSyncedPipelinesMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.hashicorp.waypoint.Ref.Pipeline.deserializeBinaryFromReader, "", new proto.hashicorp.waypoint.Ref.Pipeline());
         });
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.PipelineConfigSyncResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSyncedPipelinesMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.hashicorp.waypoint.Ref.Pipeline.serializeBinaryToWriter);
  }
};


/**
 * map<string, Ref.Pipeline> synced_pipelines = 1;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,!proto.hashicorp.waypoint.Ref.Pipeline>}
 */
proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.prototype.getSyncedPipelinesMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,!proto.hashicorp.waypoint.Ref.Pipeline>} */ (
      jspb.Message.getMapField(this, 1, opt_noLazyCreate,
      proto.hashicorp.waypoint.Ref.Pipeline));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.Job.PipelineConfigSyncResult} returns this
 */
proto.hashicorp.waypoint.Job.PipelineConfigSyncResult.prototype.clearSyncedPipelinesMap = function() {
  this.getSyncedPipelinesMap().clear();
  return this;};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.PollOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.PollOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.PollOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.PollOp.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.PollOp}
 */
proto.hashicorp.waypoint.Job.PollOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.PollOp;
  return proto.hashicorp.waypoint.Job.PollOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.PollOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.PollOp}
 */
proto.hashicorp.waypoint.Job.PollOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.PollOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.PollOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.PollOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.PollOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.PollResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.PollResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.PollResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.PollResult.toObject = function(includeInstance, msg) {
  var f, obj = {
    jobId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    oldRef: (f = msg.getOldRef()) && proto.hashicorp.waypoint.Job.DataSource.Ref.toObject(includeInstance, f),
    newRef: (f = msg.getNewRef()) && proto.hashicorp.waypoint.Job.DataSource.Ref.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.PollResult}
 */
proto.hashicorp.waypoint.Job.PollResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.PollResult;
  return proto.hashicorp.waypoint.Job.PollResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.PollResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.PollResult}
 */
proto.hashicorp.waypoint.Job.PollResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setJobId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Job.DataSource.Ref;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DataSource.Ref.deserializeBinaryFromReader);
      msg.setOldRef(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Job.DataSource.Ref;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DataSource.Ref.deserializeBinaryFromReader);
      msg.setNewRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.PollResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.PollResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.PollResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.PollResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJobId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getOldRef();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Job.DataSource.Ref.serializeBinaryToWriter
    );
  }
  f = message.getNewRef();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Job.DataSource.Ref.serializeBinaryToWriter
    );
  }
};


/**
 * optional string job_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.PollResult.prototype.getJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.PollResult} returns this
 */
proto.hashicorp.waypoint.Job.PollResult.prototype.setJobId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional DataSource.Ref old_ref = 2;
 * @return {?proto.hashicorp.waypoint.Job.DataSource.Ref}
 */
proto.hashicorp.waypoint.Job.PollResult.prototype.getOldRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DataSource.Ref} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DataSource.Ref, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DataSource.Ref|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.PollResult} returns this
*/
proto.hashicorp.waypoint.Job.PollResult.prototype.setOldRef = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.PollResult} returns this
 */
proto.hashicorp.waypoint.Job.PollResult.prototype.clearOldRef = function() {
  return this.setOldRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.PollResult.prototype.hasOldRef = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional DataSource.Ref new_ref = 3;
 * @return {?proto.hashicorp.waypoint.Job.DataSource.Ref}
 */
proto.hashicorp.waypoint.Job.PollResult.prototype.getNewRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DataSource.Ref} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DataSource.Ref, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DataSource.Ref|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.PollResult} returns this
*/
proto.hashicorp.waypoint.Job.PollResult.prototype.setNewRef = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.PollResult} returns this
 */
proto.hashicorp.waypoint.Job.PollResult.prototype.clearNewRef = function() {
  return this.setNewRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.PollResult.prototype.hasNewRef = function() {
  return jspb.Message.getField(this, 3) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.InitOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.InitOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.InitOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.InitOp.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.InitOp}
 */
proto.hashicorp.waypoint.Job.InitOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.InitOp;
  return proto.hashicorp.waypoint.Job.InitOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.InitOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.InitOp}
 */
proto.hashicorp.waypoint.Job.InitOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.InitOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.InitOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.InitOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.InitOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.InitResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.InitResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.InitResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.InitResult.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.InitResult}
 */
proto.hashicorp.waypoint.Job.InitResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.InitResult;
  return proto.hashicorp.waypoint.Job.InitResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.InitResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.InitResult}
 */
proto.hashicorp.waypoint.Job.InitResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.InitResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.InitResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.InitResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.InitResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.PipelineStepOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.PipelineStepOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.PipelineStepOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.PipelineStepOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    step: (f = msg.getStep()) && proto.hashicorp.waypoint.Pipeline.Step.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.PipelineStepOp}
 */
proto.hashicorp.waypoint.Job.PipelineStepOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.PipelineStepOp;
  return proto.hashicorp.waypoint.Job.PipelineStepOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.PipelineStepOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.PipelineStepOp}
 */
proto.hashicorp.waypoint.Job.PipelineStepOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Pipeline.Step;
      reader.readMessage(value,proto.hashicorp.waypoint.Pipeline.Step.deserializeBinaryFromReader);
      msg.setStep(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.PipelineStepOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.PipelineStepOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.PipelineStepOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.PipelineStepOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getStep();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Pipeline.Step.serializeBinaryToWriter
    );
  }
};


/**
 * optional Pipeline.Step step = 1;
 * @return {?proto.hashicorp.waypoint.Pipeline.Step}
 */
proto.hashicorp.waypoint.Job.PipelineStepOp.prototype.getStep = function() {
  return /** @type{?proto.hashicorp.waypoint.Pipeline.Step} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Pipeline.Step, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Pipeline.Step|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.PipelineStepOp} returns this
*/
proto.hashicorp.waypoint.Job.PipelineStepOp.prototype.setStep = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.PipelineStepOp} returns this
 */
proto.hashicorp.waypoint.Job.PipelineStepOp.prototype.clearStep = function() {
  return this.setStep(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.PipelineStepOp.prototype.hasStep = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.PipelineStepResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.PipelineStepResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.PipelineStepResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.PipelineStepResult.toObject = function(includeInstance, msg) {
  var f, obj = {
    result: (f = msg.getResult()) && google_rpc_status_pb.Status.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.PipelineStepResult}
 */
proto.hashicorp.waypoint.Job.PipelineStepResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.PipelineStepResult;
  return proto.hashicorp.waypoint.Job.PipelineStepResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.PipelineStepResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.PipelineStepResult}
 */
proto.hashicorp.waypoint.Job.PipelineStepResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new google_rpc_status_pb.Status;
      reader.readMessage(value,google_rpc_status_pb.Status.deserializeBinaryFromReader);
      msg.setResult(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.PipelineStepResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.PipelineStepResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.PipelineStepResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.PipelineStepResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getResult();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      google_rpc_status_pb.Status.serializeBinaryToWriter
    );
  }
};


/**
 * optional google.rpc.Status result = 1;
 * @return {?proto.google.rpc.Status}
 */
proto.hashicorp.waypoint.Job.PipelineStepResult.prototype.getResult = function() {
  return /** @type{?proto.google.rpc.Status} */ (
    jspb.Message.getWrapperField(this, google_rpc_status_pb.Status, 1));
};


/**
 * @param {?proto.google.rpc.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.PipelineStepResult} returns this
*/
proto.hashicorp.waypoint.Job.PipelineStepResult.prototype.setResult = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.PipelineStepResult} returns this
 */
proto.hashicorp.waypoint.Job.PipelineStepResult.prototype.clearResult = function() {
  return this.setResult(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.PipelineStepResult.prototype.hasResult = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.QueueProjectOp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.QueueProjectOp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.QueueProjectOp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.QueueProjectOp.toObject = function(includeInstance, msg) {
  var f, obj = {
    jobTemplate: (f = msg.getJobTemplate()) && proto.hashicorp.waypoint.Job.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.QueueProjectOp}
 */
proto.hashicorp.waypoint.Job.QueueProjectOp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.QueueProjectOp;
  return proto.hashicorp.waypoint.Job.QueueProjectOp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.QueueProjectOp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.QueueProjectOp}
 */
proto.hashicorp.waypoint.Job.QueueProjectOp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.deserializeBinaryFromReader);
      msg.setJobTemplate(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.QueueProjectOp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.QueueProjectOp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.QueueProjectOp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.QueueProjectOp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJobTemplate();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.serializeBinaryToWriter
    );
  }
};


/**
 * optional Job job_template = 1;
 * @return {?proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.Job.QueueProjectOp.prototype.getJobTemplate = function() {
  return /** @type{?proto.hashicorp.waypoint.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.QueueProjectOp} returns this
*/
proto.hashicorp.waypoint.Job.QueueProjectOp.prototype.setJobTemplate = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.QueueProjectOp} returns this
 */
proto.hashicorp.waypoint.Job.QueueProjectOp.prototype.clearJobTemplate = function() {
  return this.setJobTemplate(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.QueueProjectOp.prototype.hasJobTemplate = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.QueueProjectResult.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.QueueProjectResult} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.toObject = function(includeInstance, msg) {
  var f, obj = {
    applicationsList: jspb.Message.toObjectList(msg.getApplicationsList(),
    proto.hashicorp.waypoint.Job.QueueProjectResult.Application.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.QueueProjectResult}
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.QueueProjectResult;
  return proto.hashicorp.waypoint.Job.QueueProjectResult.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.QueueProjectResult} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.QueueProjectResult}
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job.QueueProjectResult.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.QueueProjectResult.Application.deserializeBinaryFromReader);
      msg.addApplications(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.QueueProjectResult.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.QueueProjectResult} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplicationsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.QueueProjectResult.Application.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.Application.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Job.QueueProjectResult.Application.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Job.QueueProjectResult.Application} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.Application.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    jobId: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Job.QueueProjectResult.Application}
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.Application.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Job.QueueProjectResult.Application;
  return proto.hashicorp.waypoint.Job.QueueProjectResult.Application.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Job.QueueProjectResult.Application} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Job.QueueProjectResult.Application}
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.Application.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setJobId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.Application.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Job.QueueProjectResult.Application.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Job.QueueProjectResult.Application} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.Application.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getJobId();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional Ref.Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.Application.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.Job.QueueProjectResult.Application} returns this
*/
proto.hashicorp.waypoint.Job.QueueProjectResult.Application.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job.QueueProjectResult.Application} returns this
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.Application.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.Application.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string job_id = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.Application.prototype.getJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job.QueueProjectResult.Application} returns this
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.Application.prototype.setJobId = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * repeated Application applications = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Job.QueueProjectResult.Application>}
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.prototype.getApplicationsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Job.QueueProjectResult.Application>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Job.QueueProjectResult.Application, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Job.QueueProjectResult.Application>} value
 * @return {!proto.hashicorp.waypoint.Job.QueueProjectResult} returns this
*/
proto.hashicorp.waypoint.Job.QueueProjectResult.prototype.setApplicationsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Job.QueueProjectResult.Application=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Job.QueueProjectResult.Application}
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.prototype.addApplications = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.Job.QueueProjectResult.Application, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Job.QueueProjectResult} returns this
 */
proto.hashicorp.waypoint.Job.QueueProjectResult.prototype.clearApplicationsList = function() {
  return this.setApplicationsList([]);
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string singleton_id = 8;
 * @return {string}
 */
proto.hashicorp.waypoint.Job.prototype.getSingletonId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.setSingletonId = function(value) {
  return jspb.Message.setProto3StringField(this, 8, value);
};


/**
 * repeated string depends_on = 10;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.Job.prototype.getDependsOnList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.setDependsOnList = function(value) {
  return jspb.Message.setField(this, 10, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.addDependsOn = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearDependsOnList = function() {
  return this.setDependsOnList([]);
};


/**
 * repeated string depends_on_allow_failure = 11;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.Job.prototype.getDependsOnAllowFailureList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.setDependsOnAllowFailureList = function(value) {
  return jspb.Message.setField(this, 11, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.addDependsOnAllowFailure = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearDependsOnAllowFailureList = function() {
  return this.setDependsOnAllowFailureList([]);
};


/**
 * optional Ref.Application application = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.Job.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Ref.Workspace workspace = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.Job.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Ref.Runner target_runner = 4;
 * @return {?proto.hashicorp.waypoint.Ref.Runner}
 */
proto.hashicorp.waypoint.Job.prototype.getTargetRunner = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Runner} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Runner, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Runner|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setTargetRunner = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearTargetRunner = function() {
  return this.setTargetRunner(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasTargetRunner = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional Ref.OnDemandRunnerConfig ondemand_runner = 112;
 * @return {?proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig}
 */
proto.hashicorp.waypoint.Job.prototype.getOndemandRunner = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig, 112));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setOndemandRunner = function(value) {
  return jspb.Message.setWrapperField(this, 112, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearOndemandRunner = function() {
  return this.setOndemandRunner(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasOndemandRunner = function() {
  return jspb.Message.getField(this, 112) != null;
};


/**
 * optional TaskOverride ondemand_runner_task = 115;
 * @return {?proto.hashicorp.waypoint.Job.TaskOverride}
 */
proto.hashicorp.waypoint.Job.prototype.getOndemandRunnerTask = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.TaskOverride} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.TaskOverride, 115));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.TaskOverride|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setOndemandRunnerTask = function(value) {
  return jspb.Message.setWrapperField(this, 115, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearOndemandRunnerTask = function() {
  return this.setOndemandRunnerTask(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasOndemandRunnerTask = function() {
  return jspb.Message.getField(this, 115) != null;
};


/**
 * map<string, string> labels = 5;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.Job.prototype.getLabelsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 5, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearLabelsMap = function() {
  this.getLabelsMap().clear();
  return this;};


/**
 * optional DataSource data_source = 6;
 * @return {?proto.hashicorp.waypoint.Job.DataSource}
 */
proto.hashicorp.waypoint.Job.prototype.getDataSource = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DataSource} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DataSource, 6));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DataSource|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setDataSource = function(value) {
  return jspb.Message.setWrapperField(this, 6, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearDataSource = function() {
  return this.setDataSource(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasDataSource = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * map<string, string> data_source_overrides = 7;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.Job.prototype.getDataSourceOverridesMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 7, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearDataSourceOverridesMap = function() {
  this.getDataSourceOverridesMap().clear();
  return this;};


/**
 * optional Hcl waypoint_hcl = 12;
 * @return {?proto.hashicorp.waypoint.Hcl}
 */
proto.hashicorp.waypoint.Job.prototype.getWaypointHcl = function() {
  return /** @type{?proto.hashicorp.waypoint.Hcl} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Hcl, 12));
};


/**
 * @param {?proto.hashicorp.waypoint.Hcl|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setWaypointHcl = function(value) {
  return jspb.Message.setWrapperField(this, 12, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearWaypointHcl = function() {
  return this.setWaypointHcl(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasWaypointHcl = function() {
  return jspb.Message.getField(this, 12) != null;
};


/**
 * repeated Variable variables = 9;
 * @return {!Array<!proto.hashicorp.waypoint.Variable>}
 */
proto.hashicorp.waypoint.Job.prototype.getVariablesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Variable>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Variable, 9));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Variable>} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setVariablesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 9, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Variable=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Variable}
 */
proto.hashicorp.waypoint.Job.prototype.addVariables = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.hashicorp.waypoint.Variable, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearVariablesList = function() {
  return this.setVariablesList([]);
};


/**
 * optional Noop noop = 50;
 * @return {?proto.hashicorp.waypoint.Job.Noop}
 */
proto.hashicorp.waypoint.Job.prototype.getNoop = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.Noop} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.Noop, 50));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.Noop|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setNoop = function(value) {
  return jspb.Message.setOneofWrapperField(this, 50, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearNoop = function() {
  return this.setNoop(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasNoop = function() {
  return jspb.Message.getField(this, 50) != null;
};


/**
 * optional BuildOp build = 51;
 * @return {?proto.hashicorp.waypoint.Job.BuildOp}
 */
proto.hashicorp.waypoint.Job.prototype.getBuild = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.BuildOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.BuildOp, 51));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.BuildOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setBuild = function(value) {
  return jspb.Message.setOneofWrapperField(this, 51, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearBuild = function() {
  return this.setBuild(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasBuild = function() {
  return jspb.Message.getField(this, 51) != null;
};


/**
 * optional PushOp push = 52;
 * @return {?proto.hashicorp.waypoint.Job.PushOp}
 */
proto.hashicorp.waypoint.Job.prototype.getPush = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.PushOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.PushOp, 52));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.PushOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setPush = function(value) {
  return jspb.Message.setOneofWrapperField(this, 52, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearPush = function() {
  return this.setPush(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasPush = function() {
  return jspb.Message.getField(this, 52) != null;
};


/**
 * optional DeployOp deploy = 53;
 * @return {?proto.hashicorp.waypoint.Job.DeployOp}
 */
proto.hashicorp.waypoint.Job.prototype.getDeploy = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DeployOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DeployOp, 53));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DeployOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setDeploy = function(value) {
  return jspb.Message.setOneofWrapperField(this, 53, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearDeploy = function() {
  return this.setDeploy(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasDeploy = function() {
  return jspb.Message.getField(this, 53) != null;
};


/**
 * optional DestroyOp destroy = 54;
 * @return {?proto.hashicorp.waypoint.Job.DestroyOp}
 */
proto.hashicorp.waypoint.Job.prototype.getDestroy = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DestroyOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DestroyOp, 54));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DestroyOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setDestroy = function(value) {
  return jspb.Message.setOneofWrapperField(this, 54, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearDestroy = function() {
  return this.setDestroy(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasDestroy = function() {
  return jspb.Message.getField(this, 54) != null;
};


/**
 * optional ReleaseOp release = 55;
 * @return {?proto.hashicorp.waypoint.Job.ReleaseOp}
 */
proto.hashicorp.waypoint.Job.prototype.getRelease = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.ReleaseOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.ReleaseOp, 55));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.ReleaseOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setRelease = function(value) {
  return jspb.Message.setOneofWrapperField(this, 55, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearRelease = function() {
  return this.setRelease(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasRelease = function() {
  return jspb.Message.getField(this, 55) != null;
};


/**
 * optional ValidateOp validate = 56;
 * @return {?proto.hashicorp.waypoint.Job.ValidateOp}
 */
proto.hashicorp.waypoint.Job.prototype.getValidate = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.ValidateOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.ValidateOp, 56));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.ValidateOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setValidate = function(value) {
  return jspb.Message.setOneofWrapperField(this, 56, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearValidate = function() {
  return this.setValidate(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasValidate = function() {
  return jspb.Message.getField(this, 56) != null;
};


/**
 * optional AuthOp auth = 57;
 * @return {?proto.hashicorp.waypoint.Job.AuthOp}
 */
proto.hashicorp.waypoint.Job.prototype.getAuth = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.AuthOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.AuthOp, 57));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.AuthOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setAuth = function(value) {
  return jspb.Message.setOneofWrapperField(this, 57, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearAuth = function() {
  return this.setAuth(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasAuth = function() {
  return jspb.Message.getField(this, 57) != null;
};


/**
 * optional DocsOp docs = 58;
 * @return {?proto.hashicorp.waypoint.Job.DocsOp}
 */
proto.hashicorp.waypoint.Job.prototype.getDocs = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DocsOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DocsOp, 58));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DocsOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setDocs = function(value) {
  return jspb.Message.setOneofWrapperField(this, 58, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearDocs = function() {
  return this.setDocs(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasDocs = function() {
  return jspb.Message.getField(this, 58) != null;
};


/**
 * optional ConfigSyncOp config_sync = 59;
 * @return {?proto.hashicorp.waypoint.Job.ConfigSyncOp}
 */
proto.hashicorp.waypoint.Job.prototype.getConfigSync = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.ConfigSyncOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.ConfigSyncOp, 59));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.ConfigSyncOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setConfigSync = function(value) {
  return jspb.Message.setOneofWrapperField(this, 59, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearConfigSync = function() {
  return this.setConfigSync(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasConfigSync = function() {
  return jspb.Message.getField(this, 59) != null;
};


/**
 * optional ExecOp exec = 60;
 * @return {?proto.hashicorp.waypoint.Job.ExecOp}
 */
proto.hashicorp.waypoint.Job.prototype.getExec = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.ExecOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.ExecOp, 60));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.ExecOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setExec = function(value) {
  return jspb.Message.setOneofWrapperField(this, 60, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearExec = function() {
  return this.setExec(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasExec = function() {
  return jspb.Message.getField(this, 60) != null;
};


/**
 * optional UpOp up = 61;
 * @return {?proto.hashicorp.waypoint.Job.UpOp}
 */
proto.hashicorp.waypoint.Job.prototype.getUp = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.UpOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.UpOp, 61));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.UpOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setUp = function(value) {
  return jspb.Message.setOneofWrapperField(this, 61, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearUp = function() {
  return this.setUp(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasUp = function() {
  return jspb.Message.getField(this, 61) != null;
};


/**
 * optional LogsOp logs = 62;
 * @return {?proto.hashicorp.waypoint.Job.LogsOp}
 */
proto.hashicorp.waypoint.Job.prototype.getLogs = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.LogsOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.LogsOp, 62));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.LogsOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setLogs = function(value) {
  return jspb.Message.setOneofWrapperField(this, 62, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearLogs = function() {
  return this.setLogs(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasLogs = function() {
  return jspb.Message.getField(this, 62) != null;
};


/**
 * optional QueueProjectOp queue_project = 63;
 * @return {?proto.hashicorp.waypoint.Job.QueueProjectOp}
 */
proto.hashicorp.waypoint.Job.prototype.getQueueProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.QueueProjectOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.QueueProjectOp, 63));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.QueueProjectOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setQueueProject = function(value) {
  return jspb.Message.setOneofWrapperField(this, 63, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearQueueProject = function() {
  return this.setQueueProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasQueueProject = function() {
  return jspb.Message.getField(this, 63) != null;
};


/**
 * optional PollOp poll = 64;
 * @return {?proto.hashicorp.waypoint.Job.PollOp}
 */
proto.hashicorp.waypoint.Job.prototype.getPoll = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.PollOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.PollOp, 64));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.PollOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setPoll = function(value) {
  return jspb.Message.setOneofWrapperField(this, 64, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearPoll = function() {
  return this.setPoll(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasPoll = function() {
  return jspb.Message.getField(this, 64) != null;
};


/**
 * optional StatusReportOp status_report = 65;
 * @return {?proto.hashicorp.waypoint.Job.StatusReportOp}
 */
proto.hashicorp.waypoint.Job.prototype.getStatusReport = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.StatusReportOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.StatusReportOp, 65));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.StatusReportOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setStatusReport = function(value) {
  return jspb.Message.setOneofWrapperField(this, 65, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearStatusReport = function() {
  return this.setStatusReport(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasStatusReport = function() {
  return jspb.Message.getField(this, 65) != null;
};


/**
 * optional StartTaskLaunchOp start_task = 66;
 * @return {?proto.hashicorp.waypoint.Job.StartTaskLaunchOp}
 */
proto.hashicorp.waypoint.Job.prototype.getStartTask = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.StartTaskLaunchOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.StartTaskLaunchOp, 66));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.StartTaskLaunchOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setStartTask = function(value) {
  return jspb.Message.setOneofWrapperField(this, 66, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearStartTask = function() {
  return this.setStartTask(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasStartTask = function() {
  return jspb.Message.getField(this, 66) != null;
};


/**
 * optional StopTaskLaunchOp stop_task = 67;
 * @return {?proto.hashicorp.waypoint.Job.StopTaskLaunchOp}
 */
proto.hashicorp.waypoint.Job.prototype.getStopTask = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.StopTaskLaunchOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.StopTaskLaunchOp, 67));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.StopTaskLaunchOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setStopTask = function(value) {
  return jspb.Message.setOneofWrapperField(this, 67, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearStopTask = function() {
  return this.setStopTask(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasStopTask = function() {
  return jspb.Message.getField(this, 67) != null;
};


/**
 * optional InitOp init = 68;
 * @return {?proto.hashicorp.waypoint.Job.InitOp}
 */
proto.hashicorp.waypoint.Job.prototype.getInit = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.InitOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.InitOp, 68));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.InitOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setInit = function(value) {
  return jspb.Message.setOneofWrapperField(this, 68, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearInit = function() {
  return this.setInit(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasInit = function() {
  return jspb.Message.getField(this, 68) != null;
};


/**
 * optional WatchTaskOp watch_task = 69;
 * @return {?proto.hashicorp.waypoint.Job.WatchTaskOp}
 */
proto.hashicorp.waypoint.Job.prototype.getWatchTask = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.WatchTaskOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.WatchTaskOp, 69));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.WatchTaskOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setWatchTask = function(value) {
  return jspb.Message.setOneofWrapperField(this, 69, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearWatchTask = function() {
  return this.setWatchTask(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasWatchTask = function() {
  return jspb.Message.getField(this, 69) != null;
};


/**
 * optional PipelineStepOp pipeline_step = 70;
 * @return {?proto.hashicorp.waypoint.Job.PipelineStepOp}
 */
proto.hashicorp.waypoint.Job.prototype.getPipelineStep = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.PipelineStepOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.PipelineStepOp, 70));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.PipelineStepOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setPipelineStep = function(value) {
  return jspb.Message.setOneofWrapperField(this, 70, proto.hashicorp.waypoint.Job.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearPipelineStep = function() {
  return this.setPipelineStep(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasPipelineStep = function() {
  return jspb.Message.getField(this, 70) != null;
};


/**
 * optional State state = 100;
 * @return {!proto.hashicorp.waypoint.Job.State}
 */
proto.hashicorp.waypoint.Job.prototype.getState = function() {
  return /** @type {!proto.hashicorp.waypoint.Job.State} */ (jspb.Message.getFieldWithDefault(this, 100, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Job.State} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.setState = function(value) {
  return jspb.Message.setProto3EnumField(this, 100, value);
};


/**
 * optional Ref.RunnerId assigned_runner = 101;
 * @return {?proto.hashicorp.waypoint.Ref.RunnerId}
 */
proto.hashicorp.waypoint.Job.prototype.getAssignedRunner = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.RunnerId} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.RunnerId, 101));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.RunnerId|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setAssignedRunner = function(value) {
  return jspb.Message.setWrapperField(this, 101, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearAssignedRunner = function() {
  return this.setAssignedRunner(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasAssignedRunner = function() {
  return jspb.Message.getField(this, 101) != null;
};


/**
 * optional google.protobuf.Timestamp queue_time = 102;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Job.prototype.getQueueTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 102));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setQueueTime = function(value) {
  return jspb.Message.setWrapperField(this, 102, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearQueueTime = function() {
  return this.setQueueTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasQueueTime = function() {
  return jspb.Message.getField(this, 102) != null;
};


/**
 * optional google.protobuf.Timestamp assign_time = 103;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Job.prototype.getAssignTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 103));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setAssignTime = function(value) {
  return jspb.Message.setWrapperField(this, 103, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearAssignTime = function() {
  return this.setAssignTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasAssignTime = function() {
  return jspb.Message.getField(this, 103) != null;
};


/**
 * optional google.protobuf.Timestamp ack_time = 104;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Job.prototype.getAckTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 104));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setAckTime = function(value) {
  return jspb.Message.setWrapperField(this, 104, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearAckTime = function() {
  return this.setAckTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasAckTime = function() {
  return jspb.Message.getField(this, 104) != null;
};


/**
 * optional google.protobuf.Timestamp complete_time = 105;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Job.prototype.getCompleteTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 105));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setCompleteTime = function(value) {
  return jspb.Message.setWrapperField(this, 105, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearCompleteTime = function() {
  return this.setCompleteTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasCompleteTime = function() {
  return jspb.Message.getField(this, 105) != null;
};


/**
 * optional DataSource.Ref data_source_ref = 110;
 * @return {?proto.hashicorp.waypoint.Job.DataSource.Ref}
 */
proto.hashicorp.waypoint.Job.prototype.getDataSourceRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DataSource.Ref} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DataSource.Ref, 110));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DataSource.Ref|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setDataSourceRef = function(value) {
  return jspb.Message.setWrapperField(this, 110, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearDataSourceRef = function() {
  return this.setDataSourceRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasDataSourceRef = function() {
  return jspb.Message.getField(this, 110) != null;
};


/**
 * map<string, Variable.FinalValue> variable_final_values = 113;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,!proto.hashicorp.waypoint.Variable.FinalValue>}
 */
proto.hashicorp.waypoint.Job.prototype.getVariableFinalValuesMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,!proto.hashicorp.waypoint.Variable.FinalValue>} */ (
      jspb.Message.getMapField(this, 113, opt_noLazyCreate,
      proto.hashicorp.waypoint.Variable.FinalValue));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearVariableFinalValuesMap = function() {
  this.getVariableFinalValuesMap().clear();
  return this;};


/**
 * optional Config config = 111;
 * @return {?proto.hashicorp.waypoint.Job.Config}
 */
proto.hashicorp.waypoint.Job.prototype.getConfig = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.Config} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.Config, 111));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.Config|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setConfig = function(value) {
  return jspb.Message.setWrapperField(this, 111, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearConfig = function() {
  return this.setConfig(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasConfig = function() {
  return jspb.Message.getField(this, 111) != null;
};


/**
 * optional google.rpc.Status error = 106;
 * @return {?proto.google.rpc.Status}
 */
proto.hashicorp.waypoint.Job.prototype.getError = function() {
  return /** @type{?proto.google.rpc.Status} */ (
    jspb.Message.getWrapperField(this, google_rpc_status_pb.Status, 106));
};


/**
 * @param {?proto.google.rpc.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setError = function(value) {
  return jspb.Message.setWrapperField(this, 106, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearError = function() {
  return this.setError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasError = function() {
  return jspb.Message.getField(this, 106) != null;
};


/**
 * optional Result result = 107;
 * @return {?proto.hashicorp.waypoint.Job.Result}
 */
proto.hashicorp.waypoint.Job.prototype.getResult = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.Result} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.Result, 107));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.Result|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setResult = function(value) {
  return jspb.Message.setWrapperField(this, 107, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearResult = function() {
  return this.setResult(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasResult = function() {
  return jspb.Message.getField(this, 107) != null;
};


/**
 * optional google.protobuf.Timestamp cancel_time = 108;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Job.prototype.getCancelTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 108));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setCancelTime = function(value) {
  return jspb.Message.setWrapperField(this, 108, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearCancelTime = function() {
  return this.setCancelTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasCancelTime = function() {
  return jspb.Message.getField(this, 108) != null;
};


/**
 * optional google.protobuf.Timestamp expire_time = 109;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Job.prototype.getExpireTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 109));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setExpireTime = function(value) {
  return jspb.Message.setWrapperField(this, 109, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearExpireTime = function() {
  return this.setExpireTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasExpireTime = function() {
  return jspb.Message.getField(this, 109) != null;
};


/**
 * optional Ref.Task task = 114;
 * @return {?proto.hashicorp.waypoint.Ref.Task}
 */
proto.hashicorp.waypoint.Job.prototype.getTask = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Task} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Task, 114));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Task|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setTask = function(value) {
  return jspb.Message.setWrapperField(this, 114, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearTask = function() {
  return this.setTask(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasTask = function() {
  return jspb.Message.getField(this, 114) != null;
};


/**
 * optional Ref.PipelineStep pipeline = 117;
 * @return {?proto.hashicorp.waypoint.Ref.PipelineStep}
 */
proto.hashicorp.waypoint.Job.prototype.getPipeline = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.PipelineStep} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.PipelineStep, 117));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.PipelineStep|undefined} value
 * @return {!proto.hashicorp.waypoint.Job} returns this
*/
proto.hashicorp.waypoint.Job.prototype.setPipeline = function(value) {
  return jspb.Message.setWrapperField(this, 117, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Job} returns this
 */
proto.hashicorp.waypoint.Job.prototype.clearPipeline = function() {
  return this.setPipeline(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Job.prototype.hasPipeline = function() {
  return jspb.Message.getField(this, 117) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.Documentation.repeatedFields_ = [6];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Documentation.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Documentation.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Documentation} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Documentation.toObject = function(includeInstance, msg) {
  var f, obj = {
    description: jspb.Message.getFieldWithDefault(msg, 1, ""),
    example: jspb.Message.getFieldWithDefault(msg, 2, ""),
    input: jspb.Message.getFieldWithDefault(msg, 3, ""),
    output: jspb.Message.getFieldWithDefault(msg, 4, ""),
    fieldsMap: (f = msg.getFieldsMap()) ? f.toObject(includeInstance, proto.hashicorp.waypoint.Documentation.Field.toObject) : [],
    mappersList: jspb.Message.toObjectList(msg.getMappersList(),
    proto.hashicorp.waypoint.Documentation.Mapper.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Documentation}
 */
proto.hashicorp.waypoint.Documentation.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Documentation;
  return proto.hashicorp.waypoint.Documentation.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Documentation} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Documentation}
 */
proto.hashicorp.waypoint.Documentation.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setDescription(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setExample(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setInput(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setOutput(value);
      break;
    case 5:
      var value = msg.getFieldsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.hashicorp.waypoint.Documentation.Field.deserializeBinaryFromReader, "", new proto.hashicorp.waypoint.Documentation.Field());
         });
      break;
    case 6:
      var value = new proto.hashicorp.waypoint.Documentation.Mapper;
      reader.readMessage(value,proto.hashicorp.waypoint.Documentation.Mapper.deserializeBinaryFromReader);
      msg.addMappers(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Documentation.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Documentation.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Documentation} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Documentation.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDescription();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getExample();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getInput();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getOutput();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getFieldsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.hashicorp.waypoint.Documentation.Field.serializeBinaryToWriter);
  }
  f = message.getMappersList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      6,
      f,
      proto.hashicorp.waypoint.Documentation.Mapper.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Documentation.Field.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Documentation.Field} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Documentation.Field.toObject = function(includeInstance, msg) {
  var f, obj = {
    name: jspb.Message.getFieldWithDefault(msg, 1, ""),
    synopsis: jspb.Message.getFieldWithDefault(msg, 2, ""),
    summary: jspb.Message.getFieldWithDefault(msg, 3, ""),
    optional: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
    envVar: jspb.Message.getFieldWithDefault(msg, 5, ""),
    type: jspb.Message.getFieldWithDefault(msg, 6, ""),
    pb_default: jspb.Message.getFieldWithDefault(msg, 7, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Documentation.Field}
 */
proto.hashicorp.waypoint.Documentation.Field.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Documentation.Field;
  return proto.hashicorp.waypoint.Documentation.Field.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Documentation.Field} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Documentation.Field}
 */
proto.hashicorp.waypoint.Documentation.Field.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setSynopsis(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setSummary(value);
      break;
    case 4:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setOptional(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setEnvVar(value);
      break;
    case 6:
      var value = /** @type {string} */ (reader.readString());
      msg.setType(value);
      break;
    case 7:
      var value = /** @type {string} */ (reader.readString());
      msg.setDefault(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Documentation.Field.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Documentation.Field} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Documentation.Field.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getSynopsis();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getSummary();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getOptional();
  if (f) {
    writer.writeBool(
      4,
      f
    );
  }
  f = message.getEnvVar();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getType();
  if (f.length > 0) {
    writer.writeString(
      6,
      f
    );
  }
  f = message.getDefault();
  if (f.length > 0) {
    writer.writeString(
      7,
      f
    );
  }
};


/**
 * optional string name = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Documentation.Field} returns this
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string synopsis = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.getSynopsis = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Documentation.Field} returns this
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.setSynopsis = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string summary = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.getSummary = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Documentation.Field} returns this
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.setSummary = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional bool optional = 4;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.getOptional = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Documentation.Field} returns this
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.setOptional = function(value) {
  return jspb.Message.setProto3BooleanField(this, 4, value);
};


/**
 * optional string env_var = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.getEnvVar = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Documentation.Field} returns this
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.setEnvVar = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional string type = 6;
 * @return {string}
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.getType = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Documentation.Field} returns this
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.setType = function(value) {
  return jspb.Message.setProto3StringField(this, 6, value);
};


/**
 * optional string default = 7;
 * @return {string}
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.getDefault = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Documentation.Field} returns this
 */
proto.hashicorp.waypoint.Documentation.Field.prototype.setDefault = function(value) {
  return jspb.Message.setProto3StringField(this, 7, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Documentation.Mapper.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Documentation.Mapper.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Documentation.Mapper} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Documentation.Mapper.toObject = function(includeInstance, msg) {
  var f, obj = {
    input: jspb.Message.getFieldWithDefault(msg, 1, ""),
    output: jspb.Message.getFieldWithDefault(msg, 2, ""),
    description: jspb.Message.getFieldWithDefault(msg, 3, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Documentation.Mapper}
 */
proto.hashicorp.waypoint.Documentation.Mapper.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Documentation.Mapper;
  return proto.hashicorp.waypoint.Documentation.Mapper.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Documentation.Mapper} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Documentation.Mapper}
 */
proto.hashicorp.waypoint.Documentation.Mapper.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setInput(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setOutput(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setDescription(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Documentation.Mapper.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Documentation.Mapper.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Documentation.Mapper} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Documentation.Mapper.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getInput();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getOutput();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getDescription();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
};


/**
 * optional string input = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Documentation.Mapper.prototype.getInput = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Documentation.Mapper} returns this
 */
proto.hashicorp.waypoint.Documentation.Mapper.prototype.setInput = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string output = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Documentation.Mapper.prototype.getOutput = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Documentation.Mapper} returns this
 */
proto.hashicorp.waypoint.Documentation.Mapper.prototype.setOutput = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string description = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.Documentation.Mapper.prototype.getDescription = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Documentation.Mapper} returns this
 */
proto.hashicorp.waypoint.Documentation.Mapper.prototype.setDescription = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string description = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Documentation.prototype.getDescription = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Documentation} returns this
 */
proto.hashicorp.waypoint.Documentation.prototype.setDescription = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string example = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Documentation.prototype.getExample = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Documentation} returns this
 */
proto.hashicorp.waypoint.Documentation.prototype.setExample = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string input = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.Documentation.prototype.getInput = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Documentation} returns this
 */
proto.hashicorp.waypoint.Documentation.prototype.setInput = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string output = 4;
 * @return {string}
 */
proto.hashicorp.waypoint.Documentation.prototype.getOutput = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Documentation} returns this
 */
proto.hashicorp.waypoint.Documentation.prototype.setOutput = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * map<string, Field> fields = 5;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,!proto.hashicorp.waypoint.Documentation.Field>}
 */
proto.hashicorp.waypoint.Documentation.prototype.getFieldsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,!proto.hashicorp.waypoint.Documentation.Field>} */ (
      jspb.Message.getMapField(this, 5, opt_noLazyCreate,
      proto.hashicorp.waypoint.Documentation.Field));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.Documentation} returns this
 */
proto.hashicorp.waypoint.Documentation.prototype.clearFieldsMap = function() {
  this.getFieldsMap().clear();
  return this;};


/**
 * repeated Mapper mappers = 6;
 * @return {!Array<!proto.hashicorp.waypoint.Documentation.Mapper>}
 */
proto.hashicorp.waypoint.Documentation.prototype.getMappersList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Documentation.Mapper>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Documentation.Mapper, 6));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Documentation.Mapper>} value
 * @return {!proto.hashicorp.waypoint.Documentation} returns this
*/
proto.hashicorp.waypoint.Documentation.prototype.setMappersList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 6, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Documentation.Mapper=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Documentation.Mapper}
 */
proto.hashicorp.waypoint.Documentation.prototype.addMappers = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.hashicorp.waypoint.Documentation.Mapper, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Documentation} returns this
 */
proto.hashicorp.waypoint.Documentation.prototype.clearMappersList = function() {
  return this.setMappersList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    jobId: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobRequest}
 */
proto.hashicorp.waypoint.GetJobRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobRequest;
  return proto.hashicorp.waypoint.GetJobRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobRequest}
 */
proto.hashicorp.waypoint.GetJobRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setJobId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJobId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string job_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobRequest.prototype.getJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetJobRequest} returns this
 */
proto.hashicorp.waypoint.GetJobRequest.prototype.setJobId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListJobsRequest.repeatedFields_ = [5];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListJobsRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListJobsRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListJobsRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f),
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    targetrunner: (f = msg.getTargetrunner()) && proto.hashicorp.waypoint.Ref.Runner.toObject(includeInstance, f),
    jobstateList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListJobsRequest}
 */
proto.hashicorp.waypoint.ListJobsRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListJobsRequest;
  return proto.hashicorp.waypoint.ListJobsRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListJobsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListJobsRequest}
 */
proto.hashicorp.waypoint.ListJobsRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Ref.Runner;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Runner.deserializeBinaryFromReader);
      msg.setTargetrunner(value);
      break;
    case 5:
      var values = /** @type {!Array<!proto.hashicorp.waypoint.Job.State>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
      for (var i = 0; i < values.length; i++) {
        msg.addJobstate(values[i]);
      }
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListJobsRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListJobsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListJobsRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getTargetrunner();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Ref.Runner.serializeBinaryToWriter
    );
  }
  f = message.getJobstateList();
  if (f.length > 0) {
    writer.writePackedEnum(
      5,
      f
    );
  }
};


/**
 * optional Ref.Workspace workspace = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.ListJobsRequest} returns this
*/
proto.hashicorp.waypoint.ListJobsRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListJobsRequest} returns this
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Project project = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.ListJobsRequest} returns this
*/
proto.hashicorp.waypoint.ListJobsRequest.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListJobsRequest} returns this
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.hasProject = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Ref.Application application = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.ListJobsRequest} returns this
*/
proto.hashicorp.waypoint.ListJobsRequest.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListJobsRequest} returns this
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Ref.Runner targetRunner = 4;
 * @return {?proto.hashicorp.waypoint.Ref.Runner}
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.getTargetrunner = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Runner} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Runner, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Runner|undefined} value
 * @return {!proto.hashicorp.waypoint.ListJobsRequest} returns this
*/
proto.hashicorp.waypoint.ListJobsRequest.prototype.setTargetrunner = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListJobsRequest} returns this
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.clearTargetrunner = function() {
  return this.setTargetrunner(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.hasTargetrunner = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * repeated Job.State jobState = 5;
 * @return {!Array<!proto.hashicorp.waypoint.Job.State>}
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.getJobstateList = function() {
  return /** @type {!Array<!proto.hashicorp.waypoint.Job.State>} */ (jspb.Message.getRepeatedField(this, 5));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Job.State>} value
 * @return {!proto.hashicorp.waypoint.ListJobsRequest} returns this
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.setJobstateList = function(value) {
  return jspb.Message.setField(this, 5, value || []);
};


/**
 * @param {!proto.hashicorp.waypoint.Job.State} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.ListJobsRequest} returns this
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.addJobstate = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListJobsRequest} returns this
 */
proto.hashicorp.waypoint.ListJobsRequest.prototype.clearJobstateList = function() {
  return this.setJobstateList([]);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListJobsResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListJobsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListJobsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListJobsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListJobsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    jobsList: jspb.Message.toObjectList(msg.getJobsList(),
    proto.hashicorp.waypoint.Job.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListJobsResponse}
 */
proto.hashicorp.waypoint.ListJobsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListJobsResponse;
  return proto.hashicorp.waypoint.ListJobsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListJobsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListJobsResponse}
 */
proto.hashicorp.waypoint.ListJobsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.deserializeBinaryFromReader);
      msg.addJobs(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListJobsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListJobsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListJobsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListJobsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJobsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.serializeBinaryToWriter
    );
  }
};


/**
 * repeated Job jobs = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Job>}
 */
proto.hashicorp.waypoint.ListJobsResponse.prototype.getJobsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Job>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Job, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Job>} value
 * @return {!proto.hashicorp.waypoint.ListJobsResponse} returns this
*/
proto.hashicorp.waypoint.ListJobsResponse.prototype.setJobsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Job=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.ListJobsResponse.prototype.addJobs = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.Job, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListJobsResponse} returns this
 */
proto.hashicorp.waypoint.ListJobsResponse.prototype.clearJobsList = function() {
  return this.setJobsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    jobId: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamRequest}
 */
proto.hashicorp.waypoint.GetJobStreamRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamRequest;
  return proto.hashicorp.waypoint.GetJobStreamRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamRequest}
 */
proto.hashicorp.waypoint.GetJobStreamRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setJobId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJobId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string job_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamRequest.prototype.getJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamRequest} returns this
 */
proto.hashicorp.waypoint.GetJobStreamRequest.prototype.setJobId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.GetJobStreamResponse.oneofGroups_ = [[1,2,7,3,6,4,5]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.EventCase = {
  EVENT_NOT_SET: 0,
  OPEN: 1,
  STATE: 2,
  JOB: 7,
  TERMINAL: 3,
  DOWNLOAD: 6,
  ERROR: 4,
  COMPLETE: 5
};

/**
 * @return {proto.hashicorp.waypoint.GetJobStreamResponse.EventCase}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.getEventCase = function() {
  return /** @type {proto.hashicorp.waypoint.GetJobStreamResponse.EventCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.GetJobStreamResponse.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    open: (f = msg.getOpen()) && proto.hashicorp.waypoint.GetJobStreamResponse.Open.toObject(includeInstance, f),
    state: (f = msg.getState()) && proto.hashicorp.waypoint.GetJobStreamResponse.State.toObject(includeInstance, f),
    job: (f = msg.getJob()) && proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.toObject(includeInstance, f),
    terminal: (f = msg.getTerminal()) && proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.toObject(includeInstance, f),
    download: (f = msg.getDownload()) && proto.hashicorp.waypoint.GetJobStreamResponse.Download.toObject(includeInstance, f),
    error: (f = msg.getError()) && proto.hashicorp.waypoint.GetJobStreamResponse.Error.toObject(includeInstance, f),
    complete: (f = msg.getComplete()) && proto.hashicorp.waypoint.GetJobStreamResponse.Complete.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse;
  return proto.hashicorp.waypoint.GetJobStreamResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Open;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Open.deserializeBinaryFromReader);
      msg.setOpen(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.State;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.State.deserializeBinaryFromReader);
      msg.setState(value);
      break;
    case 7:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.JobChange;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.deserializeBinaryFromReader);
      msg.setJob(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.deserializeBinaryFromReader);
      msg.setTerminal(value);
      break;
    case 6:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Download;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Download.deserializeBinaryFromReader);
      msg.setDownload(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Error;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Error.deserializeBinaryFromReader);
      msg.setError(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Complete;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Complete.deserializeBinaryFromReader);
      msg.setComplete(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getOpen();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Open.serializeBinaryToWriter
    );
  }
  f = message.getState();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.State.serializeBinaryToWriter
    );
  }
  f = message.getJob();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.serializeBinaryToWriter
    );
  }
  f = message.getTerminal();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.serializeBinaryToWriter
    );
  }
  f = message.getDownload();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Download.serializeBinaryToWriter
    );
  }
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Error.serializeBinaryToWriter
    );
  }
  f = message.getComplete();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Complete.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Open.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Open.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Open} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Open.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Open}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Open.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Open;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Open.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Open} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Open}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Open.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Open.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Open.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Open} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Open.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.State.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.State} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.toObject = function(includeInstance, msg) {
  var f, obj = {
    previous: jspb.Message.getFieldWithDefault(msg, 1, 0),
    current: jspb.Message.getFieldWithDefault(msg, 2, 0),
    job: (f = msg.getJob()) && proto.hashicorp.waypoint.Job.toObject(includeInstance, f),
    canceling: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.State}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.State;
  return proto.hashicorp.waypoint.GetJobStreamResponse.State.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.State} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.State}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!proto.hashicorp.waypoint.Job.State} */ (reader.readEnum());
      msg.setPrevious(value);
      break;
    case 2:
      var value = /** @type {!proto.hashicorp.waypoint.Job.State} */ (reader.readEnum());
      msg.setCurrent(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.deserializeBinaryFromReader);
      msg.setJob(value);
      break;
    case 4:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setCanceling(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.State.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.State} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPrevious();
  if (f !== 0.0) {
    writer.writeEnum(
      1,
      f
    );
  }
  f = message.getCurrent();
  if (f !== 0.0) {
    writer.writeEnum(
      2,
      f
    );
  }
  f = message.getJob();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Job.serializeBinaryToWriter
    );
  }
  f = message.getCanceling();
  if (f) {
    writer.writeBool(
      4,
      f
    );
  }
};


/**
 * optional Job.State previous = 1;
 * @return {!proto.hashicorp.waypoint.Job.State}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.prototype.getPrevious = function() {
  return /** @type {!proto.hashicorp.waypoint.Job.State} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Job.State} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.State} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.prototype.setPrevious = function(value) {
  return jspb.Message.setProto3EnumField(this, 1, value);
};


/**
 * optional Job.State current = 2;
 * @return {!proto.hashicorp.waypoint.Job.State}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.prototype.getCurrent = function() {
  return /** @type {!proto.hashicorp.waypoint.Job.State} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Job.State} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.State} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.prototype.setCurrent = function(value) {
  return jspb.Message.setProto3EnumField(this, 2, value);
};


/**
 * optional Job job = 3;
 * @return {?proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.prototype.getJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.State} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.State.prototype.setJob = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.State} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.prototype.clearJob = function() {
  return this.setJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.prototype.hasJob = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional bool canceling = 4;
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.prototype.getCanceling = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.State} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.State.prototype.setCanceling = function(value) {
  return jspb.Message.setProto3BooleanField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.JobChange} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.toObject = function(includeInstance, msg) {
  var f, obj = {
    job: (f = msg.getJob()) && proto.hashicorp.waypoint.Job.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.JobChange}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.JobChange;
  return proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.JobChange} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.JobChange}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.deserializeBinaryFromReader);
      msg.setJob(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.JobChange} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJob();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.serializeBinaryToWriter
    );
  }
};


/**
 * optional Job job = 1;
 * @return {?proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.prototype.getJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.JobChange} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.prototype.setJob = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.JobChange} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.prototype.clearJob = function() {
  return this.setJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.JobChange.prototype.hasJob = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Download.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Download.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Download} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Download.toObject = function(includeInstance, msg) {
  var f, obj = {
    dataSourceRef: (f = msg.getDataSourceRef()) && proto.hashicorp.waypoint.Job.DataSource.Ref.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Download}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Download.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Download;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Download.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Download} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Download}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Download.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job.DataSource.Ref;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DataSource.Ref.deserializeBinaryFromReader);
      msg.setDataSourceRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Download.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Download.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Download} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Download.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDataSourceRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.DataSource.Ref.serializeBinaryToWriter
    );
  }
};


/**
 * optional Job.DataSource.Ref data_source_ref = 1;
 * @return {?proto.hashicorp.waypoint.Job.DataSource.Ref}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Download.prototype.getDataSourceRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DataSource.Ref} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DataSource.Ref, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DataSource.Ref|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Download} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Download.prototype.setDataSourceRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Download} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Download.prototype.clearDataSourceRef = function() {
  return this.setDataSourceRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Download.prototype.hasDataSourceRef = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.toObject = function(includeInstance, msg) {
  var f, obj = {
    eventsList: jspb.Message.toObjectList(msg.getEventsList(),
    proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.toObject, includeInstance),
    buffered: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.deserializeBinaryFromReader);
      msg.addEvents(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setBuffered(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getEventsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.serializeBinaryToWriter
    );
  }
  f = message.getBuffered();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.oneofGroups_ = [[2,3,4,5,6,7,8]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.EventCase = {
  EVENT_NOT_SET: 0,
  LINE: 2,
  STATUS: 3,
  NAMED_VALUES: 4,
  RAW: 5,
  TABLE: 6,
  STEP_GROUP: 7,
  STEP: 8
};

/**
 * @return {proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.EventCase}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.getEventCase = function() {
  return /** @type {proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.EventCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.toObject = function(includeInstance, msg) {
  var f, obj = {
    timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    line: (f = msg.getLine()) && proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.toObject(includeInstance, f),
    status: (f = msg.getStatus()) && proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.toObject(includeInstance, f),
    namedValues: (f = msg.getNamedValues()) && proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.toObject(includeInstance, f),
    raw: (f = msg.getRaw()) && proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.toObject(includeInstance, f),
    table: (f = msg.getTable()) && proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.toObject(includeInstance, f),
    stepGroup: (f = msg.getStepGroup()) && proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.toObject(includeInstance, f),
    step: (f = msg.getStep()) && proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setTimestamp(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.deserializeBinaryFromReader);
      msg.setLine(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.deserializeBinaryFromReader);
      msg.setStatus(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.deserializeBinaryFromReader);
      msg.setNamedValues(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.deserializeBinaryFromReader);
      msg.setRaw(value);
      break;
    case 6:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.deserializeBinaryFromReader);
      msg.setTable(value);
      break;
    case 7:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.deserializeBinaryFromReader);
      msg.setStepGroup(value);
      break;
    case 8:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.deserializeBinaryFromReader);
      msg.setStep(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTimestamp();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getLine();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.serializeBinaryToWriter
    );
  }
  f = message.getStatus();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.serializeBinaryToWriter
    );
  }
  f = message.getNamedValues();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.serializeBinaryToWriter
    );
  }
  f = message.getRaw();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.serializeBinaryToWriter
    );
  }
  f = message.getTable();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.serializeBinaryToWriter
    );
  }
  f = message.getStepGroup();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.serializeBinaryToWriter
    );
  }
  f = message.getStep();
  if (f != null) {
    writer.writeMessage(
      8,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.toObject = function(includeInstance, msg) {
  var f, obj = {
    status: jspb.Message.getFieldWithDefault(msg, 1, ""),
    msg: jspb.Message.getFieldWithDefault(msg, 2, ""),
    step: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setStatus(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setMsg(value);
      break;
    case 3:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setStep(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getStatus();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getMsg();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getStep();
  if (f) {
    writer.writeBool(
      3,
      f
    );
  }
};


/**
 * optional string status = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.prototype.getStatus = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.prototype.setStatus = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string msg = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.prototype.getMsg = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.prototype.setMsg = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional bool step = 3;
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.prototype.getStep = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status.prototype.setStep = function(value) {
  return jspb.Message.setProto3BooleanField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.toObject = function(includeInstance, msg) {
  var f, obj = {
    msg: jspb.Message.getFieldWithDefault(msg, 1, ""),
    style: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setMsg(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setStyle(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getMsg();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getStyle();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional string msg = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.prototype.getMsg = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.prototype.setMsg = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string style = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.prototype.getStyle = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line.prototype.setStyle = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.toObject = function(includeInstance, msg) {
  var f, obj = {
    data: msg.getData_asB64(),
    stderr: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setData(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setStderr(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getData_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      1,
      f
    );
  }
  f = message.getStderr();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
};


/**
 * optional bytes data = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.prototype.getData = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * optional bytes data = 1;
 * This is a type-conversion wrapper around `getData()`
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.prototype.getData_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getData()));
};


/**
 * optional bytes data = 1;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getData()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.prototype.getData_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getData()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.prototype.setData = function(value) {
  return jspb.Message.setProto3BytesField(this, 1, value);
};


/**
 * optional bool stderr = 2;
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.prototype.getStderr = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw.prototype.setStderr = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.toObject = function(includeInstance, msg) {
  var f, obj = {
    name: jspb.Message.getFieldWithDefault(msg, 1, ""),
    value: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setValue(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getValue();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional string name = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string value = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.prototype.getValue = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.prototype.setValue = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.toObject = function(includeInstance, msg) {
  var f, obj = {
    valuesList: jspb.Message.toObjectList(msg.getValuesList(),
    proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.deserializeBinaryFromReader);
      msg.addValues(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getValuesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue.serializeBinaryToWriter
    );
  }
};


/**
 * repeated NamedValue values = 1;
 * @return {!Array<!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue>}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.prototype.getValuesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue>} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.prototype.setValuesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.prototype.addValues = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValue, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues.prototype.clearValuesList = function() {
  return this.setValuesList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.toObject = function(includeInstance, msg) {
  var f, obj = {
    value: jspb.Message.getFieldWithDefault(msg, 1, ""),
    color: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setValue(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setColor(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getValue();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getColor();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional string value = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.prototype.getValue = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.prototype.setValue = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string color = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.prototype.getColor = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.prototype.setColor = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.toObject = function(includeInstance, msg) {
  var f, obj = {
    entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
    proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.deserializeBinaryFromReader);
      msg.addEntries(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getEntriesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry.serializeBinaryToWriter
    );
  }
};


/**
 * repeated TableEntry entries = 1;
 * @return {!Array<!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry>}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.prototype.getEntriesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry>} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.prototype.setEntriesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.prototype.addEntries = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableEntry, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.prototype.clearEntriesList = function() {
  return this.setEntriesList([]);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.repeatedFields_ = [1,2];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.toObject = function(includeInstance, msg) {
  var f, obj = {
    headersList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
    rowsList: jspb.Message.toObjectList(msg.getRowsList(),
    proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.addHeaders(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.deserializeBinaryFromReader);
      msg.addRows(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHeadersList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      1,
      f
    );
  }
  f = message.getRowsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow.serializeBinaryToWriter
    );
  }
};


/**
 * repeated string headers = 1;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.prototype.getHeadersList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.prototype.setHeadersList = function(value) {
  return jspb.Message.setField(this, 1, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.prototype.addHeaders = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.prototype.clearHeadersList = function() {
  return this.setHeadersList([]);
};


/**
 * repeated TableRow rows = 2;
 * @return {!Array<!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow>}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.prototype.getRowsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow, 2));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow>} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.prototype.setRowsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.prototype.addRows = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.TableRow, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table.prototype.clearRowsList = function() {
  return this.setRowsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.toObject = function(includeInstance, msg) {
  var f, obj = {
    close: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setClose(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getClose();
  if (f) {
    writer.writeBool(
      1,
      f
    );
  }
};


/**
 * optional bool close = 1;
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.prototype.getClose = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup.prototype.setClose = function(value) {
  return jspb.Message.setProto3BooleanField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, 0),
    close: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
    msg: jspb.Message.getFieldWithDefault(msg, 3, ""),
    status: jspb.Message.getFieldWithDefault(msg, 4, ""),
    output: msg.getOutput_asB64()
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setClose(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setMsg(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setStatus(value);
      break;
    case 5:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setOutput(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f !== 0) {
    writer.writeInt32(
      1,
      f
    );
  }
  f = message.getClose();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
  f = message.getMsg();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getStatus();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getOutput_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      5,
      f
    );
  }
};


/**
 * optional int32 id = 1;
 * @return {number}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.prototype.getId = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.prototype.setId = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};


/**
 * optional bool close = 2;
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.prototype.getClose = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.prototype.setClose = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};


/**
 * optional string msg = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.prototype.getMsg = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.prototype.setMsg = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string status = 4;
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.prototype.getStatus = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.prototype.setStatus = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional bytes output = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.prototype.getOutput = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * optional bytes output = 5;
 * This is a type-conversion wrapper around `getOutput()`
 * @return {string}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.prototype.getOutput_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getOutput()));
};


/**
 * optional bytes output = 5;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getOutput()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.prototype.getOutput_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getOutput()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step.prototype.setOutput = function(value) {
  return jspb.Message.setProto3BytesField(this, 5, value);
};


/**
 * optional google.protobuf.Timestamp timestamp = 1;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.getTimestamp = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.setTimestamp = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.clearTimestamp = function() {
  return this.setTimestamp(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.hasTimestamp = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Line line = 2;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.getLine = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Line|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.setLine = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.clearLine = function() {
  return this.setLine(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.hasLine = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Status status = 3;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.getStatus = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.setStatus = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.clearStatus = function() {
  return this.setStatus(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.hasStatus = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional NamedValues named_values = 4;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.getNamedValues = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.NamedValues|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.setNamedValues = function(value) {
  return jspb.Message.setOneofWrapperField(this, 4, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.clearNamedValues = function() {
  return this.setNamedValues(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.hasNamedValues = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional Raw raw = 5;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.getRaw = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw, 5));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Raw|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.setRaw = function(value) {
  return jspb.Message.setOneofWrapperField(this, 5, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.clearRaw = function() {
  return this.setRaw(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.hasRaw = function() {
  return jspb.Message.getField(this, 5) != null;
};


/**
 * optional Table table = 6;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.getTable = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table, 6));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Table|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.setTable = function(value) {
  return jspb.Message.setOneofWrapperField(this, 6, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.clearTable = function() {
  return this.setTable(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.hasTable = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * optional StepGroup step_group = 7;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.getStepGroup = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup, 7));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.StepGroup|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.setStepGroup = function(value) {
  return jspb.Message.setOneofWrapperField(this, 7, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.clearStepGroup = function() {
  return this.setStepGroup(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.hasStepGroup = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional Step step = 8;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.getStep = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step, 8));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.Step|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.setStep = function(value) {
  return jspb.Message.setOneofWrapperField(this, 8, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.clearStep = function() {
  return this.setStep(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event.prototype.hasStep = function() {
  return jspb.Message.getField(this, 8) != null;
};


/**
 * repeated Event events = 1;
 * @return {!Array<!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event>}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.prototype.getEventsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event>} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.prototype.setEventsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.prototype.addEvents = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.Event, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.prototype.clearEventsList = function() {
  return this.setEventsList([]);
};


/**
 * optional bool buffered = 2;
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.prototype.getBuffered = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Terminal} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.prototype.setBuffered = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Error.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Error.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Error} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Error.toObject = function(includeInstance, msg) {
  var f, obj = {
    error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Error}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Error.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Error;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Error.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Error} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Error}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Error.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new google_rpc_status_pb.Status;
      reader.readMessage(value,google_rpc_status_pb.Status.deserializeBinaryFromReader);
      msg.setError(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Error.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Error.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Error} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Error.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      google_rpc_status_pb.Status.serializeBinaryToWriter
    );
  }
};


/**
 * optional google.rpc.Status error = 1;
 * @return {?proto.google.rpc.Status}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Error.prototype.getError = function() {
  return /** @type{?proto.google.rpc.Status} */ (
    jspb.Message.getWrapperField(this, google_rpc_status_pb.Status, 1));
};


/**
 * @param {?proto.google.rpc.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Error} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Error.prototype.setError = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Error} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Error.prototype.clearError = function() {
  return this.setError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Error.prototype.hasError = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Complete.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetJobStreamResponse.Complete.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Complete} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Complete.toObject = function(includeInstance, msg) {
  var f, obj = {
    error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f),
    result: (f = msg.getResult()) && proto.hashicorp.waypoint.Job.Result.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Complete}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Complete.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetJobStreamResponse.Complete;
  return proto.hashicorp.waypoint.GetJobStreamResponse.Complete.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Complete} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Complete}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Complete.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new google_rpc_status_pb.Status;
      reader.readMessage(value,google_rpc_status_pb.Status.deserializeBinaryFromReader);
      msg.setError(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Job.Result;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.Result.deserializeBinaryFromReader);
      msg.setResult(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Complete.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetJobStreamResponse.Complete.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetJobStreamResponse.Complete} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Complete.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      google_rpc_status_pb.Status.serializeBinaryToWriter
    );
  }
  f = message.getResult();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Job.Result.serializeBinaryToWriter
    );
  }
};


/**
 * optional google.rpc.Status error = 1;
 * @return {?proto.google.rpc.Status}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Complete.prototype.getError = function() {
  return /** @type{?proto.google.rpc.Status} */ (
    jspb.Message.getWrapperField(this, google_rpc_status_pb.Status, 1));
};


/**
 * @param {?proto.google.rpc.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Complete} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Complete.prototype.setError = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Complete} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Complete.prototype.clearError = function() {
  return this.setError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Complete.prototype.hasError = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Job.Result result = 2;
 * @return {?proto.hashicorp.waypoint.Job.Result}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Complete.prototype.getResult = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.Result} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.Result, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.Result|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Complete} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.Complete.prototype.setResult = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse.Complete} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Complete.prototype.clearResult = function() {
  return this.setResult(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.Complete.prototype.hasResult = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Open open = 1;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.Open}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.getOpen = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.Open} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Open, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.Open|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.setOpen = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.GetJobStreamResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.clearOpen = function() {
  return this.setOpen(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.hasOpen = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional State state = 2;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.State}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.getState = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.State} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.State, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.State|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.setState = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.GetJobStreamResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.clearState = function() {
  return this.setState(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.hasState = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional JobChange job = 7;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.JobChange}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.getJob = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.JobChange} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.JobChange, 7));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.JobChange|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.setJob = function(value) {
  return jspb.Message.setOneofWrapperField(this, 7, proto.hashicorp.waypoint.GetJobStreamResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.clearJob = function() {
  return this.setJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.hasJob = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional Terminal terminal = 3;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.getTerminal = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.setTerminal = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.GetJobStreamResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.clearTerminal = function() {
  return this.setTerminal(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.hasTerminal = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Download download = 6;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.Download}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.getDownload = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.Download} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Download, 6));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.Download|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.setDownload = function(value) {
  return jspb.Message.setOneofWrapperField(this, 6, proto.hashicorp.waypoint.GetJobStreamResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.clearDownload = function() {
  return this.setDownload(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.hasDownload = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * optional Error error = 4;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.Error}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.getError = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.Error} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Error, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.Error|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.setError = function(value) {
  return jspb.Message.setOneofWrapperField(this, 4, proto.hashicorp.waypoint.GetJobStreamResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.clearError = function() {
  return this.setError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.hasError = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional Complete complete = 5;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.Complete}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.getComplete = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.Complete} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Complete, 5));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.Complete|undefined} value
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse} returns this
*/
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.setComplete = function(value) {
  return jspb.Message.setOneofWrapperField(this, 5, proto.hashicorp.waypoint.GetJobStreamResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetJobStreamResponse} returns this
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.clearComplete = function() {
  return this.setComplete(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetJobStreamResponse.prototype.hasComplete = function() {
  return jspb.Message.getField(this, 5) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.Runner.repeatedFields_ = [3];

/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Runner.oneofGroups_ = [[5,6,7,4]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Runner.KindCase = {
  KIND_NOT_SET: 0,
  ODR: 5,
  LOCAL: 6,
  REMOTE: 7,
  DEPRECATED_IS_ODR: 4
};

/**
 * @return {proto.hashicorp.waypoint.Runner.KindCase}
 */
proto.hashicorp.waypoint.Runner.prototype.getKindCase = function() {
  return /** @type {proto.hashicorp.waypoint.Runner.KindCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Runner.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Runner.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Runner.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Runner} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Runner.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    byIdOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
    odr: (f = msg.getOdr()) && proto.hashicorp.waypoint.Runner.ODR.toObject(includeInstance, f),
    local: (f = msg.getLocal()) && proto.hashicorp.waypoint.Runner.Local.toObject(includeInstance, f),
    remote: (f = msg.getRemote()) && proto.hashicorp.waypoint.Runner.Remote.toObject(includeInstance, f),
    deprecatedIsOdr: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
    componentsList: jspb.Message.toObjectList(msg.getComponentsList(),
    proto.hashicorp.waypoint.Component.toObject, includeInstance),
    labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [],
    online: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
    firstSeen: (f = msg.getFirstSeen()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    lastSeen: (f = msg.getLastSeen()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    adoptionState: jspb.Message.getFieldWithDefault(msg, 8, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Runner}
 */
proto.hashicorp.waypoint.Runner.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Runner;
  return proto.hashicorp.waypoint.Runner.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Runner} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Runner}
 */
proto.hashicorp.waypoint.Runner.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setByIdOnly(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.Runner.ODR;
      reader.readMessage(value,proto.hashicorp.waypoint.Runner.ODR.deserializeBinaryFromReader);
      msg.setOdr(value);
      break;
    case 6:
      var value = new proto.hashicorp.waypoint.Runner.Local;
      reader.readMessage(value,proto.hashicorp.waypoint.Runner.Local.deserializeBinaryFromReader);
      msg.setLocal(value);
      break;
    case 7:
      var value = new proto.hashicorp.waypoint.Runner.Remote;
      reader.readMessage(value,proto.hashicorp.waypoint.Runner.Remote.deserializeBinaryFromReader);
      msg.setRemote(value);
      break;
    case 4:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setDeprecatedIsOdr(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Component;
      reader.readMessage(value,proto.hashicorp.waypoint.Component.deserializeBinaryFromReader);
      msg.addComponents(value);
      break;
    case 12:
      var value = msg.getLabelsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    case 11:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setOnline(value);
      break;
    case 9:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setFirstSeen(value);
      break;
    case 10:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setLastSeen(value);
      break;
    case 8:
      var value = /** @type {!proto.hashicorp.waypoint.Runner.AdoptionState} */ (reader.readEnum());
      msg.setAdoptionState(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Runner.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Runner.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Runner} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Runner.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getByIdOnly();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
  f = message.getOdr();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      proto.hashicorp.waypoint.Runner.ODR.serializeBinaryToWriter
    );
  }
  f = message.getLocal();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      proto.hashicorp.waypoint.Runner.Local.serializeBinaryToWriter
    );
  }
  f = message.getRemote();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      proto.hashicorp.waypoint.Runner.Remote.serializeBinaryToWriter
    );
  }
  f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
  if (f != null) {
    writer.writeBool(
      4,
      f
    );
  }
  f = message.getComponentsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      3,
      f,
      proto.hashicorp.waypoint.Component.serializeBinaryToWriter
    );
  }
  f = message.getLabelsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(12, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
  f = message.getOnline();
  if (f) {
    writer.writeBool(
      11,
      f
    );
  }
  f = message.getFirstSeen();
  if (f != null) {
    writer.writeMessage(
      9,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getLastSeen();
  if (f != null) {
    writer.writeMessage(
      10,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getAdoptionState();
  if (f !== 0.0) {
    writer.writeEnum(
      8,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Runner.AdoptionState = {
  PENDING: 0,
  PREADOPTED: 1,
  ADOPTED: 2,
  REJECTED: 3
};




if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Runner.ODR.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Runner.ODR.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Runner.ODR} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Runner.ODR.toObject = function(includeInstance, msg) {
  var f, obj = {
    profileId: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Runner.ODR}
 */
proto.hashicorp.waypoint.Runner.ODR.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Runner.ODR;
  return proto.hashicorp.waypoint.Runner.ODR.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Runner.ODR} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Runner.ODR}
 */
proto.hashicorp.waypoint.Runner.ODR.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setProfileId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Runner.ODR.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Runner.ODR.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Runner.ODR} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Runner.ODR.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProfileId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string profile_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Runner.ODR.prototype.getProfileId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Runner.ODR} returns this
 */
proto.hashicorp.waypoint.Runner.ODR.prototype.setProfileId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Runner.Local.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Runner.Local.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Runner.Local} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Runner.Local.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Runner.Local}
 */
proto.hashicorp.waypoint.Runner.Local.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Runner.Local;
  return proto.hashicorp.waypoint.Runner.Local.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Runner.Local} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Runner.Local}
 */
proto.hashicorp.waypoint.Runner.Local.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Runner.Local.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Runner.Local.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Runner.Local} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Runner.Local.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Runner.Remote.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Runner.Remote.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Runner.Remote} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Runner.Remote.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Runner.Remote}
 */
proto.hashicorp.waypoint.Runner.Remote.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Runner.Remote;
  return proto.hashicorp.waypoint.Runner.Remote.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Runner.Remote} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Runner.Remote}
 */
proto.hashicorp.waypoint.Runner.Remote.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Runner.Remote.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Runner.Remote.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Runner.Remote} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Runner.Remote.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Runner.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Runner} returns this
 */
proto.hashicorp.waypoint.Runner.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional bool by_id_only = 2;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Runner.prototype.getByIdOnly = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Runner} returns this
 */
proto.hashicorp.waypoint.Runner.prototype.setByIdOnly = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};


/**
 * optional ODR odr = 5;
 * @return {?proto.hashicorp.waypoint.Runner.ODR}
 */
proto.hashicorp.waypoint.Runner.prototype.getOdr = function() {
  return /** @type{?proto.hashicorp.waypoint.Runner.ODR} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Runner.ODR, 5));
};


/**
 * @param {?proto.hashicorp.waypoint.Runner.ODR|undefined} value
 * @return {!proto.hashicorp.waypoint.Runner} returns this
*/
proto.hashicorp.waypoint.Runner.prototype.setOdr = function(value) {
  return jspb.Message.setOneofWrapperField(this, 5, proto.hashicorp.waypoint.Runner.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Runner} returns this
 */
proto.hashicorp.waypoint.Runner.prototype.clearOdr = function() {
  return this.setOdr(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Runner.prototype.hasOdr = function() {
  return jspb.Message.getField(this, 5) != null;
};


/**
 * optional Local local = 6;
 * @return {?proto.hashicorp.waypoint.Runner.Local}
 */
proto.hashicorp.waypoint.Runner.prototype.getLocal = function() {
  return /** @type{?proto.hashicorp.waypoint.Runner.Local} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Runner.Local, 6));
};


/**
 * @param {?proto.hashicorp.waypoint.Runner.Local|undefined} value
 * @return {!proto.hashicorp.waypoint.Runner} returns this
*/
proto.hashicorp.waypoint.Runner.prototype.setLocal = function(value) {
  return jspb.Message.setOneofWrapperField(this, 6, proto.hashicorp.waypoint.Runner.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Runner} returns this
 */
proto.hashicorp.waypoint.Runner.prototype.clearLocal = function() {
  return this.setLocal(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Runner.prototype.hasLocal = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * optional Remote remote = 7;
 * @return {?proto.hashicorp.waypoint.Runner.Remote}
 */
proto.hashicorp.waypoint.Runner.prototype.getRemote = function() {
  return /** @type{?proto.hashicorp.waypoint.Runner.Remote} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Runner.Remote, 7));
};


/**
 * @param {?proto.hashicorp.waypoint.Runner.Remote|undefined} value
 * @return {!proto.hashicorp.waypoint.Runner} returns this
*/
proto.hashicorp.waypoint.Runner.prototype.setRemote = function(value) {
  return jspb.Message.setOneofWrapperField(this, 7, proto.hashicorp.waypoint.Runner.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Runner} returns this
 */
proto.hashicorp.waypoint.Runner.prototype.clearRemote = function() {
  return this.setRemote(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Runner.prototype.hasRemote = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional bool deprecated_is_odr = 4;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Runner.prototype.getDeprecatedIsOdr = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Runner} returns this
 */
proto.hashicorp.waypoint.Runner.prototype.setDeprecatedIsOdr = function(value) {
  return jspb.Message.setOneofField(this, 4, proto.hashicorp.waypoint.Runner.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Runner} returns this
 */
proto.hashicorp.waypoint.Runner.prototype.clearDeprecatedIsOdr = function() {
  return jspb.Message.setOneofField(this, 4, proto.hashicorp.waypoint.Runner.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Runner.prototype.hasDeprecatedIsOdr = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * repeated Component components = 3;
 * @return {!Array<!proto.hashicorp.waypoint.Component>}
 */
proto.hashicorp.waypoint.Runner.prototype.getComponentsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Component>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Component, 3));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Component>} value
 * @return {!proto.hashicorp.waypoint.Runner} returns this
*/
proto.hashicorp.waypoint.Runner.prototype.setComponentsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 3, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Component=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Component}
 */
proto.hashicorp.waypoint.Runner.prototype.addComponents = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.hashicorp.waypoint.Component, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Runner} returns this
 */
proto.hashicorp.waypoint.Runner.prototype.clearComponentsList = function() {
  return this.setComponentsList([]);
};


/**
 * map<string, string> labels = 12;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.Runner.prototype.getLabelsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 12, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.Runner} returns this
 */
proto.hashicorp.waypoint.Runner.prototype.clearLabelsMap = function() {
  this.getLabelsMap().clear();
  return this;};


/**
 * optional bool online = 11;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Runner.prototype.getOnline = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Runner} returns this
 */
proto.hashicorp.waypoint.Runner.prototype.setOnline = function(value) {
  return jspb.Message.setProto3BooleanField(this, 11, value);
};


/**
 * optional google.protobuf.Timestamp first_seen = 9;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Runner.prototype.getFirstSeen = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 9));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Runner} returns this
*/
proto.hashicorp.waypoint.Runner.prototype.setFirstSeen = function(value) {
  return jspb.Message.setWrapperField(this, 9, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Runner} returns this
 */
proto.hashicorp.waypoint.Runner.prototype.clearFirstSeen = function() {
  return this.setFirstSeen(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Runner.prototype.hasFirstSeen = function() {
  return jspb.Message.getField(this, 9) != null;
};


/**
 * optional google.protobuf.Timestamp last_seen = 10;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Runner.prototype.getLastSeen = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Runner} returns this
*/
proto.hashicorp.waypoint.Runner.prototype.setLastSeen = function(value) {
  return jspb.Message.setWrapperField(this, 10, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Runner} returns this
 */
proto.hashicorp.waypoint.Runner.prototype.clearLastSeen = function() {
  return this.setLastSeen(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Runner.prototype.hasLastSeen = function() {
  return jspb.Message.getField(this, 10) != null;
};


/**
 * optional AdoptionState adoption_state = 8;
 * @return {!proto.hashicorp.waypoint.Runner.AdoptionState}
 */
proto.hashicorp.waypoint.Runner.prototype.getAdoptionState = function() {
  return /** @type {!proto.hashicorp.waypoint.Runner.AdoptionState} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Runner.AdoptionState} value
 * @return {!proto.hashicorp.waypoint.Runner} returns this
 */
proto.hashicorp.waypoint.Runner.prototype.setAdoptionState = function(value) {
  return jspb.Message.setProto3EnumField(this, 8, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerTokenRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerTokenRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerTokenRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerTokenRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    runner: (f = msg.getRunner()) && proto.hashicorp.waypoint.Runner.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerTokenRequest}
 */
proto.hashicorp.waypoint.RunnerTokenRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerTokenRequest;
  return proto.hashicorp.waypoint.RunnerTokenRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerTokenRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerTokenRequest}
 */
proto.hashicorp.waypoint.RunnerTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Runner;
      reader.readMessage(value,proto.hashicorp.waypoint.Runner.deserializeBinaryFromReader);
      msg.setRunner(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerTokenRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerTokenRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerTokenRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerTokenRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRunner();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Runner.serializeBinaryToWriter
    );
  }
};


/**
 * optional Runner runner = 1;
 * @return {?proto.hashicorp.waypoint.Runner}
 */
proto.hashicorp.waypoint.RunnerTokenRequest.prototype.getRunner = function() {
  return /** @type{?proto.hashicorp.waypoint.Runner} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Runner, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Runner|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerTokenRequest} returns this
*/
proto.hashicorp.waypoint.RunnerTokenRequest.prototype.setRunner = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerTokenRequest} returns this
 */
proto.hashicorp.waypoint.RunnerTokenRequest.prototype.clearRunner = function() {
  return this.setRunner(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerTokenRequest.prototype.hasRunner = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerTokenResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerTokenResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerTokenResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerTokenResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    token: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerTokenResponse}
 */
proto.hashicorp.waypoint.RunnerTokenResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerTokenResponse;
  return proto.hashicorp.waypoint.RunnerTokenResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerTokenResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerTokenResponse}
 */
proto.hashicorp.waypoint.RunnerTokenResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setToken(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerTokenResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerTokenResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerTokenResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerTokenResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getToken();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string token = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.RunnerTokenResponse.prototype.getToken = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.RunnerTokenResponse} returns this
 */
proto.hashicorp.waypoint.RunnerTokenResponse.prototype.setToken = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.RunnerConfigRequest.oneofGroups_ = [[1]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.RunnerConfigRequest.EventCase = {
  EVENT_NOT_SET: 0,
  OPEN: 1
};

/**
 * @return {proto.hashicorp.waypoint.RunnerConfigRequest.EventCase}
 */
proto.hashicorp.waypoint.RunnerConfigRequest.prototype.getEventCase = function() {
  return /** @type {proto.hashicorp.waypoint.RunnerConfigRequest.EventCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.RunnerConfigRequest.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerConfigRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerConfigRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerConfigRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerConfigRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    open: (f = msg.getOpen()) && proto.hashicorp.waypoint.RunnerConfigRequest.Open.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerConfigRequest}
 */
proto.hashicorp.waypoint.RunnerConfigRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerConfigRequest;
  return proto.hashicorp.waypoint.RunnerConfigRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerConfigRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerConfigRequest}
 */
proto.hashicorp.waypoint.RunnerConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.RunnerConfigRequest.Open;
      reader.readMessage(value,proto.hashicorp.waypoint.RunnerConfigRequest.Open.deserializeBinaryFromReader);
      msg.setOpen(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerConfigRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerConfigRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerConfigRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerConfigRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getOpen();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.RunnerConfigRequest.Open.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerConfigRequest.Open.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerConfigRequest.Open.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerConfigRequest.Open} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerConfigRequest.Open.toObject = function(includeInstance, msg) {
  var f, obj = {
    runner: (f = msg.getRunner()) && proto.hashicorp.waypoint.Runner.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerConfigRequest.Open}
 */
proto.hashicorp.waypoint.RunnerConfigRequest.Open.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerConfigRequest.Open;
  return proto.hashicorp.waypoint.RunnerConfigRequest.Open.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerConfigRequest.Open} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerConfigRequest.Open}
 */
proto.hashicorp.waypoint.RunnerConfigRequest.Open.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Runner;
      reader.readMessage(value,proto.hashicorp.waypoint.Runner.deserializeBinaryFromReader);
      msg.setRunner(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerConfigRequest.Open.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerConfigRequest.Open.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerConfigRequest.Open} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerConfigRequest.Open.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRunner();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Runner.serializeBinaryToWriter
    );
  }
};


/**
 * optional Runner runner = 1;
 * @return {?proto.hashicorp.waypoint.Runner}
 */
proto.hashicorp.waypoint.RunnerConfigRequest.Open.prototype.getRunner = function() {
  return /** @type{?proto.hashicorp.waypoint.Runner} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Runner, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Runner|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerConfigRequest.Open} returns this
*/
proto.hashicorp.waypoint.RunnerConfigRequest.Open.prototype.setRunner = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerConfigRequest.Open} returns this
 */
proto.hashicorp.waypoint.RunnerConfigRequest.Open.prototype.clearRunner = function() {
  return this.setRunner(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerConfigRequest.Open.prototype.hasRunner = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Open open = 1;
 * @return {?proto.hashicorp.waypoint.RunnerConfigRequest.Open}
 */
proto.hashicorp.waypoint.RunnerConfigRequest.prototype.getOpen = function() {
  return /** @type{?proto.hashicorp.waypoint.RunnerConfigRequest.Open} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.RunnerConfigRequest.Open, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.RunnerConfigRequest.Open|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerConfigRequest} returns this
*/
proto.hashicorp.waypoint.RunnerConfigRequest.prototype.setOpen = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.RunnerConfigRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerConfigRequest} returns this
 */
proto.hashicorp.waypoint.RunnerConfigRequest.prototype.clearOpen = function() {
  return this.setOpen(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerConfigRequest.prototype.hasOpen = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerConfigResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerConfigResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerConfigResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerConfigResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    config: (f = msg.getConfig()) && proto.hashicorp.waypoint.RunnerConfig.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerConfigResponse}
 */
proto.hashicorp.waypoint.RunnerConfigResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerConfigResponse;
  return proto.hashicorp.waypoint.RunnerConfigResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerConfigResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerConfigResponse}
 */
proto.hashicorp.waypoint.RunnerConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 2:
      var value = new proto.hashicorp.waypoint.RunnerConfig;
      reader.readMessage(value,proto.hashicorp.waypoint.RunnerConfig.deserializeBinaryFromReader);
      msg.setConfig(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerConfigResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerConfigResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerConfigResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerConfigResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfig();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.RunnerConfig.serializeBinaryToWriter
    );
  }
};


/**
 * optional RunnerConfig config = 2;
 * @return {?proto.hashicorp.waypoint.RunnerConfig}
 */
proto.hashicorp.waypoint.RunnerConfigResponse.prototype.getConfig = function() {
  return /** @type{?proto.hashicorp.waypoint.RunnerConfig} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.RunnerConfig, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.RunnerConfig|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerConfigResponse} returns this
*/
proto.hashicorp.waypoint.RunnerConfigResponse.prototype.setConfig = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerConfigResponse} returns this
 */
proto.hashicorp.waypoint.RunnerConfigResponse.prototype.clearConfig = function() {
  return this.setConfig(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerConfigResponse.prototype.hasConfig = function() {
  return jspb.Message.getField(this, 2) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.RunnerConfig.repeatedFields_ = [1,2];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerConfig.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerConfig.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerConfig} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerConfig.toObject = function(includeInstance, msg) {
  var f, obj = {
    configVarsList: jspb.Message.toObjectList(msg.getConfigVarsList(),
    proto.hashicorp.waypoint.ConfigVar.toObject, includeInstance),
    configSourcesList: jspb.Message.toObjectList(msg.getConfigSourcesList(),
    proto.hashicorp.waypoint.ConfigSource.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerConfig}
 */
proto.hashicorp.waypoint.RunnerConfig.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerConfig;
  return proto.hashicorp.waypoint.RunnerConfig.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerConfig} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerConfig}
 */
proto.hashicorp.waypoint.RunnerConfig.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.ConfigVar;
      reader.readMessage(value,proto.hashicorp.waypoint.ConfigVar.deserializeBinaryFromReader);
      msg.addConfigVars(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.ConfigSource;
      reader.readMessage(value,proto.hashicorp.waypoint.ConfigSource.deserializeBinaryFromReader);
      msg.addConfigSources(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerConfig.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerConfig.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerConfig} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerConfig.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfigVarsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.ConfigVar.serializeBinaryToWriter
    );
  }
  f = message.getConfigSourcesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.hashicorp.waypoint.ConfigSource.serializeBinaryToWriter
    );
  }
};


/**
 * repeated ConfigVar config_vars = 1;
 * @return {!Array<!proto.hashicorp.waypoint.ConfigVar>}
 */
proto.hashicorp.waypoint.RunnerConfig.prototype.getConfigVarsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.ConfigVar>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.ConfigVar, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.ConfigVar>} value
 * @return {!proto.hashicorp.waypoint.RunnerConfig} returns this
*/
proto.hashicorp.waypoint.RunnerConfig.prototype.setConfigVarsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.ConfigVar=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.ConfigVar}
 */
proto.hashicorp.waypoint.RunnerConfig.prototype.addConfigVars = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.ConfigVar, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.RunnerConfig} returns this
 */
proto.hashicorp.waypoint.RunnerConfig.prototype.clearConfigVarsList = function() {
  return this.setConfigVarsList([]);
};


/**
 * repeated ConfigSource config_sources = 2;
 * @return {!Array<!proto.hashicorp.waypoint.ConfigSource>}
 */
proto.hashicorp.waypoint.RunnerConfig.prototype.getConfigSourcesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.ConfigSource>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.ConfigSource, 2));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.ConfigSource>} value
 * @return {!proto.hashicorp.waypoint.RunnerConfig} returns this
*/
proto.hashicorp.waypoint.RunnerConfig.prototype.setConfigSourcesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.hashicorp.waypoint.ConfigSource=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.ConfigSource}
 */
proto.hashicorp.waypoint.RunnerConfig.prototype.addConfigSources = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.hashicorp.waypoint.ConfigSource, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.RunnerConfig} returns this
 */
proto.hashicorp.waypoint.RunnerConfig.prototype.clearConfigSourcesList = function() {
  return this.setConfigSourcesList([]);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.oneofGroups_ = [[1,2,3,4,5,7,8,9,6]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.EventCase = {
  EVENT_NOT_SET: 0,
  REQUEST: 1,
  ACK: 2,
  COMPLETE: 3,
  ERROR: 4,
  TERMINAL: 5,
  DOWNLOAD: 7,
  CONFIG_LOAD: 8,
  VARIABLE_VALUES_SET: 9,
  HEARTBEAT: 6
};

/**
 * @return {proto.hashicorp.waypoint.RunnerJobStreamRequest.EventCase}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.getEventCase = function() {
  return /** @type {proto.hashicorp.waypoint.RunnerJobStreamRequest.EventCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.RunnerJobStreamRequest.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    request: (f = msg.getRequest()) && proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.toObject(includeInstance, f),
    ack: (f = msg.getAck()) && proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack.toObject(includeInstance, f),
    complete: (f = msg.getComplete()) && proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.toObject(includeInstance, f),
    error: (f = msg.getError()) && proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.toObject(includeInstance, f),
    terminal: (f = msg.getTerminal()) && proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.toObject(includeInstance, f),
    download: (f = msg.getDownload()) && proto.hashicorp.waypoint.GetJobStreamResponse.Download.toObject(includeInstance, f),
    configLoad: (f = msg.getConfigLoad()) && proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.toObject(includeInstance, f),
    variableValuesSet: (f = msg.getVariableValuesSet()) && proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.toObject(includeInstance, f),
    heartbeat: (f = msg.getHeartbeat()) && proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerJobStreamRequest;
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.RunnerJobStreamRequest.Request;
      reader.readMessage(value,proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.deserializeBinaryFromReader);
      msg.setRequest(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack;
      reader.readMessage(value,proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack.deserializeBinaryFromReader);
      msg.setAck(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete;
      reader.readMessage(value,proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.deserializeBinaryFromReader);
      msg.setComplete(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.RunnerJobStreamRequest.Error;
      reader.readMessage(value,proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.deserializeBinaryFromReader);
      msg.setError(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Terminal;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.deserializeBinaryFromReader);
      msg.setTerminal(value);
      break;
    case 7:
      var value = new proto.hashicorp.waypoint.GetJobStreamResponse.Download;
      reader.readMessage(value,proto.hashicorp.waypoint.GetJobStreamResponse.Download.deserializeBinaryFromReader);
      msg.setDownload(value);
      break;
    case 8:
      var value = new proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad;
      reader.readMessage(value,proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.deserializeBinaryFromReader);
      msg.setConfigLoad(value);
      break;
    case 9:
      var value = new proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet;
      reader.readMessage(value,proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.deserializeBinaryFromReader);
      msg.setVariableValuesSet(value);
      break;
    case 6:
      var value = new proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat;
      reader.readMessage(value,proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat.deserializeBinaryFromReader);
      msg.setHeartbeat(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerJobStreamRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRequest();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.serializeBinaryToWriter
    );
  }
  f = message.getAck();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack.serializeBinaryToWriter
    );
  }
  f = message.getComplete();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.serializeBinaryToWriter
    );
  }
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.serializeBinaryToWriter
    );
  }
  f = message.getTerminal();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Terminal.serializeBinaryToWriter
    );
  }
  f = message.getDownload();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      proto.hashicorp.waypoint.GetJobStreamResponse.Download.serializeBinaryToWriter
    );
  }
  f = message.getConfigLoad();
  if (f != null) {
    writer.writeMessage(
      8,
      f,
      proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.serializeBinaryToWriter
    );
  }
  f = message.getVariableValuesSet();
  if (f != null) {
    writer.writeMessage(
      9,
      f,
      proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.serializeBinaryToWriter
    );
  }
  f = message.getHeartbeat();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Request} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.toObject = function(includeInstance, msg) {
  var f, obj = {
    runnerId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    reattachJobId: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Request}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerJobStreamRequest.Request;
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Request} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Request}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setRunnerId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setReattachJobId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Request} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRunnerId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getReattachJobId();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional string runner_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.prototype.getRunnerId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Request} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.prototype.setRunnerId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string reattach_job_id = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.prototype.getReattachJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Request} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Request.prototype.setReattachJobId = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack;
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.toObject = function(includeInstance, msg) {
  var f, obj = {
    result: (f = msg.getResult()) && proto.hashicorp.waypoint.Job.Result.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete;
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job.Result;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.Result.deserializeBinaryFromReader);
      msg.setResult(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getResult();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.Result.serializeBinaryToWriter
    );
  }
};


/**
 * optional Job.Result result = 1;
 * @return {?proto.hashicorp.waypoint.Job.Result}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.prototype.getResult = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.Result} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.Result, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.Result|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.prototype.setResult = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.prototype.clearResult = function() {
  return this.setResult(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete.prototype.hasResult = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Error} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.toObject = function(includeInstance, msg) {
  var f, obj = {
    error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Error}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerJobStreamRequest.Error;
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Error} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Error}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new google_rpc_status_pb.Status;
      reader.readMessage(value,google_rpc_status_pb.Status.deserializeBinaryFromReader);
      msg.setError(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Error} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      google_rpc_status_pb.Status.serializeBinaryToWriter
    );
  }
};


/**
 * optional google.rpc.Status error = 1;
 * @return {?proto.google.rpc.Status}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.prototype.getError = function() {
  return /** @type{?proto.google.rpc.Status} */ (
    jspb.Message.getWrapperField(this, google_rpc_status_pb.Status, 1));
};


/**
 * @param {?proto.google.rpc.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Error} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.prototype.setError = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Error} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.prototype.clearError = function() {
  return this.setError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Error.prototype.hasError = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat;
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.toObject = function(includeInstance, msg) {
  var f, obj = {
    config: (f = msg.getConfig()) && proto.hashicorp.waypoint.Job.Config.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad;
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job.Config;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.Config.deserializeBinaryFromReader);
      msg.setConfig(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfig();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.Config.serializeBinaryToWriter
    );
  }
};


/**
 * optional Job.Config config = 1;
 * @return {?proto.hashicorp.waypoint.Job.Config}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.prototype.getConfig = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.Config} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.Config, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.Config|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.prototype.setConfig = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.prototype.clearConfig = function() {
  return this.setConfig(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad.prototype.hasConfig = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.toObject = function(includeInstance, msg) {
  var f, obj = {
    finalValuesMap: (f = msg.getFinalValuesMap()) ? f.toObject(includeInstance, proto.hashicorp.waypoint.Variable.FinalValue.toObject) : []
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet;
  return proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = msg.getFinalValuesMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.hashicorp.waypoint.Variable.FinalValue.deserializeBinaryFromReader, "", new proto.hashicorp.waypoint.Variable.FinalValue());
         });
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFinalValuesMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.hashicorp.waypoint.Variable.FinalValue.serializeBinaryToWriter);
  }
};


/**
 * map<string, Variable.FinalValue> final_values = 1;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,!proto.hashicorp.waypoint.Variable.FinalValue>}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.prototype.getFinalValuesMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,!proto.hashicorp.waypoint.Variable.FinalValue>} */ (
      jspb.Message.getMapField(this, 1, opt_noLazyCreate,
      proto.hashicorp.waypoint.Variable.FinalValue));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet.prototype.clearFinalValuesMap = function() {
  this.getFinalValuesMap().clear();
  return this;};


/**
 * optional Request request = 1;
 * @return {?proto.hashicorp.waypoint.RunnerJobStreamRequest.Request}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.getRequest = function() {
  return /** @type{?proto.hashicorp.waypoint.RunnerJobStreamRequest.Request} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.RunnerJobStreamRequest.Request, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.RunnerJobStreamRequest.Request|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.setRequest = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.RunnerJobStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.clearRequest = function() {
  return this.setRequest(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.hasRequest = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ack ack = 2;
 * @return {?proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.getAck = function() {
  return /** @type{?proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.RunnerJobStreamRequest.Ack|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.setAck = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.RunnerJobStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.clearAck = function() {
  return this.setAck(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.hasAck = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Complete complete = 3;
 * @return {?proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.getComplete = function() {
  return /** @type{?proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.RunnerJobStreamRequest.Complete|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.setComplete = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.RunnerJobStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.clearComplete = function() {
  return this.setComplete(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.hasComplete = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Error error = 4;
 * @return {?proto.hashicorp.waypoint.RunnerJobStreamRequest.Error}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.getError = function() {
  return /** @type{?proto.hashicorp.waypoint.RunnerJobStreamRequest.Error} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.RunnerJobStreamRequest.Error, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.RunnerJobStreamRequest.Error|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.setError = function(value) {
  return jspb.Message.setOneofWrapperField(this, 4, proto.hashicorp.waypoint.RunnerJobStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.clearError = function() {
  return this.setError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.hasError = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional GetJobStreamResponse.Terminal terminal = 5;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.getTerminal = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Terminal, 5));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.Terminal|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.setTerminal = function(value) {
  return jspb.Message.setOneofWrapperField(this, 5, proto.hashicorp.waypoint.RunnerJobStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.clearTerminal = function() {
  return this.setTerminal(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.hasTerminal = function() {
  return jspb.Message.getField(this, 5) != null;
};


/**
 * optional GetJobStreamResponse.Download download = 7;
 * @return {?proto.hashicorp.waypoint.GetJobStreamResponse.Download}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.getDownload = function() {
  return /** @type{?proto.hashicorp.waypoint.GetJobStreamResponse.Download} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetJobStreamResponse.Download, 7));
};


/**
 * @param {?proto.hashicorp.waypoint.GetJobStreamResponse.Download|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.setDownload = function(value) {
  return jspb.Message.setOneofWrapperField(this, 7, proto.hashicorp.waypoint.RunnerJobStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.clearDownload = function() {
  return this.setDownload(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.hasDownload = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional ConfigLoad config_load = 8;
 * @return {?proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.getConfigLoad = function() {
  return /** @type{?proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad, 8));
};


/**
 * @param {?proto.hashicorp.waypoint.RunnerJobStreamRequest.ConfigLoad|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.setConfigLoad = function(value) {
  return jspb.Message.setOneofWrapperField(this, 8, proto.hashicorp.waypoint.RunnerJobStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.clearConfigLoad = function() {
  return this.setConfigLoad(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.hasConfigLoad = function() {
  return jspb.Message.getField(this, 8) != null;
};


/**
 * optional VariableValuesSet variable_values_set = 9;
 * @return {?proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.getVariableValuesSet = function() {
  return /** @type{?proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet, 9));
};


/**
 * @param {?proto.hashicorp.waypoint.RunnerJobStreamRequest.VariableValuesSet|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.setVariableValuesSet = function(value) {
  return jspb.Message.setOneofWrapperField(this, 9, proto.hashicorp.waypoint.RunnerJobStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.clearVariableValuesSet = function() {
  return this.setVariableValuesSet(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.hasVariableValuesSet = function() {
  return jspb.Message.getField(this, 9) != null;
};


/**
 * optional Heartbeat heartbeat = 6;
 * @return {?proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.getHeartbeat = function() {
  return /** @type{?proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat, 6));
};


/**
 * @param {?proto.hashicorp.waypoint.RunnerJobStreamRequest.Heartbeat|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.setHeartbeat = function(value) {
  return jspb.Message.setOneofWrapperField(this, 6, proto.hashicorp.waypoint.RunnerJobStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamRequest} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.clearHeartbeat = function() {
  return this.setHeartbeat(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamRequest.prototype.hasHeartbeat = function() {
  return jspb.Message.getField(this, 6) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.EventCase = {
  EVENT_NOT_SET: 0,
  ASSIGNMENT: 1,
  CANCEL: 2
};

/**
 * @return {proto.hashicorp.waypoint.RunnerJobStreamResponse.EventCase}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.prototype.getEventCase = function() {
  return /** @type {proto.hashicorp.waypoint.RunnerJobStreamResponse.EventCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.RunnerJobStreamResponse.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerJobStreamResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    assignment: (f = msg.getAssignment()) && proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.toObject(includeInstance, f),
    cancel: (f = msg.getCancel()) && proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerJobStreamResponse;
  return proto.hashicorp.waypoint.RunnerJobStreamResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment;
      reader.readMessage(value,proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.deserializeBinaryFromReader);
      msg.setAssignment(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel;
      reader.readMessage(value,proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.deserializeBinaryFromReader);
      msg.setCancel(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerJobStreamResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAssignment();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.serializeBinaryToWriter
    );
  }
  f = message.getCancel();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.serializeBinaryToWriter
    );
  }
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.repeatedFields_ = [2];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.toObject = function(includeInstance, msg) {
  var f, obj = {
    job: (f = msg.getJob()) && proto.hashicorp.waypoint.Job.toObject(includeInstance, f),
    configSourcesList: jspb.Message.toObjectList(msg.getConfigSourcesList(),
    proto.hashicorp.waypoint.ConfigSource.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment;
  return proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.deserializeBinaryFromReader);
      msg.setJob(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.ConfigSource;
      reader.readMessage(value,proto.hashicorp.waypoint.ConfigSource.deserializeBinaryFromReader);
      msg.addConfigSources(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJob();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.serializeBinaryToWriter
    );
  }
  f = message.getConfigSourcesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.hashicorp.waypoint.ConfigSource.serializeBinaryToWriter
    );
  }
};


/**
 * optional Job job = 1;
 * @return {?proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.prototype.getJob = function() {
  return /** @type{?proto.hashicorp.waypoint.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.prototype.setJob = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.prototype.clearJob = function() {
  return this.setJob(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.prototype.hasJob = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * repeated ConfigSource config_sources = 2;
 * @return {!Array<!proto.hashicorp.waypoint.ConfigSource>}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.prototype.getConfigSourcesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.ConfigSource>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.ConfigSource, 2));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.ConfigSource>} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.prototype.setConfigSourcesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.hashicorp.waypoint.ConfigSource=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.ConfigSource}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.prototype.addConfigSources = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.hashicorp.waypoint.ConfigSource, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment.prototype.clearConfigSourcesList = function() {
  return this.setConfigSourcesList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.toObject = function(includeInstance, msg) {
  var f, obj = {
    force: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel;
  return proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setForce(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getForce();
  if (f) {
    writer.writeBool(
      1,
      f
    );
  }
};


/**
 * optional bool force = 1;
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.prototype.getForce = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel.prototype.setForce = function(value) {
  return jspb.Message.setProto3BooleanField(this, 1, value);
};


/**
 * optional JobAssignment assignment = 1;
 * @return {?proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.prototype.getAssignment = function() {
  return /** @type{?proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.RunnerJobStreamResponse.JobAssignment|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamResponse.prototype.setAssignment = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.RunnerJobStreamResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.prototype.clearAssignment = function() {
  return this.setAssignment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.prototype.hasAssignment = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional JobCancel cancel = 2;
 * @return {?proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.prototype.getCancel = function() {
  return /** @type{?proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.RunnerJobStreamResponse.JobCancel|undefined} value
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse} returns this
*/
proto.hashicorp.waypoint.RunnerJobStreamResponse.prototype.setCancel = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.RunnerJobStreamResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunnerJobStreamResponse} returns this
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.prototype.clearCancel = function() {
  return this.setCancel(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerJobStreamResponse.prototype.hasCancel = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest}
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest;
  return proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest}
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    serverAddr: jspb.Message.getFieldWithDefault(msg, 1, ""),
    serverTls: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
    serverTlsSkipVerify: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse}
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse;
  return proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse}
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setServerAddr(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setServerTls(value);
      break;
    case 3:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setServerTlsSkipVerify(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getServerAddr();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getServerTls();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
  f = message.getServerTlsSkipVerify();
  if (f) {
    writer.writeBool(
      3,
      f
    );
  }
};


/**
 * optional string server_addr = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.prototype.getServerAddr = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse} returns this
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.prototype.setServerAddr = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional bool server_tls = 2;
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.prototype.getServerTls = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse} returns this
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.prototype.setServerTls = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};


/**
 * optional bool server_tls_skip_verify = 3;
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.prototype.getServerTlsSkipVerify = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse} returns this
 */
proto.hashicorp.waypoint.RunnerGetDeploymentConfigResponse.prototype.setServerTlsSkipVerify = function(value) {
  return jspb.Message.setProto3BooleanField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetRunnerRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetRunnerRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetRunnerRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetRunnerRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    runnerId: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetRunnerRequest}
 */
proto.hashicorp.waypoint.GetRunnerRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetRunnerRequest;
  return proto.hashicorp.waypoint.GetRunnerRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetRunnerRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetRunnerRequest}
 */
proto.hashicorp.waypoint.GetRunnerRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setRunnerId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetRunnerRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetRunnerRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetRunnerRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetRunnerRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRunnerId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string runner_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.GetRunnerRequest.prototype.getRunnerId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetRunnerRequest} returns this
 */
proto.hashicorp.waypoint.GetRunnerRequest.prototype.setRunnerId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListRunnersRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListRunnersRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListRunnersRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListRunnersRequest.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListRunnersRequest}
 */
proto.hashicorp.waypoint.ListRunnersRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListRunnersRequest;
  return proto.hashicorp.waypoint.ListRunnersRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListRunnersRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListRunnersRequest}
 */
proto.hashicorp.waypoint.ListRunnersRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListRunnersRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListRunnersRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListRunnersRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListRunnersRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListRunnersResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListRunnersResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListRunnersResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListRunnersResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListRunnersResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    runnersList: jspb.Message.toObjectList(msg.getRunnersList(),
    proto.hashicorp.waypoint.Runner.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListRunnersResponse}
 */
proto.hashicorp.waypoint.ListRunnersResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListRunnersResponse;
  return proto.hashicorp.waypoint.ListRunnersResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListRunnersResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListRunnersResponse}
 */
proto.hashicorp.waypoint.ListRunnersResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Runner;
      reader.readMessage(value,proto.hashicorp.waypoint.Runner.deserializeBinaryFromReader);
      msg.addRunners(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListRunnersResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListRunnersResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListRunnersResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListRunnersResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRunnersList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.Runner.serializeBinaryToWriter
    );
  }
};


/**
 * repeated Runner runners = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Runner>}
 */
proto.hashicorp.waypoint.ListRunnersResponse.prototype.getRunnersList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Runner>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Runner, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Runner>} value
 * @return {!proto.hashicorp.waypoint.ListRunnersResponse} returns this
*/
proto.hashicorp.waypoint.ListRunnersResponse.prototype.setRunnersList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Runner=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Runner}
 */
proto.hashicorp.waypoint.ListRunnersResponse.prototype.addRunners = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.Runner, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListRunnersResponse} returns this
 */
proto.hashicorp.waypoint.ListRunnersResponse.prototype.clearRunnersList = function() {
  return this.setRunnersList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.AdoptRunnerRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.AdoptRunnerRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.AdoptRunnerRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.AdoptRunnerRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    runnerId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    adopt: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.AdoptRunnerRequest}
 */
proto.hashicorp.waypoint.AdoptRunnerRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.AdoptRunnerRequest;
  return proto.hashicorp.waypoint.AdoptRunnerRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.AdoptRunnerRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.AdoptRunnerRequest}
 */
proto.hashicorp.waypoint.AdoptRunnerRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setRunnerId(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setAdopt(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.AdoptRunnerRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.AdoptRunnerRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.AdoptRunnerRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.AdoptRunnerRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRunnerId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getAdopt();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
};


/**
 * optional string runner_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.AdoptRunnerRequest.prototype.getRunnerId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.AdoptRunnerRequest} returns this
 */
proto.hashicorp.waypoint.AdoptRunnerRequest.prototype.setRunnerId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional bool adopt = 2;
 * @return {boolean}
 */
proto.hashicorp.waypoint.AdoptRunnerRequest.prototype.getAdopt = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.AdoptRunnerRequest} returns this
 */
proto.hashicorp.waypoint.AdoptRunnerRequest.prototype.setAdopt = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ForgetRunnerRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ForgetRunnerRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ForgetRunnerRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ForgetRunnerRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    runnerId: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ForgetRunnerRequest}
 */
proto.hashicorp.waypoint.ForgetRunnerRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ForgetRunnerRequest;
  return proto.hashicorp.waypoint.ForgetRunnerRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ForgetRunnerRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ForgetRunnerRequest}
 */
proto.hashicorp.waypoint.ForgetRunnerRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setRunnerId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ForgetRunnerRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ForgetRunnerRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ForgetRunnerRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ForgetRunnerRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRunnerId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string runner_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.ForgetRunnerRequest.prototype.getRunnerId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ForgetRunnerRequest} returns this
 */
proto.hashicorp.waypoint.ForgetRunnerRequest.prototype.setRunnerId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.SetServerConfigRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.SetServerConfigRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.SetServerConfigRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.SetServerConfigRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    config: (f = msg.getConfig()) && proto.hashicorp.waypoint.ServerConfig.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.SetServerConfigRequest}
 */
proto.hashicorp.waypoint.SetServerConfigRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.SetServerConfigRequest;
  return proto.hashicorp.waypoint.SetServerConfigRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.SetServerConfigRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.SetServerConfigRequest}
 */
proto.hashicorp.waypoint.SetServerConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.ServerConfig;
      reader.readMessage(value,proto.hashicorp.waypoint.ServerConfig.deserializeBinaryFromReader);
      msg.setConfig(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.SetServerConfigRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.SetServerConfigRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.SetServerConfigRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.SetServerConfigRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfig();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.ServerConfig.serializeBinaryToWriter
    );
  }
};


/**
 * optional ServerConfig config = 1;
 * @return {?proto.hashicorp.waypoint.ServerConfig}
 */
proto.hashicorp.waypoint.SetServerConfigRequest.prototype.getConfig = function() {
  return /** @type{?proto.hashicorp.waypoint.ServerConfig} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ServerConfig, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.ServerConfig|undefined} value
 * @return {!proto.hashicorp.waypoint.SetServerConfigRequest} returns this
*/
proto.hashicorp.waypoint.SetServerConfigRequest.prototype.setConfig = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.SetServerConfigRequest} returns this
 */
proto.hashicorp.waypoint.SetServerConfigRequest.prototype.clearConfig = function() {
  return this.setConfig(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.SetServerConfigRequest.prototype.hasConfig = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetServerConfigResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetServerConfigResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetServerConfigResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetServerConfigResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    config: (f = msg.getConfig()) && proto.hashicorp.waypoint.ServerConfig.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetServerConfigResponse}
 */
proto.hashicorp.waypoint.GetServerConfigResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetServerConfigResponse;
  return proto.hashicorp.waypoint.GetServerConfigResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetServerConfigResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetServerConfigResponse}
 */
proto.hashicorp.waypoint.GetServerConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.ServerConfig;
      reader.readMessage(value,proto.hashicorp.waypoint.ServerConfig.deserializeBinaryFromReader);
      msg.setConfig(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetServerConfigResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetServerConfigResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetServerConfigResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetServerConfigResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfig();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.ServerConfig.serializeBinaryToWriter
    );
  }
};


/**
 * optional ServerConfig config = 1;
 * @return {?proto.hashicorp.waypoint.ServerConfig}
 */
proto.hashicorp.waypoint.GetServerConfigResponse.prototype.getConfig = function() {
  return /** @type{?proto.hashicorp.waypoint.ServerConfig} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ServerConfig, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.ServerConfig|undefined} value
 * @return {!proto.hashicorp.waypoint.GetServerConfigResponse} returns this
*/
proto.hashicorp.waypoint.GetServerConfigResponse.prototype.setConfig = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetServerConfigResponse} returns this
 */
proto.hashicorp.waypoint.GetServerConfigResponse.prototype.clearConfig = function() {
  return this.setConfig(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetServerConfigResponse.prototype.hasConfig = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ServerConfig.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ServerConfig.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ServerConfig.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ServerConfig} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ServerConfig.toObject = function(includeInstance, msg) {
  var f, obj = {
    advertiseAddrsList: jspb.Message.toObjectList(msg.getAdvertiseAddrsList(),
    proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.toObject, includeInstance),
    platform: jspb.Message.getFieldWithDefault(msg, 4, ""),
    cookie: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ServerConfig}
 */
proto.hashicorp.waypoint.ServerConfig.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ServerConfig;
  return proto.hashicorp.waypoint.ServerConfig.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ServerConfig} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ServerConfig}
 */
proto.hashicorp.waypoint.ServerConfig.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr;
      reader.readMessage(value,proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.deserializeBinaryFromReader);
      msg.addAdvertiseAddrs(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setPlatform(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setCookie(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ServerConfig.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ServerConfig.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ServerConfig} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ServerConfig.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAdvertiseAddrsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.serializeBinaryToWriter
    );
  }
  f = message.getPlatform();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getCookie();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.toObject = function(includeInstance, msg) {
  var f, obj = {
    addr: jspb.Message.getFieldWithDefault(msg, 1, ""),
    tls: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
    tlsSkipVerify: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr}
 */
proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr;
  return proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr}
 */
proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setAddr(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setTls(value);
      break;
    case 3:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setTlsSkipVerify(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAddr();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getTls();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
  f = message.getTlsSkipVerify();
  if (f) {
    writer.writeBool(
      3,
      f
    );
  }
};


/**
 * optional string addr = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.prototype.getAddr = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr} returns this
 */
proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.prototype.setAddr = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional bool tls = 2;
 * @return {boolean}
 */
proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.prototype.getTls = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr} returns this
 */
proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.prototype.setTls = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};


/**
 * optional bool tls_skip_verify = 3;
 * @return {boolean}
 */
proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.prototype.getTlsSkipVerify = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr} returns this
 */
proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr.prototype.setTlsSkipVerify = function(value) {
  return jspb.Message.setProto3BooleanField(this, 3, value);
};


/**
 * repeated AdvertiseAddr advertise_addrs = 1;
 * @return {!Array<!proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr>}
 */
proto.hashicorp.waypoint.ServerConfig.prototype.getAdvertiseAddrsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr>} value
 * @return {!proto.hashicorp.waypoint.ServerConfig} returns this
*/
proto.hashicorp.waypoint.ServerConfig.prototype.setAdvertiseAddrsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr}
 */
proto.hashicorp.waypoint.ServerConfig.prototype.addAdvertiseAddrs = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.ServerConfig.AdvertiseAddr, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ServerConfig} returns this
 */
proto.hashicorp.waypoint.ServerConfig.prototype.clearAdvertiseAddrsList = function() {
  return this.setAdvertiseAddrsList([]);
};


/**
 * optional string platform = 4;
 * @return {string}
 */
proto.hashicorp.waypoint.ServerConfig.prototype.getPlatform = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ServerConfig} returns this
 */
proto.hashicorp.waypoint.ServerConfig.prototype.setPlatform = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional string cookie = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.ServerConfig.prototype.getCookie = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ServerConfig} returns this
 */
proto.hashicorp.waypoint.ServerConfig.prototype.setCookie = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.CreateHostnameRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.CreateHostnameRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.CreateHostnameRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CreateHostnameRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    hostname: jspb.Message.getFieldWithDefault(msg, 1, ""),
    target: (f = msg.getTarget()) && proto.hashicorp.waypoint.Hostname.Target.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.CreateHostnameRequest}
 */
proto.hashicorp.waypoint.CreateHostnameRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.CreateHostnameRequest;
  return proto.hashicorp.waypoint.CreateHostnameRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.CreateHostnameRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.CreateHostnameRequest}
 */
proto.hashicorp.waypoint.CreateHostnameRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setHostname(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Hostname.Target;
      reader.readMessage(value,proto.hashicorp.waypoint.Hostname.Target.deserializeBinaryFromReader);
      msg.setTarget(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.CreateHostnameRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.CreateHostnameRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.CreateHostnameRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CreateHostnameRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHostname();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getTarget();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Hostname.Target.serializeBinaryToWriter
    );
  }
};


/**
 * optional string hostname = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.CreateHostnameRequest.prototype.getHostname = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.CreateHostnameRequest} returns this
 */
proto.hashicorp.waypoint.CreateHostnameRequest.prototype.setHostname = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional Hostname.Target target = 2;
 * @return {?proto.hashicorp.waypoint.Hostname.Target}
 */
proto.hashicorp.waypoint.CreateHostnameRequest.prototype.getTarget = function() {
  return /** @type{?proto.hashicorp.waypoint.Hostname.Target} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Hostname.Target, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Hostname.Target|undefined} value
 * @return {!proto.hashicorp.waypoint.CreateHostnameRequest} returns this
*/
proto.hashicorp.waypoint.CreateHostnameRequest.prototype.setTarget = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.CreateHostnameRequest} returns this
 */
proto.hashicorp.waypoint.CreateHostnameRequest.prototype.clearTarget = function() {
  return this.setTarget(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.CreateHostnameRequest.prototype.hasTarget = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.CreateHostnameResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.CreateHostnameResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.CreateHostnameResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CreateHostnameResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    hostname: (f = msg.getHostname()) && proto.hashicorp.waypoint.Hostname.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.CreateHostnameResponse}
 */
proto.hashicorp.waypoint.CreateHostnameResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.CreateHostnameResponse;
  return proto.hashicorp.waypoint.CreateHostnameResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.CreateHostnameResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.CreateHostnameResponse}
 */
proto.hashicorp.waypoint.CreateHostnameResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Hostname;
      reader.readMessage(value,proto.hashicorp.waypoint.Hostname.deserializeBinaryFromReader);
      msg.setHostname(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.CreateHostnameResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.CreateHostnameResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.CreateHostnameResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CreateHostnameResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHostname();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Hostname.serializeBinaryToWriter
    );
  }
};


/**
 * optional Hostname hostname = 1;
 * @return {?proto.hashicorp.waypoint.Hostname}
 */
proto.hashicorp.waypoint.CreateHostnameResponse.prototype.getHostname = function() {
  return /** @type{?proto.hashicorp.waypoint.Hostname} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Hostname, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Hostname|undefined} value
 * @return {!proto.hashicorp.waypoint.CreateHostnameResponse} returns this
*/
proto.hashicorp.waypoint.CreateHostnameResponse.prototype.setHostname = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.CreateHostnameResponse} returns this
 */
proto.hashicorp.waypoint.CreateHostnameResponse.prototype.clearHostname = function() {
  return this.setHostname(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.CreateHostnameResponse.prototype.hasHostname = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListHostnamesRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListHostnamesRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListHostnamesRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListHostnamesRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    target: (f = msg.getTarget()) && proto.hashicorp.waypoint.Hostname.Target.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListHostnamesRequest}
 */
proto.hashicorp.waypoint.ListHostnamesRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListHostnamesRequest;
  return proto.hashicorp.waypoint.ListHostnamesRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListHostnamesRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListHostnamesRequest}
 */
proto.hashicorp.waypoint.ListHostnamesRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Hostname.Target;
      reader.readMessage(value,proto.hashicorp.waypoint.Hostname.Target.deserializeBinaryFromReader);
      msg.setTarget(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListHostnamesRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListHostnamesRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListHostnamesRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListHostnamesRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTarget();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Hostname.Target.serializeBinaryToWriter
    );
  }
};


/**
 * optional Hostname.Target target = 1;
 * @return {?proto.hashicorp.waypoint.Hostname.Target}
 */
proto.hashicorp.waypoint.ListHostnamesRequest.prototype.getTarget = function() {
  return /** @type{?proto.hashicorp.waypoint.Hostname.Target} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Hostname.Target, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Hostname.Target|undefined} value
 * @return {!proto.hashicorp.waypoint.ListHostnamesRequest} returns this
*/
proto.hashicorp.waypoint.ListHostnamesRequest.prototype.setTarget = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListHostnamesRequest} returns this
 */
proto.hashicorp.waypoint.ListHostnamesRequest.prototype.clearTarget = function() {
  return this.setTarget(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListHostnamesRequest.prototype.hasTarget = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListHostnamesResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListHostnamesResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListHostnamesResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListHostnamesResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListHostnamesResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    hostnamesList: jspb.Message.toObjectList(msg.getHostnamesList(),
    proto.hashicorp.waypoint.Hostname.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListHostnamesResponse}
 */
proto.hashicorp.waypoint.ListHostnamesResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListHostnamesResponse;
  return proto.hashicorp.waypoint.ListHostnamesResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListHostnamesResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListHostnamesResponse}
 */
proto.hashicorp.waypoint.ListHostnamesResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Hostname;
      reader.readMessage(value,proto.hashicorp.waypoint.Hostname.deserializeBinaryFromReader);
      msg.addHostnames(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListHostnamesResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListHostnamesResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListHostnamesResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListHostnamesResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHostnamesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.Hostname.serializeBinaryToWriter
    );
  }
};


/**
 * repeated Hostname hostnames = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Hostname>}
 */
proto.hashicorp.waypoint.ListHostnamesResponse.prototype.getHostnamesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Hostname>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Hostname, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Hostname>} value
 * @return {!proto.hashicorp.waypoint.ListHostnamesResponse} returns this
*/
proto.hashicorp.waypoint.ListHostnamesResponse.prototype.setHostnamesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Hostname=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Hostname}
 */
proto.hashicorp.waypoint.ListHostnamesResponse.prototype.addHostnames = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.Hostname, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListHostnamesResponse} returns this
 */
proto.hashicorp.waypoint.ListHostnamesResponse.prototype.clearHostnamesList = function() {
  return this.setHostnamesList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.DeleteHostnameRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.DeleteHostnameRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.DeleteHostnameRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeleteHostnameRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    hostname: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.DeleteHostnameRequest}
 */
proto.hashicorp.waypoint.DeleteHostnameRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.DeleteHostnameRequest;
  return proto.hashicorp.waypoint.DeleteHostnameRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.DeleteHostnameRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.DeleteHostnameRequest}
 */
proto.hashicorp.waypoint.DeleteHostnameRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setHostname(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.DeleteHostnameRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.DeleteHostnameRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.DeleteHostnameRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeleteHostnameRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHostname();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string hostname = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.DeleteHostnameRequest.prototype.getHostname = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.DeleteHostnameRequest} returns this
 */
proto.hashicorp.waypoint.DeleteHostnameRequest.prototype.setHostname = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Hostname.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Hostname.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Hostname} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Hostname.toObject = function(includeInstance, msg) {
  var f, obj = {
    hostname: jspb.Message.getFieldWithDefault(msg, 1, ""),
    fqdn: jspb.Message.getFieldWithDefault(msg, 2, ""),
    targetLabelsMap: (f = msg.getTargetLabelsMap()) ? f.toObject(includeInstance, undefined) : []
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Hostname}
 */
proto.hashicorp.waypoint.Hostname.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Hostname;
  return proto.hashicorp.waypoint.Hostname.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Hostname} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Hostname}
 */
proto.hashicorp.waypoint.Hostname.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setHostname(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setFqdn(value);
      break;
    case 3:
      var value = msg.getTargetLabelsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Hostname.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Hostname.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Hostname} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Hostname.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHostname();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getFqdn();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getTargetLabelsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Hostname.Target.oneofGroups_ = [[20]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Hostname.Target.TargetCase = {
  TARGET_NOT_SET: 0,
  APPLICATION: 20
};

/**
 * @return {proto.hashicorp.waypoint.Hostname.Target.TargetCase}
 */
proto.hashicorp.waypoint.Hostname.Target.prototype.getTargetCase = function() {
  return /** @type {proto.hashicorp.waypoint.Hostname.Target.TargetCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Hostname.Target.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Hostname.Target.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Hostname.Target.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Hostname.Target} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Hostname.Target.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Hostname.TargetApp.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Hostname.Target}
 */
proto.hashicorp.waypoint.Hostname.Target.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Hostname.Target;
  return proto.hashicorp.waypoint.Hostname.Target.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Hostname.Target} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Hostname.Target}
 */
proto.hashicorp.waypoint.Hostname.Target.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 20:
      var value = new proto.hashicorp.waypoint.Hostname.TargetApp;
      reader.readMessage(value,proto.hashicorp.waypoint.Hostname.TargetApp.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Hostname.Target.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Hostname.Target.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Hostname.Target} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Hostname.Target.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      20,
      f,
      proto.hashicorp.waypoint.Hostname.TargetApp.serializeBinaryToWriter
    );
  }
};


/**
 * optional TargetApp application = 20;
 * @return {?proto.hashicorp.waypoint.Hostname.TargetApp}
 */
proto.hashicorp.waypoint.Hostname.Target.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Hostname.TargetApp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Hostname.TargetApp, 20));
};


/**
 * @param {?proto.hashicorp.waypoint.Hostname.TargetApp|undefined} value
 * @return {!proto.hashicorp.waypoint.Hostname.Target} returns this
*/
proto.hashicorp.waypoint.Hostname.Target.prototype.setApplication = function(value) {
  return jspb.Message.setOneofWrapperField(this, 20, proto.hashicorp.waypoint.Hostname.Target.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Hostname.Target} returns this
 */
proto.hashicorp.waypoint.Hostname.Target.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Hostname.Target.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 20) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Hostname.TargetApp.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Hostname.TargetApp.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Hostname.TargetApp} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Hostname.TargetApp.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Hostname.TargetApp}
 */
proto.hashicorp.waypoint.Hostname.TargetApp.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Hostname.TargetApp;
  return proto.hashicorp.waypoint.Hostname.TargetApp.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Hostname.TargetApp} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Hostname.TargetApp}
 */
proto.hashicorp.waypoint.Hostname.TargetApp.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Hostname.TargetApp.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Hostname.TargetApp.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Hostname.TargetApp} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Hostname.TargetApp.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.Hostname.TargetApp.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.Hostname.TargetApp} returns this
*/
proto.hashicorp.waypoint.Hostname.TargetApp.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Hostname.TargetApp} returns this
 */
proto.hashicorp.waypoint.Hostname.TargetApp.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Hostname.TargetApp.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Workspace workspace = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.Hostname.TargetApp.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.Hostname.TargetApp} returns this
*/
proto.hashicorp.waypoint.Hostname.TargetApp.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Hostname.TargetApp} returns this
 */
proto.hashicorp.waypoint.Hostname.TargetApp.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Hostname.TargetApp.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional string hostname = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Hostname.prototype.getHostname = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Hostname} returns this
 */
proto.hashicorp.waypoint.Hostname.prototype.setHostname = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string fqdn = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Hostname.prototype.getFqdn = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Hostname} returns this
 */
proto.hashicorp.waypoint.Hostname.prototype.setFqdn = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * map<string, string> target_labels = 3;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.Hostname.prototype.getTargetLabelsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 3, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.Hostname} returns this
 */
proto.hashicorp.waypoint.Hostname.prototype.clearTargetLabelsMap = function() {
  this.getTargetLabelsMap().clear();
  return this;};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.oneofGroups_ = [[1,2,3]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.ScopeCase = {
  SCOPE_NOT_SET: 0,
  GLOBAL: 1,
  PROJECT: 2,
  APPLICATION: 3
};

/**
 * @return {proto.hashicorp.waypoint.ListWorkspacesRequest.ScopeCase}
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.getScopeCase = function() {
  return /** @type {proto.hashicorp.waypoint.ListWorkspacesRequest.ScopeCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.ListWorkspacesRequest.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListWorkspacesRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListWorkspacesRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    global: (f = msg.getGlobal()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f),
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListWorkspacesRequest}
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListWorkspacesRequest;
  return proto.hashicorp.waypoint.ListWorkspacesRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListWorkspacesRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListWorkspacesRequest}
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new google_protobuf_empty_pb.Empty;
      reader.readMessage(value,google_protobuf_empty_pb.Empty.deserializeBinaryFromReader);
      msg.setGlobal(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListWorkspacesRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListWorkspacesRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getGlobal();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      google_protobuf_empty_pb.Empty.serializeBinaryToWriter
    );
  }
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
};


/**
 * optional google.protobuf.Empty global = 1;
 * @return {?proto.google.protobuf.Empty}
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.getGlobal = function() {
  return /** @type{?proto.google.protobuf.Empty} */ (
    jspb.Message.getWrapperField(this, google_protobuf_empty_pb.Empty, 1));
};


/**
 * @param {?proto.google.protobuf.Empty|undefined} value
 * @return {!proto.hashicorp.waypoint.ListWorkspacesRequest} returns this
*/
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.setGlobal = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.ListWorkspacesRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListWorkspacesRequest} returns this
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.clearGlobal = function() {
  return this.setGlobal(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.hasGlobal = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Project project = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.ListWorkspacesRequest} returns this
*/
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.setProject = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.ListWorkspacesRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListWorkspacesRequest} returns this
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.hasProject = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Ref.Application application = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.ListWorkspacesRequest} returns this
*/
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.setApplication = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.ListWorkspacesRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListWorkspacesRequest} returns this
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListWorkspacesRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 3) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListWorkspacesResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListWorkspacesResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListWorkspacesResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListWorkspacesResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListWorkspacesResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    workspacesList: jspb.Message.toObjectList(msg.getWorkspacesList(),
    proto.hashicorp.waypoint.Workspace.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListWorkspacesResponse}
 */
proto.hashicorp.waypoint.ListWorkspacesResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListWorkspacesResponse;
  return proto.hashicorp.waypoint.ListWorkspacesResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListWorkspacesResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListWorkspacesResponse}
 */
proto.hashicorp.waypoint.ListWorkspacesResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Workspace.deserializeBinaryFromReader);
      msg.addWorkspaces(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListWorkspacesResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListWorkspacesResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListWorkspacesResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListWorkspacesResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getWorkspacesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.Workspace.serializeBinaryToWriter
    );
  }
};


/**
 * repeated Workspace workspaces = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Workspace>}
 */
proto.hashicorp.waypoint.ListWorkspacesResponse.prototype.getWorkspacesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Workspace>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Workspace, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Workspace>} value
 * @return {!proto.hashicorp.waypoint.ListWorkspacesResponse} returns this
*/
proto.hashicorp.waypoint.ListWorkspacesResponse.prototype.setWorkspacesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Workspace=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Workspace}
 */
proto.hashicorp.waypoint.ListWorkspacesResponse.prototype.addWorkspaces = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.Workspace, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListWorkspacesResponse} returns this
 */
proto.hashicorp.waypoint.ListWorkspacesResponse.prototype.clearWorkspacesList = function() {
  return this.setWorkspacesList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetWorkspaceRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetWorkspaceRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetWorkspaceRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetWorkspaceRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetWorkspaceRequest}
 */
proto.hashicorp.waypoint.GetWorkspaceRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetWorkspaceRequest;
  return proto.hashicorp.waypoint.GetWorkspaceRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetWorkspaceRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetWorkspaceRequest}
 */
proto.hashicorp.waypoint.GetWorkspaceRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetWorkspaceRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetWorkspaceRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetWorkspaceRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetWorkspaceRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Workspace workspace = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.GetWorkspaceRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.GetWorkspaceRequest} returns this
*/
proto.hashicorp.waypoint.GetWorkspaceRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetWorkspaceRequest} returns this
 */
proto.hashicorp.waypoint.GetWorkspaceRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetWorkspaceRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetWorkspaceResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetWorkspaceResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetWorkspaceResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetWorkspaceResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Workspace.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetWorkspaceResponse}
 */
proto.hashicorp.waypoint.GetWorkspaceResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetWorkspaceResponse;
  return proto.hashicorp.waypoint.GetWorkspaceResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetWorkspaceResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetWorkspaceResponse}
 */
proto.hashicorp.waypoint.GetWorkspaceResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetWorkspaceResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetWorkspaceResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetWorkspaceResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetWorkspaceResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Workspace.serializeBinaryToWriter
    );
  }
};


/**
 * optional Workspace workspace = 1;
 * @return {?proto.hashicorp.waypoint.Workspace}
 */
proto.hashicorp.waypoint.GetWorkspaceResponse.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Workspace, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.GetWorkspaceResponse} returns this
*/
proto.hashicorp.waypoint.GetWorkspaceResponse.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetWorkspaceResponse} returns this
 */
proto.hashicorp.waypoint.GetWorkspaceResponse.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetWorkspaceResponse.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertWorkspaceRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertWorkspaceRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertWorkspaceRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertWorkspaceRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Workspace.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertWorkspaceRequest}
 */
proto.hashicorp.waypoint.UpsertWorkspaceRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertWorkspaceRequest;
  return proto.hashicorp.waypoint.UpsertWorkspaceRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertWorkspaceRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertWorkspaceRequest}
 */
proto.hashicorp.waypoint.UpsertWorkspaceRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertWorkspaceRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertWorkspaceRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertWorkspaceRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertWorkspaceRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Workspace.serializeBinaryToWriter
    );
  }
};


/**
 * optional Workspace workspace = 1;
 * @return {?proto.hashicorp.waypoint.Workspace}
 */
proto.hashicorp.waypoint.UpsertWorkspaceRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Workspace, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertWorkspaceRequest} returns this
*/
proto.hashicorp.waypoint.UpsertWorkspaceRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertWorkspaceRequest} returns this
 */
proto.hashicorp.waypoint.UpsertWorkspaceRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertWorkspaceRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertWorkspaceResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertWorkspaceResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertWorkspaceResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertWorkspaceResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Workspace.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertWorkspaceResponse}
 */
proto.hashicorp.waypoint.UpsertWorkspaceResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertWorkspaceResponse;
  return proto.hashicorp.waypoint.UpsertWorkspaceResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertWorkspaceResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertWorkspaceResponse}
 */
proto.hashicorp.waypoint.UpsertWorkspaceResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertWorkspaceResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertWorkspaceResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertWorkspaceResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertWorkspaceResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Workspace.serializeBinaryToWriter
    );
  }
};


/**
 * optional Workspace workspace = 1;
 * @return {?proto.hashicorp.waypoint.Workspace}
 */
proto.hashicorp.waypoint.UpsertWorkspaceResponse.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Workspace, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertWorkspaceResponse} returns this
*/
proto.hashicorp.waypoint.UpsertWorkspaceResponse.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertWorkspaceResponse} returns this
 */
proto.hashicorp.waypoint.UpsertWorkspaceResponse.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertWorkspaceResponse.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertProjectRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertProjectRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertProjectRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertProjectRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Project.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertProjectRequest}
 */
proto.hashicorp.waypoint.UpsertProjectRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertProjectRequest;
  return proto.hashicorp.waypoint.UpsertProjectRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertProjectRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertProjectRequest}
 */
proto.hashicorp.waypoint.UpsertProjectRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertProjectRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertProjectRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertProjectRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertProjectRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Project.serializeBinaryToWriter
    );
  }
};


/**
 * optional Project project = 1;
 * @return {?proto.hashicorp.waypoint.Project}
 */
proto.hashicorp.waypoint.UpsertProjectRequest.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Project, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertProjectRequest} returns this
*/
proto.hashicorp.waypoint.UpsertProjectRequest.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertProjectRequest} returns this
 */
proto.hashicorp.waypoint.UpsertProjectRequest.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertProjectRequest.prototype.hasProject = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertProjectResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertProjectResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertProjectResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertProjectResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Project.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertProjectResponse}
 */
proto.hashicorp.waypoint.UpsertProjectResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertProjectResponse;
  return proto.hashicorp.waypoint.UpsertProjectResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertProjectResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertProjectResponse}
 */
proto.hashicorp.waypoint.UpsertProjectResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertProjectResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertProjectResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertProjectResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertProjectResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Project.serializeBinaryToWriter
    );
  }
};


/**
 * optional Project project = 1;
 * @return {?proto.hashicorp.waypoint.Project}
 */
proto.hashicorp.waypoint.UpsertProjectResponse.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Project, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertProjectResponse} returns this
*/
proto.hashicorp.waypoint.UpsertProjectResponse.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertProjectResponse} returns this
 */
proto.hashicorp.waypoint.UpsertProjectResponse.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertProjectResponse.prototype.hasProject = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetProjectRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetProjectRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetProjectRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetProjectRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetProjectRequest}
 */
proto.hashicorp.waypoint.GetProjectRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetProjectRequest;
  return proto.hashicorp.waypoint.GetProjectRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetProjectRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetProjectRequest}
 */
proto.hashicorp.waypoint.GetProjectRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetProjectRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetProjectRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetProjectRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetProjectRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Project project = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.GetProjectRequest.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.GetProjectRequest} returns this
*/
proto.hashicorp.waypoint.GetProjectRequest.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetProjectRequest} returns this
 */
proto.hashicorp.waypoint.GetProjectRequest.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetProjectRequest.prototype.hasProject = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.GetProjectResponse.repeatedFields_ = [2];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetProjectResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetProjectResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetProjectResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetProjectResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Project.toObject(includeInstance, f),
    workspacesList: jspb.Message.toObjectList(msg.getWorkspacesList(),
    proto.hashicorp.waypoint.Workspace.Project.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetProjectResponse}
 */
proto.hashicorp.waypoint.GetProjectResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetProjectResponse;
  return proto.hashicorp.waypoint.GetProjectResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetProjectResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetProjectResponse}
 */
proto.hashicorp.waypoint.GetProjectResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Workspace.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Workspace.Project.deserializeBinaryFromReader);
      msg.addWorkspaces(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetProjectResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetProjectResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetProjectResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetProjectResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Project.serializeBinaryToWriter
    );
  }
  f = message.getWorkspacesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.hashicorp.waypoint.Workspace.Project.serializeBinaryToWriter
    );
  }
};


/**
 * optional Project project = 1;
 * @return {?proto.hashicorp.waypoint.Project}
 */
proto.hashicorp.waypoint.GetProjectResponse.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Project, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.GetProjectResponse} returns this
*/
proto.hashicorp.waypoint.GetProjectResponse.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetProjectResponse} returns this
 */
proto.hashicorp.waypoint.GetProjectResponse.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetProjectResponse.prototype.hasProject = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * repeated Workspace.Project workspaces = 2;
 * @return {!Array<!proto.hashicorp.waypoint.Workspace.Project>}
 */
proto.hashicorp.waypoint.GetProjectResponse.prototype.getWorkspacesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Workspace.Project>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Workspace.Project, 2));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Workspace.Project>} value
 * @return {!proto.hashicorp.waypoint.GetProjectResponse} returns this
*/
proto.hashicorp.waypoint.GetProjectResponse.prototype.setWorkspacesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Workspace.Project=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Workspace.Project}
 */
proto.hashicorp.waypoint.GetProjectResponse.prototype.addWorkspaces = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.hashicorp.waypoint.Workspace.Project, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.GetProjectResponse} returns this
 */
proto.hashicorp.waypoint.GetProjectResponse.prototype.clearWorkspacesList = function() {
  return this.setWorkspacesList([]);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListProjectsResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListProjectsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListProjectsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListProjectsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListProjectsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    projectsList: jspb.Message.toObjectList(msg.getProjectsList(),
    proto.hashicorp.waypoint.Ref.Project.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListProjectsResponse}
 */
proto.hashicorp.waypoint.ListProjectsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListProjectsResponse;
  return proto.hashicorp.waypoint.ListProjectsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListProjectsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListProjectsResponse}
 */
proto.hashicorp.waypoint.ListProjectsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.addProjects(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListProjectsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListProjectsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListProjectsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListProjectsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProjectsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
};


/**
 * repeated Ref.Project projects = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Ref.Project>}
 */
proto.hashicorp.waypoint.ListProjectsResponse.prototype.getProjectsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Ref.Project>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Ref.Project>} value
 * @return {!proto.hashicorp.waypoint.ListProjectsResponse} returns this
*/
proto.hashicorp.waypoint.ListProjectsResponse.prototype.setProjectsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Ref.Project=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.ListProjectsResponse.prototype.addProjects = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.Ref.Project, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListProjectsResponse} returns this
 */
proto.hashicorp.waypoint.ListProjectsResponse.prototype.clearProjectsList = function() {
  return this.setProjectsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetApplicationRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetApplicationRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetApplicationRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetApplicationRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetApplicationRequest}
 */
proto.hashicorp.waypoint.GetApplicationRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetApplicationRequest;
  return proto.hashicorp.waypoint.GetApplicationRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetApplicationRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetApplicationRequest}
 */
proto.hashicorp.waypoint.GetApplicationRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetApplicationRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetApplicationRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetApplicationRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetApplicationRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.GetApplicationRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.GetApplicationRequest} returns this
*/
proto.hashicorp.waypoint.GetApplicationRequest.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetApplicationRequest} returns this
 */
proto.hashicorp.waypoint.GetApplicationRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetApplicationRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetApplicationResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetApplicationResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetApplicationResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetApplicationResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Application.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetApplicationResponse}
 */
proto.hashicorp.waypoint.GetApplicationResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetApplicationResponse;
  return proto.hashicorp.waypoint.GetApplicationResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetApplicationResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetApplicationResponse}
 */
proto.hashicorp.waypoint.GetApplicationResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetApplicationResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetApplicationResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetApplicationResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetApplicationResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Application.serializeBinaryToWriter
    );
  }
};


/**
 * optional Application application = 1;
 * @return {?proto.hashicorp.waypoint.Application}
 */
proto.hashicorp.waypoint.GetApplicationResponse.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.GetApplicationResponse} returns this
*/
proto.hashicorp.waypoint.GetApplicationResponse.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetApplicationResponse} returns this
 */
proto.hashicorp.waypoint.GetApplicationResponse.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetApplicationResponse.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertApplicationRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertApplicationRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertApplicationRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertApplicationRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f),
    name: jspb.Message.getFieldWithDefault(msg, 2, ""),
    fileChangeSignal: jspb.Message.getFieldWithDefault(msg, 3, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertApplicationRequest}
 */
proto.hashicorp.waypoint.UpsertApplicationRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertApplicationRequest;
  return proto.hashicorp.waypoint.UpsertApplicationRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertApplicationRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertApplicationRequest}
 */
proto.hashicorp.waypoint.UpsertApplicationRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setFileChangeSignal(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertApplicationRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertApplicationRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertApplicationRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertApplicationRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getFileChangeSignal();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
};


/**
 * optional Ref.Project project = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.UpsertApplicationRequest.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertApplicationRequest} returns this
*/
proto.hashicorp.waypoint.UpsertApplicationRequest.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertApplicationRequest} returns this
 */
proto.hashicorp.waypoint.UpsertApplicationRequest.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertApplicationRequest.prototype.hasProject = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string name = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.UpsertApplicationRequest.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.UpsertApplicationRequest} returns this
 */
proto.hashicorp.waypoint.UpsertApplicationRequest.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string file_change_signal = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.UpsertApplicationRequest.prototype.getFileChangeSignal = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.UpsertApplicationRequest} returns this
 */
proto.hashicorp.waypoint.UpsertApplicationRequest.prototype.setFileChangeSignal = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertApplicationResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertApplicationResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertApplicationResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertApplicationResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Application.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertApplicationResponse}
 */
proto.hashicorp.waypoint.UpsertApplicationResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertApplicationResponse;
  return proto.hashicorp.waypoint.UpsertApplicationResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertApplicationResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertApplicationResponse}
 */
proto.hashicorp.waypoint.UpsertApplicationResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertApplicationResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertApplicationResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertApplicationResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertApplicationResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Application.serializeBinaryToWriter
    );
  }
};


/**
 * optional Application application = 1;
 * @return {?proto.hashicorp.waypoint.Application}
 */
proto.hashicorp.waypoint.UpsertApplicationResponse.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertApplicationResponse} returns this
*/
proto.hashicorp.waypoint.UpsertApplicationResponse.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertApplicationResponse} returns this
 */
proto.hashicorp.waypoint.UpsertApplicationResponse.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertApplicationResponse.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertBuildRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertBuildRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertBuildRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertBuildRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    build: (f = msg.getBuild()) && proto.hashicorp.waypoint.Build.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertBuildRequest}
 */
proto.hashicorp.waypoint.UpsertBuildRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertBuildRequest;
  return proto.hashicorp.waypoint.UpsertBuildRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertBuildRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertBuildRequest}
 */
proto.hashicorp.waypoint.UpsertBuildRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Build;
      reader.readMessage(value,proto.hashicorp.waypoint.Build.deserializeBinaryFromReader);
      msg.setBuild(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertBuildRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertBuildRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertBuildRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertBuildRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getBuild();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Build.serializeBinaryToWriter
    );
  }
};


/**
 * optional Build build = 1;
 * @return {?proto.hashicorp.waypoint.Build}
 */
proto.hashicorp.waypoint.UpsertBuildRequest.prototype.getBuild = function() {
  return /** @type{?proto.hashicorp.waypoint.Build} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Build, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Build|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertBuildRequest} returns this
*/
proto.hashicorp.waypoint.UpsertBuildRequest.prototype.setBuild = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertBuildRequest} returns this
 */
proto.hashicorp.waypoint.UpsertBuildRequest.prototype.clearBuild = function() {
  return this.setBuild(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertBuildRequest.prototype.hasBuild = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertBuildResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertBuildResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertBuildResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertBuildResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    build: (f = msg.getBuild()) && proto.hashicorp.waypoint.Build.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertBuildResponse}
 */
proto.hashicorp.waypoint.UpsertBuildResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertBuildResponse;
  return proto.hashicorp.waypoint.UpsertBuildResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertBuildResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertBuildResponse}
 */
proto.hashicorp.waypoint.UpsertBuildResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Build;
      reader.readMessage(value,proto.hashicorp.waypoint.Build.deserializeBinaryFromReader);
      msg.setBuild(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertBuildResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertBuildResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertBuildResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertBuildResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getBuild();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Build.serializeBinaryToWriter
    );
  }
};


/**
 * optional Build build = 1;
 * @return {?proto.hashicorp.waypoint.Build}
 */
proto.hashicorp.waypoint.UpsertBuildResponse.prototype.getBuild = function() {
  return /** @type{?proto.hashicorp.waypoint.Build} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Build, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Build|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertBuildResponse} returns this
*/
proto.hashicorp.waypoint.UpsertBuildResponse.prototype.setBuild = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertBuildResponse} returns this
 */
proto.hashicorp.waypoint.UpsertBuildResponse.prototype.clearBuild = function() {
  return this.setBuild(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertBuildResponse.prototype.hasBuild = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListBuildsRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListBuildsRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListBuildsRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListBuildsRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    order: (f = msg.getOrder()) && proto.hashicorp.waypoint.OperationOrder.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListBuildsRequest}
 */
proto.hashicorp.waypoint.ListBuildsRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListBuildsRequest;
  return proto.hashicorp.waypoint.ListBuildsRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListBuildsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListBuildsRequest}
 */
proto.hashicorp.waypoint.ListBuildsRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.OperationOrder;
      reader.readMessage(value,proto.hashicorp.waypoint.OperationOrder.deserializeBinaryFromReader);
      msg.setOrder(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListBuildsRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListBuildsRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListBuildsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListBuildsRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getOrder();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.OperationOrder.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.ListBuildsRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.ListBuildsRequest} returns this
*/
proto.hashicorp.waypoint.ListBuildsRequest.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListBuildsRequest} returns this
 */
proto.hashicorp.waypoint.ListBuildsRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListBuildsRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Workspace workspace = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.ListBuildsRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.ListBuildsRequest} returns this
*/
proto.hashicorp.waypoint.ListBuildsRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListBuildsRequest} returns this
 */
proto.hashicorp.waypoint.ListBuildsRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListBuildsRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional OperationOrder order = 3;
 * @return {?proto.hashicorp.waypoint.OperationOrder}
 */
proto.hashicorp.waypoint.ListBuildsRequest.prototype.getOrder = function() {
  return /** @type{?proto.hashicorp.waypoint.OperationOrder} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.OperationOrder, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.OperationOrder|undefined} value
 * @return {!proto.hashicorp.waypoint.ListBuildsRequest} returns this
*/
proto.hashicorp.waypoint.ListBuildsRequest.prototype.setOrder = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListBuildsRequest} returns this
 */
proto.hashicorp.waypoint.ListBuildsRequest.prototype.clearOrder = function() {
  return this.setOrder(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListBuildsRequest.prototype.hasOrder = function() {
  return jspb.Message.getField(this, 3) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListBuildsResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListBuildsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListBuildsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListBuildsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListBuildsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    buildsList: jspb.Message.toObjectList(msg.getBuildsList(),
    proto.hashicorp.waypoint.Build.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListBuildsResponse}
 */
proto.hashicorp.waypoint.ListBuildsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListBuildsResponse;
  return proto.hashicorp.waypoint.ListBuildsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListBuildsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListBuildsResponse}
 */
proto.hashicorp.waypoint.ListBuildsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Build;
      reader.readMessage(value,proto.hashicorp.waypoint.Build.deserializeBinaryFromReader);
      msg.addBuilds(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListBuildsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListBuildsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListBuildsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListBuildsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getBuildsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.Build.serializeBinaryToWriter
    );
  }
};


/**
 * repeated Build builds = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Build>}
 */
proto.hashicorp.waypoint.ListBuildsResponse.prototype.getBuildsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Build>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Build, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Build>} value
 * @return {!proto.hashicorp.waypoint.ListBuildsResponse} returns this
*/
proto.hashicorp.waypoint.ListBuildsResponse.prototype.setBuildsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Build=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Build}
 */
proto.hashicorp.waypoint.ListBuildsResponse.prototype.addBuilds = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.Build, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListBuildsResponse} returns this
 */
proto.hashicorp.waypoint.ListBuildsResponse.prototype.clearBuildsList = function() {
  return this.setBuildsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetLatestBuildRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetLatestBuildRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetLatestBuildRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetLatestBuildRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetLatestBuildRequest}
 */
proto.hashicorp.waypoint.GetLatestBuildRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetLatestBuildRequest;
  return proto.hashicorp.waypoint.GetLatestBuildRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetLatestBuildRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetLatestBuildRequest}
 */
proto.hashicorp.waypoint.GetLatestBuildRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetLatestBuildRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetLatestBuildRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetLatestBuildRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetLatestBuildRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.GetLatestBuildRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.GetLatestBuildRequest} returns this
*/
proto.hashicorp.waypoint.GetLatestBuildRequest.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLatestBuildRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestBuildRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLatestBuildRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Workspace workspace = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.GetLatestBuildRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.GetLatestBuildRequest} returns this
*/
proto.hashicorp.waypoint.GetLatestBuildRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLatestBuildRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestBuildRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLatestBuildRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetBuildRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetBuildRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetBuildRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetBuildRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    ref: (f = msg.getRef()) && proto.hashicorp.waypoint.Ref.Operation.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetBuildRequest}
 */
proto.hashicorp.waypoint.GetBuildRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetBuildRequest;
  return proto.hashicorp.waypoint.GetBuildRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetBuildRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetBuildRequest}
 */
proto.hashicorp.waypoint.GetBuildRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Operation;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Operation.deserializeBinaryFromReader);
      msg.setRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetBuildRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetBuildRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetBuildRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetBuildRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Operation.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Operation ref = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Operation}
 */
proto.hashicorp.waypoint.GetBuildRequest.prototype.getRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Operation} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Operation, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Operation|undefined} value
 * @return {!proto.hashicorp.waypoint.GetBuildRequest} returns this
*/
proto.hashicorp.waypoint.GetBuildRequest.prototype.setRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetBuildRequest} returns this
 */
proto.hashicorp.waypoint.GetBuildRequest.prototype.clearRef = function() {
  return this.setRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetBuildRequest.prototype.hasRef = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Build.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Build.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Build} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Build.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    sequence: jspb.Message.getFieldWithDefault(msg, 8, 0),
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    status: (f = msg.getStatus()) && proto.hashicorp.waypoint.Status.toObject(includeInstance, f),
    component: (f = msg.getComponent()) && proto.hashicorp.waypoint.Component.toObject(includeInstance, f),
    artifact: (f = msg.getArtifact()) && proto.hashicorp.waypoint.Artifact.toObject(includeInstance, f),
    labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [],
    templateData: msg.getTemplateData_asB64(),
    jobId: jspb.Message.getFieldWithDefault(msg, 9, ""),
    preload: (f = msg.getPreload()) && proto.hashicorp.waypoint.Build.Preload.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Build}
 */
proto.hashicorp.waypoint.Build.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Build;
  return proto.hashicorp.waypoint.Build.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Build} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Build}
 */
proto.hashicorp.waypoint.Build.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 6:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 7:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 8:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSequence(value);
      break;
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Status;
      reader.readMessage(value,proto.hashicorp.waypoint.Status.deserializeBinaryFromReader);
      msg.setStatus(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Component;
      reader.readMessage(value,proto.hashicorp.waypoint.Component.deserializeBinaryFromReader);
      msg.setComponent(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Artifact;
      reader.readMessage(value,proto.hashicorp.waypoint.Artifact.deserializeBinaryFromReader);
      msg.setArtifact(value);
      break;
    case 5:
      var value = msg.getLabelsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    case 10:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setTemplateData(value);
      break;
    case 9:
      var value = /** @type {string} */ (reader.readString());
      msg.setJobId(value);
      break;
    case 11:
      var value = new proto.hashicorp.waypoint.Build.Preload;
      reader.readMessage(value,proto.hashicorp.waypoint.Build.Preload.deserializeBinaryFromReader);
      msg.setPreload(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Build.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Build.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Build} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Build.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getSequence();
  if (f !== 0) {
    writer.writeUint64(
      8,
      f
    );
  }
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getStatus();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Status.serializeBinaryToWriter
    );
  }
  f = message.getComponent();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Component.serializeBinaryToWriter
    );
  }
  f = message.getArtifact();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Artifact.serializeBinaryToWriter
    );
  }
  f = message.getLabelsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
  f = message.getTemplateData_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      10,
      f
    );
  }
  f = message.getJobId();
  if (f.length > 0) {
    writer.writeString(
      9,
      f
    );
  }
  f = message.getPreload();
  if (f != null) {
    writer.writeMessage(
      11,
      f,
      proto.hashicorp.waypoint.Build.Preload.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Build.Preload.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Build.Preload.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Build.Preload} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Build.Preload.toObject = function(includeInstance, msg) {
  var f, obj = {
    jobDataSourceRef: (f = msg.getJobDataSourceRef()) && proto.hashicorp.waypoint.Job.DataSource.Ref.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Build.Preload}
 */
proto.hashicorp.waypoint.Build.Preload.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Build.Preload;
  return proto.hashicorp.waypoint.Build.Preload.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Build.Preload} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Build.Preload}
 */
proto.hashicorp.waypoint.Build.Preload.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job.DataSource.Ref;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DataSource.Ref.deserializeBinaryFromReader);
      msg.setJobDataSourceRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Build.Preload.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Build.Preload.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Build.Preload} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Build.Preload.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJobDataSourceRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.DataSource.Ref.serializeBinaryToWriter
    );
  }
};


/**
 * optional Job.DataSource.Ref job_data_source_ref = 1;
 * @return {?proto.hashicorp.waypoint.Job.DataSource.Ref}
 */
proto.hashicorp.waypoint.Build.Preload.prototype.getJobDataSourceRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DataSource.Ref} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DataSource.Ref, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DataSource.Ref|undefined} value
 * @return {!proto.hashicorp.waypoint.Build.Preload} returns this
*/
proto.hashicorp.waypoint.Build.Preload.prototype.setJobDataSourceRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Build.Preload} returns this
 */
proto.hashicorp.waypoint.Build.Preload.prototype.clearJobDataSourceRef = function() {
  return this.setJobDataSourceRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Build.Preload.prototype.hasJobDataSourceRef = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Application application = 6;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.Build.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 6));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.Build} returns this
*/
proto.hashicorp.waypoint.Build.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 6, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Build} returns this
 */
proto.hashicorp.waypoint.Build.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Build.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * optional Ref.Workspace workspace = 7;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.Build.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 7));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.Build} returns this
*/
proto.hashicorp.waypoint.Build.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 7, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Build} returns this
 */
proto.hashicorp.waypoint.Build.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Build.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional uint64 sequence = 8;
 * @return {number}
 */
proto.hashicorp.waypoint.Build.prototype.getSequence = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Build} returns this
 */
proto.hashicorp.waypoint.Build.prototype.setSequence = function(value) {
  return jspb.Message.setProto3IntField(this, 8, value);
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Build.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Build} returns this
 */
proto.hashicorp.waypoint.Build.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional Status status = 2;
 * @return {?proto.hashicorp.waypoint.Status}
 */
proto.hashicorp.waypoint.Build.prototype.getStatus = function() {
  return /** @type{?proto.hashicorp.waypoint.Status} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Status, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.Build} returns this
*/
proto.hashicorp.waypoint.Build.prototype.setStatus = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Build} returns this
 */
proto.hashicorp.waypoint.Build.prototype.clearStatus = function() {
  return this.setStatus(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Build.prototype.hasStatus = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Component component = 3;
 * @return {?proto.hashicorp.waypoint.Component}
 */
proto.hashicorp.waypoint.Build.prototype.getComponent = function() {
  return /** @type{?proto.hashicorp.waypoint.Component} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Component, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Component|undefined} value
 * @return {!proto.hashicorp.waypoint.Build} returns this
*/
proto.hashicorp.waypoint.Build.prototype.setComponent = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Build} returns this
 */
proto.hashicorp.waypoint.Build.prototype.clearComponent = function() {
  return this.setComponent(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Build.prototype.hasComponent = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Artifact artifact = 4;
 * @return {?proto.hashicorp.waypoint.Artifact}
 */
proto.hashicorp.waypoint.Build.prototype.getArtifact = function() {
  return /** @type{?proto.hashicorp.waypoint.Artifact} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Artifact, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Artifact|undefined} value
 * @return {!proto.hashicorp.waypoint.Build} returns this
*/
proto.hashicorp.waypoint.Build.prototype.setArtifact = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Build} returns this
 */
proto.hashicorp.waypoint.Build.prototype.clearArtifact = function() {
  return this.setArtifact(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Build.prototype.hasArtifact = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * map<string, string> labels = 5;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.Build.prototype.getLabelsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 5, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.Build} returns this
 */
proto.hashicorp.waypoint.Build.prototype.clearLabelsMap = function() {
  this.getLabelsMap().clear();
  return this;};


/**
 * optional bytes template_data = 10;
 * @return {string}
 */
proto.hashicorp.waypoint.Build.prototype.getTemplateData = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
};


/**
 * optional bytes template_data = 10;
 * This is a type-conversion wrapper around `getTemplateData()`
 * @return {string}
 */
proto.hashicorp.waypoint.Build.prototype.getTemplateData_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getTemplateData()));
};


/**
 * optional bytes template_data = 10;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getTemplateData()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Build.prototype.getTemplateData_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getTemplateData()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.Build} returns this
 */
proto.hashicorp.waypoint.Build.prototype.setTemplateData = function(value) {
  return jspb.Message.setProto3BytesField(this, 10, value);
};


/**
 * optional string job_id = 9;
 * @return {string}
 */
proto.hashicorp.waypoint.Build.prototype.getJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Build} returns this
 */
proto.hashicorp.waypoint.Build.prototype.setJobId = function(value) {
  return jspb.Message.setProto3StringField(this, 9, value);
};


/**
 * optional Preload preload = 11;
 * @return {?proto.hashicorp.waypoint.Build.Preload}
 */
proto.hashicorp.waypoint.Build.prototype.getPreload = function() {
  return /** @type{?proto.hashicorp.waypoint.Build.Preload} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Build.Preload, 11));
};


/**
 * @param {?proto.hashicorp.waypoint.Build.Preload|undefined} value
 * @return {!proto.hashicorp.waypoint.Build} returns this
*/
proto.hashicorp.waypoint.Build.prototype.setPreload = function(value) {
  return jspb.Message.setWrapperField(this, 11, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Build} returns this
 */
proto.hashicorp.waypoint.Build.prototype.clearPreload = function() {
  return this.setPreload(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Build.prototype.hasPreload = function() {
  return jspb.Message.getField(this, 11) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Artifact.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Artifact.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Artifact} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Artifact.toObject = function(includeInstance, msg) {
  var f, obj = {
    artifact: (f = msg.getArtifact()) && any_pb.Any.toObject(includeInstance, f),
    artifactJson: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Artifact}
 */
proto.hashicorp.waypoint.Artifact.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Artifact;
  return proto.hashicorp.waypoint.Artifact.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Artifact} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Artifact}
 */
proto.hashicorp.waypoint.Artifact.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new any_pb.Any;
      reader.readMessage(value,any_pb.Any.deserializeBinaryFromReader);
      msg.setArtifact(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setArtifactJson(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Artifact.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Artifact.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Artifact} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Artifact.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getArtifact();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      any_pb.Any.serializeBinaryToWriter
    );
  }
  f = message.getArtifactJson();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional opaqueany.Any artifact = 1;
 * @return {?proto.opaqueany.Any}
 */
proto.hashicorp.waypoint.Artifact.prototype.getArtifact = function() {
  return /** @type{?proto.opaqueany.Any} */ (
    jspb.Message.getWrapperField(this, any_pb.Any, 1));
};


/**
 * @param {?proto.opaqueany.Any|undefined} value
 * @return {!proto.hashicorp.waypoint.Artifact} returns this
*/
proto.hashicorp.waypoint.Artifact.prototype.setArtifact = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Artifact} returns this
 */
proto.hashicorp.waypoint.Artifact.prototype.clearArtifact = function() {
  return this.setArtifact(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Artifact.prototype.hasArtifact = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string artifact_json = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Artifact.prototype.getArtifactJson = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Artifact} returns this
 */
proto.hashicorp.waypoint.Artifact.prototype.setArtifactJson = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.OnDemandRunnerConfig.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.OnDemandRunnerConfig} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    name: jspb.Message.getFieldWithDefault(msg, 8, ""),
    targetRunner: (f = msg.getTargetRunner()) && proto.hashicorp.waypoint.Ref.Runner.toObject(includeInstance, f),
    ociUrl: jspb.Message.getFieldWithDefault(msg, 2, ""),
    environmentVariablesMap: (f = msg.getEnvironmentVariablesMap()) ? f.toObject(includeInstance, undefined) : [],
    pluginType: jspb.Message.getFieldWithDefault(msg, 4, ""),
    pluginConfig: msg.getPluginConfig_asB64(),
    configFormat: jspb.Message.getFieldWithDefault(msg, 6, 0),
    pb_default: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.OnDemandRunnerConfig}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.OnDemandRunnerConfig;
  return proto.hashicorp.waypoint.OnDemandRunnerConfig.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.OnDemandRunnerConfig} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.OnDemandRunnerConfig}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 8:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 9:
      var value = new proto.hashicorp.waypoint.Ref.Runner;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Runner.deserializeBinaryFromReader);
      msg.setTargetRunner(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setOciUrl(value);
      break;
    case 3:
      var value = msg.getEnvironmentVariablesMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setPluginType(value);
      break;
    case 5:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setPluginConfig(value);
      break;
    case 6:
      var value = /** @type {!proto.hashicorp.waypoint.Hcl.Format} */ (reader.readEnum());
      msg.setConfigFormat(value);
      break;
    case 7:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setDefault(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.OnDemandRunnerConfig.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.OnDemandRunnerConfig} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      8,
      f
    );
  }
  f = message.getTargetRunner();
  if (f != null) {
    writer.writeMessage(
      9,
      f,
      proto.hashicorp.waypoint.Ref.Runner.serializeBinaryToWriter
    );
  }
  f = message.getOciUrl();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getEnvironmentVariablesMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
  f = message.getPluginType();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getPluginConfig_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      5,
      f
    );
  }
  f = message.getConfigFormat();
  if (f !== 0.0) {
    writer.writeEnum(
      6,
      f
    );
  }
  f = message.getDefault();
  if (f) {
    writer.writeBool(
      7,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.OnDemandRunnerConfig} returns this
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string name = 8;
 * @return {string}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.OnDemandRunnerConfig} returns this
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 8, value);
};


/**
 * optional Ref.Runner target_runner = 9;
 * @return {?proto.hashicorp.waypoint.Ref.Runner}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.getTargetRunner = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Runner} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Runner, 9));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Runner|undefined} value
 * @return {!proto.hashicorp.waypoint.OnDemandRunnerConfig} returns this
*/
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.setTargetRunner = function(value) {
  return jspb.Message.setWrapperField(this, 9, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.OnDemandRunnerConfig} returns this
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.clearTargetRunner = function() {
  return this.setTargetRunner(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.hasTargetRunner = function() {
  return jspb.Message.getField(this, 9) != null;
};


/**
 * optional string oci_url = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.getOciUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.OnDemandRunnerConfig} returns this
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.setOciUrl = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * map<string, string> environment_variables = 3;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.getEnvironmentVariablesMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 3, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.OnDemandRunnerConfig} returns this
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.clearEnvironmentVariablesMap = function() {
  this.getEnvironmentVariablesMap().clear();
  return this;};


/**
 * optional string plugin_type = 4;
 * @return {string}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.getPluginType = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.OnDemandRunnerConfig} returns this
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.setPluginType = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional bytes plugin_config = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.getPluginConfig = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * optional bytes plugin_config = 5;
 * This is a type-conversion wrapper around `getPluginConfig()`
 * @return {string}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.getPluginConfig_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getPluginConfig()));
};


/**
 * optional bytes plugin_config = 5;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getPluginConfig()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.getPluginConfig_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getPluginConfig()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.OnDemandRunnerConfig} returns this
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.setPluginConfig = function(value) {
  return jspb.Message.setProto3BytesField(this, 5, value);
};


/**
 * optional Hcl.Format config_format = 6;
 * @return {!proto.hashicorp.waypoint.Hcl.Format}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.getConfigFormat = function() {
  return /** @type {!proto.hashicorp.waypoint.Hcl.Format} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Hcl.Format} value
 * @return {!proto.hashicorp.waypoint.OnDemandRunnerConfig} returns this
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.setConfigFormat = function(value) {
  return jspb.Message.setProto3EnumField(this, 6, value);
};


/**
 * optional bool default = 7;
 * @return {boolean}
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.getDefault = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.OnDemandRunnerConfig} returns this
 */
proto.hashicorp.waypoint.OnDemandRunnerConfig.prototype.setDefault = function(value) {
  return jspb.Message.setProto3BooleanField(this, 7, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    config: (f = msg.getConfig()) && proto.hashicorp.waypoint.OnDemandRunnerConfig.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest}
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest;
  return proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest}
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.OnDemandRunnerConfig;
      reader.readMessage(value,proto.hashicorp.waypoint.OnDemandRunnerConfig.deserializeBinaryFromReader);
      msg.setConfig(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfig();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.OnDemandRunnerConfig.serializeBinaryToWriter
    );
  }
};


/**
 * optional OnDemandRunnerConfig config = 1;
 * @return {?proto.hashicorp.waypoint.OnDemandRunnerConfig}
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest.prototype.getConfig = function() {
  return /** @type{?proto.hashicorp.waypoint.OnDemandRunnerConfig} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.OnDemandRunnerConfig, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.OnDemandRunnerConfig|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest} returns this
*/
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest.prototype.setConfig = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest} returns this
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest.prototype.clearConfig = function() {
  return this.setConfig(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigRequest.prototype.hasConfig = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    config: (f = msg.getConfig()) && proto.hashicorp.waypoint.OnDemandRunnerConfig.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse}
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse;
  return proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse}
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.OnDemandRunnerConfig;
      reader.readMessage(value,proto.hashicorp.waypoint.OnDemandRunnerConfig.deserializeBinaryFromReader);
      msg.setConfig(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfig();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.OnDemandRunnerConfig.serializeBinaryToWriter
    );
  }
};


/**
 * optional OnDemandRunnerConfig config = 1;
 * @return {?proto.hashicorp.waypoint.OnDemandRunnerConfig}
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse.prototype.getConfig = function() {
  return /** @type{?proto.hashicorp.waypoint.OnDemandRunnerConfig} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.OnDemandRunnerConfig, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.OnDemandRunnerConfig|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse} returns this
*/
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse.prototype.setConfig = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse} returns this
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse.prototype.clearConfig = function() {
  return this.setConfig(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertOnDemandRunnerConfigResponse.prototype.hasConfig = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    config: (f = msg.getConfig()) && proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest}
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest;
  return proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest}
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.deserializeBinaryFromReader);
      msg.setConfig(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfig();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.OnDemandRunnerConfig config = 1;
 * @return {?proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig}
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest.prototype.getConfig = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig|undefined} value
 * @return {!proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest} returns this
*/
proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest.prototype.setConfig = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest} returns this
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest.prototype.clearConfig = function() {
  return this.setConfig(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigRequest.prototype.hasConfig = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    config: (f = msg.getConfig()) && proto.hashicorp.waypoint.OnDemandRunnerConfig.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse}
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse;
  return proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse}
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.OnDemandRunnerConfig;
      reader.readMessage(value,proto.hashicorp.waypoint.OnDemandRunnerConfig.deserializeBinaryFromReader);
      msg.setConfig(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfig();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.OnDemandRunnerConfig.serializeBinaryToWriter
    );
  }
};


/**
 * optional OnDemandRunnerConfig config = 1;
 * @return {?proto.hashicorp.waypoint.OnDemandRunnerConfig}
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse.prototype.getConfig = function() {
  return /** @type{?proto.hashicorp.waypoint.OnDemandRunnerConfig} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.OnDemandRunnerConfig, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.OnDemandRunnerConfig|undefined} value
 * @return {!proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse} returns this
*/
proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse.prototype.setConfig = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse} returns this
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse.prototype.clearConfig = function() {
  return this.setConfig(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetOnDemandRunnerConfigResponse.prototype.hasConfig = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    config: (f = msg.getConfig()) && proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest}
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest;
  return proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest}
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.deserializeBinaryFromReader);
      msg.setConfig(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfig();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.OnDemandRunnerConfig config = 1;
 * @return {?proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig}
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest.prototype.getConfig = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.OnDemandRunnerConfig|undefined} value
 * @return {!proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest} returns this
*/
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest.prototype.setConfig = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest} returns this
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest.prototype.clearConfig = function() {
  return this.setConfig(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigRequest.prototype.hasConfig = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    config: (f = msg.getConfig()) && proto.hashicorp.waypoint.OnDemandRunnerConfig.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse}
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse;
  return proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse}
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.OnDemandRunnerConfig;
      reader.readMessage(value,proto.hashicorp.waypoint.OnDemandRunnerConfig.deserializeBinaryFromReader);
      msg.setConfig(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfig();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.OnDemandRunnerConfig.serializeBinaryToWriter
    );
  }
};


/**
 * optional OnDemandRunnerConfig config = 1;
 * @return {?proto.hashicorp.waypoint.OnDemandRunnerConfig}
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse.prototype.getConfig = function() {
  return /** @type{?proto.hashicorp.waypoint.OnDemandRunnerConfig} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.OnDemandRunnerConfig, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.OnDemandRunnerConfig|undefined} value
 * @return {!proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse} returns this
*/
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse.prototype.setConfig = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse} returns this
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse.prototype.clearConfig = function() {
  return this.setConfig(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.DeleteOnDemandRunnerConfigResponse.prototype.hasConfig = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    configsList: jspb.Message.toObjectList(msg.getConfigsList(),
    proto.hashicorp.waypoint.OnDemandRunnerConfig.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse}
 */
proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse;
  return proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse}
 */
proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.OnDemandRunnerConfig;
      reader.readMessage(value,proto.hashicorp.waypoint.OnDemandRunnerConfig.deserializeBinaryFromReader);
      msg.addConfigs(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfigsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.OnDemandRunnerConfig.serializeBinaryToWriter
    );
  }
};


/**
 * repeated OnDemandRunnerConfig configs = 1;
 * @return {!Array<!proto.hashicorp.waypoint.OnDemandRunnerConfig>}
 */
proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.prototype.getConfigsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.OnDemandRunnerConfig>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.OnDemandRunnerConfig, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.OnDemandRunnerConfig>} value
 * @return {!proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse} returns this
*/
proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.prototype.setConfigsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.OnDemandRunnerConfig=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.OnDemandRunnerConfig}
 */
proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.prototype.addConfigs = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.OnDemandRunnerConfig, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse} returns this
 */
proto.hashicorp.waypoint.ListOnDemandRunnerConfigsResponse.prototype.clearConfigsList = function() {
  return this.setConfigsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertPushedArtifactRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertPushedArtifactRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertPushedArtifactRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertPushedArtifactRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    artifact: (f = msg.getArtifact()) && proto.hashicorp.waypoint.PushedArtifact.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertPushedArtifactRequest}
 */
proto.hashicorp.waypoint.UpsertPushedArtifactRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertPushedArtifactRequest;
  return proto.hashicorp.waypoint.UpsertPushedArtifactRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertPushedArtifactRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertPushedArtifactRequest}
 */
proto.hashicorp.waypoint.UpsertPushedArtifactRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.PushedArtifact;
      reader.readMessage(value,proto.hashicorp.waypoint.PushedArtifact.deserializeBinaryFromReader);
      msg.setArtifact(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertPushedArtifactRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertPushedArtifactRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertPushedArtifactRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertPushedArtifactRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getArtifact();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.PushedArtifact.serializeBinaryToWriter
    );
  }
};


/**
 * optional PushedArtifact artifact = 1;
 * @return {?proto.hashicorp.waypoint.PushedArtifact}
 */
proto.hashicorp.waypoint.UpsertPushedArtifactRequest.prototype.getArtifact = function() {
  return /** @type{?proto.hashicorp.waypoint.PushedArtifact} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.PushedArtifact, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.PushedArtifact|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertPushedArtifactRequest} returns this
*/
proto.hashicorp.waypoint.UpsertPushedArtifactRequest.prototype.setArtifact = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertPushedArtifactRequest} returns this
 */
proto.hashicorp.waypoint.UpsertPushedArtifactRequest.prototype.clearArtifact = function() {
  return this.setArtifact(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertPushedArtifactRequest.prototype.hasArtifact = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertPushedArtifactResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertPushedArtifactResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertPushedArtifactResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertPushedArtifactResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    artifact: (f = msg.getArtifact()) && proto.hashicorp.waypoint.PushedArtifact.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertPushedArtifactResponse}
 */
proto.hashicorp.waypoint.UpsertPushedArtifactResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertPushedArtifactResponse;
  return proto.hashicorp.waypoint.UpsertPushedArtifactResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertPushedArtifactResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertPushedArtifactResponse}
 */
proto.hashicorp.waypoint.UpsertPushedArtifactResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.PushedArtifact;
      reader.readMessage(value,proto.hashicorp.waypoint.PushedArtifact.deserializeBinaryFromReader);
      msg.setArtifact(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertPushedArtifactResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertPushedArtifactResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertPushedArtifactResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertPushedArtifactResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getArtifact();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.PushedArtifact.serializeBinaryToWriter
    );
  }
};


/**
 * optional PushedArtifact artifact = 1;
 * @return {?proto.hashicorp.waypoint.PushedArtifact}
 */
proto.hashicorp.waypoint.UpsertPushedArtifactResponse.prototype.getArtifact = function() {
  return /** @type{?proto.hashicorp.waypoint.PushedArtifact} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.PushedArtifact, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.PushedArtifact|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertPushedArtifactResponse} returns this
*/
proto.hashicorp.waypoint.UpsertPushedArtifactResponse.prototype.setArtifact = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertPushedArtifactResponse} returns this
 */
proto.hashicorp.waypoint.UpsertPushedArtifactResponse.prototype.clearArtifact = function() {
  return this.setArtifact(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertPushedArtifactResponse.prototype.hasArtifact = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetLatestPushedArtifactRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetLatestPushedArtifactRequest}
 */
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetLatestPushedArtifactRequest;
  return proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetLatestPushedArtifactRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetLatestPushedArtifactRequest}
 */
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetLatestPushedArtifactRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.GetLatestPushedArtifactRequest} returns this
*/
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLatestPushedArtifactRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Workspace workspace = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.GetLatestPushedArtifactRequest} returns this
*/
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLatestPushedArtifactRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLatestPushedArtifactRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetPushedArtifactRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetPushedArtifactRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetPushedArtifactRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetPushedArtifactRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    ref: (f = msg.getRef()) && proto.hashicorp.waypoint.Ref.Operation.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetPushedArtifactRequest}
 */
proto.hashicorp.waypoint.GetPushedArtifactRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetPushedArtifactRequest;
  return proto.hashicorp.waypoint.GetPushedArtifactRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetPushedArtifactRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetPushedArtifactRequest}
 */
proto.hashicorp.waypoint.GetPushedArtifactRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Operation;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Operation.deserializeBinaryFromReader);
      msg.setRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetPushedArtifactRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetPushedArtifactRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetPushedArtifactRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetPushedArtifactRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Operation.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Operation ref = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Operation}
 */
proto.hashicorp.waypoint.GetPushedArtifactRequest.prototype.getRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Operation} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Operation, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Operation|undefined} value
 * @return {!proto.hashicorp.waypoint.GetPushedArtifactRequest} returns this
*/
proto.hashicorp.waypoint.GetPushedArtifactRequest.prototype.setRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetPushedArtifactRequest} returns this
 */
proto.hashicorp.waypoint.GetPushedArtifactRequest.prototype.clearRef = function() {
  return this.setRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetPushedArtifactRequest.prototype.hasRef = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListPushedArtifactsRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListPushedArtifactsRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    statusList: jspb.Message.toObjectList(msg.getStatusList(),
    proto.hashicorp.waypoint.StatusFilter.toObject, includeInstance),
    order: (f = msg.getOrder()) && proto.hashicorp.waypoint.OperationOrder.toObject(includeInstance, f),
    includeBuild: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsRequest}
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListPushedArtifactsRequest;
  return proto.hashicorp.waypoint.ListPushedArtifactsRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListPushedArtifactsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsRequest}
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 1:
      var value = new proto.hashicorp.waypoint.StatusFilter;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusFilter.deserializeBinaryFromReader);
      msg.addStatus(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.OperationOrder;
      reader.readMessage(value,proto.hashicorp.waypoint.OperationOrder.deserializeBinaryFromReader);
      msg.setOrder(value);
      break;
    case 5:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setIncludeBuild(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListPushedArtifactsRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListPushedArtifactsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getStatusList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.StatusFilter.serializeBinaryToWriter
    );
  }
  f = message.getOrder();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.OperationOrder.serializeBinaryToWriter
    );
  }
  f = message.getIncludeBuild();
  if (f) {
    writer.writeBool(
      5,
      f
    );
  }
};


/**
 * optional Ref.Application application = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsRequest} returns this
*/
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsRequest} returns this
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Ref.Workspace workspace = 4;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsRequest} returns this
*/
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsRequest} returns this
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * repeated StatusFilter status = 1;
 * @return {!Array<!proto.hashicorp.waypoint.StatusFilter>}
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.getStatusList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.StatusFilter>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.StatusFilter, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.StatusFilter>} value
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsRequest} returns this
*/
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.setStatusList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.StatusFilter=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.StatusFilter}
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.addStatus = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.StatusFilter, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsRequest} returns this
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.clearStatusList = function() {
  return this.setStatusList([]);
};


/**
 * optional OperationOrder order = 2;
 * @return {?proto.hashicorp.waypoint.OperationOrder}
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.getOrder = function() {
  return /** @type{?proto.hashicorp.waypoint.OperationOrder} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.OperationOrder, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.OperationOrder|undefined} value
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsRequest} returns this
*/
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.setOrder = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsRequest} returns this
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.clearOrder = function() {
  return this.setOrder(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.hasOrder = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional bool include_build = 5;
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.getIncludeBuild = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsRequest} returns this
 */
proto.hashicorp.waypoint.ListPushedArtifactsRequest.prototype.setIncludeBuild = function(value) {
  return jspb.Message.setProto3BooleanField(this, 5, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListPushedArtifactsResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListPushedArtifactsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListPushedArtifactsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListPushedArtifactsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListPushedArtifactsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(),
    proto.hashicorp.waypoint.PushedArtifact.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsResponse}
 */
proto.hashicorp.waypoint.ListPushedArtifactsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListPushedArtifactsResponse;
  return proto.hashicorp.waypoint.ListPushedArtifactsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListPushedArtifactsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsResponse}
 */
proto.hashicorp.waypoint.ListPushedArtifactsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.PushedArtifact;
      reader.readMessage(value,proto.hashicorp.waypoint.PushedArtifact.deserializeBinaryFromReader);
      msg.addArtifacts(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListPushedArtifactsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListPushedArtifactsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListPushedArtifactsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListPushedArtifactsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getArtifactsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.PushedArtifact.serializeBinaryToWriter
    );
  }
};


/**
 * repeated PushedArtifact artifacts = 1;
 * @return {!Array<!proto.hashicorp.waypoint.PushedArtifact>}
 */
proto.hashicorp.waypoint.ListPushedArtifactsResponse.prototype.getArtifactsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.PushedArtifact>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.PushedArtifact, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.PushedArtifact>} value
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsResponse} returns this
*/
proto.hashicorp.waypoint.ListPushedArtifactsResponse.prototype.setArtifactsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.PushedArtifact=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.PushedArtifact}
 */
proto.hashicorp.waypoint.ListPushedArtifactsResponse.prototype.addArtifacts = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.PushedArtifact, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListPushedArtifactsResponse} returns this
 */
proto.hashicorp.waypoint.ListPushedArtifactsResponse.prototype.clearArtifactsList = function() {
  return this.setArtifactsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.PushedArtifact.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.PushedArtifact} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.PushedArtifact.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    sequence: jspb.Message.getFieldWithDefault(msg, 9, 0),
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    status: (f = msg.getStatus()) && proto.hashicorp.waypoint.Status.toObject(includeInstance, f),
    component: (f = msg.getComponent()) && proto.hashicorp.waypoint.Component.toObject(includeInstance, f),
    artifact: (f = msg.getArtifact()) && proto.hashicorp.waypoint.Artifact.toObject(includeInstance, f),
    buildId: jspb.Message.getFieldWithDefault(msg, 5, ""),
    labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [],
    templateData: msg.getTemplateData_asB64(),
    build: (f = msg.getBuild()) && proto.hashicorp.waypoint.Build.toObject(includeInstance, f),
    jobId: jspb.Message.getFieldWithDefault(msg, 11, ""),
    preload: (f = msg.getPreload()) && proto.hashicorp.waypoint.PushedArtifact.Preload.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.PushedArtifact}
 */
proto.hashicorp.waypoint.PushedArtifact.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.PushedArtifact;
  return proto.hashicorp.waypoint.PushedArtifact.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.PushedArtifact} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.PushedArtifact}
 */
proto.hashicorp.waypoint.PushedArtifact.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 7:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 8:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 9:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSequence(value);
      break;
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Status;
      reader.readMessage(value,proto.hashicorp.waypoint.Status.deserializeBinaryFromReader);
      msg.setStatus(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Component;
      reader.readMessage(value,proto.hashicorp.waypoint.Component.deserializeBinaryFromReader);
      msg.setComponent(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Artifact;
      reader.readMessage(value,proto.hashicorp.waypoint.Artifact.deserializeBinaryFromReader);
      msg.setArtifact(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setBuildId(value);
      break;
    case 6:
      var value = msg.getLabelsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    case 12:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setTemplateData(value);
      break;
    case 10:
      var value = new proto.hashicorp.waypoint.Build;
      reader.readMessage(value,proto.hashicorp.waypoint.Build.deserializeBinaryFromReader);
      msg.setBuild(value);
      break;
    case 11:
      var value = /** @type {string} */ (reader.readString());
      msg.setJobId(value);
      break;
    case 13:
      var value = new proto.hashicorp.waypoint.PushedArtifact.Preload;
      reader.readMessage(value,proto.hashicorp.waypoint.PushedArtifact.Preload.deserializeBinaryFromReader);
      msg.setPreload(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.PushedArtifact.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.PushedArtifact} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.PushedArtifact.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      8,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getSequence();
  if (f !== 0) {
    writer.writeUint64(
      9,
      f
    );
  }
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getStatus();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Status.serializeBinaryToWriter
    );
  }
  f = message.getComponent();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Component.serializeBinaryToWriter
    );
  }
  f = message.getArtifact();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Artifact.serializeBinaryToWriter
    );
  }
  f = message.getBuildId();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getLabelsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
  f = message.getTemplateData_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      12,
      f
    );
  }
  f = message.getBuild();
  if (f != null) {
    writer.writeMessage(
      10,
      f,
      proto.hashicorp.waypoint.Build.serializeBinaryToWriter
    );
  }
  f = message.getJobId();
  if (f.length > 0) {
    writer.writeString(
      11,
      f
    );
  }
  f = message.getPreload();
  if (f != null) {
    writer.writeMessage(
      13,
      f,
      proto.hashicorp.waypoint.PushedArtifact.Preload.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.PushedArtifact.Preload.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.PushedArtifact.Preload.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.PushedArtifact.Preload} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.PushedArtifact.Preload.toObject = function(includeInstance, msg) {
  var f, obj = {
    jobDataSourceRef: (f = msg.getJobDataSourceRef()) && proto.hashicorp.waypoint.Job.DataSource.Ref.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.PushedArtifact.Preload}
 */
proto.hashicorp.waypoint.PushedArtifact.Preload.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.PushedArtifact.Preload;
  return proto.hashicorp.waypoint.PushedArtifact.Preload.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.PushedArtifact.Preload} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.PushedArtifact.Preload}
 */
proto.hashicorp.waypoint.PushedArtifact.Preload.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Job.DataSource.Ref;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DataSource.Ref.deserializeBinaryFromReader);
      msg.setJobDataSourceRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.PushedArtifact.Preload.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.PushedArtifact.Preload.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.PushedArtifact.Preload} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.PushedArtifact.Preload.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJobDataSourceRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Job.DataSource.Ref.serializeBinaryToWriter
    );
  }
};


/**
 * optional Job.DataSource.Ref job_data_source_ref = 1;
 * @return {?proto.hashicorp.waypoint.Job.DataSource.Ref}
 */
proto.hashicorp.waypoint.PushedArtifact.Preload.prototype.getJobDataSourceRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DataSource.Ref} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DataSource.Ref, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DataSource.Ref|undefined} value
 * @return {!proto.hashicorp.waypoint.PushedArtifact.Preload} returns this
*/
proto.hashicorp.waypoint.PushedArtifact.Preload.prototype.setJobDataSourceRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.PushedArtifact.Preload} returns this
 */
proto.hashicorp.waypoint.PushedArtifact.Preload.prototype.clearJobDataSourceRef = function() {
  return this.setJobDataSourceRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.PushedArtifact.Preload.prototype.hasJobDataSourceRef = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Application application = 7;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 7));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
*/
proto.hashicorp.waypoint.PushedArtifact.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 7, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional Ref.Workspace workspace = 8;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 8));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
*/
proto.hashicorp.waypoint.PushedArtifact.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 8, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 8) != null;
};


/**
 * optional uint64 sequence = 9;
 * @return {number}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getSequence = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.setSequence = function(value) {
  return jspb.Message.setProto3IntField(this, 9, value);
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional Status status = 2;
 * @return {?proto.hashicorp.waypoint.Status}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getStatus = function() {
  return /** @type{?proto.hashicorp.waypoint.Status} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Status, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
*/
proto.hashicorp.waypoint.PushedArtifact.prototype.setStatus = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.clearStatus = function() {
  return this.setStatus(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.hasStatus = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Component component = 3;
 * @return {?proto.hashicorp.waypoint.Component}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getComponent = function() {
  return /** @type{?proto.hashicorp.waypoint.Component} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Component, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Component|undefined} value
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
*/
proto.hashicorp.waypoint.PushedArtifact.prototype.setComponent = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.clearComponent = function() {
  return this.setComponent(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.hasComponent = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Artifact artifact = 4;
 * @return {?proto.hashicorp.waypoint.Artifact}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getArtifact = function() {
  return /** @type{?proto.hashicorp.waypoint.Artifact} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Artifact, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Artifact|undefined} value
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
*/
proto.hashicorp.waypoint.PushedArtifact.prototype.setArtifact = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.clearArtifact = function() {
  return this.setArtifact(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.hasArtifact = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional string build_id = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getBuildId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.setBuildId = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * map<string, string> labels = 6;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getLabelsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 6, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.clearLabelsMap = function() {
  this.getLabelsMap().clear();
  return this;};


/**
 * optional bytes template_data = 12;
 * @return {string}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getTemplateData = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
};


/**
 * optional bytes template_data = 12;
 * This is a type-conversion wrapper around `getTemplateData()`
 * @return {string}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getTemplateData_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getTemplateData()));
};


/**
 * optional bytes template_data = 12;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getTemplateData()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getTemplateData_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getTemplateData()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.setTemplateData = function(value) {
  return jspb.Message.setProto3BytesField(this, 12, value);
};


/**
 * optional Build build = 10;
 * @return {?proto.hashicorp.waypoint.Build}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getBuild = function() {
  return /** @type{?proto.hashicorp.waypoint.Build} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Build, 10));
};


/**
 * @param {?proto.hashicorp.waypoint.Build|undefined} value
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
*/
proto.hashicorp.waypoint.PushedArtifact.prototype.setBuild = function(value) {
  return jspb.Message.setWrapperField(this, 10, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.clearBuild = function() {
  return this.setBuild(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.hasBuild = function() {
  return jspb.Message.getField(this, 10) != null;
};


/**
 * optional string job_id = 11;
 * @return {string}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.setJobId = function(value) {
  return jspb.Message.setProto3StringField(this, 11, value);
};


/**
 * optional Preload preload = 13;
 * @return {?proto.hashicorp.waypoint.PushedArtifact.Preload}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.getPreload = function() {
  return /** @type{?proto.hashicorp.waypoint.PushedArtifact.Preload} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.PushedArtifact.Preload, 13));
};


/**
 * @param {?proto.hashicorp.waypoint.PushedArtifact.Preload|undefined} value
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
*/
proto.hashicorp.waypoint.PushedArtifact.prototype.setPreload = function(value) {
  return jspb.Message.setWrapperField(this, 13, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.PushedArtifact} returns this
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.clearPreload = function() {
  return this.setPreload(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.PushedArtifact.prototype.hasPreload = function() {
  return jspb.Message.getField(this, 13) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetDeploymentRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetDeploymentRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetDeploymentRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetDeploymentRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    ref: (f = msg.getRef()) && proto.hashicorp.waypoint.Ref.Operation.toObject(includeInstance, f),
    loadDetails: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetDeploymentRequest}
 */
proto.hashicorp.waypoint.GetDeploymentRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetDeploymentRequest;
  return proto.hashicorp.waypoint.GetDeploymentRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetDeploymentRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetDeploymentRequest}
 */
proto.hashicorp.waypoint.GetDeploymentRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Operation;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Operation.deserializeBinaryFromReader);
      msg.setRef(value);
      break;
    case 2:
      var value = /** @type {!proto.hashicorp.waypoint.Deployment.LoadDetails} */ (reader.readEnum());
      msg.setLoadDetails(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetDeploymentRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetDeploymentRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetDeploymentRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetDeploymentRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Operation.serializeBinaryToWriter
    );
  }
  f = message.getLoadDetails();
  if (f !== 0.0) {
    writer.writeEnum(
      2,
      f
    );
  }
};


/**
 * optional Ref.Operation ref = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Operation}
 */
proto.hashicorp.waypoint.GetDeploymentRequest.prototype.getRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Operation} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Operation, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Operation|undefined} value
 * @return {!proto.hashicorp.waypoint.GetDeploymentRequest} returns this
*/
proto.hashicorp.waypoint.GetDeploymentRequest.prototype.setRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetDeploymentRequest} returns this
 */
proto.hashicorp.waypoint.GetDeploymentRequest.prototype.clearRef = function() {
  return this.setRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetDeploymentRequest.prototype.hasRef = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Deployment.LoadDetails load_details = 2;
 * @return {!proto.hashicorp.waypoint.Deployment.LoadDetails}
 */
proto.hashicorp.waypoint.GetDeploymentRequest.prototype.getLoadDetails = function() {
  return /** @type {!proto.hashicorp.waypoint.Deployment.LoadDetails} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Deployment.LoadDetails} value
 * @return {!proto.hashicorp.waypoint.GetDeploymentRequest} returns this
 */
proto.hashicorp.waypoint.GetDeploymentRequest.prototype.setLoadDetails = function(value) {
  return jspb.Message.setProto3EnumField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertDeploymentRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertDeploymentRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertDeploymentRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertDeploymentRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.Deployment.toObject(includeInstance, f),
    autoHostname: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertDeploymentRequest}
 */
proto.hashicorp.waypoint.UpsertDeploymentRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertDeploymentRequest;
  return proto.hashicorp.waypoint.UpsertDeploymentRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertDeploymentRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertDeploymentRequest}
 */
proto.hashicorp.waypoint.UpsertDeploymentRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Deployment;
      reader.readMessage(value,proto.hashicorp.waypoint.Deployment.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    case 2:
      var value = /** @type {!proto.hashicorp.waypoint.UpsertDeploymentRequest.Tristate} */ (reader.readEnum());
      msg.setAutoHostname(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertDeploymentRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertDeploymentRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertDeploymentRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertDeploymentRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Deployment.serializeBinaryToWriter
    );
  }
  f = message.getAutoHostname();
  if (f !== 0.0) {
    writer.writeEnum(
      2,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.UpsertDeploymentRequest.Tristate = {
  UNSET: 0,
  TRUE: 1,
  FALSE: 2
};

/**
 * optional Deployment deployment = 1;
 * @return {?proto.hashicorp.waypoint.Deployment}
 */
proto.hashicorp.waypoint.UpsertDeploymentRequest.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.Deployment} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Deployment, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Deployment|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertDeploymentRequest} returns this
*/
proto.hashicorp.waypoint.UpsertDeploymentRequest.prototype.setDeployment = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertDeploymentRequest} returns this
 */
proto.hashicorp.waypoint.UpsertDeploymentRequest.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertDeploymentRequest.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Tristate auto_hostname = 2;
 * @return {!proto.hashicorp.waypoint.UpsertDeploymentRequest.Tristate}
 */
proto.hashicorp.waypoint.UpsertDeploymentRequest.prototype.getAutoHostname = function() {
  return /** @type {!proto.hashicorp.waypoint.UpsertDeploymentRequest.Tristate} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.UpsertDeploymentRequest.Tristate} value
 * @return {!proto.hashicorp.waypoint.UpsertDeploymentRequest} returns this
 */
proto.hashicorp.waypoint.UpsertDeploymentRequest.prototype.setAutoHostname = function(value) {
  return jspb.Message.setProto3EnumField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertDeploymentResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertDeploymentResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertDeploymentResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertDeploymentResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.Deployment.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertDeploymentResponse}
 */
proto.hashicorp.waypoint.UpsertDeploymentResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertDeploymentResponse;
  return proto.hashicorp.waypoint.UpsertDeploymentResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertDeploymentResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertDeploymentResponse}
 */
proto.hashicorp.waypoint.UpsertDeploymentResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Deployment;
      reader.readMessage(value,proto.hashicorp.waypoint.Deployment.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertDeploymentResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertDeploymentResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertDeploymentResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertDeploymentResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Deployment.serializeBinaryToWriter
    );
  }
};


/**
 * optional Deployment deployment = 1;
 * @return {?proto.hashicorp.waypoint.Deployment}
 */
proto.hashicorp.waypoint.UpsertDeploymentResponse.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.Deployment} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Deployment, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Deployment|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertDeploymentResponse} returns this
*/
proto.hashicorp.waypoint.UpsertDeploymentResponse.prototype.setDeployment = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertDeploymentResponse} returns this
 */
proto.hashicorp.waypoint.UpsertDeploymentResponse.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertDeploymentResponse.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListDeploymentsRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListDeploymentsRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    statusList: jspb.Message.toObjectList(msg.getStatusList(),
    proto.hashicorp.waypoint.StatusFilter.toObject, includeInstance),
    physicalState: jspb.Message.getFieldWithDefault(msg, 5, 0),
    order: (f = msg.getOrder()) && proto.hashicorp.waypoint.OperationOrder.toObject(includeInstance, f),
    loadDetails: jspb.Message.getFieldWithDefault(msg, 6, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListDeploymentsRequest}
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListDeploymentsRequest;
  return proto.hashicorp.waypoint.ListDeploymentsRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListDeploymentsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListDeploymentsRequest}
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 1:
      var value = new proto.hashicorp.waypoint.StatusFilter;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusFilter.deserializeBinaryFromReader);
      msg.addStatus(value);
      break;
    case 5:
      var value = /** @type {!proto.hashicorp.waypoint.Operation.PhysicalState} */ (reader.readEnum());
      msg.setPhysicalState(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.OperationOrder;
      reader.readMessage(value,proto.hashicorp.waypoint.OperationOrder.deserializeBinaryFromReader);
      msg.setOrder(value);
      break;
    case 6:
      var value = /** @type {!proto.hashicorp.waypoint.Deployment.LoadDetails} */ (reader.readEnum());
      msg.setLoadDetails(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListDeploymentsRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListDeploymentsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getStatusList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.StatusFilter.serializeBinaryToWriter
    );
  }
  f = message.getPhysicalState();
  if (f !== 0.0) {
    writer.writeEnum(
      5,
      f
    );
  }
  f = message.getOrder();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.OperationOrder.serializeBinaryToWriter
    );
  }
  f = message.getLoadDetails();
  if (f !== 0.0) {
    writer.writeEnum(
      6,
      f
    );
  }
};


/**
 * optional Ref.Application application = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.ListDeploymentsRequest} returns this
*/
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListDeploymentsRequest} returns this
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Ref.Workspace workspace = 4;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.ListDeploymentsRequest} returns this
*/
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListDeploymentsRequest} returns this
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * repeated StatusFilter status = 1;
 * @return {!Array<!proto.hashicorp.waypoint.StatusFilter>}
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.getStatusList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.StatusFilter>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.StatusFilter, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.StatusFilter>} value
 * @return {!proto.hashicorp.waypoint.ListDeploymentsRequest} returns this
*/
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.setStatusList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.StatusFilter=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.StatusFilter}
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.addStatus = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.StatusFilter, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListDeploymentsRequest} returns this
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.clearStatusList = function() {
  return this.setStatusList([]);
};


/**
 * optional Operation.PhysicalState physical_state = 5;
 * @return {!proto.hashicorp.waypoint.Operation.PhysicalState}
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.getPhysicalState = function() {
  return /** @type {!proto.hashicorp.waypoint.Operation.PhysicalState} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Operation.PhysicalState} value
 * @return {!proto.hashicorp.waypoint.ListDeploymentsRequest} returns this
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.setPhysicalState = function(value) {
  return jspb.Message.setProto3EnumField(this, 5, value);
};


/**
 * optional OperationOrder order = 2;
 * @return {?proto.hashicorp.waypoint.OperationOrder}
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.getOrder = function() {
  return /** @type{?proto.hashicorp.waypoint.OperationOrder} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.OperationOrder, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.OperationOrder|undefined} value
 * @return {!proto.hashicorp.waypoint.ListDeploymentsRequest} returns this
*/
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.setOrder = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListDeploymentsRequest} returns this
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.clearOrder = function() {
  return this.setOrder(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.hasOrder = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Deployment.LoadDetails load_details = 6;
 * @return {!proto.hashicorp.waypoint.Deployment.LoadDetails}
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.getLoadDetails = function() {
  return /** @type {!proto.hashicorp.waypoint.Deployment.LoadDetails} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Deployment.LoadDetails} value
 * @return {!proto.hashicorp.waypoint.ListDeploymentsRequest} returns this
 */
proto.hashicorp.waypoint.ListDeploymentsRequest.prototype.setLoadDetails = function(value) {
  return jspb.Message.setProto3EnumField(this, 6, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListDeploymentsResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListDeploymentsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListDeploymentsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListDeploymentsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListDeploymentsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    deploymentsList: jspb.Message.toObjectList(msg.getDeploymentsList(),
    proto.hashicorp.waypoint.Deployment.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListDeploymentsResponse}
 */
proto.hashicorp.waypoint.ListDeploymentsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListDeploymentsResponse;
  return proto.hashicorp.waypoint.ListDeploymentsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListDeploymentsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListDeploymentsResponse}
 */
proto.hashicorp.waypoint.ListDeploymentsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Deployment;
      reader.readMessage(value,proto.hashicorp.waypoint.Deployment.deserializeBinaryFromReader);
      msg.addDeployments(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListDeploymentsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListDeploymentsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListDeploymentsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListDeploymentsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDeploymentsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.Deployment.serializeBinaryToWriter
    );
  }
};


/**
 * repeated Deployment deployments = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Deployment>}
 */
proto.hashicorp.waypoint.ListDeploymentsResponse.prototype.getDeploymentsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Deployment>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Deployment, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Deployment>} value
 * @return {!proto.hashicorp.waypoint.ListDeploymentsResponse} returns this
*/
proto.hashicorp.waypoint.ListDeploymentsResponse.prototype.setDeploymentsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Deployment=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Deployment}
 */
proto.hashicorp.waypoint.ListDeploymentsResponse.prototype.addDeployments = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.Deployment, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListDeploymentsResponse} returns this
 */
proto.hashicorp.waypoint.ListDeploymentsResponse.prototype.clearDeploymentsList = function() {
  return this.setDeploymentsList([]);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.Deployment.repeatedFields_ = [19];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Deployment.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Deployment.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Deployment} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Deployment.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    sequence: jspb.Message.getFieldWithDefault(msg, 10, 0),
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    url: jspb.Message.getFieldWithDefault(msg, 18, ""),
    generation: (f = msg.getGeneration()) && proto.hashicorp.waypoint.Generation.toObject(includeInstance, f),
    state: jspb.Message.getFieldWithDefault(msg, 2, 0),
    status: (f = msg.getStatus()) && proto.hashicorp.waypoint.Status.toObject(includeInstance, f),
    component: (f = msg.getComponent()) && proto.hashicorp.waypoint.Component.toObject(includeInstance, f),
    artifactId: jspb.Message.getFieldWithDefault(msg, 5, ""),
    deployment: (f = msg.getDeployment()) && any_pb.Any.toObject(includeInstance, f),
    deploymentJson: jspb.Message.getFieldWithDefault(msg, 20, ""),
    labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [],
    templateData: msg.getTemplateData_asB64(),
    jobId: jspb.Message.getFieldWithDefault(msg, 12, ""),
    hasEntrypointConfig: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
    hasExecPlugin: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
    hasLogsPlugin: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
    declaredResourcesList: jspb.Message.toObjectList(msg.getDeclaredResourcesList(),
    proto.hashicorp.waypoint.DeclaredResource.toObject, includeInstance),
    preload: (f = msg.getPreload()) && proto.hashicorp.waypoint.Deployment.Preload.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Deployment}
 */
proto.hashicorp.waypoint.Deployment.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Deployment;
  return proto.hashicorp.waypoint.Deployment.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Deployment} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Deployment}
 */
proto.hashicorp.waypoint.Deployment.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 8:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 9:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 10:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSequence(value);
      break;
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 18:
      var value = /** @type {string} */ (reader.readString());
      msg.setUrl(value);
      break;
    case 17:
      var value = new proto.hashicorp.waypoint.Generation;
      reader.readMessage(value,proto.hashicorp.waypoint.Generation.deserializeBinaryFromReader);
      msg.setGeneration(value);
      break;
    case 2:
      var value = /** @type {!proto.hashicorp.waypoint.Operation.PhysicalState} */ (reader.readEnum());
      msg.setState(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Status;
      reader.readMessage(value,proto.hashicorp.waypoint.Status.deserializeBinaryFromReader);
      msg.setStatus(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Component;
      reader.readMessage(value,proto.hashicorp.waypoint.Component.deserializeBinaryFromReader);
      msg.setComponent(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setArtifactId(value);
      break;
    case 6:
      var value = new any_pb.Any;
      reader.readMessage(value,any_pb.Any.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    case 20:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeploymentJson(value);
      break;
    case 7:
      var value = msg.getLabelsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    case 14:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setTemplateData(value);
      break;
    case 12:
      var value = /** @type {string} */ (reader.readString());
      msg.setJobId(value);
      break;
    case 13:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setHasEntrypointConfig(value);
      break;
    case 15:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setHasExecPlugin(value);
      break;
    case 16:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setHasLogsPlugin(value);
      break;
    case 19:
      var value = new proto.hashicorp.waypoint.DeclaredResource;
      reader.readMessage(value,proto.hashicorp.waypoint.DeclaredResource.deserializeBinaryFromReader);
      msg.addDeclaredResources(value);
      break;
    case 11:
      var value = new proto.hashicorp.waypoint.Deployment.Preload;
      reader.readMessage(value,proto.hashicorp.waypoint.Deployment.Preload.deserializeBinaryFromReader);
      msg.setPreload(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Deployment.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Deployment.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Deployment} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Deployment.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      8,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      9,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getSequence();
  if (f !== 0) {
    writer.writeUint64(
      10,
      f
    );
  }
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getUrl();
  if (f.length > 0) {
    writer.writeString(
      18,
      f
    );
  }
  f = message.getGeneration();
  if (f != null) {
    writer.writeMessage(
      17,
      f,
      proto.hashicorp.waypoint.Generation.serializeBinaryToWriter
    );
  }
  f = message.getState();
  if (f !== 0.0) {
    writer.writeEnum(
      2,
      f
    );
  }
  f = message.getStatus();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Status.serializeBinaryToWriter
    );
  }
  f = message.getComponent();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Component.serializeBinaryToWriter
    );
  }
  f = message.getArtifactId();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      any_pb.Any.serializeBinaryToWriter
    );
  }
  f = message.getDeploymentJson();
  if (f.length > 0) {
    writer.writeString(
      20,
      f
    );
  }
  f = message.getLabelsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
  f = message.getTemplateData_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      14,
      f
    );
  }
  f = message.getJobId();
  if (f.length > 0) {
    writer.writeString(
      12,
      f
    );
  }
  f = message.getHasEntrypointConfig();
  if (f) {
    writer.writeBool(
      13,
      f
    );
  }
  f = message.getHasExecPlugin();
  if (f) {
    writer.writeBool(
      15,
      f
    );
  }
  f = message.getHasLogsPlugin();
  if (f) {
    writer.writeBool(
      16,
      f
    );
  }
  f = message.getDeclaredResourcesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      19,
      f,
      proto.hashicorp.waypoint.DeclaredResource.serializeBinaryToWriter
    );
  }
  f = message.getPreload();
  if (f != null) {
    writer.writeMessage(
      11,
      f,
      proto.hashicorp.waypoint.Deployment.Preload.serializeBinaryToWriter
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Deployment.LoadDetails = {
  NONE: 0,
  ARTIFACT: 1,
  BUILD: 2
};




if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Deployment.Preload.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Deployment.Preload.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Deployment.Preload} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Deployment.Preload.toObject = function(includeInstance, msg) {
  var f, obj = {
    artifact: (f = msg.getArtifact()) && proto.hashicorp.waypoint.PushedArtifact.toObject(includeInstance, f),
    build: (f = msg.getBuild()) && proto.hashicorp.waypoint.Build.toObject(includeInstance, f),
    deployUrl: jspb.Message.getFieldWithDefault(msg, 3, ""),
    jobDataSourceRef: (f = msg.getJobDataSourceRef()) && proto.hashicorp.waypoint.Job.DataSource.Ref.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Deployment.Preload}
 */
proto.hashicorp.waypoint.Deployment.Preload.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Deployment.Preload;
  return proto.hashicorp.waypoint.Deployment.Preload.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Deployment.Preload} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Deployment.Preload}
 */
proto.hashicorp.waypoint.Deployment.Preload.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.PushedArtifact;
      reader.readMessage(value,proto.hashicorp.waypoint.PushedArtifact.deserializeBinaryFromReader);
      msg.setArtifact(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Build;
      reader.readMessage(value,proto.hashicorp.waypoint.Build.deserializeBinaryFromReader);
      msg.setBuild(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeployUrl(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Job.DataSource.Ref;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DataSource.Ref.deserializeBinaryFromReader);
      msg.setJobDataSourceRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Deployment.Preload.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Deployment.Preload.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Deployment.Preload} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Deployment.Preload.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getArtifact();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.PushedArtifact.serializeBinaryToWriter
    );
  }
  f = message.getBuild();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Build.serializeBinaryToWriter
    );
  }
  f = message.getDeployUrl();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getJobDataSourceRef();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Job.DataSource.Ref.serializeBinaryToWriter
    );
  }
};


/**
 * optional PushedArtifact artifact = 1;
 * @return {?proto.hashicorp.waypoint.PushedArtifact}
 */
proto.hashicorp.waypoint.Deployment.Preload.prototype.getArtifact = function() {
  return /** @type{?proto.hashicorp.waypoint.PushedArtifact} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.PushedArtifact, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.PushedArtifact|undefined} value
 * @return {!proto.hashicorp.waypoint.Deployment.Preload} returns this
*/
proto.hashicorp.waypoint.Deployment.Preload.prototype.setArtifact = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Deployment.Preload} returns this
 */
proto.hashicorp.waypoint.Deployment.Preload.prototype.clearArtifact = function() {
  return this.setArtifact(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Deployment.Preload.prototype.hasArtifact = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Build build = 2;
 * @return {?proto.hashicorp.waypoint.Build}
 */
proto.hashicorp.waypoint.Deployment.Preload.prototype.getBuild = function() {
  return /** @type{?proto.hashicorp.waypoint.Build} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Build, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Build|undefined} value
 * @return {!proto.hashicorp.waypoint.Deployment.Preload} returns this
*/
proto.hashicorp.waypoint.Deployment.Preload.prototype.setBuild = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Deployment.Preload} returns this
 */
proto.hashicorp.waypoint.Deployment.Preload.prototype.clearBuild = function() {
  return this.setBuild(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Deployment.Preload.prototype.hasBuild = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional string deploy_url = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.Deployment.Preload.prototype.getDeployUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Deployment.Preload} returns this
 */
proto.hashicorp.waypoint.Deployment.Preload.prototype.setDeployUrl = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional Job.DataSource.Ref job_data_source_ref = 4;
 * @return {?proto.hashicorp.waypoint.Job.DataSource.Ref}
 */
proto.hashicorp.waypoint.Deployment.Preload.prototype.getJobDataSourceRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DataSource.Ref} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DataSource.Ref, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DataSource.Ref|undefined} value
 * @return {!proto.hashicorp.waypoint.Deployment.Preload} returns this
*/
proto.hashicorp.waypoint.Deployment.Preload.prototype.setJobDataSourceRef = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Deployment.Preload} returns this
 */
proto.hashicorp.waypoint.Deployment.Preload.prototype.clearJobDataSourceRef = function() {
  return this.setJobDataSourceRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Deployment.Preload.prototype.hasJobDataSourceRef = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional Ref.Application application = 8;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.Deployment.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 8));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
*/
proto.hashicorp.waypoint.Deployment.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 8, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Deployment.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 8) != null;
};


/**
 * optional Ref.Workspace workspace = 9;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.Deployment.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 9));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
*/
proto.hashicorp.waypoint.Deployment.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 9, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Deployment.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 9) != null;
};


/**
 * optional uint64 sequence = 10;
 * @return {number}
 */
proto.hashicorp.waypoint.Deployment.prototype.getSequence = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.setSequence = function(value) {
  return jspb.Message.setProto3IntField(this, 10, value);
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Deployment.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string url = 18;
 * @return {string}
 */
proto.hashicorp.waypoint.Deployment.prototype.getUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.setUrl = function(value) {
  return jspb.Message.setProto3StringField(this, 18, value);
};


/**
 * optional Generation generation = 17;
 * @return {?proto.hashicorp.waypoint.Generation}
 */
proto.hashicorp.waypoint.Deployment.prototype.getGeneration = function() {
  return /** @type{?proto.hashicorp.waypoint.Generation} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Generation, 17));
};


/**
 * @param {?proto.hashicorp.waypoint.Generation|undefined} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
*/
proto.hashicorp.waypoint.Deployment.prototype.setGeneration = function(value) {
  return jspb.Message.setWrapperField(this, 17, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.clearGeneration = function() {
  return this.setGeneration(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Deployment.prototype.hasGeneration = function() {
  return jspb.Message.getField(this, 17) != null;
};


/**
 * optional Operation.PhysicalState state = 2;
 * @return {!proto.hashicorp.waypoint.Operation.PhysicalState}
 */
proto.hashicorp.waypoint.Deployment.prototype.getState = function() {
  return /** @type {!proto.hashicorp.waypoint.Operation.PhysicalState} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Operation.PhysicalState} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.setState = function(value) {
  return jspb.Message.setProto3EnumField(this, 2, value);
};


/**
 * optional Status status = 3;
 * @return {?proto.hashicorp.waypoint.Status}
 */
proto.hashicorp.waypoint.Deployment.prototype.getStatus = function() {
  return /** @type{?proto.hashicorp.waypoint.Status} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Status, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
*/
proto.hashicorp.waypoint.Deployment.prototype.setStatus = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.clearStatus = function() {
  return this.setStatus(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Deployment.prototype.hasStatus = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Component component = 4;
 * @return {?proto.hashicorp.waypoint.Component}
 */
proto.hashicorp.waypoint.Deployment.prototype.getComponent = function() {
  return /** @type{?proto.hashicorp.waypoint.Component} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Component, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Component|undefined} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
*/
proto.hashicorp.waypoint.Deployment.prototype.setComponent = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.clearComponent = function() {
  return this.setComponent(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Deployment.prototype.hasComponent = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional string artifact_id = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.Deployment.prototype.getArtifactId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.setArtifactId = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional opaqueany.Any deployment = 6;
 * @return {?proto.opaqueany.Any}
 */
proto.hashicorp.waypoint.Deployment.prototype.getDeployment = function() {
  return /** @type{?proto.opaqueany.Any} */ (
    jspb.Message.getWrapperField(this, any_pb.Any, 6));
};


/**
 * @param {?proto.opaqueany.Any|undefined} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
*/
proto.hashicorp.waypoint.Deployment.prototype.setDeployment = function(value) {
  return jspb.Message.setWrapperField(this, 6, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Deployment.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * optional string deployment_json = 20;
 * @return {string}
 */
proto.hashicorp.waypoint.Deployment.prototype.getDeploymentJson = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.setDeploymentJson = function(value) {
  return jspb.Message.setProto3StringField(this, 20, value);
};


/**
 * map<string, string> labels = 7;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.Deployment.prototype.getLabelsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 7, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.clearLabelsMap = function() {
  this.getLabelsMap().clear();
  return this;};


/**
 * optional bytes template_data = 14;
 * @return {string}
 */
proto.hashicorp.waypoint.Deployment.prototype.getTemplateData = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
};


/**
 * optional bytes template_data = 14;
 * This is a type-conversion wrapper around `getTemplateData()`
 * @return {string}
 */
proto.hashicorp.waypoint.Deployment.prototype.getTemplateData_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getTemplateData()));
};


/**
 * optional bytes template_data = 14;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getTemplateData()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Deployment.prototype.getTemplateData_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getTemplateData()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.setTemplateData = function(value) {
  return jspb.Message.setProto3BytesField(this, 14, value);
};


/**
 * optional string job_id = 12;
 * @return {string}
 */
proto.hashicorp.waypoint.Deployment.prototype.getJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.setJobId = function(value) {
  return jspb.Message.setProto3StringField(this, 12, value);
};


/**
 * optional bool has_entrypoint_config = 13;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Deployment.prototype.getHasEntrypointConfig = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.setHasEntrypointConfig = function(value) {
  return jspb.Message.setProto3BooleanField(this, 13, value);
};


/**
 * optional bool has_exec_plugin = 15;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Deployment.prototype.getHasExecPlugin = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.setHasExecPlugin = function(value) {
  return jspb.Message.setProto3BooleanField(this, 15, value);
};


/**
 * optional bool has_logs_plugin = 16;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Deployment.prototype.getHasLogsPlugin = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.setHasLogsPlugin = function(value) {
  return jspb.Message.setProto3BooleanField(this, 16, value);
};


/**
 * repeated DeclaredResource declared_resources = 19;
 * @return {!Array<!proto.hashicorp.waypoint.DeclaredResource>}
 */
proto.hashicorp.waypoint.Deployment.prototype.getDeclaredResourcesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.DeclaredResource>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.DeclaredResource, 19));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.DeclaredResource>} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
*/
proto.hashicorp.waypoint.Deployment.prototype.setDeclaredResourcesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 19, value);
};


/**
 * @param {!proto.hashicorp.waypoint.DeclaredResource=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.DeclaredResource}
 */
proto.hashicorp.waypoint.Deployment.prototype.addDeclaredResources = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 19, opt_value, proto.hashicorp.waypoint.DeclaredResource, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.clearDeclaredResourcesList = function() {
  return this.setDeclaredResourcesList([]);
};


/**
 * optional Preload preload = 11;
 * @return {?proto.hashicorp.waypoint.Deployment.Preload}
 */
proto.hashicorp.waypoint.Deployment.prototype.getPreload = function() {
  return /** @type{?proto.hashicorp.waypoint.Deployment.Preload} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Deployment.Preload, 11));
};


/**
 * @param {?proto.hashicorp.waypoint.Deployment.Preload|undefined} value
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
*/
proto.hashicorp.waypoint.Deployment.prototype.setPreload = function(value) {
  return jspb.Message.setWrapperField(this, 11, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Deployment} returns this
 */
proto.hashicorp.waypoint.Deployment.prototype.clearPreload = function() {
  return this.setPreload(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Deployment.prototype.hasPreload = function() {
  return jspb.Message.getField(this, 11) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.DeploymentExpanded.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.DeploymentExpanded.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.DeploymentExpanded} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeploymentExpanded.toObject = function(includeInstance, msg) {
  var f, obj = {
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.Deployment.toObject(includeInstance, f),
    latestStatusReport: (f = msg.getLatestStatusReport()) && proto.hashicorp.waypoint.StatusReport.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.DeploymentExpanded}
 */
proto.hashicorp.waypoint.DeploymentExpanded.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.DeploymentExpanded;
  return proto.hashicorp.waypoint.DeploymentExpanded.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.DeploymentExpanded} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.DeploymentExpanded}
 */
proto.hashicorp.waypoint.DeploymentExpanded.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Deployment;
      reader.readMessage(value,proto.hashicorp.waypoint.Deployment.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.StatusReport;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusReport.deserializeBinaryFromReader);
      msg.setLatestStatusReport(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.DeploymentExpanded.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.DeploymentExpanded.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.DeploymentExpanded} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeploymentExpanded.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Deployment.serializeBinaryToWriter
    );
  }
  f = message.getLatestStatusReport();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.StatusReport.serializeBinaryToWriter
    );
  }
};


/**
 * optional Deployment deployment = 1;
 * @return {?proto.hashicorp.waypoint.Deployment}
 */
proto.hashicorp.waypoint.DeploymentExpanded.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.Deployment} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Deployment, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Deployment|undefined} value
 * @return {!proto.hashicorp.waypoint.DeploymentExpanded} returns this
*/
proto.hashicorp.waypoint.DeploymentExpanded.prototype.setDeployment = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.DeploymentExpanded} returns this
 */
proto.hashicorp.waypoint.DeploymentExpanded.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.DeploymentExpanded.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional StatusReport latest_status_report = 2;
 * @return {?proto.hashicorp.waypoint.StatusReport}
 */
proto.hashicorp.waypoint.DeploymentExpanded.prototype.getLatestStatusReport = function() {
  return /** @type{?proto.hashicorp.waypoint.StatusReport} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.StatusReport, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.StatusReport|undefined} value
 * @return {!proto.hashicorp.waypoint.DeploymentExpanded} returns this
*/
proto.hashicorp.waypoint.DeploymentExpanded.prototype.setLatestStatusReport = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.DeploymentExpanded} returns this
 */
proto.hashicorp.waypoint.DeploymentExpanded.prototype.clearLatestStatusReport = function() {
  return this.setLatestStatusReport(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.DeploymentExpanded.prototype.hasLatestStatusReport = function() {
  return jspb.Message.getField(this, 2) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.ListInstancesRequest.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ListInstancesRequest.ScopeCase = {
  SCOPE_NOT_SET: 0,
  DEPLOYMENT_ID: 1,
  APPLICATION: 2
};

/**
 * @return {proto.hashicorp.waypoint.ListInstancesRequest.ScopeCase}
 */
proto.hashicorp.waypoint.ListInstancesRequest.prototype.getScopeCase = function() {
  return /** @type {proto.hashicorp.waypoint.ListInstancesRequest.ScopeCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.ListInstancesRequest.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListInstancesRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListInstancesRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListInstancesRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListInstancesRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    deploymentId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.ListInstancesRequest.Application.toObject(includeInstance, f),
    waitTimeout: jspb.Message.getFieldWithDefault(msg, 3, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListInstancesRequest}
 */
proto.hashicorp.waypoint.ListInstancesRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListInstancesRequest;
  return proto.hashicorp.waypoint.ListInstancesRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListInstancesRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListInstancesRequest}
 */
proto.hashicorp.waypoint.ListInstancesRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeploymentId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.ListInstancesRequest.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.ListInstancesRequest.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setWaitTimeout(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListInstancesRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListInstancesRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListInstancesRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListInstancesRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = /** @type {string} */ (jspb.Message.getField(message, 1));
  if (f != null) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.ListInstancesRequest.Application.serializeBinaryToWriter
    );
  }
  f = message.getWaitTimeout();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListInstancesRequest.Application.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListInstancesRequest.Application.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListInstancesRequest.Application} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListInstancesRequest.Application.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListInstancesRequest.Application}
 */
proto.hashicorp.waypoint.ListInstancesRequest.Application.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListInstancesRequest.Application;
  return proto.hashicorp.waypoint.ListInstancesRequest.Application.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListInstancesRequest.Application} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListInstancesRequest.Application}
 */
proto.hashicorp.waypoint.ListInstancesRequest.Application.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListInstancesRequest.Application.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListInstancesRequest.Application.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListInstancesRequest.Application} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListInstancesRequest.Application.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.ListInstancesRequest.Application.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.ListInstancesRequest.Application} returns this
*/
proto.hashicorp.waypoint.ListInstancesRequest.Application.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListInstancesRequest.Application} returns this
 */
proto.hashicorp.waypoint.ListInstancesRequest.Application.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListInstancesRequest.Application.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Workspace workspace = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.ListInstancesRequest.Application.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.ListInstancesRequest.Application} returns this
*/
proto.hashicorp.waypoint.ListInstancesRequest.Application.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListInstancesRequest.Application} returns this
 */
proto.hashicorp.waypoint.ListInstancesRequest.Application.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListInstancesRequest.Application.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional string deployment_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.ListInstancesRequest.prototype.getDeploymentId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ListInstancesRequest} returns this
 */
proto.hashicorp.waypoint.ListInstancesRequest.prototype.setDeploymentId = function(value) {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.ListInstancesRequest.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListInstancesRequest} returns this
 */
proto.hashicorp.waypoint.ListInstancesRequest.prototype.clearDeploymentId = function() {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.ListInstancesRequest.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListInstancesRequest.prototype.hasDeploymentId = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Application application = 2;
 * @return {?proto.hashicorp.waypoint.ListInstancesRequest.Application}
 */
proto.hashicorp.waypoint.ListInstancesRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.ListInstancesRequest.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ListInstancesRequest.Application, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.ListInstancesRequest.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.ListInstancesRequest} returns this
*/
proto.hashicorp.waypoint.ListInstancesRequest.prototype.setApplication = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.ListInstancesRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListInstancesRequest} returns this
 */
proto.hashicorp.waypoint.ListInstancesRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListInstancesRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional string wait_timeout = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.ListInstancesRequest.prototype.getWaitTimeout = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ListInstancesRequest} returns this
 */
proto.hashicorp.waypoint.ListInstancesRequest.prototype.setWaitTimeout = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListInstancesResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListInstancesResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListInstancesResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListInstancesResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListInstancesResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    instancesList: jspb.Message.toObjectList(msg.getInstancesList(),
    proto.hashicorp.waypoint.Instance.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListInstancesResponse}
 */
proto.hashicorp.waypoint.ListInstancesResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListInstancesResponse;
  return proto.hashicorp.waypoint.ListInstancesResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListInstancesResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListInstancesResponse}
 */
proto.hashicorp.waypoint.ListInstancesResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Instance;
      reader.readMessage(value,proto.hashicorp.waypoint.Instance.deserializeBinaryFromReader);
      msg.addInstances(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListInstancesResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListInstancesResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListInstancesResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListInstancesResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getInstancesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.Instance.serializeBinaryToWriter
    );
  }
};


/**
 * repeated Instance instances = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Instance>}
 */
proto.hashicorp.waypoint.ListInstancesResponse.prototype.getInstancesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Instance>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Instance, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Instance>} value
 * @return {!proto.hashicorp.waypoint.ListInstancesResponse} returns this
*/
proto.hashicorp.waypoint.ListInstancesResponse.prototype.setInstancesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Instance=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Instance}
 */
proto.hashicorp.waypoint.ListInstancesResponse.prototype.addInstances = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.Instance, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListInstancesResponse} returns this
 */
proto.hashicorp.waypoint.ListInstancesResponse.prototype.clearInstancesList = function() {
  return this.setInstancesList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Instance.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Instance.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Instance} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Instance.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    deploymentId: jspb.Message.getFieldWithDefault(msg, 2, ""),
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    type: jspb.Message.getFieldWithDefault(msg, 5, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Instance}
 */
proto.hashicorp.waypoint.Instance.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Instance;
  return proto.hashicorp.waypoint.Instance.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Instance} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Instance}
 */
proto.hashicorp.waypoint.Instance.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeploymentId(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 5:
      var value = /** @type {!proto.hashicorp.waypoint.Instance.Type} */ (reader.readEnum());
      msg.setType(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Instance.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Instance.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Instance} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Instance.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getDeploymentId();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getType();
  if (f !== 0.0) {
    writer.writeEnum(
      5,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Instance.Type = {
  LONG_RUNNING: 0,
  ON_DEMAND: 1,
  VIRTUAL: 2
};

/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Instance.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Instance} returns this
 */
proto.hashicorp.waypoint.Instance.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string deployment_id = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Instance.prototype.getDeploymentId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Instance} returns this
 */
proto.hashicorp.waypoint.Instance.prototype.setDeploymentId = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional Ref.Application application = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.Instance.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.Instance} returns this
*/
proto.hashicorp.waypoint.Instance.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Instance} returns this
 */
proto.hashicorp.waypoint.Instance.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Instance.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Ref.Workspace workspace = 4;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.Instance.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.Instance} returns this
*/
proto.hashicorp.waypoint.Instance.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Instance} returns this
 */
proto.hashicorp.waypoint.Instance.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Instance.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional Type type = 5;
 * @return {!proto.hashicorp.waypoint.Instance.Type}
 */
proto.hashicorp.waypoint.Instance.prototype.getType = function() {
  return /** @type {!proto.hashicorp.waypoint.Instance.Type} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Instance.Type} value
 * @return {!proto.hashicorp.waypoint.Instance} returns this
 */
proto.hashicorp.waypoint.Instance.prototype.setType = function(value) {
  return jspb.Message.setProto3EnumField(this, 5, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertReleaseRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertReleaseRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertReleaseRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertReleaseRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    release: (f = msg.getRelease()) && proto.hashicorp.waypoint.Release.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertReleaseRequest}
 */
proto.hashicorp.waypoint.UpsertReleaseRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertReleaseRequest;
  return proto.hashicorp.waypoint.UpsertReleaseRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertReleaseRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertReleaseRequest}
 */
proto.hashicorp.waypoint.UpsertReleaseRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Release;
      reader.readMessage(value,proto.hashicorp.waypoint.Release.deserializeBinaryFromReader);
      msg.setRelease(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertReleaseRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertReleaseRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertReleaseRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertReleaseRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRelease();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Release.serializeBinaryToWriter
    );
  }
};


/**
 * optional Release release = 1;
 * @return {?proto.hashicorp.waypoint.Release}
 */
proto.hashicorp.waypoint.UpsertReleaseRequest.prototype.getRelease = function() {
  return /** @type{?proto.hashicorp.waypoint.Release} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Release, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Release|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertReleaseRequest} returns this
*/
proto.hashicorp.waypoint.UpsertReleaseRequest.prototype.setRelease = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertReleaseRequest} returns this
 */
proto.hashicorp.waypoint.UpsertReleaseRequest.prototype.clearRelease = function() {
  return this.setRelease(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertReleaseRequest.prototype.hasRelease = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertReleaseResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertReleaseResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertReleaseResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertReleaseResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    release: (f = msg.getRelease()) && proto.hashicorp.waypoint.Release.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertReleaseResponse}
 */
proto.hashicorp.waypoint.UpsertReleaseResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertReleaseResponse;
  return proto.hashicorp.waypoint.UpsertReleaseResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertReleaseResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertReleaseResponse}
 */
proto.hashicorp.waypoint.UpsertReleaseResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Release;
      reader.readMessage(value,proto.hashicorp.waypoint.Release.deserializeBinaryFromReader);
      msg.setRelease(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertReleaseResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertReleaseResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertReleaseResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertReleaseResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRelease();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Release.serializeBinaryToWriter
    );
  }
};


/**
 * optional Release release = 1;
 * @return {?proto.hashicorp.waypoint.Release}
 */
proto.hashicorp.waypoint.UpsertReleaseResponse.prototype.getRelease = function() {
  return /** @type{?proto.hashicorp.waypoint.Release} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Release, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Release|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertReleaseResponse} returns this
*/
proto.hashicorp.waypoint.UpsertReleaseResponse.prototype.setRelease = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertReleaseResponse} returns this
 */
proto.hashicorp.waypoint.UpsertReleaseResponse.prototype.clearRelease = function() {
  return this.setRelease(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertReleaseResponse.prototype.hasRelease = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetLatestReleaseRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetLatestReleaseRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    loadDetails: jspb.Message.getFieldWithDefault(msg, 3, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetLatestReleaseRequest}
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetLatestReleaseRequest;
  return proto.hashicorp.waypoint.GetLatestReleaseRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetLatestReleaseRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetLatestReleaseRequest}
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 3:
      var value = /** @type {!proto.hashicorp.waypoint.Release.LoadDetails} */ (reader.readEnum());
      msg.setLoadDetails(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetLatestReleaseRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetLatestReleaseRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getLoadDetails();
  if (f !== 0.0) {
    writer.writeEnum(
      3,
      f
    );
  }
};


/**
 * optional Ref.Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.GetLatestReleaseRequest} returns this
*/
proto.hashicorp.waypoint.GetLatestReleaseRequest.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLatestReleaseRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Workspace workspace = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.GetLatestReleaseRequest} returns this
*/
proto.hashicorp.waypoint.GetLatestReleaseRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLatestReleaseRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Release.LoadDetails load_details = 3;
 * @return {!proto.hashicorp.waypoint.Release.LoadDetails}
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest.prototype.getLoadDetails = function() {
  return /** @type {!proto.hashicorp.waypoint.Release.LoadDetails} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Release.LoadDetails} value
 * @return {!proto.hashicorp.waypoint.GetLatestReleaseRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestReleaseRequest.prototype.setLoadDetails = function(value) {
  return jspb.Message.setProto3EnumField(this, 3, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListReleasesRequest.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListReleasesRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListReleasesRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListReleasesRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    statusList: jspb.Message.toObjectList(msg.getStatusList(),
    proto.hashicorp.waypoint.StatusFilter.toObject, includeInstance),
    physicalState: jspb.Message.getFieldWithDefault(msg, 5, 0),
    order: (f = msg.getOrder()) && proto.hashicorp.waypoint.OperationOrder.toObject(includeInstance, f),
    loadDetails: jspb.Message.getFieldWithDefault(msg, 6, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListReleasesRequest}
 */
proto.hashicorp.waypoint.ListReleasesRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListReleasesRequest;
  return proto.hashicorp.waypoint.ListReleasesRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListReleasesRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListReleasesRequest}
 */
proto.hashicorp.waypoint.ListReleasesRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 1:
      var value = new proto.hashicorp.waypoint.StatusFilter;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusFilter.deserializeBinaryFromReader);
      msg.addStatus(value);
      break;
    case 5:
      var value = /** @type {!proto.hashicorp.waypoint.Operation.PhysicalState} */ (reader.readEnum());
      msg.setPhysicalState(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.OperationOrder;
      reader.readMessage(value,proto.hashicorp.waypoint.OperationOrder.deserializeBinaryFromReader);
      msg.setOrder(value);
      break;
    case 6:
      var value = /** @type {!proto.hashicorp.waypoint.Release.LoadDetails} */ (reader.readEnum());
      msg.setLoadDetails(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListReleasesRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListReleasesRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListReleasesRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getStatusList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.StatusFilter.serializeBinaryToWriter
    );
  }
  f = message.getPhysicalState();
  if (f !== 0.0) {
    writer.writeEnum(
      5,
      f
    );
  }
  f = message.getOrder();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.OperationOrder.serializeBinaryToWriter
    );
  }
  f = message.getLoadDetails();
  if (f !== 0.0) {
    writer.writeEnum(
      6,
      f
    );
  }
};


/**
 * optional Ref.Application application = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.ListReleasesRequest} returns this
*/
proto.hashicorp.waypoint.ListReleasesRequest.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListReleasesRequest} returns this
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Ref.Workspace workspace = 4;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.ListReleasesRequest} returns this
*/
proto.hashicorp.waypoint.ListReleasesRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListReleasesRequest} returns this
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * repeated StatusFilter status = 1;
 * @return {!Array<!proto.hashicorp.waypoint.StatusFilter>}
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.getStatusList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.StatusFilter>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.StatusFilter, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.StatusFilter>} value
 * @return {!proto.hashicorp.waypoint.ListReleasesRequest} returns this
*/
proto.hashicorp.waypoint.ListReleasesRequest.prototype.setStatusList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.StatusFilter=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.StatusFilter}
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.addStatus = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.StatusFilter, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListReleasesRequest} returns this
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.clearStatusList = function() {
  return this.setStatusList([]);
};


/**
 * optional Operation.PhysicalState physical_state = 5;
 * @return {!proto.hashicorp.waypoint.Operation.PhysicalState}
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.getPhysicalState = function() {
  return /** @type {!proto.hashicorp.waypoint.Operation.PhysicalState} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Operation.PhysicalState} value
 * @return {!proto.hashicorp.waypoint.ListReleasesRequest} returns this
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.setPhysicalState = function(value) {
  return jspb.Message.setProto3EnumField(this, 5, value);
};


/**
 * optional OperationOrder order = 2;
 * @return {?proto.hashicorp.waypoint.OperationOrder}
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.getOrder = function() {
  return /** @type{?proto.hashicorp.waypoint.OperationOrder} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.OperationOrder, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.OperationOrder|undefined} value
 * @return {!proto.hashicorp.waypoint.ListReleasesRequest} returns this
*/
proto.hashicorp.waypoint.ListReleasesRequest.prototype.setOrder = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListReleasesRequest} returns this
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.clearOrder = function() {
  return this.setOrder(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.hasOrder = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Release.LoadDetails load_details = 6;
 * @return {!proto.hashicorp.waypoint.Release.LoadDetails}
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.getLoadDetails = function() {
  return /** @type {!proto.hashicorp.waypoint.Release.LoadDetails} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Release.LoadDetails} value
 * @return {!proto.hashicorp.waypoint.ListReleasesRequest} returns this
 */
proto.hashicorp.waypoint.ListReleasesRequest.prototype.setLoadDetails = function(value) {
  return jspb.Message.setProto3EnumField(this, 6, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListReleasesResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListReleasesResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListReleasesResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListReleasesResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListReleasesResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    releasesList: jspb.Message.toObjectList(msg.getReleasesList(),
    proto.hashicorp.waypoint.Release.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListReleasesResponse}
 */
proto.hashicorp.waypoint.ListReleasesResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListReleasesResponse;
  return proto.hashicorp.waypoint.ListReleasesResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListReleasesResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListReleasesResponse}
 */
proto.hashicorp.waypoint.ListReleasesResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Release;
      reader.readMessage(value,proto.hashicorp.waypoint.Release.deserializeBinaryFromReader);
      msg.addReleases(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListReleasesResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListReleasesResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListReleasesResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListReleasesResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getReleasesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.Release.serializeBinaryToWriter
    );
  }
};


/**
 * repeated Release releases = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Release>}
 */
proto.hashicorp.waypoint.ListReleasesResponse.prototype.getReleasesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Release>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Release, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Release>} value
 * @return {!proto.hashicorp.waypoint.ListReleasesResponse} returns this
*/
proto.hashicorp.waypoint.ListReleasesResponse.prototype.setReleasesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Release=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Release}
 */
proto.hashicorp.waypoint.ListReleasesResponse.prototype.addReleases = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.Release, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListReleasesResponse} returns this
 */
proto.hashicorp.waypoint.ListReleasesResponse.prototype.clearReleasesList = function() {
  return this.setReleasesList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetReleaseRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetReleaseRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetReleaseRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetReleaseRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    ref: (f = msg.getRef()) && proto.hashicorp.waypoint.Ref.Operation.toObject(includeInstance, f),
    loadDetails: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetReleaseRequest}
 */
proto.hashicorp.waypoint.GetReleaseRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetReleaseRequest;
  return proto.hashicorp.waypoint.GetReleaseRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetReleaseRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetReleaseRequest}
 */
proto.hashicorp.waypoint.GetReleaseRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Operation;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Operation.deserializeBinaryFromReader);
      msg.setRef(value);
      break;
    case 2:
      var value = /** @type {!proto.hashicorp.waypoint.Release.LoadDetails} */ (reader.readEnum());
      msg.setLoadDetails(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetReleaseRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetReleaseRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetReleaseRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetReleaseRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Operation.serializeBinaryToWriter
    );
  }
  f = message.getLoadDetails();
  if (f !== 0.0) {
    writer.writeEnum(
      2,
      f
    );
  }
};


/**
 * optional Ref.Operation ref = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Operation}
 */
proto.hashicorp.waypoint.GetReleaseRequest.prototype.getRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Operation} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Operation, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Operation|undefined} value
 * @return {!proto.hashicorp.waypoint.GetReleaseRequest} returns this
*/
proto.hashicorp.waypoint.GetReleaseRequest.prototype.setRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetReleaseRequest} returns this
 */
proto.hashicorp.waypoint.GetReleaseRequest.prototype.clearRef = function() {
  return this.setRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetReleaseRequest.prototype.hasRef = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Release.LoadDetails load_details = 2;
 * @return {!proto.hashicorp.waypoint.Release.LoadDetails}
 */
proto.hashicorp.waypoint.GetReleaseRequest.prototype.getLoadDetails = function() {
  return /** @type {!proto.hashicorp.waypoint.Release.LoadDetails} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Release.LoadDetails} value
 * @return {!proto.hashicorp.waypoint.GetReleaseRequest} returns this
 */
proto.hashicorp.waypoint.GetReleaseRequest.prototype.setLoadDetails = function(value) {
  return jspb.Message.setProto3EnumField(this, 2, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.Release.repeatedFields_ = [19];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Release.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Release.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Release} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Release.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    sequence: jspb.Message.getFieldWithDefault(msg, 10, 0),
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    status: (f = msg.getStatus()) && proto.hashicorp.waypoint.Status.toObject(includeInstance, f),
    state: jspb.Message.getFieldWithDefault(msg, 11, 0),
    component: (f = msg.getComponent()) && proto.hashicorp.waypoint.Component.toObject(includeInstance, f),
    release: (f = msg.getRelease()) && any_pb.Any.toObject(includeInstance, f),
    releaseJson: jspb.Message.getFieldWithDefault(msg, 16, ""),
    deploymentId: jspb.Message.getFieldWithDefault(msg, 5, ""),
    labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [],
    templateData: msg.getTemplateData_asB64(),
    url: jspb.Message.getFieldWithDefault(msg, 9, ""),
    jobId: jspb.Message.getFieldWithDefault(msg, 13, ""),
    unimplemented: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
    declaredResourcesList: jspb.Message.toObjectList(msg.getDeclaredResourcesList(),
    proto.hashicorp.waypoint.DeclaredResource.toObject, includeInstance),
    preload: (f = msg.getPreload()) && proto.hashicorp.waypoint.Release.Preload.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Release}
 */
proto.hashicorp.waypoint.Release.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Release;
  return proto.hashicorp.waypoint.Release.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Release} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Release}
 */
proto.hashicorp.waypoint.Release.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 7:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 8:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 10:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSequence(value);
      break;
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Status;
      reader.readMessage(value,proto.hashicorp.waypoint.Status.deserializeBinaryFromReader);
      msg.setStatus(value);
      break;
    case 11:
      var value = /** @type {!proto.hashicorp.waypoint.Operation.PhysicalState} */ (reader.readEnum());
      msg.setState(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Component;
      reader.readMessage(value,proto.hashicorp.waypoint.Component.deserializeBinaryFromReader);
      msg.setComponent(value);
      break;
    case 4:
      var value = new any_pb.Any;
      reader.readMessage(value,any_pb.Any.deserializeBinaryFromReader);
      msg.setRelease(value);
      break;
    case 16:
      var value = /** @type {string} */ (reader.readString());
      msg.setReleaseJson(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeploymentId(value);
      break;
    case 6:
      var value = msg.getLabelsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    case 14:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setTemplateData(value);
      break;
    case 9:
      var value = /** @type {string} */ (reader.readString());
      msg.setUrl(value);
      break;
    case 13:
      var value = /** @type {string} */ (reader.readString());
      msg.setJobId(value);
      break;
    case 15:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setUnimplemented(value);
      break;
    case 19:
      var value = new proto.hashicorp.waypoint.DeclaredResource;
      reader.readMessage(value,proto.hashicorp.waypoint.DeclaredResource.deserializeBinaryFromReader);
      msg.addDeclaredResources(value);
      break;
    case 12:
      var value = new proto.hashicorp.waypoint.Release.Preload;
      reader.readMessage(value,proto.hashicorp.waypoint.Release.Preload.deserializeBinaryFromReader);
      msg.setPreload(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Release.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Release.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Release} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Release.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      8,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getSequence();
  if (f !== 0) {
    writer.writeUint64(
      10,
      f
    );
  }
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getStatus();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Status.serializeBinaryToWriter
    );
  }
  f = message.getState();
  if (f !== 0.0) {
    writer.writeEnum(
      11,
      f
    );
  }
  f = message.getComponent();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Component.serializeBinaryToWriter
    );
  }
  f = message.getRelease();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      any_pb.Any.serializeBinaryToWriter
    );
  }
  f = message.getReleaseJson();
  if (f.length > 0) {
    writer.writeString(
      16,
      f
    );
  }
  f = message.getDeploymentId();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getLabelsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
  f = message.getTemplateData_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      14,
      f
    );
  }
  f = message.getUrl();
  if (f.length > 0) {
    writer.writeString(
      9,
      f
    );
  }
  f = message.getJobId();
  if (f.length > 0) {
    writer.writeString(
      13,
      f
    );
  }
  f = message.getUnimplemented();
  if (f) {
    writer.writeBool(
      15,
      f
    );
  }
  f = message.getDeclaredResourcesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      19,
      f,
      proto.hashicorp.waypoint.DeclaredResource.serializeBinaryToWriter
    );
  }
  f = message.getPreload();
  if (f != null) {
    writer.writeMessage(
      12,
      f,
      proto.hashicorp.waypoint.Release.Preload.serializeBinaryToWriter
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Release.LoadDetails = {
  NONE: 0,
  DEPLOYMENT: 1,
  ARTIFACT: 2,
  BUILD: 3
};




if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Release.Preload.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Release.Preload.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Release.Preload} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Release.Preload.toObject = function(includeInstance, msg) {
  var f, obj = {
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.Deployment.toObject(includeInstance, f),
    artifact: (f = msg.getArtifact()) && proto.hashicorp.waypoint.PushedArtifact.toObject(includeInstance, f),
    build: (f = msg.getBuild()) && proto.hashicorp.waypoint.Build.toObject(includeInstance, f),
    jobDataSourceRef: (f = msg.getJobDataSourceRef()) && proto.hashicorp.waypoint.Job.DataSource.Ref.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Release.Preload}
 */
proto.hashicorp.waypoint.Release.Preload.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Release.Preload;
  return proto.hashicorp.waypoint.Release.Preload.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Release.Preload} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Release.Preload}
 */
proto.hashicorp.waypoint.Release.Preload.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Deployment;
      reader.readMessage(value,proto.hashicorp.waypoint.Deployment.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.PushedArtifact;
      reader.readMessage(value,proto.hashicorp.waypoint.PushedArtifact.deserializeBinaryFromReader);
      msg.setArtifact(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Build;
      reader.readMessage(value,proto.hashicorp.waypoint.Build.deserializeBinaryFromReader);
      msg.setBuild(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Job.DataSource.Ref;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DataSource.Ref.deserializeBinaryFromReader);
      msg.setJobDataSourceRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Release.Preload.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Release.Preload.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Release.Preload} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Release.Preload.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Deployment.serializeBinaryToWriter
    );
  }
  f = message.getArtifact();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.PushedArtifact.serializeBinaryToWriter
    );
  }
  f = message.getBuild();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Build.serializeBinaryToWriter
    );
  }
  f = message.getJobDataSourceRef();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Job.DataSource.Ref.serializeBinaryToWriter
    );
  }
};


/**
 * optional Deployment deployment = 1;
 * @return {?proto.hashicorp.waypoint.Deployment}
 */
proto.hashicorp.waypoint.Release.Preload.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.Deployment} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Deployment, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Deployment|undefined} value
 * @return {!proto.hashicorp.waypoint.Release.Preload} returns this
*/
proto.hashicorp.waypoint.Release.Preload.prototype.setDeployment = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Release.Preload} returns this
 */
proto.hashicorp.waypoint.Release.Preload.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Release.Preload.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional PushedArtifact artifact = 2;
 * @return {?proto.hashicorp.waypoint.PushedArtifact}
 */
proto.hashicorp.waypoint.Release.Preload.prototype.getArtifact = function() {
  return /** @type{?proto.hashicorp.waypoint.PushedArtifact} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.PushedArtifact, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.PushedArtifact|undefined} value
 * @return {!proto.hashicorp.waypoint.Release.Preload} returns this
*/
proto.hashicorp.waypoint.Release.Preload.prototype.setArtifact = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Release.Preload} returns this
 */
proto.hashicorp.waypoint.Release.Preload.prototype.clearArtifact = function() {
  return this.setArtifact(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Release.Preload.prototype.hasArtifact = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Build build = 3;
 * @return {?proto.hashicorp.waypoint.Build}
 */
proto.hashicorp.waypoint.Release.Preload.prototype.getBuild = function() {
  return /** @type{?proto.hashicorp.waypoint.Build} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Build, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Build|undefined} value
 * @return {!proto.hashicorp.waypoint.Release.Preload} returns this
*/
proto.hashicorp.waypoint.Release.Preload.prototype.setBuild = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Release.Preload} returns this
 */
proto.hashicorp.waypoint.Release.Preload.prototype.clearBuild = function() {
  return this.setBuild(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Release.Preload.prototype.hasBuild = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Job.DataSource.Ref job_data_source_ref = 4;
 * @return {?proto.hashicorp.waypoint.Job.DataSource.Ref}
 */
proto.hashicorp.waypoint.Release.Preload.prototype.getJobDataSourceRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DataSource.Ref} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DataSource.Ref, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DataSource.Ref|undefined} value
 * @return {!proto.hashicorp.waypoint.Release.Preload} returns this
*/
proto.hashicorp.waypoint.Release.Preload.prototype.setJobDataSourceRef = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Release.Preload} returns this
 */
proto.hashicorp.waypoint.Release.Preload.prototype.clearJobDataSourceRef = function() {
  return this.setJobDataSourceRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Release.Preload.prototype.hasJobDataSourceRef = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional Ref.Application application = 7;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.Release.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 7));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
*/
proto.hashicorp.waypoint.Release.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 7, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Release.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional Ref.Workspace workspace = 8;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.Release.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 8));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
*/
proto.hashicorp.waypoint.Release.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 8, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Release.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 8) != null;
};


/**
 * optional uint64 sequence = 10;
 * @return {number}
 */
proto.hashicorp.waypoint.Release.prototype.getSequence = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.setSequence = function(value) {
  return jspb.Message.setProto3IntField(this, 10, value);
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Release.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional Status status = 2;
 * @return {?proto.hashicorp.waypoint.Status}
 */
proto.hashicorp.waypoint.Release.prototype.getStatus = function() {
  return /** @type{?proto.hashicorp.waypoint.Status} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Status, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
*/
proto.hashicorp.waypoint.Release.prototype.setStatus = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.clearStatus = function() {
  return this.setStatus(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Release.prototype.hasStatus = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Operation.PhysicalState state = 11;
 * @return {!proto.hashicorp.waypoint.Operation.PhysicalState}
 */
proto.hashicorp.waypoint.Release.prototype.getState = function() {
  return /** @type {!proto.hashicorp.waypoint.Operation.PhysicalState} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Operation.PhysicalState} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.setState = function(value) {
  return jspb.Message.setProto3EnumField(this, 11, value);
};


/**
 * optional Component component = 3;
 * @return {?proto.hashicorp.waypoint.Component}
 */
proto.hashicorp.waypoint.Release.prototype.getComponent = function() {
  return /** @type{?proto.hashicorp.waypoint.Component} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Component, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Component|undefined} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
*/
proto.hashicorp.waypoint.Release.prototype.setComponent = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.clearComponent = function() {
  return this.setComponent(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Release.prototype.hasComponent = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional opaqueany.Any release = 4;
 * @return {?proto.opaqueany.Any}
 */
proto.hashicorp.waypoint.Release.prototype.getRelease = function() {
  return /** @type{?proto.opaqueany.Any} */ (
    jspb.Message.getWrapperField(this, any_pb.Any, 4));
};


/**
 * @param {?proto.opaqueany.Any|undefined} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
*/
proto.hashicorp.waypoint.Release.prototype.setRelease = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.clearRelease = function() {
  return this.setRelease(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Release.prototype.hasRelease = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional string release_json = 16;
 * @return {string}
 */
proto.hashicorp.waypoint.Release.prototype.getReleaseJson = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.setReleaseJson = function(value) {
  return jspb.Message.setProto3StringField(this, 16, value);
};


/**
 * optional string deployment_id = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.Release.prototype.getDeploymentId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.setDeploymentId = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * map<string, string> labels = 6;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.Release.prototype.getLabelsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 6, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.clearLabelsMap = function() {
  this.getLabelsMap().clear();
  return this;};


/**
 * optional bytes template_data = 14;
 * @return {string}
 */
proto.hashicorp.waypoint.Release.prototype.getTemplateData = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
};


/**
 * optional bytes template_data = 14;
 * This is a type-conversion wrapper around `getTemplateData()`
 * @return {string}
 */
proto.hashicorp.waypoint.Release.prototype.getTemplateData_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getTemplateData()));
};


/**
 * optional bytes template_data = 14;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getTemplateData()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Release.prototype.getTemplateData_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getTemplateData()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.setTemplateData = function(value) {
  return jspb.Message.setProto3BytesField(this, 14, value);
};


/**
 * optional string url = 9;
 * @return {string}
 */
proto.hashicorp.waypoint.Release.prototype.getUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.setUrl = function(value) {
  return jspb.Message.setProto3StringField(this, 9, value);
};


/**
 * optional string job_id = 13;
 * @return {string}
 */
proto.hashicorp.waypoint.Release.prototype.getJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.setJobId = function(value) {
  return jspb.Message.setProto3StringField(this, 13, value);
};


/**
 * optional bool unimplemented = 15;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Release.prototype.getUnimplemented = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.setUnimplemented = function(value) {
  return jspb.Message.setProto3BooleanField(this, 15, value);
};


/**
 * repeated DeclaredResource declared_resources = 19;
 * @return {!Array<!proto.hashicorp.waypoint.DeclaredResource>}
 */
proto.hashicorp.waypoint.Release.prototype.getDeclaredResourcesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.DeclaredResource>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.DeclaredResource, 19));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.DeclaredResource>} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
*/
proto.hashicorp.waypoint.Release.prototype.setDeclaredResourcesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 19, value);
};


/**
 * @param {!proto.hashicorp.waypoint.DeclaredResource=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.DeclaredResource}
 */
proto.hashicorp.waypoint.Release.prototype.addDeclaredResources = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 19, opt_value, proto.hashicorp.waypoint.DeclaredResource, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.clearDeclaredResourcesList = function() {
  return this.setDeclaredResourcesList([]);
};


/**
 * optional Preload preload = 12;
 * @return {?proto.hashicorp.waypoint.Release.Preload}
 */
proto.hashicorp.waypoint.Release.prototype.getPreload = function() {
  return /** @type{?proto.hashicorp.waypoint.Release.Preload} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Release.Preload, 12));
};


/**
 * @param {?proto.hashicorp.waypoint.Release.Preload|undefined} value
 * @return {!proto.hashicorp.waypoint.Release} returns this
*/
proto.hashicorp.waypoint.Release.prototype.setPreload = function(value) {
  return jspb.Message.setWrapperField(this, 12, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Release} returns this
 */
proto.hashicorp.waypoint.Release.prototype.clearPreload = function() {
  return this.setPreload(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Release.prototype.hasPreload = function() {
  return jspb.Message.getField(this, 12) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ReleaseExpanded.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ReleaseExpanded.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ReleaseExpanded} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ReleaseExpanded.toObject = function(includeInstance, msg) {
  var f, obj = {
    release: (f = msg.getRelease()) && proto.hashicorp.waypoint.Release.toObject(includeInstance, f),
    latestStatusReport: (f = msg.getLatestStatusReport()) && proto.hashicorp.waypoint.StatusReport.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ReleaseExpanded}
 */
proto.hashicorp.waypoint.ReleaseExpanded.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ReleaseExpanded;
  return proto.hashicorp.waypoint.ReleaseExpanded.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ReleaseExpanded} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ReleaseExpanded}
 */
proto.hashicorp.waypoint.ReleaseExpanded.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Release;
      reader.readMessage(value,proto.hashicorp.waypoint.Release.deserializeBinaryFromReader);
      msg.setRelease(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.StatusReport;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusReport.deserializeBinaryFromReader);
      msg.setLatestStatusReport(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ReleaseExpanded.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ReleaseExpanded.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ReleaseExpanded} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ReleaseExpanded.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRelease();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Release.serializeBinaryToWriter
    );
  }
  f = message.getLatestStatusReport();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.StatusReport.serializeBinaryToWriter
    );
  }
};


/**
 * optional Release release = 1;
 * @return {?proto.hashicorp.waypoint.Release}
 */
proto.hashicorp.waypoint.ReleaseExpanded.prototype.getRelease = function() {
  return /** @type{?proto.hashicorp.waypoint.Release} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Release, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Release|undefined} value
 * @return {!proto.hashicorp.waypoint.ReleaseExpanded} returns this
*/
proto.hashicorp.waypoint.ReleaseExpanded.prototype.setRelease = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ReleaseExpanded} returns this
 */
proto.hashicorp.waypoint.ReleaseExpanded.prototype.clearRelease = function() {
  return this.setRelease(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ReleaseExpanded.prototype.hasRelease = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional StatusReport latest_status_report = 2;
 * @return {?proto.hashicorp.waypoint.StatusReport}
 */
proto.hashicorp.waypoint.ReleaseExpanded.prototype.getLatestStatusReport = function() {
  return /** @type{?proto.hashicorp.waypoint.StatusReport} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.StatusReport, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.StatusReport|undefined} value
 * @return {!proto.hashicorp.waypoint.ReleaseExpanded} returns this
*/
proto.hashicorp.waypoint.ReleaseExpanded.prototype.setLatestStatusReport = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ReleaseExpanded} returns this
 */
proto.hashicorp.waypoint.ReleaseExpanded.prototype.clearLatestStatusReport = function() {
  return this.setLatestStatusReport(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ReleaseExpanded.prototype.hasLatestStatusReport = function() {
  return jspb.Message.getField(this, 2) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.Trigger.repeatedFields_ = [4];

/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Trigger.oneofGroups_ = [[50,51,52,53,54,55,56,57]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Trigger.OperationCase = {
  OPERATION_NOT_SET: 0,
  BUILD: 50,
  PUSH: 51,
  DEPLOY: 52,
  DESTROY: 53,
  RELEASE: 54,
  UP: 55,
  INIT: 56,
  STATUS_REPORT: 57
};

/**
 * @return {proto.hashicorp.waypoint.Trigger.OperationCase}
 */
proto.hashicorp.waypoint.Trigger.prototype.getOperationCase = function() {
  return /** @type {proto.hashicorp.waypoint.Trigger.OperationCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Trigger.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Trigger.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Trigger.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Trigger} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Trigger.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    name: jspb.Message.getFieldWithDefault(msg, 2, ""),
    description: jspb.Message.getFieldWithDefault(msg, 3, ""),
    tagsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
    activeTime: (f = msg.getActiveTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    authenticated: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
    build: (f = msg.getBuild()) && proto.hashicorp.waypoint.Job.BuildOp.toObject(includeInstance, f),
    push: (f = msg.getPush()) && proto.hashicorp.waypoint.Job.PushOp.toObject(includeInstance, f),
    deploy: (f = msg.getDeploy()) && proto.hashicorp.waypoint.Job.DeployOp.toObject(includeInstance, f),
    destroy: (f = msg.getDestroy()) && proto.hashicorp.waypoint.Job.DestroyOp.toObject(includeInstance, f),
    release: (f = msg.getRelease()) && proto.hashicorp.waypoint.Job.ReleaseOp.toObject(includeInstance, f),
    up: (f = msg.getUp()) && proto.hashicorp.waypoint.Job.UpOp.toObject(includeInstance, f),
    init: (f = msg.getInit()) && proto.hashicorp.waypoint.Job.InitOp.toObject(includeInstance, f),
    statusReport: (f = msg.getStatusReport()) && proto.hashicorp.waypoint.Job.StatusReportOp.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f),
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Trigger}
 */
proto.hashicorp.waypoint.Trigger.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Trigger;
  return proto.hashicorp.waypoint.Trigger.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Trigger} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Trigger}
 */
proto.hashicorp.waypoint.Trigger.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setDescription(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.addTags(value);
      break;
    case 5:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setActiveTime(value);
      break;
    case 6:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setAuthenticated(value);
      break;
    case 50:
      var value = new proto.hashicorp.waypoint.Job.BuildOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.BuildOp.deserializeBinaryFromReader);
      msg.setBuild(value);
      break;
    case 51:
      var value = new proto.hashicorp.waypoint.Job.PushOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.PushOp.deserializeBinaryFromReader);
      msg.setPush(value);
      break;
    case 52:
      var value = new proto.hashicorp.waypoint.Job.DeployOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DeployOp.deserializeBinaryFromReader);
      msg.setDeploy(value);
      break;
    case 53:
      var value = new proto.hashicorp.waypoint.Job.DestroyOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.DestroyOp.deserializeBinaryFromReader);
      msg.setDestroy(value);
      break;
    case 54:
      var value = new proto.hashicorp.waypoint.Job.ReleaseOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.ReleaseOp.deserializeBinaryFromReader);
      msg.setRelease(value);
      break;
    case 55:
      var value = new proto.hashicorp.waypoint.Job.UpOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.UpOp.deserializeBinaryFromReader);
      msg.setUp(value);
      break;
    case 56:
      var value = new proto.hashicorp.waypoint.Job.InitOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.InitOp.deserializeBinaryFromReader);
      msg.setInit(value);
      break;
    case 57:
      var value = new proto.hashicorp.waypoint.Job.StatusReportOp;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.StatusReportOp.deserializeBinaryFromReader);
      msg.setStatusReport(value);
      break;
    case 7:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 8:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    case 9:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Trigger.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Trigger.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Trigger} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Trigger.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getDescription();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getTagsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      4,
      f
    );
  }
  f = message.getActiveTime();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getAuthenticated();
  if (f) {
    writer.writeBool(
      6,
      f
    );
  }
  f = message.getBuild();
  if (f != null) {
    writer.writeMessage(
      50,
      f,
      proto.hashicorp.waypoint.Job.BuildOp.serializeBinaryToWriter
    );
  }
  f = message.getPush();
  if (f != null) {
    writer.writeMessage(
      51,
      f,
      proto.hashicorp.waypoint.Job.PushOp.serializeBinaryToWriter
    );
  }
  f = message.getDeploy();
  if (f != null) {
    writer.writeMessage(
      52,
      f,
      proto.hashicorp.waypoint.Job.DeployOp.serializeBinaryToWriter
    );
  }
  f = message.getDestroy();
  if (f != null) {
    writer.writeMessage(
      53,
      f,
      proto.hashicorp.waypoint.Job.DestroyOp.serializeBinaryToWriter
    );
  }
  f = message.getRelease();
  if (f != null) {
    writer.writeMessage(
      54,
      f,
      proto.hashicorp.waypoint.Job.ReleaseOp.serializeBinaryToWriter
    );
  }
  f = message.getUp();
  if (f != null) {
    writer.writeMessage(
      55,
      f,
      proto.hashicorp.waypoint.Job.UpOp.serializeBinaryToWriter
    );
  }
  f = message.getInit();
  if (f != null) {
    writer.writeMessage(
      56,
      f,
      proto.hashicorp.waypoint.Job.InitOp.serializeBinaryToWriter
    );
  }
  f = message.getStatusReport();
  if (f != null) {
    writer.writeMessage(
      57,
      f,
      proto.hashicorp.waypoint.Job.StatusReportOp.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      8,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      9,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Trigger.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string name = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Trigger.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string description = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.Trigger.prototype.getDescription = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.setDescription = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * repeated string tags = 4;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.Trigger.prototype.getTagsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.setTagsList = function(value) {
  return jspb.Message.setField(this, 4, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.addTags = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.clearTagsList = function() {
  return this.setTagsList([]);
};


/**
 * optional google.protobuf.Timestamp active_time = 5;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Trigger.prototype.getActiveTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
*/
proto.hashicorp.waypoint.Trigger.prototype.setActiveTime = function(value) {
  return jspb.Message.setWrapperField(this, 5, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.clearActiveTime = function() {
  return this.setActiveTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Trigger.prototype.hasActiveTime = function() {
  return jspb.Message.getField(this, 5) != null;
};


/**
 * optional bool authenticated = 6;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Trigger.prototype.getAuthenticated = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.setAuthenticated = function(value) {
  return jspb.Message.setProto3BooleanField(this, 6, value);
};


/**
 * optional Job.BuildOp build = 50;
 * @return {?proto.hashicorp.waypoint.Job.BuildOp}
 */
proto.hashicorp.waypoint.Trigger.prototype.getBuild = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.BuildOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.BuildOp, 50));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.BuildOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
*/
proto.hashicorp.waypoint.Trigger.prototype.setBuild = function(value) {
  return jspb.Message.setOneofWrapperField(this, 50, proto.hashicorp.waypoint.Trigger.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.clearBuild = function() {
  return this.setBuild(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Trigger.prototype.hasBuild = function() {
  return jspb.Message.getField(this, 50) != null;
};


/**
 * optional Job.PushOp push = 51;
 * @return {?proto.hashicorp.waypoint.Job.PushOp}
 */
proto.hashicorp.waypoint.Trigger.prototype.getPush = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.PushOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.PushOp, 51));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.PushOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
*/
proto.hashicorp.waypoint.Trigger.prototype.setPush = function(value) {
  return jspb.Message.setOneofWrapperField(this, 51, proto.hashicorp.waypoint.Trigger.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.clearPush = function() {
  return this.setPush(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Trigger.prototype.hasPush = function() {
  return jspb.Message.getField(this, 51) != null;
};


/**
 * optional Job.DeployOp deploy = 52;
 * @return {?proto.hashicorp.waypoint.Job.DeployOp}
 */
proto.hashicorp.waypoint.Trigger.prototype.getDeploy = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DeployOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DeployOp, 52));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DeployOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
*/
proto.hashicorp.waypoint.Trigger.prototype.setDeploy = function(value) {
  return jspb.Message.setOneofWrapperField(this, 52, proto.hashicorp.waypoint.Trigger.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.clearDeploy = function() {
  return this.setDeploy(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Trigger.prototype.hasDeploy = function() {
  return jspb.Message.getField(this, 52) != null;
};


/**
 * optional Job.DestroyOp destroy = 53;
 * @return {?proto.hashicorp.waypoint.Job.DestroyOp}
 */
proto.hashicorp.waypoint.Trigger.prototype.getDestroy = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.DestroyOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.DestroyOp, 53));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.DestroyOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
*/
proto.hashicorp.waypoint.Trigger.prototype.setDestroy = function(value) {
  return jspb.Message.setOneofWrapperField(this, 53, proto.hashicorp.waypoint.Trigger.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.clearDestroy = function() {
  return this.setDestroy(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Trigger.prototype.hasDestroy = function() {
  return jspb.Message.getField(this, 53) != null;
};


/**
 * optional Job.ReleaseOp release = 54;
 * @return {?proto.hashicorp.waypoint.Job.ReleaseOp}
 */
proto.hashicorp.waypoint.Trigger.prototype.getRelease = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.ReleaseOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.ReleaseOp, 54));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.ReleaseOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
*/
proto.hashicorp.waypoint.Trigger.prototype.setRelease = function(value) {
  return jspb.Message.setOneofWrapperField(this, 54, proto.hashicorp.waypoint.Trigger.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.clearRelease = function() {
  return this.setRelease(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Trigger.prototype.hasRelease = function() {
  return jspb.Message.getField(this, 54) != null;
};


/**
 * optional Job.UpOp up = 55;
 * @return {?proto.hashicorp.waypoint.Job.UpOp}
 */
proto.hashicorp.waypoint.Trigger.prototype.getUp = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.UpOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.UpOp, 55));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.UpOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
*/
proto.hashicorp.waypoint.Trigger.prototype.setUp = function(value) {
  return jspb.Message.setOneofWrapperField(this, 55, proto.hashicorp.waypoint.Trigger.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.clearUp = function() {
  return this.setUp(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Trigger.prototype.hasUp = function() {
  return jspb.Message.getField(this, 55) != null;
};


/**
 * optional Job.InitOp init = 56;
 * @return {?proto.hashicorp.waypoint.Job.InitOp}
 */
proto.hashicorp.waypoint.Trigger.prototype.getInit = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.InitOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.InitOp, 56));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.InitOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
*/
proto.hashicorp.waypoint.Trigger.prototype.setInit = function(value) {
  return jspb.Message.setOneofWrapperField(this, 56, proto.hashicorp.waypoint.Trigger.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.clearInit = function() {
  return this.setInit(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Trigger.prototype.hasInit = function() {
  return jspb.Message.getField(this, 56) != null;
};


/**
 * optional Job.StatusReportOp status_report = 57;
 * @return {?proto.hashicorp.waypoint.Job.StatusReportOp}
 */
proto.hashicorp.waypoint.Trigger.prototype.getStatusReport = function() {
  return /** @type{?proto.hashicorp.waypoint.Job.StatusReportOp} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job.StatusReportOp, 57));
};


/**
 * @param {?proto.hashicorp.waypoint.Job.StatusReportOp|undefined} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
*/
proto.hashicorp.waypoint.Trigger.prototype.setStatusReport = function(value) {
  return jspb.Message.setOneofWrapperField(this, 57, proto.hashicorp.waypoint.Trigger.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.clearStatusReport = function() {
  return this.setStatusReport(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Trigger.prototype.hasStatusReport = function() {
  return jspb.Message.getField(this, 57) != null;
};


/**
 * optional Ref.Workspace workspace = 7;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.Trigger.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 7));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
*/
proto.hashicorp.waypoint.Trigger.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 7, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Trigger.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional Ref.Project project = 8;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.Trigger.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 8));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
*/
proto.hashicorp.waypoint.Trigger.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 8, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Trigger.prototype.hasProject = function() {
  return jspb.Message.getField(this, 8) != null;
};


/**
 * optional Ref.Application application = 9;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.Trigger.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 9));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
*/
proto.hashicorp.waypoint.Trigger.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 9, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Trigger} returns this
 */
proto.hashicorp.waypoint.Trigger.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Trigger.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 9) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertTriggerRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertTriggerRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertTriggerRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertTriggerRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    trigger: (f = msg.getTrigger()) && proto.hashicorp.waypoint.Trigger.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertTriggerRequest}
 */
proto.hashicorp.waypoint.UpsertTriggerRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertTriggerRequest;
  return proto.hashicorp.waypoint.UpsertTriggerRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertTriggerRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertTriggerRequest}
 */
proto.hashicorp.waypoint.UpsertTriggerRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Trigger;
      reader.readMessage(value,proto.hashicorp.waypoint.Trigger.deserializeBinaryFromReader);
      msg.setTrigger(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertTriggerRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertTriggerRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertTriggerRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertTriggerRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTrigger();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Trigger.serializeBinaryToWriter
    );
  }
};


/**
 * optional Trigger trigger = 1;
 * @return {?proto.hashicorp.waypoint.Trigger}
 */
proto.hashicorp.waypoint.UpsertTriggerRequest.prototype.getTrigger = function() {
  return /** @type{?proto.hashicorp.waypoint.Trigger} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Trigger, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Trigger|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertTriggerRequest} returns this
*/
proto.hashicorp.waypoint.UpsertTriggerRequest.prototype.setTrigger = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertTriggerRequest} returns this
 */
proto.hashicorp.waypoint.UpsertTriggerRequest.prototype.clearTrigger = function() {
  return this.setTrigger(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertTriggerRequest.prototype.hasTrigger = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertTriggerResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertTriggerResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertTriggerResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertTriggerResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    trigger: (f = msg.getTrigger()) && proto.hashicorp.waypoint.Trigger.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertTriggerResponse}
 */
proto.hashicorp.waypoint.UpsertTriggerResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertTriggerResponse;
  return proto.hashicorp.waypoint.UpsertTriggerResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertTriggerResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertTriggerResponse}
 */
proto.hashicorp.waypoint.UpsertTriggerResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Trigger;
      reader.readMessage(value,proto.hashicorp.waypoint.Trigger.deserializeBinaryFromReader);
      msg.setTrigger(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertTriggerResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertTriggerResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertTriggerResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertTriggerResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTrigger();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Trigger.serializeBinaryToWriter
    );
  }
};


/**
 * optional Trigger trigger = 1;
 * @return {?proto.hashicorp.waypoint.Trigger}
 */
proto.hashicorp.waypoint.UpsertTriggerResponse.prototype.getTrigger = function() {
  return /** @type{?proto.hashicorp.waypoint.Trigger} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Trigger, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Trigger|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertTriggerResponse} returns this
*/
proto.hashicorp.waypoint.UpsertTriggerResponse.prototype.setTrigger = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertTriggerResponse} returns this
 */
proto.hashicorp.waypoint.UpsertTriggerResponse.prototype.clearTrigger = function() {
  return this.setTrigger(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertTriggerResponse.prototype.hasTrigger = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetTriggerRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetTriggerRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetTriggerRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetTriggerRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    ref: (f = msg.getRef()) && proto.hashicorp.waypoint.Ref.Trigger.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetTriggerRequest}
 */
proto.hashicorp.waypoint.GetTriggerRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetTriggerRequest;
  return proto.hashicorp.waypoint.GetTriggerRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetTriggerRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetTriggerRequest}
 */
proto.hashicorp.waypoint.GetTriggerRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Trigger;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Trigger.deserializeBinaryFromReader);
      msg.setRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetTriggerRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetTriggerRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetTriggerRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetTriggerRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Trigger.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Trigger ref = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Trigger}
 */
proto.hashicorp.waypoint.GetTriggerRequest.prototype.getRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Trigger} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Trigger, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Trigger|undefined} value
 * @return {!proto.hashicorp.waypoint.GetTriggerRequest} returns this
*/
proto.hashicorp.waypoint.GetTriggerRequest.prototype.setRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetTriggerRequest} returns this
 */
proto.hashicorp.waypoint.GetTriggerRequest.prototype.clearRef = function() {
  return this.setRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetTriggerRequest.prototype.hasRef = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetTriggerResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetTriggerResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetTriggerResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetTriggerResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    trigger: (f = msg.getTrigger()) && proto.hashicorp.waypoint.Trigger.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetTriggerResponse}
 */
proto.hashicorp.waypoint.GetTriggerResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetTriggerResponse;
  return proto.hashicorp.waypoint.GetTriggerResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetTriggerResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetTriggerResponse}
 */
proto.hashicorp.waypoint.GetTriggerResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Trigger;
      reader.readMessage(value,proto.hashicorp.waypoint.Trigger.deserializeBinaryFromReader);
      msg.setTrigger(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetTriggerResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetTriggerResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetTriggerResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetTriggerResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTrigger();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Trigger.serializeBinaryToWriter
    );
  }
};


/**
 * optional Trigger trigger = 1;
 * @return {?proto.hashicorp.waypoint.Trigger}
 */
proto.hashicorp.waypoint.GetTriggerResponse.prototype.getTrigger = function() {
  return /** @type{?proto.hashicorp.waypoint.Trigger} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Trigger, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Trigger|undefined} value
 * @return {!proto.hashicorp.waypoint.GetTriggerResponse} returns this
*/
proto.hashicorp.waypoint.GetTriggerResponse.prototype.setTrigger = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetTriggerResponse} returns this
 */
proto.hashicorp.waypoint.GetTriggerResponse.prototype.clearTrigger = function() {
  return this.setTrigger(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetTriggerResponse.prototype.hasTrigger = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.DeleteTriggerRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.DeleteTriggerRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.DeleteTriggerRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeleteTriggerRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    ref: (f = msg.getRef()) && proto.hashicorp.waypoint.Ref.Trigger.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.DeleteTriggerRequest}
 */
proto.hashicorp.waypoint.DeleteTriggerRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.DeleteTriggerRequest;
  return proto.hashicorp.waypoint.DeleteTriggerRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.DeleteTriggerRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.DeleteTriggerRequest}
 */
proto.hashicorp.waypoint.DeleteTriggerRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Trigger;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Trigger.deserializeBinaryFromReader);
      msg.setRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.DeleteTriggerRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.DeleteTriggerRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.DeleteTriggerRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DeleteTriggerRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Trigger.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Trigger ref = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Trigger}
 */
proto.hashicorp.waypoint.DeleteTriggerRequest.prototype.getRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Trigger} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Trigger, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Trigger|undefined} value
 * @return {!proto.hashicorp.waypoint.DeleteTriggerRequest} returns this
*/
proto.hashicorp.waypoint.DeleteTriggerRequest.prototype.setRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.DeleteTriggerRequest} returns this
 */
proto.hashicorp.waypoint.DeleteTriggerRequest.prototype.clearRef = function() {
  return this.setRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.DeleteTriggerRequest.prototype.hasRef = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.RunTriggerRequest.repeatedFields_ = [2];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunTriggerRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunTriggerRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunTriggerRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunTriggerRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    ref: (f = msg.getRef()) && proto.hashicorp.waypoint.Ref.Trigger.toObject(includeInstance, f),
    variableOverridesList: jspb.Message.toObjectList(msg.getVariableOverridesList(),
    proto.hashicorp.waypoint.Variable.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunTriggerRequest}
 */
proto.hashicorp.waypoint.RunTriggerRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunTriggerRequest;
  return proto.hashicorp.waypoint.RunTriggerRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunTriggerRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunTriggerRequest}
 */
proto.hashicorp.waypoint.RunTriggerRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Trigger;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Trigger.deserializeBinaryFromReader);
      msg.setRef(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Variable;
      reader.readMessage(value,proto.hashicorp.waypoint.Variable.deserializeBinaryFromReader);
      msg.addVariableOverrides(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunTriggerRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunTriggerRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunTriggerRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunTriggerRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Trigger.serializeBinaryToWriter
    );
  }
  f = message.getVariableOverridesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.hashicorp.waypoint.Variable.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Trigger ref = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Trigger}
 */
proto.hashicorp.waypoint.RunTriggerRequest.prototype.getRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Trigger} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Trigger, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Trigger|undefined} value
 * @return {!proto.hashicorp.waypoint.RunTriggerRequest} returns this
*/
proto.hashicorp.waypoint.RunTriggerRequest.prototype.setRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunTriggerRequest} returns this
 */
proto.hashicorp.waypoint.RunTriggerRequest.prototype.clearRef = function() {
  return this.setRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunTriggerRequest.prototype.hasRef = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * repeated Variable variable_overrides = 2;
 * @return {!Array<!proto.hashicorp.waypoint.Variable>}
 */
proto.hashicorp.waypoint.RunTriggerRequest.prototype.getVariableOverridesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Variable>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Variable, 2));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Variable>} value
 * @return {!proto.hashicorp.waypoint.RunTriggerRequest} returns this
*/
proto.hashicorp.waypoint.RunTriggerRequest.prototype.setVariableOverridesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Variable=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Variable}
 */
proto.hashicorp.waypoint.RunTriggerRequest.prototype.addVariableOverrides = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.hashicorp.waypoint.Variable, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.RunTriggerRequest} returns this
 */
proto.hashicorp.waypoint.RunTriggerRequest.prototype.clearVariableOverridesList = function() {
  return this.setVariableOverridesList([]);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.RunTriggerResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunTriggerResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunTriggerResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunTriggerResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunTriggerResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    jobIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunTriggerResponse}
 */
proto.hashicorp.waypoint.RunTriggerResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunTriggerResponse;
  return proto.hashicorp.waypoint.RunTriggerResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunTriggerResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunTriggerResponse}
 */
proto.hashicorp.waypoint.RunTriggerResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.addJobIds(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunTriggerResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunTriggerResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunTriggerResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunTriggerResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJobIdsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      1,
      f
    );
  }
};


/**
 * repeated string job_ids = 1;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.RunTriggerResponse.prototype.getJobIdsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.RunTriggerResponse} returns this
 */
proto.hashicorp.waypoint.RunTriggerResponse.prototype.setJobIdsList = function(value) {
  return jspb.Message.setField(this, 1, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.RunTriggerResponse} returns this
 */
proto.hashicorp.waypoint.RunTriggerResponse.prototype.addJobIds = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.RunTriggerResponse} returns this
 */
proto.hashicorp.waypoint.RunTriggerResponse.prototype.clearJobIdsList = function() {
  return this.setJobIdsList([]);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListTriggerRequest.repeatedFields_ = [4];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListTriggerRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListTriggerRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListTriggerRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f),
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    tagsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListTriggerRequest}
 */
proto.hashicorp.waypoint.ListTriggerRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListTriggerRequest;
  return proto.hashicorp.waypoint.ListTriggerRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListTriggerRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListTriggerRequest}
 */
proto.hashicorp.waypoint.ListTriggerRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.addTags(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListTriggerRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListTriggerRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListTriggerRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getTagsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      4,
      f
    );
  }
};


/**
 * optional Ref.Workspace workspace = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.ListTriggerRequest} returns this
*/
proto.hashicorp.waypoint.ListTriggerRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListTriggerRequest} returns this
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Project project = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.ListTriggerRequest} returns this
*/
proto.hashicorp.waypoint.ListTriggerRequest.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListTriggerRequest} returns this
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.hasProject = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Ref.Application application = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.ListTriggerRequest} returns this
*/
proto.hashicorp.waypoint.ListTriggerRequest.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListTriggerRequest} returns this
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * repeated string tags = 4;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.getTagsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.ListTriggerRequest} returns this
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.setTagsList = function(value) {
  return jspb.Message.setField(this, 4, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.ListTriggerRequest} returns this
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.addTags = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListTriggerRequest} returns this
 */
proto.hashicorp.waypoint.ListTriggerRequest.prototype.clearTagsList = function() {
  return this.setTagsList([]);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListTriggerResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListTriggerResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListTriggerResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListTriggerResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListTriggerResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    triggersList: jspb.Message.toObjectList(msg.getTriggersList(),
    proto.hashicorp.waypoint.Trigger.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListTriggerResponse}
 */
proto.hashicorp.waypoint.ListTriggerResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListTriggerResponse;
  return proto.hashicorp.waypoint.ListTriggerResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListTriggerResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListTriggerResponse}
 */
proto.hashicorp.waypoint.ListTriggerResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Trigger;
      reader.readMessage(value,proto.hashicorp.waypoint.Trigger.deserializeBinaryFromReader);
      msg.addTriggers(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListTriggerResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListTriggerResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListTriggerResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListTriggerResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTriggersList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.Trigger.serializeBinaryToWriter
    );
  }
};


/**
 * repeated Trigger triggers = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Trigger>}
 */
proto.hashicorp.waypoint.ListTriggerResponse.prototype.getTriggersList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Trigger>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Trigger, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Trigger>} value
 * @return {!proto.hashicorp.waypoint.ListTriggerResponse} returns this
*/
proto.hashicorp.waypoint.ListTriggerResponse.prototype.setTriggersList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Trigger=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Trigger}
 */
proto.hashicorp.waypoint.ListTriggerResponse.prototype.addTriggers = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.Trigger, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListTriggerResponse} returns this
 */
proto.hashicorp.waypoint.ListTriggerResponse.prototype.clearTriggersList = function() {
  return this.setTriggersList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertStatusReportRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertStatusReportRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertStatusReportRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertStatusReportRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    statusReport: (f = msg.getStatusReport()) && proto.hashicorp.waypoint.StatusReport.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertStatusReportRequest}
 */
proto.hashicorp.waypoint.UpsertStatusReportRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertStatusReportRequest;
  return proto.hashicorp.waypoint.UpsertStatusReportRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertStatusReportRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertStatusReportRequest}
 */
proto.hashicorp.waypoint.UpsertStatusReportRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.StatusReport;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusReport.deserializeBinaryFromReader);
      msg.setStatusReport(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertStatusReportRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertStatusReportRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertStatusReportRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertStatusReportRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getStatusReport();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.StatusReport.serializeBinaryToWriter
    );
  }
};


/**
 * optional StatusReport status_report = 1;
 * @return {?proto.hashicorp.waypoint.StatusReport}
 */
proto.hashicorp.waypoint.UpsertStatusReportRequest.prototype.getStatusReport = function() {
  return /** @type{?proto.hashicorp.waypoint.StatusReport} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.StatusReport, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.StatusReport|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertStatusReportRequest} returns this
*/
proto.hashicorp.waypoint.UpsertStatusReportRequest.prototype.setStatusReport = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertStatusReportRequest} returns this
 */
proto.hashicorp.waypoint.UpsertStatusReportRequest.prototype.clearStatusReport = function() {
  return this.setStatusReport(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertStatusReportRequest.prototype.hasStatusReport = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertStatusReportResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertStatusReportResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertStatusReportResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertStatusReportResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    statusReport: (f = msg.getStatusReport()) && proto.hashicorp.waypoint.StatusReport.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertStatusReportResponse}
 */
proto.hashicorp.waypoint.UpsertStatusReportResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertStatusReportResponse;
  return proto.hashicorp.waypoint.UpsertStatusReportResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertStatusReportResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertStatusReportResponse}
 */
proto.hashicorp.waypoint.UpsertStatusReportResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.StatusReport;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusReport.deserializeBinaryFromReader);
      msg.setStatusReport(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertStatusReportResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertStatusReportResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertStatusReportResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertStatusReportResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getStatusReport();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.StatusReport.serializeBinaryToWriter
    );
  }
};


/**
 * optional StatusReport status_report = 1;
 * @return {?proto.hashicorp.waypoint.StatusReport}
 */
proto.hashicorp.waypoint.UpsertStatusReportResponse.prototype.getStatusReport = function() {
  return /** @type{?proto.hashicorp.waypoint.StatusReport} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.StatusReport, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.StatusReport|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertStatusReportResponse} returns this
*/
proto.hashicorp.waypoint.UpsertStatusReportResponse.prototype.setStatusReport = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertStatusReportResponse} returns this
 */
proto.hashicorp.waypoint.UpsertStatusReportResponse.prototype.clearStatusReport = function() {
  return this.setStatusReport(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertStatusReportResponse.prototype.hasStatusReport = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.oneofGroups_ = [[3,4,5,6,7]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.TargetCase = {
  TARGET_NOT_SET: 0,
  ANY: 3,
  DEPLOYMENT_ANY: 4,
  DEPLOYMENT_ID: 5,
  RELEASE_ANY: 6,
  RELEASE_ID: 7
};

/**
 * @return {proto.hashicorp.waypoint.GetLatestStatusReportRequest.TargetCase}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.getTargetCase = function() {
  return /** @type {proto.hashicorp.waypoint.GetLatestStatusReportRequest.TargetCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.GetLatestStatusReportRequest.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetLatestStatusReportRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    any: (f = msg.getAny()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
    deploymentAny: (f = msg.getDeploymentAny()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
    deploymentId: jspb.Message.getFieldWithDefault(msg, 5, ""),
    releaseAny: (f = msg.getReleaseAny()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
    releaseId: jspb.Message.getFieldWithDefault(msg, 7, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetLatestStatusReportRequest;
  return proto.hashicorp.waypoint.GetLatestStatusReportRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 3:
      var value = new google_protobuf_empty_pb.Empty;
      reader.readMessage(value,google_protobuf_empty_pb.Empty.deserializeBinaryFromReader);
      msg.setAny(value);
      break;
    case 4:
      var value = new google_protobuf_empty_pb.Empty;
      reader.readMessage(value,google_protobuf_empty_pb.Empty.deserializeBinaryFromReader);
      msg.setDeploymentAny(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeploymentId(value);
      break;
    case 6:
      var value = new google_protobuf_empty_pb.Empty;
      reader.readMessage(value,google_protobuf_empty_pb.Empty.deserializeBinaryFromReader);
      msg.setReleaseAny(value);
      break;
    case 7:
      var value = /** @type {string} */ (reader.readString());
      msg.setReleaseId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetLatestStatusReportRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getAny();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      google_protobuf_empty_pb.Empty.serializeBinaryToWriter
    );
  }
  f = message.getDeploymentAny();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      google_protobuf_empty_pb.Empty.serializeBinaryToWriter
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 5));
  if (f != null) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getReleaseAny();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      google_protobuf_empty_pb.Empty.serializeBinaryToWriter
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 7));
  if (f != null) {
    writer.writeString(
      7,
      f
    );
  }
};


/**
 * optional Ref.Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} returns this
*/
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Workspace workspace = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} returns this
*/
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional google.protobuf.Empty any = 3;
 * @return {?proto.google.protobuf.Empty}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.getAny = function() {
  return /** @type{?proto.google.protobuf.Empty} */ (
    jspb.Message.getWrapperField(this, google_protobuf_empty_pb.Empty, 3));
};


/**
 * @param {?proto.google.protobuf.Empty|undefined} value
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} returns this
*/
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.setAny = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.GetLatestStatusReportRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.clearAny = function() {
  return this.setAny(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.hasAny = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional google.protobuf.Empty deployment_any = 4;
 * @return {?proto.google.protobuf.Empty}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.getDeploymentAny = function() {
  return /** @type{?proto.google.protobuf.Empty} */ (
    jspb.Message.getWrapperField(this, google_protobuf_empty_pb.Empty, 4));
};


/**
 * @param {?proto.google.protobuf.Empty|undefined} value
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} returns this
*/
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.setDeploymentAny = function(value) {
  return jspb.Message.setOneofWrapperField(this, 4, proto.hashicorp.waypoint.GetLatestStatusReportRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.clearDeploymentAny = function() {
  return this.setDeploymentAny(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.hasDeploymentAny = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional string deployment_id = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.getDeploymentId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.setDeploymentId = function(value) {
  return jspb.Message.setOneofField(this, 5, proto.hashicorp.waypoint.GetLatestStatusReportRequest.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.clearDeploymentId = function() {
  return jspb.Message.setOneofField(this, 5, proto.hashicorp.waypoint.GetLatestStatusReportRequest.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.hasDeploymentId = function() {
  return jspb.Message.getField(this, 5) != null;
};


/**
 * optional google.protobuf.Empty release_any = 6;
 * @return {?proto.google.protobuf.Empty}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.getReleaseAny = function() {
  return /** @type{?proto.google.protobuf.Empty} */ (
    jspb.Message.getWrapperField(this, google_protobuf_empty_pb.Empty, 6));
};


/**
 * @param {?proto.google.protobuf.Empty|undefined} value
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} returns this
*/
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.setReleaseAny = function(value) {
  return jspb.Message.setOneofWrapperField(this, 6, proto.hashicorp.waypoint.GetLatestStatusReportRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.clearReleaseAny = function() {
  return this.setReleaseAny(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.hasReleaseAny = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * optional string release_id = 7;
 * @return {string}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.getReleaseId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.setReleaseId = function(value) {
  return jspb.Message.setOneofField(this, 7, proto.hashicorp.waypoint.GetLatestStatusReportRequest.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLatestStatusReportRequest} returns this
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.clearReleaseId = function() {
  return jspb.Message.setOneofField(this, 7, proto.hashicorp.waypoint.GetLatestStatusReportRequest.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLatestStatusReportRequest.prototype.hasReleaseId = function() {
  return jspb.Message.getField(this, 7) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.repeatedFields_ = [1];

/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.oneofGroups_ = [[5,6]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.TargetCase = {
  TARGET_NOT_SET: 0,
  DEPLOYMENT: 5,
  RELEASE: 6
};

/**
 * @return {proto.hashicorp.waypoint.ListStatusReportsRequest.TargetCase}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.getTargetCase = function() {
  return /** @type {proto.hashicorp.waypoint.ListStatusReportsRequest.TargetCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.ListStatusReportsRequest.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListStatusReportsRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListStatusReportsRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    statusList: jspb.Message.toObjectList(msg.getStatusList(),
    proto.hashicorp.waypoint.StatusFilter.toObject, includeInstance),
    order: (f = msg.getOrder()) && proto.hashicorp.waypoint.OperationOrder.toObject(includeInstance, f),
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.Ref.Operation.toObject(includeInstance, f),
    release: (f = msg.getRelease()) && proto.hashicorp.waypoint.Ref.Operation.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListStatusReportsRequest}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListStatusReportsRequest;
  return proto.hashicorp.waypoint.ListStatusReportsRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListStatusReportsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListStatusReportsRequest}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.StatusFilter;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusFilter.deserializeBinaryFromReader);
      msg.addStatus(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.OperationOrder;
      reader.readMessage(value,proto.hashicorp.waypoint.OperationOrder.deserializeBinaryFromReader);
      msg.setOrder(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.Ref.Operation;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Operation.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    case 6:
      var value = new proto.hashicorp.waypoint.Ref.Operation;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Operation.deserializeBinaryFromReader);
      msg.setRelease(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListStatusReportsRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListStatusReportsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getStatusList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.StatusFilter.serializeBinaryToWriter
    );
  }
  f = message.getOrder();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.OperationOrder.serializeBinaryToWriter
    );
  }
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      proto.hashicorp.waypoint.Ref.Operation.serializeBinaryToWriter
    );
  }
  f = message.getRelease();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      proto.hashicorp.waypoint.Ref.Operation.serializeBinaryToWriter
    );
  }
};


/**
 * repeated StatusFilter status = 1;
 * @return {!Array<!proto.hashicorp.waypoint.StatusFilter>}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.getStatusList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.StatusFilter>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.StatusFilter, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.StatusFilter>} value
 * @return {!proto.hashicorp.waypoint.ListStatusReportsRequest} returns this
*/
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.setStatusList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.StatusFilter=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.StatusFilter}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.addStatus = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.StatusFilter, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListStatusReportsRequest} returns this
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.clearStatusList = function() {
  return this.setStatusList([]);
};


/**
 * optional OperationOrder order = 2;
 * @return {?proto.hashicorp.waypoint.OperationOrder}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.getOrder = function() {
  return /** @type{?proto.hashicorp.waypoint.OperationOrder} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.OperationOrder, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.OperationOrder|undefined} value
 * @return {!proto.hashicorp.waypoint.ListStatusReportsRequest} returns this
*/
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.setOrder = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListStatusReportsRequest} returns this
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.clearOrder = function() {
  return this.setOrder(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.hasOrder = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Ref.Application application = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.ListStatusReportsRequest} returns this
*/
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListStatusReportsRequest} returns this
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Ref.Workspace workspace = 4;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.ListStatusReportsRequest} returns this
*/
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListStatusReportsRequest} returns this
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional Ref.Operation deployment = 5;
 * @return {?proto.hashicorp.waypoint.Ref.Operation}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Operation} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Operation, 5));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Operation|undefined} value
 * @return {!proto.hashicorp.waypoint.ListStatusReportsRequest} returns this
*/
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.setDeployment = function(value) {
  return jspb.Message.setOneofWrapperField(this, 5, proto.hashicorp.waypoint.ListStatusReportsRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListStatusReportsRequest} returns this
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 5) != null;
};


/**
 * optional Ref.Operation release = 6;
 * @return {?proto.hashicorp.waypoint.Ref.Operation}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.getRelease = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Operation} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Operation, 6));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Operation|undefined} value
 * @return {!proto.hashicorp.waypoint.ListStatusReportsRequest} returns this
*/
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.setRelease = function(value) {
  return jspb.Message.setOneofWrapperField(this, 6, proto.hashicorp.waypoint.ListStatusReportsRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListStatusReportsRequest} returns this
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.clearRelease = function() {
  return this.setRelease(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListStatusReportsRequest.prototype.hasRelease = function() {
  return jspb.Message.getField(this, 6) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListStatusReportsResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListStatusReportsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListStatusReportsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListStatusReportsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListStatusReportsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    statusReportsList: jspb.Message.toObjectList(msg.getStatusReportsList(),
    proto.hashicorp.waypoint.StatusReport.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListStatusReportsResponse}
 */
proto.hashicorp.waypoint.ListStatusReportsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListStatusReportsResponse;
  return proto.hashicorp.waypoint.ListStatusReportsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListStatusReportsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListStatusReportsResponse}
 */
proto.hashicorp.waypoint.ListStatusReportsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.StatusReport;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusReport.deserializeBinaryFromReader);
      msg.addStatusReports(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListStatusReportsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListStatusReportsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListStatusReportsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListStatusReportsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getStatusReportsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.StatusReport.serializeBinaryToWriter
    );
  }
};


/**
 * repeated StatusReport status_reports = 1;
 * @return {!Array<!proto.hashicorp.waypoint.StatusReport>}
 */
proto.hashicorp.waypoint.ListStatusReportsResponse.prototype.getStatusReportsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.StatusReport>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.StatusReport, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.StatusReport>} value
 * @return {!proto.hashicorp.waypoint.ListStatusReportsResponse} returns this
*/
proto.hashicorp.waypoint.ListStatusReportsResponse.prototype.setStatusReportsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.StatusReport=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.StatusReport}
 */
proto.hashicorp.waypoint.ListStatusReportsResponse.prototype.addStatusReports = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.StatusReport, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListStatusReportsResponse} returns this
 */
proto.hashicorp.waypoint.ListStatusReportsResponse.prototype.clearStatusReportsList = function() {
  return this.setStatusReportsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetStatusReportRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetStatusReportRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetStatusReportRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetStatusReportRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    ref: (f = msg.getRef()) && proto.hashicorp.waypoint.Ref.Operation.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetStatusReportRequest}
 */
proto.hashicorp.waypoint.GetStatusReportRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetStatusReportRequest;
  return proto.hashicorp.waypoint.GetStatusReportRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetStatusReportRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetStatusReportRequest}
 */
proto.hashicorp.waypoint.GetStatusReportRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Operation;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Operation.deserializeBinaryFromReader);
      msg.setRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetStatusReportRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetStatusReportRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetStatusReportRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetStatusReportRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Operation.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Operation ref = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Operation}
 */
proto.hashicorp.waypoint.GetStatusReportRequest.prototype.getRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Operation} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Operation, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Operation|undefined} value
 * @return {!proto.hashicorp.waypoint.GetStatusReportRequest} returns this
*/
proto.hashicorp.waypoint.GetStatusReportRequest.prototype.setRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetStatusReportRequest} returns this
 */
proto.hashicorp.waypoint.GetStatusReportRequest.prototype.clearRef = function() {
  return this.setRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetStatusReportRequest.prototype.hasRef = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.oneofGroups_ = [[2,3]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.TargetCase = {
  TARGET_NOT_SET: 0,
  DEPLOYMENT: 2,
  RELEASE: 3
};

/**
 * @return {proto.hashicorp.waypoint.ExpediteStatusReportRequest.TargetCase}
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.getTargetCase = function() {
  return /** @type {proto.hashicorp.waypoint.ExpediteStatusReportRequest.TargetCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.ExpediteStatusReportRequest.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ExpediteStatusReportRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ExpediteStatusReportRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.Ref.Operation.toObject(includeInstance, f),
    release: (f = msg.getRelease()) && proto.hashicorp.waypoint.Ref.Operation.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ExpediteStatusReportRequest}
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ExpediteStatusReportRequest;
  return proto.hashicorp.waypoint.ExpediteStatusReportRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ExpediteStatusReportRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ExpediteStatusReportRequest}
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Operation;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Operation.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Operation;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Operation.deserializeBinaryFromReader);
      msg.setRelease(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ExpediteStatusReportRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ExpediteStatusReportRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Operation.serializeBinaryToWriter
    );
  }
  f = message.getRelease();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Operation.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Workspace workspace = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.ExpediteStatusReportRequest} returns this
*/
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ExpediteStatusReportRequest} returns this
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Operation deployment = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Operation}
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Operation} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Operation, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Operation|undefined} value
 * @return {!proto.hashicorp.waypoint.ExpediteStatusReportRequest} returns this
*/
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.setDeployment = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.ExpediteStatusReportRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ExpediteStatusReportRequest} returns this
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Ref.Operation release = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Operation}
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.getRelease = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Operation} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Operation, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Operation|undefined} value
 * @return {!proto.hashicorp.waypoint.ExpediteStatusReportRequest} returns this
*/
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.setRelease = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.ExpediteStatusReportRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ExpediteStatusReportRequest} returns this
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.clearRelease = function() {
  return this.setRelease(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExpediteStatusReportRequest.prototype.hasRelease = function() {
  return jspb.Message.getField(this, 3) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ExpediteStatusReportResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ExpediteStatusReportResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ExpediteStatusReportResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExpediteStatusReportResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    jobId: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ExpediteStatusReportResponse}
 */
proto.hashicorp.waypoint.ExpediteStatusReportResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ExpediteStatusReportResponse;
  return proto.hashicorp.waypoint.ExpediteStatusReportResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ExpediteStatusReportResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ExpediteStatusReportResponse}
 */
proto.hashicorp.waypoint.ExpediteStatusReportResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setJobId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ExpediteStatusReportResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ExpediteStatusReportResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ExpediteStatusReportResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExpediteStatusReportResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJobId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string job_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.ExpediteStatusReportResponse.prototype.getJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ExpediteStatusReportResponse} returns this
 */
proto.hashicorp.waypoint.ExpediteStatusReportResponse.prototype.setJobId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.StatusReport.repeatedFields_ = [12,9];

/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.StatusReport.oneofGroups_ = [[3,4]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.StatusReport.TargetIdCase = {
  TARGET_ID_NOT_SET: 0,
  DEPLOYMENT_ID: 3,
  RELEASE_ID: 4
};

/**
 * @return {proto.hashicorp.waypoint.StatusReport.TargetIdCase}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getTargetIdCase = function() {
  return /** @type {proto.hashicorp.waypoint.StatusReport.TargetIdCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.StatusReport.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.StatusReport.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.StatusReport.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.StatusReport} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.StatusReport.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    deploymentId: jspb.Message.getFieldWithDefault(msg, 3, ""),
    releaseId: jspb.Message.getFieldWithDefault(msg, 4, ""),
    status: (f = msg.getStatus()) && proto.hashicorp.waypoint.Status.toObject(includeInstance, f),
    id: jspb.Message.getFieldWithDefault(msg, 6, ""),
    statusReport: (f = msg.getStatusReport()) && any_pb.Any.toObject(includeInstance, f),
    statusReportJson: jspb.Message.getFieldWithDefault(msg, 13, ""),
    health: (f = msg.getHealth()) && proto.hashicorp.waypoint.StatusReport.Health.toObject(includeInstance, f),
    generatedTime: (f = msg.getGeneratedTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    external: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
    resourcesList: jspb.Message.toObjectList(msg.getResourcesList(),
    proto.hashicorp.waypoint.StatusReport.Resource.toObject, includeInstance),
    deprecatedResourcesHealthList: jspb.Message.toObjectList(msg.getDeprecatedResourcesHealthList(),
    proto.hashicorp.waypoint.StatusReport.Health.toObject, includeInstance),
    instancesCount: jspb.Message.getFieldWithDefault(msg, 14, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.StatusReport}
 */
proto.hashicorp.waypoint.StatusReport.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.StatusReport;
  return proto.hashicorp.waypoint.StatusReport.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.StatusReport} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.StatusReport}
 */
proto.hashicorp.waypoint.StatusReport.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeploymentId(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setReleaseId(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.Status;
      reader.readMessage(value,proto.hashicorp.waypoint.Status.deserializeBinaryFromReader);
      msg.setStatus(value);
      break;
    case 6:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 7:
      var value = new any_pb.Any;
      reader.readMessage(value,any_pb.Any.deserializeBinaryFromReader);
      msg.setStatusReport(value);
      break;
    case 13:
      var value = /** @type {string} */ (reader.readString());
      msg.setStatusReportJson(value);
      break;
    case 8:
      var value = new proto.hashicorp.waypoint.StatusReport.Health;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusReport.Health.deserializeBinaryFromReader);
      msg.setHealth(value);
      break;
    case 10:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setGeneratedTime(value);
      break;
    case 11:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setExternal(value);
      break;
    case 12:
      var value = new proto.hashicorp.waypoint.StatusReport.Resource;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusReport.Resource.deserializeBinaryFromReader);
      msg.addResources(value);
      break;
    case 9:
      var value = new proto.hashicorp.waypoint.StatusReport.Health;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusReport.Health.deserializeBinaryFromReader);
      msg.addDeprecatedResourcesHealth(value);
      break;
    case 14:
      var value = /** @type {number} */ (reader.readUint32());
      msg.setInstancesCount(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.StatusReport.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.StatusReport.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.StatusReport} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.StatusReport.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 3));
  if (f != null) {
    writer.writeString(
      3,
      f
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 4));
  if (f != null) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getStatus();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      proto.hashicorp.waypoint.Status.serializeBinaryToWriter
    );
  }
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      6,
      f
    );
  }
  f = message.getStatusReport();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      any_pb.Any.serializeBinaryToWriter
    );
  }
  f = message.getStatusReportJson();
  if (f.length > 0) {
    writer.writeString(
      13,
      f
    );
  }
  f = message.getHealth();
  if (f != null) {
    writer.writeMessage(
      8,
      f,
      proto.hashicorp.waypoint.StatusReport.Health.serializeBinaryToWriter
    );
  }
  f = message.getGeneratedTime();
  if (f != null) {
    writer.writeMessage(
      10,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getExternal();
  if (f) {
    writer.writeBool(
      11,
      f
    );
  }
  f = message.getResourcesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      12,
      f,
      proto.hashicorp.waypoint.StatusReport.Resource.serializeBinaryToWriter
    );
  }
  f = message.getDeprecatedResourcesHealthList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      9,
      f,
      proto.hashicorp.waypoint.StatusReport.Health.serializeBinaryToWriter
    );
  }
  f = message.getInstancesCount();
  if (f !== 0) {
    writer.writeUint32(
      14,
      f
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.StatusReport.Resource.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.StatusReport.Resource} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.StatusReport.Resource.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    declaredResource: (f = msg.getDeclaredResource()) && proto.hashicorp.waypoint.Ref.DeclaredResource.toObject(includeInstance, f),
    parentResourceId: jspb.Message.getFieldWithDefault(msg, 3, ""),
    name: jspb.Message.getFieldWithDefault(msg, 4, ""),
    platform: jspb.Message.getFieldWithDefault(msg, 5, ""),
    type: jspb.Message.getFieldWithDefault(msg, 6, ""),
    platformUrl: jspb.Message.getFieldWithDefault(msg, 7, ""),
    categoryDisplayHint: jspb.Message.getFieldWithDefault(msg, 8, 0),
    createdTime: (f = msg.getCreatedTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    stateJson: jspb.Message.getFieldWithDefault(msg, 10, ""),
    health: jspb.Message.getFieldWithDefault(msg, 13, 0),
    healthMessage: jspb.Message.getFieldWithDefault(msg, 12, ""),
    deprecatedHealth: (f = msg.getDeprecatedHealth()) && proto.hashicorp.waypoint.StatusReport.Health.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource}
 */
proto.hashicorp.waypoint.StatusReport.Resource.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.StatusReport.Resource;
  return proto.hashicorp.waypoint.StatusReport.Resource.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.StatusReport.Resource} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource}
 */
proto.hashicorp.waypoint.StatusReport.Resource.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.DeclaredResource;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.DeclaredResource.deserializeBinaryFromReader);
      msg.setDeclaredResource(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setParentResourceId(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setPlatform(value);
      break;
    case 6:
      var value = /** @type {string} */ (reader.readString());
      msg.setType(value);
      break;
    case 7:
      var value = /** @type {string} */ (reader.readString());
      msg.setPlatformUrl(value);
      break;
    case 8:
      var value = /** @type {!proto.hashicorp.waypoint.ResourceCategoryDisplayHint} */ (reader.readEnum());
      msg.setCategoryDisplayHint(value);
      break;
    case 9:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setCreatedTime(value);
      break;
    case 10:
      var value = /** @type {string} */ (reader.readString());
      msg.setStateJson(value);
      break;
    case 13:
      var value = /** @type {!proto.hashicorp.waypoint.StatusReport.Resource.Health} */ (reader.readEnum());
      msg.setHealth(value);
      break;
    case 12:
      var value = /** @type {string} */ (reader.readString());
      msg.setHealthMessage(value);
      break;
    case 11:
      var value = new proto.hashicorp.waypoint.StatusReport.Health;
      reader.readMessage(value,proto.hashicorp.waypoint.StatusReport.Health.deserializeBinaryFromReader);
      msg.setDeprecatedHealth(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.StatusReport.Resource.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.StatusReport.Resource} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.StatusReport.Resource.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getDeclaredResource();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.DeclaredResource.serializeBinaryToWriter
    );
  }
  f = message.getParentResourceId();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getPlatform();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getType();
  if (f.length > 0) {
    writer.writeString(
      6,
      f
    );
  }
  f = message.getPlatformUrl();
  if (f.length > 0) {
    writer.writeString(
      7,
      f
    );
  }
  f = message.getCategoryDisplayHint();
  if (f !== 0.0) {
    writer.writeEnum(
      8,
      f
    );
  }
  f = message.getCreatedTime();
  if (f != null) {
    writer.writeMessage(
      9,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getStateJson();
  if (f.length > 0) {
    writer.writeString(
      10,
      f
    );
  }
  f = message.getHealth();
  if (f !== 0.0) {
    writer.writeEnum(
      13,
      f
    );
  }
  f = message.getHealthMessage();
  if (f.length > 0) {
    writer.writeString(
      12,
      f
    );
  }
  f = message.getDeprecatedHealth();
  if (f != null) {
    writer.writeMessage(
      11,
      f,
      proto.hashicorp.waypoint.StatusReport.Health.serializeBinaryToWriter
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.StatusReport.Resource.Health = {
  UNKNOWN: 0,
  ALIVE: 1,
  READY: 2,
  DOWN: 3,
  MISSING: 5,
  PARTIAL: 4
};

/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional Ref.DeclaredResource declared_resource = 2;
 * @return {?proto.hashicorp.waypoint.Ref.DeclaredResource}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.getDeclaredResource = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.DeclaredResource} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.DeclaredResource, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.DeclaredResource|undefined} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
*/
proto.hashicorp.waypoint.StatusReport.Resource.prototype.setDeclaredResource = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.clearDeclaredResource = function() {
  return this.setDeclaredResource(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.hasDeclaredResource = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional string parent_resource_id = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.getParentResourceId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.setParentResourceId = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string name = 4;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional string platform = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.getPlatform = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.setPlatform = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional string type = 6;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.getType = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.setType = function(value) {
  return jspb.Message.setProto3StringField(this, 6, value);
};


/**
 * optional string platform_url = 7;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.getPlatformUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.setPlatformUrl = function(value) {
  return jspb.Message.setProto3StringField(this, 7, value);
};


/**
 * optional ResourceCategoryDisplayHint category_display_hint = 8;
 * @return {!proto.hashicorp.waypoint.ResourceCategoryDisplayHint}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.getCategoryDisplayHint = function() {
  return /** @type {!proto.hashicorp.waypoint.ResourceCategoryDisplayHint} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.ResourceCategoryDisplayHint} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.setCategoryDisplayHint = function(value) {
  return jspb.Message.setProto3EnumField(this, 8, value);
};


/**
 * optional google.protobuf.Timestamp created_time = 9;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.getCreatedTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 9));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
*/
proto.hashicorp.waypoint.StatusReport.Resource.prototype.setCreatedTime = function(value) {
  return jspb.Message.setWrapperField(this, 9, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.clearCreatedTime = function() {
  return this.setCreatedTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.hasCreatedTime = function() {
  return jspb.Message.getField(this, 9) != null;
};


/**
 * optional string state_json = 10;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.getStateJson = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.setStateJson = function(value) {
  return jspb.Message.setProto3StringField(this, 10, value);
};


/**
 * optional Health health = 13;
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource.Health}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.getHealth = function() {
  return /** @type {!proto.hashicorp.waypoint.StatusReport.Resource.Health} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.StatusReport.Resource.Health} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.setHealth = function(value) {
  return jspb.Message.setProto3EnumField(this, 13, value);
};


/**
 * optional string health_message = 12;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.getHealthMessage = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.setHealthMessage = function(value) {
  return jspb.Message.setProto3StringField(this, 12, value);
};


/**
 * optional Health deprecated_health = 11;
 * @return {?proto.hashicorp.waypoint.StatusReport.Health}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.getDeprecatedHealth = function() {
  return /** @type{?proto.hashicorp.waypoint.StatusReport.Health} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.StatusReport.Health, 11));
};


/**
 * @param {?proto.hashicorp.waypoint.StatusReport.Health|undefined} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
*/
proto.hashicorp.waypoint.StatusReport.Resource.prototype.setDeprecatedHealth = function(value) {
  return jspb.Message.setWrapperField(this, 11, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource} returns this
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.clearDeprecatedHealth = function() {
  return this.setDeprecatedHealth(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.StatusReport.Resource.prototype.hasDeprecatedHealth = function() {
  return jspb.Message.getField(this, 11) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.StatusReport.Health.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.StatusReport.Health.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.StatusReport.Health} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.StatusReport.Health.toObject = function(includeInstance, msg) {
  var f, obj = {
    healthStatus: jspb.Message.getFieldWithDefault(msg, 1, ""),
    healthMessage: jspb.Message.getFieldWithDefault(msg, 2, ""),
    deprecatedName: jspb.Message.getFieldWithDefault(msg, 3, ""),
    deprecatedId: jspb.Message.getFieldWithDefault(msg, 4, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.StatusReport.Health}
 */
proto.hashicorp.waypoint.StatusReport.Health.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.StatusReport.Health;
  return proto.hashicorp.waypoint.StatusReport.Health.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.StatusReport.Health} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.StatusReport.Health}
 */
proto.hashicorp.waypoint.StatusReport.Health.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setHealthStatus(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setHealthMessage(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeprecatedName(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeprecatedId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.StatusReport.Health.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.StatusReport.Health.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.StatusReport.Health} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.StatusReport.Health.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHealthStatus();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getHealthMessage();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getDeprecatedName();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getDeprecatedId();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
};


/**
 * optional string health_status = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.Health.prototype.getHealthStatus = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Health} returns this
 */
proto.hashicorp.waypoint.StatusReport.Health.prototype.setHealthStatus = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string health_message = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.Health.prototype.getHealthMessage = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Health} returns this
 */
proto.hashicorp.waypoint.StatusReport.Health.prototype.setHealthMessage = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string deprecated_name = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.Health.prototype.getDeprecatedName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Health} returns this
 */
proto.hashicorp.waypoint.StatusReport.Health.prototype.setDeprecatedName = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string deprecated_id = 4;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.Health.prototype.getDeprecatedId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport.Health} returns this
 */
proto.hashicorp.waypoint.StatusReport.Health.prototype.setDeprecatedId = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional Ref.Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
*/
proto.hashicorp.waypoint.StatusReport.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.StatusReport.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Workspace workspace = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
*/
proto.hashicorp.waypoint.StatusReport.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.StatusReport.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional string deployment_id = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getDeploymentId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.setDeploymentId = function(value) {
  return jspb.Message.setOneofField(this, 3, proto.hashicorp.waypoint.StatusReport.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.clearDeploymentId = function() {
  return jspb.Message.setOneofField(this, 3, proto.hashicorp.waypoint.StatusReport.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.StatusReport.prototype.hasDeploymentId = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional string release_id = 4;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getReleaseId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.setReleaseId = function(value) {
  return jspb.Message.setOneofField(this, 4, proto.hashicorp.waypoint.StatusReport.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.clearReleaseId = function() {
  return jspb.Message.setOneofField(this, 4, proto.hashicorp.waypoint.StatusReport.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.StatusReport.prototype.hasReleaseId = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional Status status = 5;
 * @return {?proto.hashicorp.waypoint.Status}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getStatus = function() {
  return /** @type{?proto.hashicorp.waypoint.Status} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Status, 5));
};


/**
 * @param {?proto.hashicorp.waypoint.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
*/
proto.hashicorp.waypoint.StatusReport.prototype.setStatus = function(value) {
  return jspb.Message.setWrapperField(this, 5, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.clearStatus = function() {
  return this.setStatus(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.StatusReport.prototype.hasStatus = function() {
  return jspb.Message.getField(this, 5) != null;
};


/**
 * optional string id = 6;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 6, value);
};


/**
 * optional opaqueany.Any status_report = 7;
 * @return {?proto.opaqueany.Any}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getStatusReport = function() {
  return /** @type{?proto.opaqueany.Any} */ (
    jspb.Message.getWrapperField(this, any_pb.Any, 7));
};


/**
 * @param {?proto.opaqueany.Any|undefined} value
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
*/
proto.hashicorp.waypoint.StatusReport.prototype.setStatusReport = function(value) {
  return jspb.Message.setWrapperField(this, 7, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.clearStatusReport = function() {
  return this.setStatusReport(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.StatusReport.prototype.hasStatusReport = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional string status_report_json = 13;
 * @return {string}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getStatusReportJson = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.setStatusReportJson = function(value) {
  return jspb.Message.setProto3StringField(this, 13, value);
};


/**
 * optional Health health = 8;
 * @return {?proto.hashicorp.waypoint.StatusReport.Health}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getHealth = function() {
  return /** @type{?proto.hashicorp.waypoint.StatusReport.Health} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.StatusReport.Health, 8));
};


/**
 * @param {?proto.hashicorp.waypoint.StatusReport.Health|undefined} value
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
*/
proto.hashicorp.waypoint.StatusReport.prototype.setHealth = function(value) {
  return jspb.Message.setWrapperField(this, 8, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.clearHealth = function() {
  return this.setHealth(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.StatusReport.prototype.hasHealth = function() {
  return jspb.Message.getField(this, 8) != null;
};


/**
 * optional google.protobuf.Timestamp generated_time = 10;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getGeneratedTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
*/
proto.hashicorp.waypoint.StatusReport.prototype.setGeneratedTime = function(value) {
  return jspb.Message.setWrapperField(this, 10, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.clearGeneratedTime = function() {
  return this.setGeneratedTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.StatusReport.prototype.hasGeneratedTime = function() {
  return jspb.Message.getField(this, 10) != null;
};


/**
 * optional bool external = 11;
 * @return {boolean}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getExternal = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.setExternal = function(value) {
  return jspb.Message.setProto3BooleanField(this, 11, value);
};


/**
 * repeated Resource resources = 12;
 * @return {!Array<!proto.hashicorp.waypoint.StatusReport.Resource>}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getResourcesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.StatusReport.Resource>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.StatusReport.Resource, 12));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.StatusReport.Resource>} value
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
*/
proto.hashicorp.waypoint.StatusReport.prototype.setResourcesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 12, value);
};


/**
 * @param {!proto.hashicorp.waypoint.StatusReport.Resource=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.StatusReport.Resource}
 */
proto.hashicorp.waypoint.StatusReport.prototype.addResources = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.hashicorp.waypoint.StatusReport.Resource, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.clearResourcesList = function() {
  return this.setResourcesList([]);
};


/**
 * repeated Health deprecated_resources_health = 9;
 * @return {!Array<!proto.hashicorp.waypoint.StatusReport.Health>}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getDeprecatedResourcesHealthList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.StatusReport.Health>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.StatusReport.Health, 9));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.StatusReport.Health>} value
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
*/
proto.hashicorp.waypoint.StatusReport.prototype.setDeprecatedResourcesHealthList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 9, value);
};


/**
 * @param {!proto.hashicorp.waypoint.StatusReport.Health=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.StatusReport.Health}
 */
proto.hashicorp.waypoint.StatusReport.prototype.addDeprecatedResourcesHealth = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.hashicorp.waypoint.StatusReport.Health, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.clearDeprecatedResourcesHealthList = function() {
  return this.setDeprecatedResourcesHealthList([]);
};


/**
 * optional uint32 instances_count = 14;
 * @return {number}
 */
proto.hashicorp.waypoint.StatusReport.prototype.getInstancesCount = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.StatusReport} returns this
 */
proto.hashicorp.waypoint.StatusReport.prototype.setInstancesCount = function(value) {
  return jspb.Message.setProto3IntField(this, 14, value);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.GetLogStreamRequest.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.ScopeCase = {
  SCOPE_NOT_SET: 0,
  DEPLOYMENT_ID: 1,
  APPLICATION: 2
};

/**
 * @return {proto.hashicorp.waypoint.GetLogStreamRequest.ScopeCase}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.prototype.getScopeCase = function() {
  return /** @type {proto.hashicorp.waypoint.GetLogStreamRequest.ScopeCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.GetLogStreamRequest.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetLogStreamRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetLogStreamRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetLogStreamRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    deploymentId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.GetLogStreamRequest.Application.toObject(includeInstance, f),
    limitBacklog: jspb.Message.getFieldWithDefault(msg, 3, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetLogStreamRequest}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetLogStreamRequest;
  return proto.hashicorp.waypoint.GetLogStreamRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetLogStreamRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetLogStreamRequest}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeploymentId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.GetLogStreamRequest.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.GetLogStreamRequest.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setLimitBacklog(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetLogStreamRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetLogStreamRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetLogStreamRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = /** @type {string} */ (jspb.Message.getField(message, 1));
  if (f != null) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.GetLogStreamRequest.Application.serializeBinaryToWriter
    );
  }
  f = message.getLimitBacklog();
  if (f !== 0) {
    writer.writeInt32(
      3,
      f
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.Application.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetLogStreamRequest.Application.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetLogStreamRequest.Application} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetLogStreamRequest.Application.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetLogStreamRequest.Application}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.Application.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetLogStreamRequest.Application;
  return proto.hashicorp.waypoint.GetLogStreamRequest.Application.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetLogStreamRequest.Application} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetLogStreamRequest.Application}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.Application.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.Application.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetLogStreamRequest.Application.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetLogStreamRequest.Application} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetLogStreamRequest.Application.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Application application = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.Application.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.GetLogStreamRequest.Application} returns this
*/
proto.hashicorp.waypoint.GetLogStreamRequest.Application.prototype.setApplication = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLogStreamRequest.Application} returns this
 */
proto.hashicorp.waypoint.GetLogStreamRequest.Application.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.Application.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Workspace workspace = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.Application.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.GetLogStreamRequest.Application} returns this
*/
proto.hashicorp.waypoint.GetLogStreamRequest.Application.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLogStreamRequest.Application} returns this
 */
proto.hashicorp.waypoint.GetLogStreamRequest.Application.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.Application.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional string deployment_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.prototype.getDeploymentId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetLogStreamRequest} returns this
 */
proto.hashicorp.waypoint.GetLogStreamRequest.prototype.setDeploymentId = function(value) {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.GetLogStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLogStreamRequest} returns this
 */
proto.hashicorp.waypoint.GetLogStreamRequest.prototype.clearDeploymentId = function() {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.GetLogStreamRequest.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.prototype.hasDeploymentId = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Application application = 2;
 * @return {?proto.hashicorp.waypoint.GetLogStreamRequest.Application}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.GetLogStreamRequest.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetLogStreamRequest.Application, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.GetLogStreamRequest.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.GetLogStreamRequest} returns this
*/
proto.hashicorp.waypoint.GetLogStreamRequest.prototype.setApplication = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.GetLogStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetLogStreamRequest} returns this
 */
proto.hashicorp.waypoint.GetLogStreamRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional int32 limit_backlog = 3;
 * @return {number}
 */
proto.hashicorp.waypoint.GetLogStreamRequest.prototype.getLimitBacklog = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.GetLogStreamRequest} returns this
 */
proto.hashicorp.waypoint.GetLogStreamRequest.prototype.setLimitBacklog = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.LogBatch.repeatedFields_ = [3];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.LogBatch.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.LogBatch.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.LogBatch} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.LogBatch.toObject = function(includeInstance, msg) {
  var f, obj = {
    deploymentId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    instanceId: jspb.Message.getFieldWithDefault(msg, 2, ""),
    linesList: jspb.Message.toObjectList(msg.getLinesList(),
    proto.hashicorp.waypoint.LogBatch.Entry.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.LogBatch}
 */
proto.hashicorp.waypoint.LogBatch.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.LogBatch;
  return proto.hashicorp.waypoint.LogBatch.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.LogBatch} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.LogBatch}
 */
proto.hashicorp.waypoint.LogBatch.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeploymentId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setInstanceId(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.LogBatch.Entry;
      reader.readMessage(value,proto.hashicorp.waypoint.LogBatch.Entry.deserializeBinaryFromReader);
      msg.addLines(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.LogBatch.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.LogBatch.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.LogBatch} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.LogBatch.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDeploymentId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getInstanceId();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getLinesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      3,
      f,
      proto.hashicorp.waypoint.LogBatch.Entry.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.LogBatch.Entry.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.LogBatch.Entry.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.LogBatch.Entry} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.LogBatch.Entry.toObject = function(includeInstance, msg) {
  var f, obj = {
    source: jspb.Message.getFieldWithDefault(msg, 3, 0),
    timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    line: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.LogBatch.Entry}
 */
proto.hashicorp.waypoint.LogBatch.Entry.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.LogBatch.Entry;
  return proto.hashicorp.waypoint.LogBatch.Entry.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.LogBatch.Entry} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.LogBatch.Entry}
 */
proto.hashicorp.waypoint.LogBatch.Entry.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 3:
      var value = /** @type {!proto.hashicorp.waypoint.LogBatch.Entry.Source} */ (reader.readEnum());
      msg.setSource(value);
      break;
    case 1:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setTimestamp(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setLine(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.LogBatch.Entry.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.LogBatch.Entry.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.LogBatch.Entry} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.LogBatch.Entry.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSource();
  if (f !== 0.0) {
    writer.writeEnum(
      3,
      f
    );
  }
  f = message.getTimestamp();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getLine();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.LogBatch.Entry.Source = {
  APP: 0,
  ENTRYPOINT: 1
};

/**
 * optional Source source = 3;
 * @return {!proto.hashicorp.waypoint.LogBatch.Entry.Source}
 */
proto.hashicorp.waypoint.LogBatch.Entry.prototype.getSource = function() {
  return /** @type {!proto.hashicorp.waypoint.LogBatch.Entry.Source} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.LogBatch.Entry.Source} value
 * @return {!proto.hashicorp.waypoint.LogBatch.Entry} returns this
 */
proto.hashicorp.waypoint.LogBatch.Entry.prototype.setSource = function(value) {
  return jspb.Message.setProto3EnumField(this, 3, value);
};


/**
 * optional google.protobuf.Timestamp timestamp = 1;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.LogBatch.Entry.prototype.getTimestamp = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.LogBatch.Entry} returns this
*/
proto.hashicorp.waypoint.LogBatch.Entry.prototype.setTimestamp = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.LogBatch.Entry} returns this
 */
proto.hashicorp.waypoint.LogBatch.Entry.prototype.clearTimestamp = function() {
  return this.setTimestamp(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.LogBatch.Entry.prototype.hasTimestamp = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string line = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.LogBatch.Entry.prototype.getLine = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.LogBatch.Entry} returns this
 */
proto.hashicorp.waypoint.LogBatch.Entry.prototype.setLine = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string deployment_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.LogBatch.prototype.getDeploymentId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.LogBatch} returns this
 */
proto.hashicorp.waypoint.LogBatch.prototype.setDeploymentId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string instance_id = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.LogBatch.prototype.getInstanceId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.LogBatch} returns this
 */
proto.hashicorp.waypoint.LogBatch.prototype.setInstanceId = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * repeated Entry lines = 3;
 * @return {!Array<!proto.hashicorp.waypoint.LogBatch.Entry>}
 */
proto.hashicorp.waypoint.LogBatch.prototype.getLinesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.LogBatch.Entry>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.LogBatch.Entry, 3));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.LogBatch.Entry>} value
 * @return {!proto.hashicorp.waypoint.LogBatch} returns this
*/
proto.hashicorp.waypoint.LogBatch.prototype.setLinesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 3, value);
};


/**
 * @param {!proto.hashicorp.waypoint.LogBatch.Entry=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.LogBatch.Entry}
 */
proto.hashicorp.waypoint.LogBatch.prototype.addLines = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.hashicorp.waypoint.LogBatch.Entry, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.LogBatch} returns this
 */
proto.hashicorp.waypoint.LogBatch.prototype.clearLinesList = function() {
  return this.setLinesList([]);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.ConfigVar.oneofGroups_ = [[7,2,6],[3,4,5]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ConfigVar.ValueCase = {
  VALUE_NOT_SET: 0,
  UNSET: 7,
  STATIC: 2,
  DYNAMIC: 6
};

/**
 * @return {proto.hashicorp.waypoint.ConfigVar.ValueCase}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.getValueCase = function() {
  return /** @type {proto.hashicorp.waypoint.ConfigVar.ValueCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.ConfigVar.oneofGroups_[0]));
};

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ConfigVar.UnusedScopeCase = {
  UNUSED_SCOPE_NOT_SET: 0,
  APPLICATION: 3,
  PROJECT: 4,
  RUNNER: 5
};

/**
 * @return {proto.hashicorp.waypoint.ConfigVar.UnusedScopeCase}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.getUnusedScopeCase = function() {
  return /** @type {proto.hashicorp.waypoint.ConfigVar.UnusedScopeCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.ConfigVar.oneofGroups_[1]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ConfigVar.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ConfigVar} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigVar.toObject = function(includeInstance, msg) {
  var f, obj = {
    target: (f = msg.getTarget()) && proto.hashicorp.waypoint.ConfigVar.Target.toObject(includeInstance, f),
    name: jspb.Message.getFieldWithDefault(msg, 1, ""),
    unset: (f = msg.getUnset()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
    pb_static: jspb.Message.getFieldWithDefault(msg, 2, ""),
    dynamic: (f = msg.getDynamic()) && proto.hashicorp.waypoint.ConfigVar.DynamicVal.toObject(includeInstance, f),
    internal: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
    nameIsPath: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f),
    runner: (f = msg.getRunner()) && proto.hashicorp.waypoint.Ref.Runner.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ConfigVar}
 */
proto.hashicorp.waypoint.ConfigVar.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ConfigVar;
  return proto.hashicorp.waypoint.ConfigVar.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ConfigVar} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ConfigVar}
 */
proto.hashicorp.waypoint.ConfigVar.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 10:
      var value = new proto.hashicorp.waypoint.ConfigVar.Target;
      reader.readMessage(value,proto.hashicorp.waypoint.ConfigVar.Target.deserializeBinaryFromReader);
      msg.setTarget(value);
      break;
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 7:
      var value = new google_protobuf_empty_pb.Empty;
      reader.readMessage(value,google_protobuf_empty_pb.Empty.deserializeBinaryFromReader);
      msg.setUnset(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setStatic(value);
      break;
    case 6:
      var value = new proto.hashicorp.waypoint.ConfigVar.DynamicVal;
      reader.readMessage(value,proto.hashicorp.waypoint.ConfigVar.DynamicVal.deserializeBinaryFromReader);
      msg.setDynamic(value);
      break;
    case 8:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setInternal(value);
      break;
    case 9:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setNameIsPath(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.Ref.Runner;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Runner.deserializeBinaryFromReader);
      msg.setRunner(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ConfigVar.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ConfigVar} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigVar.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTarget();
  if (f != null) {
    writer.writeMessage(
      10,
      f,
      proto.hashicorp.waypoint.ConfigVar.Target.serializeBinaryToWriter
    );
  }
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getUnset();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      google_protobuf_empty_pb.Empty.serializeBinaryToWriter
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 2));
  if (f != null) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getDynamic();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      proto.hashicorp.waypoint.ConfigVar.DynamicVal.serializeBinaryToWriter
    );
  }
  f = message.getInternal();
  if (f) {
    writer.writeBool(
      8,
      f
    );
  }
  f = message.getNameIsPath();
  if (f) {
    writer.writeBool(
      9,
      f
    );
  }
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
  f = message.getRunner();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      proto.hashicorp.waypoint.Ref.Runner.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ConfigVar.DynamicVal.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ConfigVar.DynamicVal.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ConfigVar.DynamicVal} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigVar.DynamicVal.toObject = function(includeInstance, msg) {
  var f, obj = {
    from: jspb.Message.getFieldWithDefault(msg, 1, ""),
    configMap: (f = msg.getConfigMap()) ? f.toObject(includeInstance, undefined) : []
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ConfigVar.DynamicVal}
 */
proto.hashicorp.waypoint.ConfigVar.DynamicVal.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ConfigVar.DynamicVal;
  return proto.hashicorp.waypoint.ConfigVar.DynamicVal.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ConfigVar.DynamicVal} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ConfigVar.DynamicVal}
 */
proto.hashicorp.waypoint.ConfigVar.DynamicVal.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setFrom(value);
      break;
    case 2:
      var value = msg.getConfigMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ConfigVar.DynamicVal.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ConfigVar.DynamicVal.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ConfigVar.DynamicVal} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigVar.DynamicVal.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFrom();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getConfigMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
};


/**
 * optional string from = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.ConfigVar.DynamicVal.prototype.getFrom = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ConfigVar.DynamicVal} returns this
 */
proto.hashicorp.waypoint.ConfigVar.DynamicVal.prototype.setFrom = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * map<string, string> config = 2;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.ConfigVar.DynamicVal.prototype.getConfigMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 2, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.ConfigVar.DynamicVal} returns this
 */
proto.hashicorp.waypoint.ConfigVar.DynamicVal.prototype.clearConfigMap = function() {
  this.getConfigMap().clear();
  return this;};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.ConfigVar.Target.oneofGroups_ = [[1,2,3]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ConfigVar.Target.AppScopeCase = {
  APP_SCOPE_NOT_SET: 0,
  GLOBAL: 1,
  PROJECT: 2,
  APPLICATION: 3
};

/**
 * @return {proto.hashicorp.waypoint.ConfigVar.Target.AppScopeCase}
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.getAppScopeCase = function() {
  return /** @type {proto.hashicorp.waypoint.ConfigVar.Target.AppScopeCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.ConfigVar.Target.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ConfigVar.Target.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ConfigVar.Target} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigVar.Target.toObject = function(includeInstance, msg) {
  var f, obj = {
    global: (f = msg.getGlobal()) && proto.hashicorp.waypoint.Ref.Global.toObject(includeInstance, f),
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f),
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    labelSelector: jspb.Message.getFieldWithDefault(msg, 5, ""),
    runner: (f = msg.getRunner()) && proto.hashicorp.waypoint.Ref.Runner.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ConfigVar.Target}
 */
proto.hashicorp.waypoint.ConfigVar.Target.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ConfigVar.Target;
  return proto.hashicorp.waypoint.ConfigVar.Target.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ConfigVar.Target} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ConfigVar.Target}
 */
proto.hashicorp.waypoint.ConfigVar.Target.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Global;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Global.deserializeBinaryFromReader);
      msg.setGlobal(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setLabelSelector(value);
      break;
    case 6:
      var value = new proto.hashicorp.waypoint.Ref.Runner;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Runner.deserializeBinaryFromReader);
      msg.setRunner(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ConfigVar.Target.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ConfigVar.Target} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigVar.Target.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getGlobal();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Global.serializeBinaryToWriter
    );
  }
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getLabelSelector();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getRunner();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      proto.hashicorp.waypoint.Ref.Runner.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Global global = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Global}
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.getGlobal = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Global} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Global, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Global|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigVar.Target} returns this
*/
proto.hashicorp.waypoint.ConfigVar.Target.prototype.setGlobal = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.ConfigVar.Target.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigVar.Target} returns this
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.clearGlobal = function() {
  return this.setGlobal(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.hasGlobal = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Ref.Project project = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigVar.Target} returns this
*/
proto.hashicorp.waypoint.ConfigVar.Target.prototype.setProject = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.ConfigVar.Target.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigVar.Target} returns this
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.hasProject = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Ref.Application application = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigVar.Target} returns this
*/
proto.hashicorp.waypoint.ConfigVar.Target.prototype.setApplication = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.ConfigVar.Target.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigVar.Target} returns this
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Ref.Workspace workspace = 4;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigVar.Target} returns this
*/
proto.hashicorp.waypoint.ConfigVar.Target.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigVar.Target} returns this
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional string label_selector = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.getLabelSelector = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ConfigVar.Target} returns this
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.setLabelSelector = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional Ref.Runner runner = 6;
 * @return {?proto.hashicorp.waypoint.Ref.Runner}
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.getRunner = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Runner} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Runner, 6));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Runner|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigVar.Target} returns this
*/
proto.hashicorp.waypoint.ConfigVar.Target.prototype.setRunner = function(value) {
  return jspb.Message.setWrapperField(this, 6, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigVar.Target} returns this
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.clearRunner = function() {
  return this.setRunner(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigVar.Target.prototype.hasRunner = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * optional Target target = 10;
 * @return {?proto.hashicorp.waypoint.ConfigVar.Target}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.getTarget = function() {
  return /** @type{?proto.hashicorp.waypoint.ConfigVar.Target} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ConfigVar.Target, 10));
};


/**
 * @param {?proto.hashicorp.waypoint.ConfigVar.Target|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
*/
proto.hashicorp.waypoint.ConfigVar.prototype.setTarget = function(value) {
  return jspb.Message.setWrapperField(this, 10, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
 */
proto.hashicorp.waypoint.ConfigVar.prototype.clearTarget = function() {
  return this.setTarget(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.hasTarget = function() {
  return jspb.Message.getField(this, 10) != null;
};


/**
 * optional string name = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
 */
proto.hashicorp.waypoint.ConfigVar.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional google.protobuf.Empty unset = 7;
 * @return {?proto.google.protobuf.Empty}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.getUnset = function() {
  return /** @type{?proto.google.protobuf.Empty} */ (
    jspb.Message.getWrapperField(this, google_protobuf_empty_pb.Empty, 7));
};


/**
 * @param {?proto.google.protobuf.Empty|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
*/
proto.hashicorp.waypoint.ConfigVar.prototype.setUnset = function(value) {
  return jspb.Message.setOneofWrapperField(this, 7, proto.hashicorp.waypoint.ConfigVar.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
 */
proto.hashicorp.waypoint.ConfigVar.prototype.clearUnset = function() {
  return this.setUnset(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.hasUnset = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional string static = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.getStatic = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
 */
proto.hashicorp.waypoint.ConfigVar.prototype.setStatic = function(value) {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.ConfigVar.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
 */
proto.hashicorp.waypoint.ConfigVar.prototype.clearStatic = function() {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.ConfigVar.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.hasStatic = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional DynamicVal dynamic = 6;
 * @return {?proto.hashicorp.waypoint.ConfigVar.DynamicVal}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.getDynamic = function() {
  return /** @type{?proto.hashicorp.waypoint.ConfigVar.DynamicVal} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ConfigVar.DynamicVal, 6));
};


/**
 * @param {?proto.hashicorp.waypoint.ConfigVar.DynamicVal|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
*/
proto.hashicorp.waypoint.ConfigVar.prototype.setDynamic = function(value) {
  return jspb.Message.setOneofWrapperField(this, 6, proto.hashicorp.waypoint.ConfigVar.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
 */
proto.hashicorp.waypoint.ConfigVar.prototype.clearDynamic = function() {
  return this.setDynamic(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.hasDynamic = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * optional bool internal = 8;
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.getInternal = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
 */
proto.hashicorp.waypoint.ConfigVar.prototype.setInternal = function(value) {
  return jspb.Message.setProto3BooleanField(this, 8, value);
};


/**
 * optional bool name_is_path = 9;
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.getNameIsPath = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
 */
proto.hashicorp.waypoint.ConfigVar.prototype.setNameIsPath = function(value) {
  return jspb.Message.setProto3BooleanField(this, 9, value);
};


/**
 * optional Ref.Application application = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
*/
proto.hashicorp.waypoint.ConfigVar.prototype.setApplication = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.ConfigVar.oneofGroups_[1], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
 */
proto.hashicorp.waypoint.ConfigVar.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Ref.Project project = 4;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
*/
proto.hashicorp.waypoint.ConfigVar.prototype.setProject = function(value) {
  return jspb.Message.setOneofWrapperField(this, 4, proto.hashicorp.waypoint.ConfigVar.oneofGroups_[1], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
 */
proto.hashicorp.waypoint.ConfigVar.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.hasProject = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional Ref.Runner runner = 5;
 * @return {?proto.hashicorp.waypoint.Ref.Runner}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.getRunner = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Runner} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Runner, 5));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Runner|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
*/
proto.hashicorp.waypoint.ConfigVar.prototype.setRunner = function(value) {
  return jspb.Message.setOneofWrapperField(this, 5, proto.hashicorp.waypoint.ConfigVar.oneofGroups_[1], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigVar} returns this
 */
proto.hashicorp.waypoint.ConfigVar.prototype.clearRunner = function() {
  return this.setRunner(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigVar.prototype.hasRunner = function() {
  return jspb.Message.getField(this, 5) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ConfigSetRequest.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ConfigSetRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ConfigSetRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ConfigSetRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigSetRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    variablesList: jspb.Message.toObjectList(msg.getVariablesList(),
    proto.hashicorp.waypoint.ConfigVar.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ConfigSetRequest}
 */
proto.hashicorp.waypoint.ConfigSetRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ConfigSetRequest;
  return proto.hashicorp.waypoint.ConfigSetRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ConfigSetRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ConfigSetRequest}
 */
proto.hashicorp.waypoint.ConfigSetRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.ConfigVar;
      reader.readMessage(value,proto.hashicorp.waypoint.ConfigVar.deserializeBinaryFromReader);
      msg.addVariables(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ConfigSetRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ConfigSetRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ConfigSetRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigSetRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getVariablesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.ConfigVar.serializeBinaryToWriter
    );
  }
};


/**
 * repeated ConfigVar variables = 1;
 * @return {!Array<!proto.hashicorp.waypoint.ConfigVar>}
 */
proto.hashicorp.waypoint.ConfigSetRequest.prototype.getVariablesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.ConfigVar>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.ConfigVar, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.ConfigVar>} value
 * @return {!proto.hashicorp.waypoint.ConfigSetRequest} returns this
*/
proto.hashicorp.waypoint.ConfigSetRequest.prototype.setVariablesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.ConfigVar=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.ConfigVar}
 */
proto.hashicorp.waypoint.ConfigSetRequest.prototype.addVariables = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.ConfigVar, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ConfigSetRequest} returns this
 */
proto.hashicorp.waypoint.ConfigSetRequest.prototype.clearVariablesList = function() {
  return this.setVariablesList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ConfigSetResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ConfigSetResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ConfigSetResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigSetResponse.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ConfigSetResponse}
 */
proto.hashicorp.waypoint.ConfigSetResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ConfigSetResponse;
  return proto.hashicorp.waypoint.ConfigSetResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ConfigSetResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ConfigSetResponse}
 */
proto.hashicorp.waypoint.ConfigSetResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ConfigSetResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ConfigSetResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ConfigSetResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigSetResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.ConfigGetRequest.oneofGroups_ = [[2,3]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ConfigGetRequest.ScopeCase = {
  SCOPE_NOT_SET: 0,
  APPLICATION: 2,
  PROJECT: 3
};

/**
 * @return {proto.hashicorp.waypoint.ConfigGetRequest.ScopeCase}
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.getScopeCase = function() {
  return /** @type {proto.hashicorp.waypoint.ConfigGetRequest.ScopeCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.ConfigGetRequest.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ConfigGetRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ConfigGetRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigGetRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    application: (f = msg.getApplication()) && proto.hashicorp.waypoint.Ref.Application.toObject(includeInstance, f),
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f),
    runner: (f = msg.getRunner()) && proto.hashicorp.waypoint.Ref.RunnerId.toObject(includeInstance, f),
    workspace: (f = msg.getWorkspace()) && proto.hashicorp.waypoint.Ref.Workspace.toObject(includeInstance, f),
    labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [],
    prefix: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ConfigGetRequest}
 */
proto.hashicorp.waypoint.ConfigGetRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ConfigGetRequest;
  return proto.hashicorp.waypoint.ConfigGetRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ConfigGetRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ConfigGetRequest}
 */
proto.hashicorp.waypoint.ConfigGetRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.Application;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Application.deserializeBinaryFromReader);
      msg.setApplication(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Ref.RunnerId;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.RunnerId.deserializeBinaryFromReader);
      msg.setRunner(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.Ref.Workspace;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Workspace.deserializeBinaryFromReader);
      msg.setWorkspace(value);
      break;
    case 6:
      var value = msg.getLabelsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setPrefix(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ConfigGetRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ConfigGetRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigGetRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getApplication();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.Application.serializeBinaryToWriter
    );
  }
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
  f = message.getRunner();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Ref.RunnerId.serializeBinaryToWriter
    );
  }
  f = message.getWorkspace();
  if (f != null) {
    writer.writeMessage(
      5,
      f,
      proto.hashicorp.waypoint.Ref.Workspace.serializeBinaryToWriter
    );
  }
  f = message.getLabelsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
  f = message.getPrefix();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional Ref.Application application = 2;
 * @return {?proto.hashicorp.waypoint.Ref.Application}
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.getApplication = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Application} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Application, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Application|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigGetRequest} returns this
*/
proto.hashicorp.waypoint.ConfigGetRequest.prototype.setApplication = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.ConfigGetRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigGetRequest} returns this
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.clearApplication = function() {
  return this.setApplication(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.hasApplication = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Ref.Project project = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigGetRequest} returns this
*/
proto.hashicorp.waypoint.ConfigGetRequest.prototype.setProject = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.ConfigGetRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigGetRequest} returns this
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.hasProject = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Ref.RunnerId runner = 4;
 * @return {?proto.hashicorp.waypoint.Ref.RunnerId}
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.getRunner = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.RunnerId} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.RunnerId, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.RunnerId|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigGetRequest} returns this
*/
proto.hashicorp.waypoint.ConfigGetRequest.prototype.setRunner = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigGetRequest} returns this
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.clearRunner = function() {
  return this.setRunner(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.hasRunner = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional Ref.Workspace workspace = 5;
 * @return {?proto.hashicorp.waypoint.Ref.Workspace}
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.getWorkspace = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Workspace} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Workspace, 5));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Workspace|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigGetRequest} returns this
*/
proto.hashicorp.waypoint.ConfigGetRequest.prototype.setWorkspace = function(value) {
  return jspb.Message.setWrapperField(this, 5, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigGetRequest} returns this
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.clearWorkspace = function() {
  return this.setWorkspace(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.hasWorkspace = function() {
  return jspb.Message.getField(this, 5) != null;
};


/**
 * map<string, string> labels = 6;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.getLabelsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 6, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.ConfigGetRequest} returns this
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.clearLabelsMap = function() {
  this.getLabelsMap().clear();
  return this;};


/**
 * optional string prefix = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.getPrefix = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ConfigGetRequest} returns this
 */
proto.hashicorp.waypoint.ConfigGetRequest.prototype.setPrefix = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ConfigGetResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ConfigGetResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ConfigGetResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ConfigGetResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigGetResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    variablesList: jspb.Message.toObjectList(msg.getVariablesList(),
    proto.hashicorp.waypoint.ConfigVar.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ConfigGetResponse}
 */
proto.hashicorp.waypoint.ConfigGetResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ConfigGetResponse;
  return proto.hashicorp.waypoint.ConfigGetResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ConfigGetResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ConfigGetResponse}
 */
proto.hashicorp.waypoint.ConfigGetResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.ConfigVar;
      reader.readMessage(value,proto.hashicorp.waypoint.ConfigVar.deserializeBinaryFromReader);
      msg.addVariables(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ConfigGetResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ConfigGetResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ConfigGetResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigGetResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getVariablesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.ConfigVar.serializeBinaryToWriter
    );
  }
};


/**
 * repeated ConfigVar variables = 1;
 * @return {!Array<!proto.hashicorp.waypoint.ConfigVar>}
 */
proto.hashicorp.waypoint.ConfigGetResponse.prototype.getVariablesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.ConfigVar>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.ConfigVar, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.ConfigVar>} value
 * @return {!proto.hashicorp.waypoint.ConfigGetResponse} returns this
*/
proto.hashicorp.waypoint.ConfigGetResponse.prototype.setVariablesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.ConfigVar=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.ConfigVar}
 */
proto.hashicorp.waypoint.ConfigGetResponse.prototype.addVariables = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.ConfigVar, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ConfigGetResponse} returns this
 */
proto.hashicorp.waypoint.ConfigGetResponse.prototype.clearVariablesList = function() {
  return this.setVariablesList([]);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.ConfigSource.oneofGroups_ = [[50]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ConfigSource.ScopeCase = {
  SCOPE_NOT_SET: 0,
  GLOBAL: 50
};

/**
 * @return {proto.hashicorp.waypoint.ConfigSource.ScopeCase}
 */
proto.hashicorp.waypoint.ConfigSource.prototype.getScopeCase = function() {
  return /** @type {proto.hashicorp.waypoint.ConfigSource.ScopeCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.ConfigSource.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ConfigSource.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ConfigSource.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ConfigSource} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigSource.toObject = function(includeInstance, msg) {
  var f, obj = {
    pb_delete: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
    global: (f = msg.getGlobal()) && proto.hashicorp.waypoint.Ref.Global.toObject(includeInstance, f),
    type: jspb.Message.getFieldWithDefault(msg, 1, ""),
    configMap: (f = msg.getConfigMap()) ? f.toObject(includeInstance, undefined) : [],
    hash: jspb.Message.getFieldWithDefault(msg, 4, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ConfigSource}
 */
proto.hashicorp.waypoint.ConfigSource.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ConfigSource;
  return proto.hashicorp.waypoint.ConfigSource.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ConfigSource} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ConfigSource}
 */
proto.hashicorp.waypoint.ConfigSource.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 3:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setDelete(value);
      break;
    case 50:
      var value = new proto.hashicorp.waypoint.Ref.Global;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Global.deserializeBinaryFromReader);
      msg.setGlobal(value);
      break;
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setType(value);
      break;
    case 2:
      var value = msg.getConfigMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    case 4:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setHash(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ConfigSource.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ConfigSource.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ConfigSource} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigSource.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDelete();
  if (f) {
    writer.writeBool(
      3,
      f
    );
  }
  f = message.getGlobal();
  if (f != null) {
    writer.writeMessage(
      50,
      f,
      proto.hashicorp.waypoint.Ref.Global.serializeBinaryToWriter
    );
  }
  f = message.getType();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getConfigMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
  f = message.getHash();
  if (f !== 0) {
    writer.writeUint64(
      4,
      f
    );
  }
};


/**
 * optional bool delete = 3;
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigSource.prototype.getDelete = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.ConfigSource} returns this
 */
proto.hashicorp.waypoint.ConfigSource.prototype.setDelete = function(value) {
  return jspb.Message.setProto3BooleanField(this, 3, value);
};


/**
 * optional Ref.Global global = 50;
 * @return {?proto.hashicorp.waypoint.Ref.Global}
 */
proto.hashicorp.waypoint.ConfigSource.prototype.getGlobal = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Global} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Global, 50));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Global|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigSource} returns this
*/
proto.hashicorp.waypoint.ConfigSource.prototype.setGlobal = function(value) {
  return jspb.Message.setOneofWrapperField(this, 50, proto.hashicorp.waypoint.ConfigSource.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigSource} returns this
 */
proto.hashicorp.waypoint.ConfigSource.prototype.clearGlobal = function() {
  return this.setGlobal(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigSource.prototype.hasGlobal = function() {
  return jspb.Message.getField(this, 50) != null;
};


/**
 * optional string type = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.ConfigSource.prototype.getType = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ConfigSource} returns this
 */
proto.hashicorp.waypoint.ConfigSource.prototype.setType = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * map<string, string> config = 2;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.ConfigSource.prototype.getConfigMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 2, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.ConfigSource} returns this
 */
proto.hashicorp.waypoint.ConfigSource.prototype.clearConfigMap = function() {
  this.getConfigMap().clear();
  return this;};


/**
 * optional uint64 hash = 4;
 * @return {number}
 */
proto.hashicorp.waypoint.ConfigSource.prototype.getHash = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.ConfigSource} returns this
 */
proto.hashicorp.waypoint.ConfigSource.prototype.setHash = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.SetConfigSourceRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.SetConfigSourceRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.SetConfigSourceRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.SetConfigSourceRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    configSource: (f = msg.getConfigSource()) && proto.hashicorp.waypoint.ConfigSource.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.SetConfigSourceRequest}
 */
proto.hashicorp.waypoint.SetConfigSourceRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.SetConfigSourceRequest;
  return proto.hashicorp.waypoint.SetConfigSourceRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.SetConfigSourceRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.SetConfigSourceRequest}
 */
proto.hashicorp.waypoint.SetConfigSourceRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.ConfigSource;
      reader.readMessage(value,proto.hashicorp.waypoint.ConfigSource.deserializeBinaryFromReader);
      msg.setConfigSource(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.SetConfigSourceRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.SetConfigSourceRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.SetConfigSourceRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.SetConfigSourceRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfigSource();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.ConfigSource.serializeBinaryToWriter
    );
  }
};


/**
 * optional ConfigSource config_source = 1;
 * @return {?proto.hashicorp.waypoint.ConfigSource}
 */
proto.hashicorp.waypoint.SetConfigSourceRequest.prototype.getConfigSource = function() {
  return /** @type{?proto.hashicorp.waypoint.ConfigSource} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ConfigSource, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.ConfigSource|undefined} value
 * @return {!proto.hashicorp.waypoint.SetConfigSourceRequest} returns this
*/
proto.hashicorp.waypoint.SetConfigSourceRequest.prototype.setConfigSource = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.SetConfigSourceRequest} returns this
 */
proto.hashicorp.waypoint.SetConfigSourceRequest.prototype.clearConfigSource = function() {
  return this.setConfigSource(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.SetConfigSourceRequest.prototype.hasConfigSource = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.GetConfigSourceRequest.oneofGroups_ = [[50]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.GetConfigSourceRequest.ScopeCase = {
  SCOPE_NOT_SET: 0,
  GLOBAL: 50
};

/**
 * @return {proto.hashicorp.waypoint.GetConfigSourceRequest.ScopeCase}
 */
proto.hashicorp.waypoint.GetConfigSourceRequest.prototype.getScopeCase = function() {
  return /** @type {proto.hashicorp.waypoint.GetConfigSourceRequest.ScopeCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.GetConfigSourceRequest.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetConfigSourceRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetConfigSourceRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetConfigSourceRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetConfigSourceRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    global: (f = msg.getGlobal()) && proto.hashicorp.waypoint.Ref.Global.toObject(includeInstance, f),
    type: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetConfigSourceRequest}
 */
proto.hashicorp.waypoint.GetConfigSourceRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetConfigSourceRequest;
  return proto.hashicorp.waypoint.GetConfigSourceRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetConfigSourceRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetConfigSourceRequest}
 */
proto.hashicorp.waypoint.GetConfigSourceRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 50:
      var value = new proto.hashicorp.waypoint.Ref.Global;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Global.deserializeBinaryFromReader);
      msg.setGlobal(value);
      break;
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setType(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetConfigSourceRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetConfigSourceRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetConfigSourceRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetConfigSourceRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getGlobal();
  if (f != null) {
    writer.writeMessage(
      50,
      f,
      proto.hashicorp.waypoint.Ref.Global.serializeBinaryToWriter
    );
  }
  f = message.getType();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional Ref.Global global = 50;
 * @return {?proto.hashicorp.waypoint.Ref.Global}
 */
proto.hashicorp.waypoint.GetConfigSourceRequest.prototype.getGlobal = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Global} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Global, 50));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Global|undefined} value
 * @return {!proto.hashicorp.waypoint.GetConfigSourceRequest} returns this
*/
proto.hashicorp.waypoint.GetConfigSourceRequest.prototype.setGlobal = function(value) {
  return jspb.Message.setOneofWrapperField(this, 50, proto.hashicorp.waypoint.GetConfigSourceRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetConfigSourceRequest} returns this
 */
proto.hashicorp.waypoint.GetConfigSourceRequest.prototype.clearGlobal = function() {
  return this.setGlobal(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetConfigSourceRequest.prototype.hasGlobal = function() {
  return jspb.Message.getField(this, 50) != null;
};


/**
 * optional string type = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.GetConfigSourceRequest.prototype.getType = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetConfigSourceRequest} returns this
 */
proto.hashicorp.waypoint.GetConfigSourceRequest.prototype.setType = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.GetConfigSourceResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetConfigSourceResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetConfigSourceResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetConfigSourceResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetConfigSourceResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    configSourcesList: jspb.Message.toObjectList(msg.getConfigSourcesList(),
    proto.hashicorp.waypoint.ConfigSource.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetConfigSourceResponse}
 */
proto.hashicorp.waypoint.GetConfigSourceResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetConfigSourceResponse;
  return proto.hashicorp.waypoint.GetConfigSourceResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetConfigSourceResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetConfigSourceResponse}
 */
proto.hashicorp.waypoint.GetConfigSourceResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.ConfigSource;
      reader.readMessage(value,proto.hashicorp.waypoint.ConfigSource.deserializeBinaryFromReader);
      msg.addConfigSources(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetConfigSourceResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetConfigSourceResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetConfigSourceResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetConfigSourceResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfigSourcesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.ConfigSource.serializeBinaryToWriter
    );
  }
};


/**
 * repeated ConfigSource config_sources = 1;
 * @return {!Array<!proto.hashicorp.waypoint.ConfigSource>}
 */
proto.hashicorp.waypoint.GetConfigSourceResponse.prototype.getConfigSourcesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.ConfigSource>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.ConfigSource, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.ConfigSource>} value
 * @return {!proto.hashicorp.waypoint.GetConfigSourceResponse} returns this
*/
proto.hashicorp.waypoint.GetConfigSourceResponse.prototype.setConfigSourcesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.ConfigSource=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.ConfigSource}
 */
proto.hashicorp.waypoint.GetConfigSourceResponse.prototype.addConfigSources = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.ConfigSource, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.GetConfigSourceResponse} returns this
 */
proto.hashicorp.waypoint.GetConfigSourceResponse.prototype.clearConfigSourcesList = function() {
  return this.setConfigSourcesList([]);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.ExecStreamRequest.oneofGroups_ = [[1,2,3,4]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ExecStreamRequest.EventCase = {
  EVENT_NOT_SET: 0,
  START: 1,
  INPUT: 2,
  WINCH: 3,
  INPUT_EOF: 4
};

/**
 * @return {proto.hashicorp.waypoint.ExecStreamRequest.EventCase}
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.getEventCase = function() {
  return /** @type {proto.hashicorp.waypoint.ExecStreamRequest.EventCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.ExecStreamRequest.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ExecStreamRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    start: (f = msg.getStart()) && proto.hashicorp.waypoint.ExecStreamRequest.Start.toObject(includeInstance, f),
    input: (f = msg.getInput()) && proto.hashicorp.waypoint.ExecStreamRequest.Input.toObject(includeInstance, f),
    winch: (f = msg.getWinch()) && proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.toObject(includeInstance, f),
    inputEof: (f = msg.getInputEof()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest}
 */
proto.hashicorp.waypoint.ExecStreamRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ExecStreamRequest;
  return proto.hashicorp.waypoint.ExecStreamRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest}
 */
proto.hashicorp.waypoint.ExecStreamRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.ExecStreamRequest.Start;
      reader.readMessage(value,proto.hashicorp.waypoint.ExecStreamRequest.Start.deserializeBinaryFromReader);
      msg.setStart(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.ExecStreamRequest.Input;
      reader.readMessage(value,proto.hashicorp.waypoint.ExecStreamRequest.Input.deserializeBinaryFromReader);
      msg.setInput(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.ExecStreamRequest.WindowSize;
      reader.readMessage(value,proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.deserializeBinaryFromReader);
      msg.setWinch(value);
      break;
    case 4:
      var value = new google_protobuf_empty_pb.Empty;
      reader.readMessage(value,google_protobuf_empty_pb.Empty.deserializeBinaryFromReader);
      msg.setInputEof(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ExecStreamRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getStart();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.ExecStreamRequest.Start.serializeBinaryToWriter
    );
  }
  f = message.getInput();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.ExecStreamRequest.Input.serializeBinaryToWriter
    );
  }
  f = message.getWinch();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.serializeBinaryToWriter
    );
  }
  f = message.getInputEof();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      google_protobuf_empty_pb.Empty.serializeBinaryToWriter
    );
  }
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.repeatedFields_ = [2];

/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.oneofGroups_ = [[1,4]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.TargetCase = {
  TARGET_NOT_SET: 0,
  DEPLOYMENT_ID: 1,
  INSTANCE_ID: 4
};

/**
 * @return {proto.hashicorp.waypoint.ExecStreamRequest.Start.TargetCase}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.getTargetCase = function() {
  return /** @type {proto.hashicorp.waypoint.ExecStreamRequest.Start.TargetCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.ExecStreamRequest.Start.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ExecStreamRequest.Start.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest.Start} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.toObject = function(includeInstance, msg) {
  var f, obj = {
    deploymentId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    instanceId: jspb.Message.getFieldWithDefault(msg, 4, ""),
    argsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
    pty: (f = msg.getPty()) && proto.hashicorp.waypoint.ExecStreamRequest.PTY.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.Start}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ExecStreamRequest.Start;
  return proto.hashicorp.waypoint.ExecStreamRequest.Start.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest.Start} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.Start}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeploymentId(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setInstanceId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.addArgs(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.ExecStreamRequest.PTY;
      reader.readMessage(value,proto.hashicorp.waypoint.ExecStreamRequest.PTY.deserializeBinaryFromReader);
      msg.setPty(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ExecStreamRequest.Start.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest.Start} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = /** @type {string} */ (jspb.Message.getField(message, 1));
  if (f != null) {
    writer.writeString(
      1,
      f
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 4));
  if (f != null) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getArgsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      2,
      f
    );
  }
  f = message.getPty();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.ExecStreamRequest.PTY.serializeBinaryToWriter
    );
  }
};


/**
 * optional string deployment_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.getDeploymentId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.Start} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.setDeploymentId = function(value) {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.ExecStreamRequest.Start.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.Start} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.clearDeploymentId = function() {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.ExecStreamRequest.Start.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.hasDeploymentId = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string instance_id = 4;
 * @return {string}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.getInstanceId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.Start} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.setInstanceId = function(value) {
  return jspb.Message.setOneofField(this, 4, proto.hashicorp.waypoint.ExecStreamRequest.Start.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.Start} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.clearInstanceId = function() {
  return jspb.Message.setOneofField(this, 4, proto.hashicorp.waypoint.ExecStreamRequest.Start.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.hasInstanceId = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * repeated string args = 2;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.getArgsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.Start} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.setArgsList = function(value) {
  return jspb.Message.setField(this, 2, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.Start} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.addArgs = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.Start} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.clearArgsList = function() {
  return this.setArgsList([]);
};


/**
 * optional PTY pty = 3;
 * @return {?proto.hashicorp.waypoint.ExecStreamRequest.PTY}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.getPty = function() {
  return /** @type{?proto.hashicorp.waypoint.ExecStreamRequest.PTY} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ExecStreamRequest.PTY, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.ExecStreamRequest.PTY|undefined} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.Start} returns this
*/
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.setPty = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.Start} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.clearPty = function() {
  return this.setPty(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Start.prototype.hasPty = function() {
  return jspb.Message.getField(this, 3) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Input.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ExecStreamRequest.Input.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest.Input} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamRequest.Input.toObject = function(includeInstance, msg) {
  var f, obj = {
    data: msg.getData_asB64()
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.Input}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Input.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ExecStreamRequest.Input;
  return proto.hashicorp.waypoint.ExecStreamRequest.Input.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest.Input} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.Input}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Input.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setData(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Input.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ExecStreamRequest.Input.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest.Input} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamRequest.Input.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getData_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      1,
      f
    );
  }
};


/**
 * optional bytes data = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Input.prototype.getData = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * optional bytes data = 1;
 * This is a type-conversion wrapper around `getData()`
 * @return {string}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Input.prototype.getData_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getData()));
};


/**
 * optional bytes data = 1;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getData()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ExecStreamRequest.Input.prototype.getData_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getData()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.Input} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.Input.prototype.setData = function(value) {
  return jspb.Message.setProto3BytesField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ExecStreamRequest.PTY.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ExecStreamRequest.PTY.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest.PTY} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamRequest.PTY.toObject = function(includeInstance, msg) {
  var f, obj = {
    enable: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
    term: jspb.Message.getFieldWithDefault(msg, 2, ""),
    windowSize: (f = msg.getWindowSize()) && proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.PTY}
 */
proto.hashicorp.waypoint.ExecStreamRequest.PTY.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ExecStreamRequest.PTY;
  return proto.hashicorp.waypoint.ExecStreamRequest.PTY.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest.PTY} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.PTY}
 */
proto.hashicorp.waypoint.ExecStreamRequest.PTY.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setEnable(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setTerm(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.ExecStreamRequest.WindowSize;
      reader.readMessage(value,proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.deserializeBinaryFromReader);
      msg.setWindowSize(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ExecStreamRequest.PTY.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ExecStreamRequest.PTY.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest.PTY} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamRequest.PTY.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getEnable();
  if (f) {
    writer.writeBool(
      1,
      f
    );
  }
  f = message.getTerm();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getWindowSize();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.serializeBinaryToWriter
    );
  }
};


/**
 * optional bool enable = 1;
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExecStreamRequest.PTY.prototype.getEnable = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.PTY} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.PTY.prototype.setEnable = function(value) {
  return jspb.Message.setProto3BooleanField(this, 1, value);
};


/**
 * optional string term = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.ExecStreamRequest.PTY.prototype.getTerm = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.PTY} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.PTY.prototype.setTerm = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional WindowSize window_size = 3;
 * @return {?proto.hashicorp.waypoint.ExecStreamRequest.WindowSize}
 */
proto.hashicorp.waypoint.ExecStreamRequest.PTY.prototype.getWindowSize = function() {
  return /** @type{?proto.hashicorp.waypoint.ExecStreamRequest.WindowSize} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ExecStreamRequest.WindowSize, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.ExecStreamRequest.WindowSize|undefined} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.PTY} returns this
*/
proto.hashicorp.waypoint.ExecStreamRequest.PTY.prototype.setWindowSize = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.PTY} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.PTY.prototype.clearWindowSize = function() {
  return this.setWindowSize(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExecStreamRequest.PTY.prototype.hasWindowSize = function() {
  return jspb.Message.getField(this, 3) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest.WindowSize} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.toObject = function(includeInstance, msg) {
  var f, obj = {
    rows: jspb.Message.getFieldWithDefault(msg, 1, 0),
    cols: jspb.Message.getFieldWithDefault(msg, 2, 0),
    width: jspb.Message.getFieldWithDefault(msg, 3, 0),
    height: jspb.Message.getFieldWithDefault(msg, 4, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.WindowSize}
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ExecStreamRequest.WindowSize;
  return proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest.WindowSize} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.WindowSize}
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setRows(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setCols(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setWidth(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setHeight(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ExecStreamRequest.WindowSize} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRows();
  if (f !== 0) {
    writer.writeInt32(
      1,
      f
    );
  }
  f = message.getCols();
  if (f !== 0) {
    writer.writeInt32(
      2,
      f
    );
  }
  f = message.getWidth();
  if (f !== 0) {
    writer.writeInt32(
      3,
      f
    );
  }
  f = message.getHeight();
  if (f !== 0) {
    writer.writeInt32(
      4,
      f
    );
  }
};


/**
 * optional int32 rows = 1;
 * @return {number}
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.prototype.getRows = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.WindowSize} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.prototype.setRows = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};


/**
 * optional int32 cols = 2;
 * @return {number}
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.prototype.getCols = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.WindowSize} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.prototype.setCols = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional int32 width = 3;
 * @return {number}
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.prototype.getWidth = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.WindowSize} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.prototype.setWidth = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional int32 height = 4;
 * @return {number}
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.prototype.getHeight = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest.WindowSize} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.prototype.setHeight = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};


/**
 * optional Start start = 1;
 * @return {?proto.hashicorp.waypoint.ExecStreamRequest.Start}
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.getStart = function() {
  return /** @type{?proto.hashicorp.waypoint.ExecStreamRequest.Start} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ExecStreamRequest.Start, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.ExecStreamRequest.Start|undefined} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest} returns this
*/
proto.hashicorp.waypoint.ExecStreamRequest.prototype.setStart = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.ExecStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.clearStart = function() {
  return this.setStart(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.hasStart = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Input input = 2;
 * @return {?proto.hashicorp.waypoint.ExecStreamRequest.Input}
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.getInput = function() {
  return /** @type{?proto.hashicorp.waypoint.ExecStreamRequest.Input} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ExecStreamRequest.Input, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.ExecStreamRequest.Input|undefined} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest} returns this
*/
proto.hashicorp.waypoint.ExecStreamRequest.prototype.setInput = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.ExecStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.clearInput = function() {
  return this.setInput(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.hasInput = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional WindowSize winch = 3;
 * @return {?proto.hashicorp.waypoint.ExecStreamRequest.WindowSize}
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.getWinch = function() {
  return /** @type{?proto.hashicorp.waypoint.ExecStreamRequest.WindowSize} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ExecStreamRequest.WindowSize, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.ExecStreamRequest.WindowSize|undefined} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest} returns this
*/
proto.hashicorp.waypoint.ExecStreamRequest.prototype.setWinch = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.ExecStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.clearWinch = function() {
  return this.setWinch(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.hasWinch = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional google.protobuf.Empty input_eof = 4;
 * @return {?proto.google.protobuf.Empty}
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.getInputEof = function() {
  return /** @type{?proto.google.protobuf.Empty} */ (
    jspb.Message.getWrapperField(this, google_protobuf_empty_pb.Empty, 4));
};


/**
 * @param {?proto.google.protobuf.Empty|undefined} value
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest} returns this
*/
proto.hashicorp.waypoint.ExecStreamRequest.prototype.setInputEof = function(value) {
  return jspb.Message.setOneofWrapperField(this, 4, proto.hashicorp.waypoint.ExecStreamRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ExecStreamRequest} returns this
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.clearInputEof = function() {
  return this.setInputEof(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExecStreamRequest.prototype.hasInputEof = function() {
  return jspb.Message.getField(this, 4) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.ExecStreamResponse.oneofGroups_ = [[3,1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ExecStreamResponse.EventCase = {
  EVENT_NOT_SET: 0,
  OPEN: 3,
  OUTPUT: 1,
  EXIT: 2
};

/**
 * @return {proto.hashicorp.waypoint.ExecStreamResponse.EventCase}
 */
proto.hashicorp.waypoint.ExecStreamResponse.prototype.getEventCase = function() {
  return /** @type {proto.hashicorp.waypoint.ExecStreamResponse.EventCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.ExecStreamResponse.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ExecStreamResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ExecStreamResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ExecStreamResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    open: (f = msg.getOpen()) && proto.hashicorp.waypoint.ExecStreamResponse.Open.toObject(includeInstance, f),
    output: (f = msg.getOutput()) && proto.hashicorp.waypoint.ExecStreamResponse.Output.toObject(includeInstance, f),
    exit: (f = msg.getExit()) && proto.hashicorp.waypoint.ExecStreamResponse.Exit.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse}
 */
proto.hashicorp.waypoint.ExecStreamResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ExecStreamResponse;
  return proto.hashicorp.waypoint.ExecStreamResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ExecStreamResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse}
 */
proto.hashicorp.waypoint.ExecStreamResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 3:
      var value = new proto.hashicorp.waypoint.ExecStreamResponse.Open;
      reader.readMessage(value,proto.hashicorp.waypoint.ExecStreamResponse.Open.deserializeBinaryFromReader);
      msg.setOpen(value);
      break;
    case 1:
      var value = new proto.hashicorp.waypoint.ExecStreamResponse.Output;
      reader.readMessage(value,proto.hashicorp.waypoint.ExecStreamResponse.Output.deserializeBinaryFromReader);
      msg.setOutput(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.ExecStreamResponse.Exit;
      reader.readMessage(value,proto.hashicorp.waypoint.ExecStreamResponse.Exit.deserializeBinaryFromReader);
      msg.setExit(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ExecStreamResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ExecStreamResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ExecStreamResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getOpen();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.ExecStreamResponse.Open.serializeBinaryToWriter
    );
  }
  f = message.getOutput();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.ExecStreamResponse.Output.serializeBinaryToWriter
    );
  }
  f = message.getExit();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.ExecStreamResponse.Exit.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Open.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ExecStreamResponse.Open.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ExecStreamResponse.Open} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamResponse.Open.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse.Open}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Open.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ExecStreamResponse.Open;
  return proto.hashicorp.waypoint.ExecStreamResponse.Open.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ExecStreamResponse.Open} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse.Open}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Open.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Open.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ExecStreamResponse.Open.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ExecStreamResponse.Open} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamResponse.Open.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Exit.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ExecStreamResponse.Exit.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ExecStreamResponse.Exit} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamResponse.Exit.toObject = function(includeInstance, msg) {
  var f, obj = {
    code: jspb.Message.getFieldWithDefault(msg, 1, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse.Exit}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Exit.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ExecStreamResponse.Exit;
  return proto.hashicorp.waypoint.ExecStreamResponse.Exit.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ExecStreamResponse.Exit} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse.Exit}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Exit.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setCode(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Exit.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ExecStreamResponse.Exit.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ExecStreamResponse.Exit} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamResponse.Exit.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getCode();
  if (f !== 0) {
    writer.writeInt32(
      1,
      f
    );
  }
};


/**
 * optional int32 code = 1;
 * @return {number}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Exit.prototype.getCode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse.Exit} returns this
 */
proto.hashicorp.waypoint.ExecStreamResponse.Exit.prototype.setCode = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Output.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ExecStreamResponse.Output.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ExecStreamResponse.Output} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamResponse.Output.toObject = function(includeInstance, msg) {
  var f, obj = {
    channel: jspb.Message.getFieldWithDefault(msg, 1, 0),
    data: msg.getData_asB64()
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse.Output}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Output.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ExecStreamResponse.Output;
  return proto.hashicorp.waypoint.ExecStreamResponse.Output.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ExecStreamResponse.Output} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse.Output}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Output.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!proto.hashicorp.waypoint.ExecStreamResponse.Output.Channel} */ (reader.readEnum());
      msg.setChannel(value);
      break;
    case 2:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setData(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Output.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ExecStreamResponse.Output.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ExecStreamResponse.Output} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ExecStreamResponse.Output.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getChannel();
  if (f !== 0.0) {
    writer.writeEnum(
      1,
      f
    );
  }
  f = message.getData_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      2,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Output.Channel = {
  UNKNOWN: 0,
  STDOUT: 1,
  STDERR: 2
};

/**
 * optional Channel channel = 1;
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse.Output.Channel}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Output.prototype.getChannel = function() {
  return /** @type {!proto.hashicorp.waypoint.ExecStreamResponse.Output.Channel} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.ExecStreamResponse.Output.Channel} value
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse.Output} returns this
 */
proto.hashicorp.waypoint.ExecStreamResponse.Output.prototype.setChannel = function(value) {
  return jspb.Message.setProto3EnumField(this, 1, value);
};


/**
 * optional bytes data = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Output.prototype.getData = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * optional bytes data = 2;
 * This is a type-conversion wrapper around `getData()`
 * @return {string}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Output.prototype.getData_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getData()));
};


/**
 * optional bytes data = 2;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getData()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ExecStreamResponse.Output.prototype.getData_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getData()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse.Output} returns this
 */
proto.hashicorp.waypoint.ExecStreamResponse.Output.prototype.setData = function(value) {
  return jspb.Message.setProto3BytesField(this, 2, value);
};


/**
 * optional Open open = 3;
 * @return {?proto.hashicorp.waypoint.ExecStreamResponse.Open}
 */
proto.hashicorp.waypoint.ExecStreamResponse.prototype.getOpen = function() {
  return /** @type{?proto.hashicorp.waypoint.ExecStreamResponse.Open} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ExecStreamResponse.Open, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.ExecStreamResponse.Open|undefined} value
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse} returns this
*/
proto.hashicorp.waypoint.ExecStreamResponse.prototype.setOpen = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.ExecStreamResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse} returns this
 */
proto.hashicorp.waypoint.ExecStreamResponse.prototype.clearOpen = function() {
  return this.setOpen(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExecStreamResponse.prototype.hasOpen = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Output output = 1;
 * @return {?proto.hashicorp.waypoint.ExecStreamResponse.Output}
 */
proto.hashicorp.waypoint.ExecStreamResponse.prototype.getOutput = function() {
  return /** @type{?proto.hashicorp.waypoint.ExecStreamResponse.Output} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ExecStreamResponse.Output, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.ExecStreamResponse.Output|undefined} value
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse} returns this
*/
proto.hashicorp.waypoint.ExecStreamResponse.prototype.setOutput = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.ExecStreamResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse} returns this
 */
proto.hashicorp.waypoint.ExecStreamResponse.prototype.clearOutput = function() {
  return this.setOutput(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExecStreamResponse.prototype.hasOutput = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Exit exit = 2;
 * @return {?proto.hashicorp.waypoint.ExecStreamResponse.Exit}
 */
proto.hashicorp.waypoint.ExecStreamResponse.prototype.getExit = function() {
  return /** @type{?proto.hashicorp.waypoint.ExecStreamResponse.Exit} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ExecStreamResponse.Exit, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.ExecStreamResponse.Exit|undefined} value
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse} returns this
*/
proto.hashicorp.waypoint.ExecStreamResponse.prototype.setExit = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.ExecStreamResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ExecStreamResponse} returns this
 */
proto.hashicorp.waypoint.ExecStreamResponse.prototype.clearExit = function() {
  return this.setExit(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ExecStreamResponse.prototype.hasExit = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.EntrypointConfigRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.EntrypointConfigRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.EntrypointConfigRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointConfigRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    deploymentId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    instanceId: jspb.Message.getFieldWithDefault(msg, 2, ""),
    type: jspb.Message.getFieldWithDefault(msg, 3, 0),
    disableExec: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.EntrypointConfigRequest}
 */
proto.hashicorp.waypoint.EntrypointConfigRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.EntrypointConfigRequest;
  return proto.hashicorp.waypoint.EntrypointConfigRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.EntrypointConfigRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.EntrypointConfigRequest}
 */
proto.hashicorp.waypoint.EntrypointConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeploymentId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setInstanceId(value);
      break;
    case 3:
      var value = /** @type {!proto.hashicorp.waypoint.Instance.Type} */ (reader.readEnum());
      msg.setType(value);
      break;
    case 4:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setDisableExec(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointConfigRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.EntrypointConfigRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.EntrypointConfigRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointConfigRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDeploymentId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getInstanceId();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getType();
  if (f !== 0.0) {
    writer.writeEnum(
      3,
      f
    );
  }
  f = message.getDisableExec();
  if (f) {
    writer.writeBool(
      4,
      f
    );
  }
};


/**
 * optional string deployment_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.EntrypointConfigRequest.prototype.getDeploymentId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfigRequest} returns this
 */
proto.hashicorp.waypoint.EntrypointConfigRequest.prototype.setDeploymentId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string instance_id = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.EntrypointConfigRequest.prototype.getInstanceId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfigRequest} returns this
 */
proto.hashicorp.waypoint.EntrypointConfigRequest.prototype.setInstanceId = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional Instance.Type type = 3;
 * @return {!proto.hashicorp.waypoint.Instance.Type}
 */
proto.hashicorp.waypoint.EntrypointConfigRequest.prototype.getType = function() {
  return /** @type {!proto.hashicorp.waypoint.Instance.Type} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Instance.Type} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfigRequest} returns this
 */
proto.hashicorp.waypoint.EntrypointConfigRequest.prototype.setType = function(value) {
  return jspb.Message.setProto3EnumField(this, 3, value);
};


/**
 * optional bool disable_exec = 4;
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointConfigRequest.prototype.getDisableExec = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfigRequest} returns this
 */
proto.hashicorp.waypoint.EntrypointConfigRequest.prototype.setDisableExec = function(value) {
  return jspb.Message.setProto3BooleanField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.EntrypointConfigResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.EntrypointConfigResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.EntrypointConfigResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointConfigResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    config: (f = msg.getConfig()) && proto.hashicorp.waypoint.EntrypointConfig.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.EntrypointConfigResponse}
 */
proto.hashicorp.waypoint.EntrypointConfigResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.EntrypointConfigResponse;
  return proto.hashicorp.waypoint.EntrypointConfigResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.EntrypointConfigResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.EntrypointConfigResponse}
 */
proto.hashicorp.waypoint.EntrypointConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 2:
      var value = new proto.hashicorp.waypoint.EntrypointConfig;
      reader.readMessage(value,proto.hashicorp.waypoint.EntrypointConfig.deserializeBinaryFromReader);
      msg.setConfig(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointConfigResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.EntrypointConfigResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.EntrypointConfigResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointConfigResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getConfig();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.EntrypointConfig.serializeBinaryToWriter
    );
  }
};


/**
 * optional EntrypointConfig config = 2;
 * @return {?proto.hashicorp.waypoint.EntrypointConfig}
 */
proto.hashicorp.waypoint.EntrypointConfigResponse.prototype.getConfig = function() {
  return /** @type{?proto.hashicorp.waypoint.EntrypointConfig} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.EntrypointConfig, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.EntrypointConfig|undefined} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfigResponse} returns this
*/
proto.hashicorp.waypoint.EntrypointConfigResponse.prototype.setConfig = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.EntrypointConfigResponse} returns this
 */
proto.hashicorp.waypoint.EntrypointConfigResponse.prototype.clearConfig = function() {
  return this.setConfig(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointConfigResponse.prototype.hasConfig = function() {
  return jspb.Message.getField(this, 2) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.EntrypointConfig.repeatedFields_ = [1,2,5];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.EntrypointConfig.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.EntrypointConfig} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointConfig.toObject = function(includeInstance, msg) {
  var f, obj = {
    execList: jspb.Message.toObjectList(msg.getExecList(),
    proto.hashicorp.waypoint.EntrypointConfig.Exec.toObject, includeInstance),
    envVarsList: jspb.Message.toObjectList(msg.getEnvVarsList(),
    proto.hashicorp.waypoint.ConfigVar.toObject, includeInstance),
    configSourcesList: jspb.Message.toObjectList(msg.getConfigSourcesList(),
    proto.hashicorp.waypoint.ConfigSource.toObject, includeInstance),
    fileChangeSignal: jspb.Message.getFieldWithDefault(msg, 6, ""),
    urlService: (f = msg.getUrlService()) && proto.hashicorp.waypoint.EntrypointConfig.URLService.toObject(includeInstance, f),
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig}
 */
proto.hashicorp.waypoint.EntrypointConfig.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.EntrypointConfig;
  return proto.hashicorp.waypoint.EntrypointConfig.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.EntrypointConfig} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig}
 */
proto.hashicorp.waypoint.EntrypointConfig.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.EntrypointConfig.Exec;
      reader.readMessage(value,proto.hashicorp.waypoint.EntrypointConfig.Exec.deserializeBinaryFromReader);
      msg.addExec(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.ConfigVar;
      reader.readMessage(value,proto.hashicorp.waypoint.ConfigVar.deserializeBinaryFromReader);
      msg.addEnvVars(value);
      break;
    case 5:
      var value = new proto.hashicorp.waypoint.ConfigSource;
      reader.readMessage(value,proto.hashicorp.waypoint.ConfigSource.deserializeBinaryFromReader);
      msg.addConfigSources(value);
      break;
    case 6:
      var value = /** @type {string} */ (reader.readString());
      msg.setFileChangeSignal(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.EntrypointConfig.URLService;
      reader.readMessage(value,proto.hashicorp.waypoint.EntrypointConfig.URLService.deserializeBinaryFromReader);
      msg.setUrlService(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo;
      reader.readMessage(value,proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.EntrypointConfig.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.EntrypointConfig} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointConfig.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getExecList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.EntrypointConfig.Exec.serializeBinaryToWriter
    );
  }
  f = message.getEnvVarsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.hashicorp.waypoint.ConfigVar.serializeBinaryToWriter
    );
  }
  f = message.getConfigSourcesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      5,
      f,
      proto.hashicorp.waypoint.ConfigSource.serializeBinaryToWriter
    );
  }
  f = message.getFileChangeSignal();
  if (f.length > 0) {
    writer.writeString(
      6,
      f
    );
  }
  f = message.getUrlService();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.EntrypointConfig.URLService.serializeBinaryToWriter
    );
  }
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.serializeBinaryToWriter
    );
  }
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.repeatedFields_ = [2];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.EntrypointConfig.Exec.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.EntrypointConfig.Exec} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.toObject = function(includeInstance, msg) {
  var f, obj = {
    index: jspb.Message.getFieldWithDefault(msg, 1, 0),
    argsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
    pty: (f = msg.getPty()) && proto.hashicorp.waypoint.ExecStreamRequest.PTY.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.Exec}
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.EntrypointConfig.Exec;
  return proto.hashicorp.waypoint.EntrypointConfig.Exec.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.EntrypointConfig.Exec} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.Exec}
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readInt64());
      msg.setIndex(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.addArgs(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.ExecStreamRequest.PTY;
      reader.readMessage(value,proto.hashicorp.waypoint.ExecStreamRequest.PTY.deserializeBinaryFromReader);
      msg.setPty(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.EntrypointConfig.Exec.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.EntrypointConfig.Exec} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getIndex();
  if (f !== 0) {
    writer.writeInt64(
      1,
      f
    );
  }
  f = message.getArgsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      2,
      f
    );
  }
  f = message.getPty();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.ExecStreamRequest.PTY.serializeBinaryToWriter
    );
  }
};


/**
 * optional int64 index = 1;
 * @return {number}
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.prototype.getIndex = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.Exec} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.prototype.setIndex = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};


/**
 * repeated string args = 2;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.prototype.getArgsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.Exec} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.prototype.setArgsList = function(value) {
  return jspb.Message.setField(this, 2, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.Exec} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.prototype.addArgs = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.Exec} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.prototype.clearArgsList = function() {
  return this.setArgsList([]);
};


/**
 * optional ExecStreamRequest.PTY pty = 3;
 * @return {?proto.hashicorp.waypoint.ExecStreamRequest.PTY}
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.prototype.getPty = function() {
  return /** @type{?proto.hashicorp.waypoint.ExecStreamRequest.PTY} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ExecStreamRequest.PTY, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.ExecStreamRequest.PTY|undefined} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.Exec} returns this
*/
proto.hashicorp.waypoint.EntrypointConfig.Exec.prototype.setPty = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.Exec} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.prototype.clearPty = function() {
  return this.setPty(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointConfig.Exec.prototype.hasPty = function() {
  return jspb.Message.getField(this, 3) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.EntrypointConfig.URLService.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.EntrypointConfig.URLService.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.EntrypointConfig.URLService} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointConfig.URLService.toObject = function(includeInstance, msg) {
  var f, obj = {
    controlAddr: jspb.Message.getFieldWithDefault(msg, 1, ""),
    token: jspb.Message.getFieldWithDefault(msg, 2, ""),
    labels: jspb.Message.getFieldWithDefault(msg, 3, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.URLService}
 */
proto.hashicorp.waypoint.EntrypointConfig.URLService.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.EntrypointConfig.URLService;
  return proto.hashicorp.waypoint.EntrypointConfig.URLService.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.EntrypointConfig.URLService} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.URLService}
 */
proto.hashicorp.waypoint.EntrypointConfig.URLService.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setControlAddr(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setToken(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setLabels(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointConfig.URLService.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.EntrypointConfig.URLService.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.EntrypointConfig.URLService} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointConfig.URLService.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getControlAddr();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getToken();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getLabels();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
};


/**
 * optional string control_addr = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.EntrypointConfig.URLService.prototype.getControlAddr = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.URLService} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.URLService.prototype.setControlAddr = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string token = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.EntrypointConfig.URLService.prototype.getToken = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.URLService} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.URLService.prototype.setToken = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string labels = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.EntrypointConfig.URLService.prototype.getLabels = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.URLService} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.URLService.prototype.setLabels = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.toObject = function(includeInstance, msg) {
  var f, obj = {
    component: (f = msg.getComponent()) && proto.hashicorp.waypoint.Component.toObject(includeInstance, f),
    labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo}
 */
proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo;
  return proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo}
 */
proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Component;
      reader.readMessage(value,proto.hashicorp.waypoint.Component.deserializeBinaryFromReader);
      msg.setComponent(value);
      break;
    case 2:
      var value = msg.getLabelsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getComponent();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Component.serializeBinaryToWriter
    );
  }
  f = message.getLabelsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
};


/**
 * optional Component component = 1;
 * @return {?proto.hashicorp.waypoint.Component}
 */
proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.prototype.getComponent = function() {
  return /** @type{?proto.hashicorp.waypoint.Component} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Component, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Component|undefined} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo} returns this
*/
proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.prototype.setComponent = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.prototype.clearComponent = function() {
  return this.setComponent(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.prototype.hasComponent = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * map<string, string> labels = 2;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.prototype.getLabelsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 2, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo.prototype.clearLabelsMap = function() {
  this.getLabelsMap().clear();
  return this;};


/**
 * repeated Exec exec = 1;
 * @return {!Array<!proto.hashicorp.waypoint.EntrypointConfig.Exec>}
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.getExecList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.EntrypointConfig.Exec>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.EntrypointConfig.Exec, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.EntrypointConfig.Exec>} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfig} returns this
*/
proto.hashicorp.waypoint.EntrypointConfig.prototype.setExecList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.EntrypointConfig.Exec=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.EntrypointConfig.Exec}
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.addExec = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.EntrypointConfig.Exec, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.clearExecList = function() {
  return this.setExecList([]);
};


/**
 * repeated ConfigVar env_vars = 2;
 * @return {!Array<!proto.hashicorp.waypoint.ConfigVar>}
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.getEnvVarsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.ConfigVar>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.ConfigVar, 2));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.ConfigVar>} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfig} returns this
*/
proto.hashicorp.waypoint.EntrypointConfig.prototype.setEnvVarsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.hashicorp.waypoint.ConfigVar=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.ConfigVar}
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.addEnvVars = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.hashicorp.waypoint.ConfigVar, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.clearEnvVarsList = function() {
  return this.setEnvVarsList([]);
};


/**
 * repeated ConfigSource config_sources = 5;
 * @return {!Array<!proto.hashicorp.waypoint.ConfigSource>}
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.getConfigSourcesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.ConfigSource>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.ConfigSource, 5));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.ConfigSource>} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfig} returns this
*/
proto.hashicorp.waypoint.EntrypointConfig.prototype.setConfigSourcesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 5, value);
};


/**
 * @param {!proto.hashicorp.waypoint.ConfigSource=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.ConfigSource}
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.addConfigSources = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.hashicorp.waypoint.ConfigSource, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.clearConfigSourcesList = function() {
  return this.setConfigSourcesList([]);
};


/**
 * optional string file_change_signal = 6;
 * @return {string}
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.getFileChangeSignal = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfig} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.setFileChangeSignal = function(value) {
  return jspb.Message.setProto3StringField(this, 6, value);
};


/**
 * optional URLService url_service = 3;
 * @return {?proto.hashicorp.waypoint.EntrypointConfig.URLService}
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.getUrlService = function() {
  return /** @type{?proto.hashicorp.waypoint.EntrypointConfig.URLService} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.EntrypointConfig.URLService, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.EntrypointConfig.URLService|undefined} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfig} returns this
*/
proto.hashicorp.waypoint.EntrypointConfig.prototype.setUrlService = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.clearUrlService = function() {
  return this.setUrlService(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.hasUrlService = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional DeploymentInfo deployment = 4;
 * @return {?proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo}
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.EntrypointConfig.DeploymentInfo|undefined} value
 * @return {!proto.hashicorp.waypoint.EntrypointConfig} returns this
*/
proto.hashicorp.waypoint.EntrypointConfig.prototype.setDeployment = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.EntrypointConfig} returns this
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointConfig.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 4) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.EntrypointLogBatch.repeatedFields_ = [2];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.EntrypointLogBatch.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.EntrypointLogBatch.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.EntrypointLogBatch} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointLogBatch.toObject = function(includeInstance, msg) {
  var f, obj = {
    instanceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    linesList: jspb.Message.toObjectList(msg.getLinesList(),
    proto.hashicorp.waypoint.LogBatch.Entry.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.EntrypointLogBatch}
 */
proto.hashicorp.waypoint.EntrypointLogBatch.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.EntrypointLogBatch;
  return proto.hashicorp.waypoint.EntrypointLogBatch.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.EntrypointLogBatch} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.EntrypointLogBatch}
 */
proto.hashicorp.waypoint.EntrypointLogBatch.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setInstanceId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.LogBatch.Entry;
      reader.readMessage(value,proto.hashicorp.waypoint.LogBatch.Entry.deserializeBinaryFromReader);
      msg.addLines(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointLogBatch.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.EntrypointLogBatch.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.EntrypointLogBatch} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointLogBatch.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getInstanceId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getLinesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.hashicorp.waypoint.LogBatch.Entry.serializeBinaryToWriter
    );
  }
};


/**
 * optional string instance_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.EntrypointLogBatch.prototype.getInstanceId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.EntrypointLogBatch} returns this
 */
proto.hashicorp.waypoint.EntrypointLogBatch.prototype.setInstanceId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * repeated LogBatch.Entry lines = 2;
 * @return {!Array<!proto.hashicorp.waypoint.LogBatch.Entry>}
 */
proto.hashicorp.waypoint.EntrypointLogBatch.prototype.getLinesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.LogBatch.Entry>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.LogBatch.Entry, 2));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.LogBatch.Entry>} value
 * @return {!proto.hashicorp.waypoint.EntrypointLogBatch} returns this
*/
proto.hashicorp.waypoint.EntrypointLogBatch.prototype.setLinesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.hashicorp.waypoint.LogBatch.Entry=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.LogBatch.Entry}
 */
proto.hashicorp.waypoint.EntrypointLogBatch.prototype.addLines = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.hashicorp.waypoint.LogBatch.Entry, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.EntrypointLogBatch} returns this
 */
proto.hashicorp.waypoint.EntrypointLogBatch.prototype.clearLinesList = function() {
  return this.setLinesList([]);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.EntrypointExecRequest.oneofGroups_ = [[1,2,3,4]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.EventCase = {
  EVENT_NOT_SET: 0,
  OPEN: 1,
  EXIT: 2,
  OUTPUT: 3,
  ERROR: 4
};

/**
 * @return {proto.hashicorp.waypoint.EntrypointExecRequest.EventCase}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.getEventCase = function() {
  return /** @type {proto.hashicorp.waypoint.EntrypointExecRequest.EventCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.EntrypointExecRequest.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.EntrypointExecRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointExecRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    open: (f = msg.getOpen()) && proto.hashicorp.waypoint.EntrypointExecRequest.Open.toObject(includeInstance, f),
    exit: (f = msg.getExit()) && proto.hashicorp.waypoint.EntrypointExecRequest.Exit.toObject(includeInstance, f),
    output: (f = msg.getOutput()) && proto.hashicorp.waypoint.EntrypointExecRequest.Output.toObject(includeInstance, f),
    error: (f = msg.getError()) && proto.hashicorp.waypoint.EntrypointExecRequest.Error.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.EntrypointExecRequest;
  return proto.hashicorp.waypoint.EntrypointExecRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.EntrypointExecRequest.Open;
      reader.readMessage(value,proto.hashicorp.waypoint.EntrypointExecRequest.Open.deserializeBinaryFromReader);
      msg.setOpen(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.EntrypointExecRequest.Exit;
      reader.readMessage(value,proto.hashicorp.waypoint.EntrypointExecRequest.Exit.deserializeBinaryFromReader);
      msg.setExit(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.EntrypointExecRequest.Output;
      reader.readMessage(value,proto.hashicorp.waypoint.EntrypointExecRequest.Output.deserializeBinaryFromReader);
      msg.setOutput(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.EntrypointExecRequest.Error;
      reader.readMessage(value,proto.hashicorp.waypoint.EntrypointExecRequest.Error.deserializeBinaryFromReader);
      msg.setError(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.EntrypointExecRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointExecRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getOpen();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.EntrypointExecRequest.Open.serializeBinaryToWriter
    );
  }
  f = message.getExit();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.EntrypointExecRequest.Exit.serializeBinaryToWriter
    );
  }
  f = message.getOutput();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.EntrypointExecRequest.Output.serializeBinaryToWriter
    );
  }
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.EntrypointExecRequest.Error.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Open.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.EntrypointExecRequest.Open.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest.Open} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Open.toObject = function(includeInstance, msg) {
  var f, obj = {
    instanceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    index: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Open}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Open.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.EntrypointExecRequest.Open;
  return proto.hashicorp.waypoint.EntrypointExecRequest.Open.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest.Open} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Open}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Open.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setInstanceId(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readInt64());
      msg.setIndex(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Open.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.EntrypointExecRequest.Open.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest.Open} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Open.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getInstanceId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getIndex();
  if (f !== 0) {
    writer.writeInt64(
      2,
      f
    );
  }
};


/**
 * optional string instance_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Open.prototype.getInstanceId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Open} returns this
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Open.prototype.setInstanceId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional int64 index = 2;
 * @return {number}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Open.prototype.getIndex = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Open} returns this
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Open.prototype.setIndex = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Exit.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.EntrypointExecRequest.Exit.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest.Exit} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Exit.toObject = function(includeInstance, msg) {
  var f, obj = {
    code: jspb.Message.getFieldWithDefault(msg, 1, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Exit}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Exit.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.EntrypointExecRequest.Exit;
  return proto.hashicorp.waypoint.EntrypointExecRequest.Exit.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest.Exit} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Exit}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Exit.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setCode(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Exit.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.EntrypointExecRequest.Exit.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest.Exit} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Exit.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getCode();
  if (f !== 0) {
    writer.writeInt32(
      1,
      f
    );
  }
};


/**
 * optional int32 code = 1;
 * @return {number}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Exit.prototype.getCode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Exit} returns this
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Exit.prototype.setCode = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Output.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.EntrypointExecRequest.Output.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest.Output} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Output.toObject = function(includeInstance, msg) {
  var f, obj = {
    channel: jspb.Message.getFieldWithDefault(msg, 1, 0),
    data: msg.getData_asB64()
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Output}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Output.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.EntrypointExecRequest.Output;
  return proto.hashicorp.waypoint.EntrypointExecRequest.Output.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest.Output} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Output}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Output.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!proto.hashicorp.waypoint.EntrypointExecRequest.Output.Channel} */ (reader.readEnum());
      msg.setChannel(value);
      break;
    case 2:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setData(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Output.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.EntrypointExecRequest.Output.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest.Output} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Output.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getChannel();
  if (f !== 0.0) {
    writer.writeEnum(
      1,
      f
    );
  }
  f = message.getData_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      2,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Output.Channel = {
  UNKNOWN: 0,
  STDOUT: 1,
  STDERR: 2
};

/**
 * optional Channel channel = 1;
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Output.Channel}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Output.prototype.getChannel = function() {
  return /** @type {!proto.hashicorp.waypoint.EntrypointExecRequest.Output.Channel} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest.Output.Channel} value
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Output} returns this
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Output.prototype.setChannel = function(value) {
  return jspb.Message.setProto3EnumField(this, 1, value);
};


/**
 * optional bytes data = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Output.prototype.getData = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * optional bytes data = 2;
 * This is a type-conversion wrapper around `getData()`
 * @return {string}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Output.prototype.getData_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getData()));
};


/**
 * optional bytes data = 2;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getData()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Output.prototype.getData_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getData()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Output} returns this
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Output.prototype.setData = function(value) {
  return jspb.Message.setProto3BytesField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Error.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.EntrypointExecRequest.Error.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest.Error} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Error.toObject = function(includeInstance, msg) {
  var f, obj = {
    error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Error}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Error.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.EntrypointExecRequest.Error;
  return proto.hashicorp.waypoint.EntrypointExecRequest.Error.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest.Error} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Error}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Error.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new google_rpc_status_pb.Status;
      reader.readMessage(value,google_rpc_status_pb.Status.deserializeBinaryFromReader);
      msg.setError(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Error.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.EntrypointExecRequest.Error.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.EntrypointExecRequest.Error} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Error.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      google_rpc_status_pb.Status.serializeBinaryToWriter
    );
  }
};


/**
 * optional google.rpc.Status error = 1;
 * @return {?proto.google.rpc.Status}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Error.prototype.getError = function() {
  return /** @type{?proto.google.rpc.Status} */ (
    jspb.Message.getWrapperField(this, google_rpc_status_pb.Status, 1));
};


/**
 * @param {?proto.google.rpc.Status|undefined} value
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Error} returns this
*/
proto.hashicorp.waypoint.EntrypointExecRequest.Error.prototype.setError = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest.Error} returns this
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Error.prototype.clearError = function() {
  return this.setError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.Error.prototype.hasError = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Open open = 1;
 * @return {?proto.hashicorp.waypoint.EntrypointExecRequest.Open}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.getOpen = function() {
  return /** @type{?proto.hashicorp.waypoint.EntrypointExecRequest.Open} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.EntrypointExecRequest.Open, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.EntrypointExecRequest.Open|undefined} value
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest} returns this
*/
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.setOpen = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.EntrypointExecRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest} returns this
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.clearOpen = function() {
  return this.setOpen(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.hasOpen = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Exit exit = 2;
 * @return {?proto.hashicorp.waypoint.EntrypointExecRequest.Exit}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.getExit = function() {
  return /** @type{?proto.hashicorp.waypoint.EntrypointExecRequest.Exit} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.EntrypointExecRequest.Exit, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.EntrypointExecRequest.Exit|undefined} value
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest} returns this
*/
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.setExit = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.EntrypointExecRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest} returns this
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.clearExit = function() {
  return this.setExit(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.hasExit = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Output output = 3;
 * @return {?proto.hashicorp.waypoint.EntrypointExecRequest.Output}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.getOutput = function() {
  return /** @type{?proto.hashicorp.waypoint.EntrypointExecRequest.Output} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.EntrypointExecRequest.Output, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.EntrypointExecRequest.Output|undefined} value
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest} returns this
*/
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.setOutput = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.EntrypointExecRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest} returns this
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.clearOutput = function() {
  return this.setOutput(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.hasOutput = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Error error = 4;
 * @return {?proto.hashicorp.waypoint.EntrypointExecRequest.Error}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.getError = function() {
  return /** @type{?proto.hashicorp.waypoint.EntrypointExecRequest.Error} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.EntrypointExecRequest.Error, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.EntrypointExecRequest.Error|undefined} value
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest} returns this
*/
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.setError = function(value) {
  return jspb.Message.setOneofWrapperField(this, 4, proto.hashicorp.waypoint.EntrypointExecRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.EntrypointExecRequest} returns this
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.clearError = function() {
  return this.setError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointExecRequest.prototype.hasError = function() {
  return jspb.Message.getField(this, 4) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.EntrypointExecResponse.oneofGroups_ = [[1,4,2,3]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.EventCase = {
  EVENT_NOT_SET: 0,
  INPUT: 1,
  INPUT_EOF: 4,
  WINCH: 2,
  OPENED: 3
};

/**
 * @return {proto.hashicorp.waypoint.EntrypointExecResponse.EventCase}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.getEventCase = function() {
  return /** @type {proto.hashicorp.waypoint.EntrypointExecResponse.EventCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.EntrypointExecResponse.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.EntrypointExecResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.EntrypointExecResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointExecResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    input: msg.getInput_asB64(),
    inputEof: (f = msg.getInputEof()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
    winch: (f = msg.getWinch()) && proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.toObject(includeInstance, f),
    opened: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.EntrypointExecResponse}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.EntrypointExecResponse;
  return proto.hashicorp.waypoint.EntrypointExecResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.EntrypointExecResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.EntrypointExecResponse}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setInput(value);
      break;
    case 4:
      var value = new google_protobuf_empty_pb.Empty;
      reader.readMessage(value,google_protobuf_empty_pb.Empty.deserializeBinaryFromReader);
      msg.setInputEof(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.ExecStreamRequest.WindowSize;
      reader.readMessage(value,proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.deserializeBinaryFromReader);
      msg.setWinch(value);
      break;
    case 3:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setOpened(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.EntrypointExecResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.EntrypointExecResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.EntrypointExecResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 1));
  if (f != null) {
    writer.writeBytes(
      1,
      f
    );
  }
  f = message.getInputEof();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      google_protobuf_empty_pb.Empty.serializeBinaryToWriter
    );
  }
  f = message.getWinch();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.ExecStreamRequest.WindowSize.serializeBinaryToWriter
    );
  }
  f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
  if (f != null) {
    writer.writeBool(
      3,
      f
    );
  }
};


/**
 * optional bytes input = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.getInput = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * optional bytes input = 1;
 * This is a type-conversion wrapper around `getInput()`
 * @return {string}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.getInput_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getInput()));
};


/**
 * optional bytes input = 1;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getInput()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.getInput_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getInput()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.EntrypointExecResponse} returns this
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.setInput = function(value) {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.EntrypointExecResponse.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.EntrypointExecResponse} returns this
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.clearInput = function() {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.EntrypointExecResponse.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.hasInput = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional google.protobuf.Empty input_eof = 4;
 * @return {?proto.google.protobuf.Empty}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.getInputEof = function() {
  return /** @type{?proto.google.protobuf.Empty} */ (
    jspb.Message.getWrapperField(this, google_protobuf_empty_pb.Empty, 4));
};


/**
 * @param {?proto.google.protobuf.Empty|undefined} value
 * @return {!proto.hashicorp.waypoint.EntrypointExecResponse} returns this
*/
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.setInputEof = function(value) {
  return jspb.Message.setOneofWrapperField(this, 4, proto.hashicorp.waypoint.EntrypointExecResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.EntrypointExecResponse} returns this
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.clearInputEof = function() {
  return this.setInputEof(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.hasInputEof = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional ExecStreamRequest.WindowSize winch = 2;
 * @return {?proto.hashicorp.waypoint.ExecStreamRequest.WindowSize}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.getWinch = function() {
  return /** @type{?proto.hashicorp.waypoint.ExecStreamRequest.WindowSize} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.ExecStreamRequest.WindowSize, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.ExecStreamRequest.WindowSize|undefined} value
 * @return {!proto.hashicorp.waypoint.EntrypointExecResponse} returns this
*/
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.setWinch = function(value) {
  return jspb.Message.setOneofWrapperField(this, 2, proto.hashicorp.waypoint.EntrypointExecResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.EntrypointExecResponse} returns this
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.clearWinch = function() {
  return this.setWinch(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.hasWinch = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional bool opened = 3;
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.getOpened = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.EntrypointExecResponse} returns this
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.setOpened = function(value) {
  return jspb.Message.setOneofField(this, 3, proto.hashicorp.waypoint.EntrypointExecResponse.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.EntrypointExecResponse} returns this
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.clearOpened = function() {
  return jspb.Message.setOneofField(this, 3, proto.hashicorp.waypoint.EntrypointExecResponse.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.EntrypointExecResponse.prototype.hasOpened = function() {
  return jspb.Message.getField(this, 3) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Pipeline.oneofGroups_ = [[3]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Pipeline.OwnerCase = {
  OWNER_NOT_SET: 0,
  PROJECT: 3
};

/**
 * @return {proto.hashicorp.waypoint.Pipeline.OwnerCase}
 */
proto.hashicorp.waypoint.Pipeline.prototype.getOwnerCase = function() {
  return /** @type {proto.hashicorp.waypoint.Pipeline.OwnerCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Pipeline.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Pipeline.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Pipeline.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Pipeline} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    name: jspb.Message.getFieldWithDefault(msg, 2, ""),
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f),
    stepsMap: (f = msg.getStepsMap()) ? f.toObject(includeInstance, proto.hashicorp.waypoint.Pipeline.Step.toObject) : []
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Pipeline}
 */
proto.hashicorp.waypoint.Pipeline.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Pipeline;
  return proto.hashicorp.waypoint.Pipeline.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Pipeline} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Pipeline}
 */
proto.hashicorp.waypoint.Pipeline.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    case 4:
      var value = msg.getStepsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.hashicorp.waypoint.Pipeline.Step.deserializeBinaryFromReader, "", new proto.hashicorp.waypoint.Pipeline.Step());
         });
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Pipeline.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Pipeline.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Pipeline} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
  f = message.getStepsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.hashicorp.waypoint.Pipeline.Step.serializeBinaryToWriter);
  }
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.Pipeline.Step.repeatedFields_ = [2];

/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Pipeline.Step.oneofGroups_ = [[3,4,6,7,8,9]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Pipeline.Step.KindCase = {
  KIND_NOT_SET: 0,
  EXEC: 3,
  BUILD: 4,
  DEPLOY: 6,
  RELEASE: 7,
  UP: 8,
  PIPELINE: 9
};

/**
 * @return {proto.hashicorp.waypoint.Pipeline.Step.KindCase}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.getKindCase = function() {
  return /** @type {proto.hashicorp.waypoint.Pipeline.Step.KindCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Pipeline.Step.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Pipeline.Step.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Pipeline.Step} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.Step.toObject = function(includeInstance, msg) {
  var f, obj = {
    name: jspb.Message.getFieldWithDefault(msg, 1, ""),
    dependsOnList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
    exec: (f = msg.getExec()) && proto.hashicorp.waypoint.Pipeline.Step.Exec.toObject(includeInstance, f),
    build: (f = msg.getBuild()) && proto.hashicorp.waypoint.Pipeline.Step.Build.toObject(includeInstance, f),
    deploy: (f = msg.getDeploy()) && proto.hashicorp.waypoint.Pipeline.Step.Deploy.toObject(includeInstance, f),
    release: (f = msg.getRelease()) && proto.hashicorp.waypoint.Pipeline.Step.Release.toObject(includeInstance, f),
    up: (f = msg.getUp()) && proto.hashicorp.waypoint.Pipeline.Step.Up.toObject(includeInstance, f),
    pipeline: (f = msg.getPipeline()) && proto.hashicorp.waypoint.Pipeline.Step.Pipeline.toObject(includeInstance, f),
    image: jspb.Message.getFieldWithDefault(msg, 5, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step}
 */
proto.hashicorp.waypoint.Pipeline.Step.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Pipeline.Step;
  return proto.hashicorp.waypoint.Pipeline.Step.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Pipeline.Step} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step}
 */
proto.hashicorp.waypoint.Pipeline.Step.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.addDependsOn(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Pipeline.Step.Exec;
      reader.readMessage(value,proto.hashicorp.waypoint.Pipeline.Step.Exec.deserializeBinaryFromReader);
      msg.setExec(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Pipeline.Step.Build;
      reader.readMessage(value,proto.hashicorp.waypoint.Pipeline.Step.Build.deserializeBinaryFromReader);
      msg.setBuild(value);
      break;
    case 6:
      var value = new proto.hashicorp.waypoint.Pipeline.Step.Deploy;
      reader.readMessage(value,proto.hashicorp.waypoint.Pipeline.Step.Deploy.deserializeBinaryFromReader);
      msg.setDeploy(value);
      break;
    case 7:
      var value = new proto.hashicorp.waypoint.Pipeline.Step.Release;
      reader.readMessage(value,proto.hashicorp.waypoint.Pipeline.Step.Release.deserializeBinaryFromReader);
      msg.setRelease(value);
      break;
    case 8:
      var value = new proto.hashicorp.waypoint.Pipeline.Step.Up;
      reader.readMessage(value,proto.hashicorp.waypoint.Pipeline.Step.Up.deserializeBinaryFromReader);
      msg.setUp(value);
      break;
    case 9:
      var value = new proto.hashicorp.waypoint.Pipeline.Step.Pipeline;
      reader.readMessage(value,proto.hashicorp.waypoint.Pipeline.Step.Pipeline.deserializeBinaryFromReader);
      msg.setPipeline(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setImage(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Pipeline.Step.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Pipeline.Step} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.Step.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getDependsOnList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      2,
      f
    );
  }
  f = message.getExec();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Pipeline.Step.Exec.serializeBinaryToWriter
    );
  }
  f = message.getBuild();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Pipeline.Step.Build.serializeBinaryToWriter
    );
  }
  f = message.getDeploy();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      proto.hashicorp.waypoint.Pipeline.Step.Deploy.serializeBinaryToWriter
    );
  }
  f = message.getRelease();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      proto.hashicorp.waypoint.Pipeline.Step.Release.serializeBinaryToWriter
    );
  }
  f = message.getUp();
  if (f != null) {
    writer.writeMessage(
      8,
      f,
      proto.hashicorp.waypoint.Pipeline.Step.Up.serializeBinaryToWriter
    );
  }
  f = message.getPipeline();
  if (f != null) {
    writer.writeMessage(
      9,
      f,
      proto.hashicorp.waypoint.Pipeline.Step.Pipeline.serializeBinaryToWriter
    );
  }
  f = message.getImage();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.repeatedFields_ = [3];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Pipeline.Step.Exec.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Exec} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.toObject = function(includeInstance, msg) {
  var f, obj = {
    image: jspb.Message.getFieldWithDefault(msg, 1, ""),
    command: jspb.Message.getFieldWithDefault(msg, 2, ""),
    argsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Exec}
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Pipeline.Step.Exec;
  return proto.hashicorp.waypoint.Pipeline.Step.Exec.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Exec} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Exec}
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setImage(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setCommand(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.addArgs(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Pipeline.Step.Exec.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Exec} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getImage();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getCommand();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getArgsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      3,
      f
    );
  }
};


/**
 * optional string image = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.prototype.getImage = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Exec} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.prototype.setImage = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string command = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.prototype.getCommand = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Exec} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.prototype.setCommand = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * repeated string args = 3;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.prototype.getArgsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Exec} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.prototype.setArgsList = function(value) {
  return jspb.Message.setField(this, 3, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Exec} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.prototype.addArgs = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Exec} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Exec.prototype.clearArgsList = function() {
  return this.setArgsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Pipeline.Step.Build.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Pipeline.Step.Build.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Build} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.Step.Build.toObject = function(includeInstance, msg) {
  var f, obj = {
    disablePush: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Build}
 */
proto.hashicorp.waypoint.Pipeline.Step.Build.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Pipeline.Step.Build;
  return proto.hashicorp.waypoint.Pipeline.Step.Build.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Build} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Build}
 */
proto.hashicorp.waypoint.Pipeline.Step.Build.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setDisablePush(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Pipeline.Step.Build.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Pipeline.Step.Build.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Build} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.Step.Build.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDisablePush();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
};


/**
 * optional bool disable_push = 2;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.Step.Build.prototype.getDisablePush = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Build} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Build.prototype.setDisablePush = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Pipeline.Step.Deploy.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Pipeline.Step.Deploy.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Deploy} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.Step.Deploy.toObject = function(includeInstance, msg) {
  var f, obj = {
    release: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Deploy}
 */
proto.hashicorp.waypoint.Pipeline.Step.Deploy.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Pipeline.Step.Deploy;
  return proto.hashicorp.waypoint.Pipeline.Step.Deploy.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Deploy} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Deploy}
 */
proto.hashicorp.waypoint.Pipeline.Step.Deploy.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setRelease(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Pipeline.Step.Deploy.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Pipeline.Step.Deploy.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Deploy} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.Step.Deploy.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRelease();
  if (f) {
    writer.writeBool(
      1,
      f
    );
  }
};


/**
 * optional bool release = 1;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.Step.Deploy.prototype.getRelease = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Deploy} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Deploy.prototype.setRelease = function(value) {
  return jspb.Message.setProto3BooleanField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Pipeline.Step.Release.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Release} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.toObject = function(includeInstance, msg) {
  var f, obj = {
    deployment: (f = msg.getDeployment()) && proto.hashicorp.waypoint.Ref.Deployment.toObject(includeInstance, f),
    prune: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
    pruneRetain: jspb.Message.getFieldWithDefault(msg, 3, 0),
    pruneRetainOverride: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Release}
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Pipeline.Step.Release;
  return proto.hashicorp.waypoint.Pipeline.Step.Release.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Release} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Release}
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Deployment;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Deployment.deserializeBinaryFromReader);
      msg.setDeployment(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setPrune(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setPruneRetain(value);
      break;
    case 4:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setPruneRetainOverride(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Pipeline.Step.Release.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Release} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDeployment();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Deployment.serializeBinaryToWriter
    );
  }
  f = message.getPrune();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
  f = message.getPruneRetain();
  if (f !== 0) {
    writer.writeInt32(
      3,
      f
    );
  }
  f = message.getPruneRetainOverride();
  if (f) {
    writer.writeBool(
      4,
      f
    );
  }
};


/**
 * optional Ref.Deployment deployment = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Deployment}
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.prototype.getDeployment = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Deployment} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Deployment, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Deployment|undefined} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Release} returns this
*/
proto.hashicorp.waypoint.Pipeline.Step.Release.prototype.setDeployment = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Release} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.prototype.clearDeployment = function() {
  return this.setDeployment(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.prototype.hasDeployment = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional bool prune = 2;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.prototype.getPrune = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Release} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.prototype.setPrune = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};


/**
 * optional int32 prune_retain = 3;
 * @return {number}
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.prototype.getPruneRetain = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Release} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.prototype.setPruneRetain = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional bool prune_retain_override = 4;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.prototype.getPruneRetainOverride = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Release} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Release.prototype.setPruneRetainOverride = function(value) {
  return jspb.Message.setProto3BooleanField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Pipeline.Step.Up.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Pipeline.Step.Up.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Up} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.Step.Up.toObject = function(includeInstance, msg) {
  var f, obj = {
    prune: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
    pruneRetain: jspb.Message.getFieldWithDefault(msg, 2, 0),
    pruneRetainOverride: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Up}
 */
proto.hashicorp.waypoint.Pipeline.Step.Up.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Pipeline.Step.Up;
  return proto.hashicorp.waypoint.Pipeline.Step.Up.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Up} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Up}
 */
proto.hashicorp.waypoint.Pipeline.Step.Up.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setPrune(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setPruneRetain(value);
      break;
    case 3:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setPruneRetainOverride(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Pipeline.Step.Up.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Pipeline.Step.Up.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Up} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.Step.Up.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPrune();
  if (f) {
    writer.writeBool(
      1,
      f
    );
  }
  f = message.getPruneRetain();
  if (f !== 0) {
    writer.writeInt32(
      2,
      f
    );
  }
  f = message.getPruneRetainOverride();
  if (f) {
    writer.writeBool(
      3,
      f
    );
  }
};


/**
 * optional bool prune = 1;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.Step.Up.prototype.getPrune = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Up} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Up.prototype.setPrune = function(value) {
  return jspb.Message.setProto3BooleanField(this, 1, value);
};


/**
 * optional int32 prune_retain = 2;
 * @return {number}
 */
proto.hashicorp.waypoint.Pipeline.Step.Up.prototype.getPruneRetain = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Up} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Up.prototype.setPruneRetain = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional bool prune_retain_override = 3;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.Step.Up.prototype.getPruneRetainOverride = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Up} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Up.prototype.setPruneRetainOverride = function(value) {
  return jspb.Message.setProto3BooleanField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Pipeline.Step.Pipeline.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Pipeline.Step.Pipeline.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Pipeline} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.Step.Pipeline.toObject = function(includeInstance, msg) {
  var f, obj = {
    ref: (f = msg.getRef()) && proto.hashicorp.waypoint.Ref.Pipeline.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Pipeline}
 */
proto.hashicorp.waypoint.Pipeline.Step.Pipeline.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Pipeline.Step.Pipeline;
  return proto.hashicorp.waypoint.Pipeline.Step.Pipeline.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Pipeline} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Pipeline}
 */
proto.hashicorp.waypoint.Pipeline.Step.Pipeline.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Pipeline;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Pipeline.deserializeBinaryFromReader);
      msg.setRef(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Pipeline.Step.Pipeline.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Pipeline.Step.Pipeline.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Pipeline.Step.Pipeline} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Pipeline.Step.Pipeline.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRef();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Pipeline.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Pipeline ref = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Pipeline}
 */
proto.hashicorp.waypoint.Pipeline.Step.Pipeline.prototype.getRef = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Pipeline} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Pipeline, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Pipeline|undefined} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Pipeline} returns this
*/
proto.hashicorp.waypoint.Pipeline.Step.Pipeline.prototype.setRef = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step.Pipeline} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.Pipeline.prototype.clearRef = function() {
  return this.setRef(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.Step.Pipeline.prototype.hasRef = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string name = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * repeated string depends_on = 2;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.getDependsOnList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.setDependsOnList = function(value) {
  return jspb.Message.setField(this, 2, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.addDependsOn = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.clearDependsOnList = function() {
  return this.setDependsOnList([]);
};


/**
 * optional Exec exec = 3;
 * @return {?proto.hashicorp.waypoint.Pipeline.Step.Exec}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.getExec = function() {
  return /** @type{?proto.hashicorp.waypoint.Pipeline.Step.Exec} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Pipeline.Step.Exec, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Pipeline.Step.Exec|undefined} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
*/
proto.hashicorp.waypoint.Pipeline.Step.prototype.setExec = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.Pipeline.Step.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.clearExec = function() {
  return this.setExec(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.hasExec = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Build build = 4;
 * @return {?proto.hashicorp.waypoint.Pipeline.Step.Build}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.getBuild = function() {
  return /** @type{?proto.hashicorp.waypoint.Pipeline.Step.Build} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Pipeline.Step.Build, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Pipeline.Step.Build|undefined} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
*/
proto.hashicorp.waypoint.Pipeline.Step.prototype.setBuild = function(value) {
  return jspb.Message.setOneofWrapperField(this, 4, proto.hashicorp.waypoint.Pipeline.Step.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.clearBuild = function() {
  return this.setBuild(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.hasBuild = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional Deploy deploy = 6;
 * @return {?proto.hashicorp.waypoint.Pipeline.Step.Deploy}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.getDeploy = function() {
  return /** @type{?proto.hashicorp.waypoint.Pipeline.Step.Deploy} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Pipeline.Step.Deploy, 6));
};


/**
 * @param {?proto.hashicorp.waypoint.Pipeline.Step.Deploy|undefined} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
*/
proto.hashicorp.waypoint.Pipeline.Step.prototype.setDeploy = function(value) {
  return jspb.Message.setOneofWrapperField(this, 6, proto.hashicorp.waypoint.Pipeline.Step.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.clearDeploy = function() {
  return this.setDeploy(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.hasDeploy = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * optional Release release = 7;
 * @return {?proto.hashicorp.waypoint.Pipeline.Step.Release}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.getRelease = function() {
  return /** @type{?proto.hashicorp.waypoint.Pipeline.Step.Release} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Pipeline.Step.Release, 7));
};


/**
 * @param {?proto.hashicorp.waypoint.Pipeline.Step.Release|undefined} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
*/
proto.hashicorp.waypoint.Pipeline.Step.prototype.setRelease = function(value) {
  return jspb.Message.setOneofWrapperField(this, 7, proto.hashicorp.waypoint.Pipeline.Step.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.clearRelease = function() {
  return this.setRelease(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.hasRelease = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional Up up = 8;
 * @return {?proto.hashicorp.waypoint.Pipeline.Step.Up}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.getUp = function() {
  return /** @type{?proto.hashicorp.waypoint.Pipeline.Step.Up} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Pipeline.Step.Up, 8));
};


/**
 * @param {?proto.hashicorp.waypoint.Pipeline.Step.Up|undefined} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
*/
proto.hashicorp.waypoint.Pipeline.Step.prototype.setUp = function(value) {
  return jspb.Message.setOneofWrapperField(this, 8, proto.hashicorp.waypoint.Pipeline.Step.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.clearUp = function() {
  return this.setUp(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.hasUp = function() {
  return jspb.Message.getField(this, 8) != null;
};


/**
 * optional Pipeline pipeline = 9;
 * @return {?proto.hashicorp.waypoint.Pipeline.Step.Pipeline}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.getPipeline = function() {
  return /** @type{?proto.hashicorp.waypoint.Pipeline.Step.Pipeline} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Pipeline.Step.Pipeline, 9));
};


/**
 * @param {?proto.hashicorp.waypoint.Pipeline.Step.Pipeline|undefined} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
*/
proto.hashicorp.waypoint.Pipeline.Step.prototype.setPipeline = function(value) {
  return jspb.Message.setOneofWrapperField(this, 9, proto.hashicorp.waypoint.Pipeline.Step.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.clearPipeline = function() {
  return this.setPipeline(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.hasPipeline = function() {
  return jspb.Message.getField(this, 9) != null;
};


/**
 * optional string image = 5;
 * @return {string}
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.getImage = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Pipeline.Step} returns this
 */
proto.hashicorp.waypoint.Pipeline.Step.prototype.setImage = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Pipeline.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Pipeline} returns this
 */
proto.hashicorp.waypoint.Pipeline.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string name = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Pipeline.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Pipeline} returns this
 */
proto.hashicorp.waypoint.Pipeline.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional Ref.Project project = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.Pipeline.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.Pipeline} returns this
*/
proto.hashicorp.waypoint.Pipeline.prototype.setProject = function(value) {
  return jspb.Message.setOneofWrapperField(this, 3, proto.hashicorp.waypoint.Pipeline.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Pipeline} returns this
 */
proto.hashicorp.waypoint.Pipeline.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Pipeline.prototype.hasProject = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * map<string, Step> steps = 4;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,!proto.hashicorp.waypoint.Pipeline.Step>}
 */
proto.hashicorp.waypoint.Pipeline.prototype.getStepsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,!proto.hashicorp.waypoint.Pipeline.Step>} */ (
      jspb.Message.getMapField(this, 4, opt_noLazyCreate,
      proto.hashicorp.waypoint.Pipeline.Step));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.Pipeline} returns this
 */
proto.hashicorp.waypoint.Pipeline.prototype.clearStepsMap = function() {
  this.getStepsMap().clear();
  return this;};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.PipelineRun.repeatedFields_ = [4];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.PipelineRun.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.PipelineRun.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.PipelineRun} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.PipelineRun.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    sequence: jspb.Message.getFieldWithDefault(msg, 2, 0),
    pipeline: (f = msg.getPipeline()) && proto.hashicorp.waypoint.Ref.Pipeline.toObject(includeInstance, f),
    jobsList: jspb.Message.toObjectList(msg.getJobsList(),
    proto.hashicorp.waypoint.Ref.Job.toObject, includeInstance),
    state: jspb.Message.getFieldWithDefault(msg, 5, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.PipelineRun}
 */
proto.hashicorp.waypoint.PipelineRun.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.PipelineRun;
  return proto.hashicorp.waypoint.PipelineRun.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.PipelineRun} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.PipelineRun}
 */
proto.hashicorp.waypoint.PipelineRun.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSequence(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Ref.Pipeline;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Pipeline.deserializeBinaryFromReader);
      msg.setPipeline(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Ref.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Job.deserializeBinaryFromReader);
      msg.addJobs(value);
      break;
    case 5:
      var value = /** @type {!proto.hashicorp.waypoint.PipelineRun.State} */ (reader.readEnum());
      msg.setState(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.PipelineRun.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.PipelineRun.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.PipelineRun} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.PipelineRun.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getSequence();
  if (f !== 0) {
    writer.writeUint64(
      2,
      f
    );
  }
  f = message.getPipeline();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Ref.Pipeline.serializeBinaryToWriter
    );
  }
  f = message.getJobsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      4,
      f,
      proto.hashicorp.waypoint.Ref.Job.serializeBinaryToWriter
    );
  }
  f = message.getState();
  if (f !== 0.0) {
    writer.writeEnum(
      5,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.PipelineRun.State = {
  UNKNOWN: 0,
  PENDING: 1,
  STARTING: 2,
  RUNNING: 3,
  ERROR: 4,
  CANCELLED: 5,
  SUCCESS: 6
};

/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.PipelineRun.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.PipelineRun} returns this
 */
proto.hashicorp.waypoint.PipelineRun.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional uint64 sequence = 2;
 * @return {number}
 */
proto.hashicorp.waypoint.PipelineRun.prototype.getSequence = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.PipelineRun} returns this
 */
proto.hashicorp.waypoint.PipelineRun.prototype.setSequence = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional Ref.Pipeline pipeline = 3;
 * @return {?proto.hashicorp.waypoint.Ref.Pipeline}
 */
proto.hashicorp.waypoint.PipelineRun.prototype.getPipeline = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Pipeline} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Pipeline, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Pipeline|undefined} value
 * @return {!proto.hashicorp.waypoint.PipelineRun} returns this
*/
proto.hashicorp.waypoint.PipelineRun.prototype.setPipeline = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.PipelineRun} returns this
 */
proto.hashicorp.waypoint.PipelineRun.prototype.clearPipeline = function() {
  return this.setPipeline(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.PipelineRun.prototype.hasPipeline = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * repeated Ref.Job jobs = 4;
 * @return {!Array<!proto.hashicorp.waypoint.Ref.Job>}
 */
proto.hashicorp.waypoint.PipelineRun.prototype.getJobsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Ref.Job>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Ref.Job, 4));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Ref.Job>} value
 * @return {!proto.hashicorp.waypoint.PipelineRun} returns this
*/
proto.hashicorp.waypoint.PipelineRun.prototype.setJobsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 4, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Ref.Job=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Ref.Job}
 */
proto.hashicorp.waypoint.PipelineRun.prototype.addJobs = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.hashicorp.waypoint.Ref.Job, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.PipelineRun} returns this
 */
proto.hashicorp.waypoint.PipelineRun.prototype.clearJobsList = function() {
  return this.setJobsList([]);
};


/**
 * optional State state = 5;
 * @return {!proto.hashicorp.waypoint.PipelineRun.State}
 */
proto.hashicorp.waypoint.PipelineRun.prototype.getState = function() {
  return /** @type {!proto.hashicorp.waypoint.PipelineRun.State} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.PipelineRun.State} value
 * @return {!proto.hashicorp.waypoint.PipelineRun} returns this
 */
proto.hashicorp.waypoint.PipelineRun.prototype.setState = function(value) {
  return jspb.Message.setProto3EnumField(this, 5, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertPipelineRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertPipelineRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertPipelineRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertPipelineRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    pipeline: (f = msg.getPipeline()) && proto.hashicorp.waypoint.Pipeline.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertPipelineRequest}
 */
proto.hashicorp.waypoint.UpsertPipelineRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertPipelineRequest;
  return proto.hashicorp.waypoint.UpsertPipelineRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertPipelineRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertPipelineRequest}
 */
proto.hashicorp.waypoint.UpsertPipelineRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Pipeline;
      reader.readMessage(value,proto.hashicorp.waypoint.Pipeline.deserializeBinaryFromReader);
      msg.setPipeline(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertPipelineRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertPipelineRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertPipelineRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertPipelineRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPipeline();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Pipeline.serializeBinaryToWriter
    );
  }
};


/**
 * optional Pipeline pipeline = 1;
 * @return {?proto.hashicorp.waypoint.Pipeline}
 */
proto.hashicorp.waypoint.UpsertPipelineRequest.prototype.getPipeline = function() {
  return /** @type{?proto.hashicorp.waypoint.Pipeline} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Pipeline, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Pipeline|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertPipelineRequest} returns this
*/
proto.hashicorp.waypoint.UpsertPipelineRequest.prototype.setPipeline = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertPipelineRequest} returns this
 */
proto.hashicorp.waypoint.UpsertPipelineRequest.prototype.clearPipeline = function() {
  return this.setPipeline(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertPipelineRequest.prototype.hasPipeline = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.UpsertPipelineResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.UpsertPipelineResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.UpsertPipelineResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertPipelineResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    pipeline: (f = msg.getPipeline()) && proto.hashicorp.waypoint.Pipeline.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.UpsertPipelineResponse}
 */
proto.hashicorp.waypoint.UpsertPipelineResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.UpsertPipelineResponse;
  return proto.hashicorp.waypoint.UpsertPipelineResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.UpsertPipelineResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.UpsertPipelineResponse}
 */
proto.hashicorp.waypoint.UpsertPipelineResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Pipeline;
      reader.readMessage(value,proto.hashicorp.waypoint.Pipeline.deserializeBinaryFromReader);
      msg.setPipeline(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.UpsertPipelineResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.UpsertPipelineResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.UpsertPipelineResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.UpsertPipelineResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPipeline();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Pipeline.serializeBinaryToWriter
    );
  }
};


/**
 * optional Pipeline pipeline = 1;
 * @return {?proto.hashicorp.waypoint.Pipeline}
 */
proto.hashicorp.waypoint.UpsertPipelineResponse.prototype.getPipeline = function() {
  return /** @type{?proto.hashicorp.waypoint.Pipeline} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Pipeline, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Pipeline|undefined} value
 * @return {!proto.hashicorp.waypoint.UpsertPipelineResponse} returns this
*/
proto.hashicorp.waypoint.UpsertPipelineResponse.prototype.setPipeline = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.UpsertPipelineResponse} returns this
 */
proto.hashicorp.waypoint.UpsertPipelineResponse.prototype.clearPipeline = function() {
  return this.setPipeline(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.UpsertPipelineResponse.prototype.hasPipeline = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetPipelineRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetPipelineRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetPipelineRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetPipelineRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    pipeline: (f = msg.getPipeline()) && proto.hashicorp.waypoint.Ref.Pipeline.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetPipelineRequest}
 */
proto.hashicorp.waypoint.GetPipelineRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetPipelineRequest;
  return proto.hashicorp.waypoint.GetPipelineRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetPipelineRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetPipelineRequest}
 */
proto.hashicorp.waypoint.GetPipelineRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Pipeline;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Pipeline.deserializeBinaryFromReader);
      msg.setPipeline(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetPipelineRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetPipelineRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetPipelineRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetPipelineRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPipeline();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Pipeline.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Pipeline pipeline = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Pipeline}
 */
proto.hashicorp.waypoint.GetPipelineRequest.prototype.getPipeline = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Pipeline} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Pipeline, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Pipeline|undefined} value
 * @return {!proto.hashicorp.waypoint.GetPipelineRequest} returns this
*/
proto.hashicorp.waypoint.GetPipelineRequest.prototype.setPipeline = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetPipelineRequest} returns this
 */
proto.hashicorp.waypoint.GetPipelineRequest.prototype.clearPipeline = function() {
  return this.setPipeline(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetPipelineRequest.prototype.hasPipeline = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetPipelineResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetPipelineResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetPipelineResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetPipelineResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    pipeline: (f = msg.getPipeline()) && proto.hashicorp.waypoint.Pipeline.toObject(includeInstance, f),
    rootStep: jspb.Message.getFieldWithDefault(msg, 2, ""),
    graph: (f = msg.getGraph()) && proto.hashicorp.waypoint.GetPipelineResponse.Graph.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetPipelineResponse}
 */
proto.hashicorp.waypoint.GetPipelineResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetPipelineResponse;
  return proto.hashicorp.waypoint.GetPipelineResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetPipelineResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetPipelineResponse}
 */
proto.hashicorp.waypoint.GetPipelineResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Pipeline;
      reader.readMessage(value,proto.hashicorp.waypoint.Pipeline.deserializeBinaryFromReader);
      msg.setPipeline(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setRootStep(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.GetPipelineResponse.Graph;
      reader.readMessage(value,proto.hashicorp.waypoint.GetPipelineResponse.Graph.deserializeBinaryFromReader);
      msg.setGraph(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetPipelineResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetPipelineResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetPipelineResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetPipelineResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPipeline();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Pipeline.serializeBinaryToWriter
    );
  }
  f = message.getRootStep();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getGraph();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.GetPipelineResponse.Graph.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetPipelineResponse.Graph.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetPipelineResponse.Graph.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetPipelineResponse.Graph} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetPipelineResponse.Graph.toObject = function(includeInstance, msg) {
  var f, obj = {
    content: msg.getContent_asB64(),
    format: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetPipelineResponse.Graph}
 */
proto.hashicorp.waypoint.GetPipelineResponse.Graph.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetPipelineResponse.Graph;
  return proto.hashicorp.waypoint.GetPipelineResponse.Graph.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetPipelineResponse.Graph} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetPipelineResponse.Graph}
 */
proto.hashicorp.waypoint.GetPipelineResponse.Graph.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setContent(value);
      break;
    case 2:
      var value = /** @type {!proto.hashicorp.waypoint.GetPipelineResponse.Graph.Format} */ (reader.readEnum());
      msg.setFormat(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetPipelineResponse.Graph.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetPipelineResponse.Graph.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetPipelineResponse.Graph} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetPipelineResponse.Graph.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getContent_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      1,
      f
    );
  }
  f = message.getFormat();
  if (f !== 0.0) {
    writer.writeEnum(
      2,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.GetPipelineResponse.Graph.Format = {
  INVALID: 0,
  MERMAID: 1
};

/**
 * optional bytes content = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.GetPipelineResponse.Graph.prototype.getContent = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * optional bytes content = 1;
 * This is a type-conversion wrapper around `getContent()`
 * @return {string}
 */
proto.hashicorp.waypoint.GetPipelineResponse.Graph.prototype.getContent_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getContent()));
};


/**
 * optional bytes content = 1;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getContent()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetPipelineResponse.Graph.prototype.getContent_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getContent()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.GetPipelineResponse.Graph} returns this
 */
proto.hashicorp.waypoint.GetPipelineResponse.Graph.prototype.setContent = function(value) {
  return jspb.Message.setProto3BytesField(this, 1, value);
};


/**
 * optional Format format = 2;
 * @return {!proto.hashicorp.waypoint.GetPipelineResponse.Graph.Format}
 */
proto.hashicorp.waypoint.GetPipelineResponse.Graph.prototype.getFormat = function() {
  return /** @type {!proto.hashicorp.waypoint.GetPipelineResponse.Graph.Format} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.GetPipelineResponse.Graph.Format} value
 * @return {!proto.hashicorp.waypoint.GetPipelineResponse.Graph} returns this
 */
proto.hashicorp.waypoint.GetPipelineResponse.Graph.prototype.setFormat = function(value) {
  return jspb.Message.setProto3EnumField(this, 2, value);
};


/**
 * optional Pipeline pipeline = 1;
 * @return {?proto.hashicorp.waypoint.Pipeline}
 */
proto.hashicorp.waypoint.GetPipelineResponse.prototype.getPipeline = function() {
  return /** @type{?proto.hashicorp.waypoint.Pipeline} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Pipeline, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Pipeline|undefined} value
 * @return {!proto.hashicorp.waypoint.GetPipelineResponse} returns this
*/
proto.hashicorp.waypoint.GetPipelineResponse.prototype.setPipeline = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetPipelineResponse} returns this
 */
proto.hashicorp.waypoint.GetPipelineResponse.prototype.clearPipeline = function() {
  return this.setPipeline(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetPipelineResponse.prototype.hasPipeline = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string root_step = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.GetPipelineResponse.prototype.getRootStep = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GetPipelineResponse} returns this
 */
proto.hashicorp.waypoint.GetPipelineResponse.prototype.setRootStep = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional Graph graph = 3;
 * @return {?proto.hashicorp.waypoint.GetPipelineResponse.Graph}
 */
proto.hashicorp.waypoint.GetPipelineResponse.prototype.getGraph = function() {
  return /** @type{?proto.hashicorp.waypoint.GetPipelineResponse.Graph} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.GetPipelineResponse.Graph, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.GetPipelineResponse.Graph|undefined} value
 * @return {!proto.hashicorp.waypoint.GetPipelineResponse} returns this
*/
proto.hashicorp.waypoint.GetPipelineResponse.prototype.setGraph = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetPipelineResponse} returns this
 */
proto.hashicorp.waypoint.GetPipelineResponse.prototype.clearGraph = function() {
  return this.setGraph(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetPipelineResponse.prototype.hasGraph = function() {
  return jspb.Message.getField(this, 3) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunPipelineRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunPipelineRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunPipelineRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunPipelineRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    pipeline: (f = msg.getPipeline()) && proto.hashicorp.waypoint.Ref.Pipeline.toObject(includeInstance, f),
    jobTemplate: (f = msg.getJobTemplate()) && proto.hashicorp.waypoint.Job.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunPipelineRequest}
 */
proto.hashicorp.waypoint.RunPipelineRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunPipelineRequest;
  return proto.hashicorp.waypoint.RunPipelineRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunPipelineRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunPipelineRequest}
 */
proto.hashicorp.waypoint.RunPipelineRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Pipeline;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Pipeline.deserializeBinaryFromReader);
      msg.setPipeline(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Job;
      reader.readMessage(value,proto.hashicorp.waypoint.Job.deserializeBinaryFromReader);
      msg.setJobTemplate(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunPipelineRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunPipelineRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunPipelineRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunPipelineRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPipeline();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Pipeline.serializeBinaryToWriter
    );
  }
  f = message.getJobTemplate();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Job.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Pipeline pipeline = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Pipeline}
 */
proto.hashicorp.waypoint.RunPipelineRequest.prototype.getPipeline = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Pipeline} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Pipeline, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Pipeline|undefined} value
 * @return {!proto.hashicorp.waypoint.RunPipelineRequest} returns this
*/
proto.hashicorp.waypoint.RunPipelineRequest.prototype.setPipeline = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunPipelineRequest} returns this
 */
proto.hashicorp.waypoint.RunPipelineRequest.prototype.clearPipeline = function() {
  return this.setPipeline(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunPipelineRequest.prototype.hasPipeline = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Job job_template = 2;
 * @return {?proto.hashicorp.waypoint.Job}
 */
proto.hashicorp.waypoint.RunPipelineRequest.prototype.getJobTemplate = function() {
  return /** @type{?proto.hashicorp.waypoint.Job} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Job, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Job|undefined} value
 * @return {!proto.hashicorp.waypoint.RunPipelineRequest} returns this
*/
proto.hashicorp.waypoint.RunPipelineRequest.prototype.setJobTemplate = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RunPipelineRequest} returns this
 */
proto.hashicorp.waypoint.RunPipelineRequest.prototype.clearJobTemplate = function() {
  return this.setJobTemplate(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RunPipelineRequest.prototype.hasJobTemplate = function() {
  return jspb.Message.getField(this, 2) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.RunPipelineResponse.repeatedFields_ = [2];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RunPipelineResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RunPipelineResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RunPipelineResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunPipelineResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    jobId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    allJobIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
    jobMapMap: (f = msg.getJobMapMap()) ? f.toObject(includeInstance, proto.hashicorp.waypoint.Ref.PipelineStep.toObject) : [],
    sequence: jspb.Message.getFieldWithDefault(msg, 4, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RunPipelineResponse}
 */
proto.hashicorp.waypoint.RunPipelineResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RunPipelineResponse;
  return proto.hashicorp.waypoint.RunPipelineResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RunPipelineResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RunPipelineResponse}
 */
proto.hashicorp.waypoint.RunPipelineResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setJobId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.addAllJobIds(value);
      break;
    case 3:
      var value = msg.getJobMapMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.hashicorp.waypoint.Ref.PipelineStep.deserializeBinaryFromReader, "", new proto.hashicorp.waypoint.Ref.PipelineStep());
         });
      break;
    case 4:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSequence(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RunPipelineResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RunPipelineResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RunPipelineResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RunPipelineResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getJobId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getAllJobIdsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      2,
      f
    );
  }
  f = message.getJobMapMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.hashicorp.waypoint.Ref.PipelineStep.serializeBinaryToWriter);
  }
  f = message.getSequence();
  if (f !== 0) {
    writer.writeUint64(
      4,
      f
    );
  }
};


/**
 * optional string job_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.RunPipelineResponse.prototype.getJobId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.RunPipelineResponse} returns this
 */
proto.hashicorp.waypoint.RunPipelineResponse.prototype.setJobId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * repeated string all_job_ids = 2;
 * @return {!Array<string>}
 */
proto.hashicorp.waypoint.RunPipelineResponse.prototype.getAllJobIdsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.hashicorp.waypoint.RunPipelineResponse} returns this
 */
proto.hashicorp.waypoint.RunPipelineResponse.prototype.setAllJobIdsList = function(value) {
  return jspb.Message.setField(this, 2, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.RunPipelineResponse} returns this
 */
proto.hashicorp.waypoint.RunPipelineResponse.prototype.addAllJobIds = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.RunPipelineResponse} returns this
 */
proto.hashicorp.waypoint.RunPipelineResponse.prototype.clearAllJobIdsList = function() {
  return this.setAllJobIdsList([]);
};


/**
 * map<string, Ref.PipelineStep> job_map = 3;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,!proto.hashicorp.waypoint.Ref.PipelineStep>}
 */
proto.hashicorp.waypoint.RunPipelineResponse.prototype.getJobMapMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,!proto.hashicorp.waypoint.Ref.PipelineStep>} */ (
      jspb.Message.getMapField(this, 3, opt_noLazyCreate,
      proto.hashicorp.waypoint.Ref.PipelineStep));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.RunPipelineResponse} returns this
 */
proto.hashicorp.waypoint.RunPipelineResponse.prototype.clearJobMapMap = function() {
  this.getJobMapMap().clear();
  return this;};


/**
 * optional uint64 sequence = 4;
 * @return {number}
 */
proto.hashicorp.waypoint.RunPipelineResponse.prototype.getSequence = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.RunPipelineResponse} returns this
 */
proto.hashicorp.waypoint.RunPipelineResponse.prototype.setSequence = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListPipelinesRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListPipelinesRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListPipelinesRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListPipelinesRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListPipelinesRequest}
 */
proto.hashicorp.waypoint.ListPipelinesRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListPipelinesRequest;
  return proto.hashicorp.waypoint.ListPipelinesRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListPipelinesRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListPipelinesRequest}
 */
proto.hashicorp.waypoint.ListPipelinesRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListPipelinesRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListPipelinesRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListPipelinesRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListPipelinesRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Project project = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.ListPipelinesRequest.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.ListPipelinesRequest} returns this
*/
proto.hashicorp.waypoint.ListPipelinesRequest.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListPipelinesRequest} returns this
 */
proto.hashicorp.waypoint.ListPipelinesRequest.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListPipelinesRequest.prototype.hasProject = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListPipelinesResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListPipelinesResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListPipelinesResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListPipelinesResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListPipelinesResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    pipelinesList: jspb.Message.toObjectList(msg.getPipelinesList(),
    proto.hashicorp.waypoint.Pipeline.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListPipelinesResponse}
 */
proto.hashicorp.waypoint.ListPipelinesResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListPipelinesResponse;
  return proto.hashicorp.waypoint.ListPipelinesResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListPipelinesResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListPipelinesResponse}
 */
proto.hashicorp.waypoint.ListPipelinesResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Pipeline;
      reader.readMessage(value,proto.hashicorp.waypoint.Pipeline.deserializeBinaryFromReader);
      msg.addPipelines(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListPipelinesResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListPipelinesResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListPipelinesResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListPipelinesResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPipelinesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.Pipeline.serializeBinaryToWriter
    );
  }
};


/**
 * repeated Pipeline pipelines = 1;
 * @return {!Array<!proto.hashicorp.waypoint.Pipeline>}
 */
proto.hashicorp.waypoint.ListPipelinesResponse.prototype.getPipelinesList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.Pipeline>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.Pipeline, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.Pipeline>} value
 * @return {!proto.hashicorp.waypoint.ListPipelinesResponse} returns this
*/
proto.hashicorp.waypoint.ListPipelinesResponse.prototype.setPipelinesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.Pipeline=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.Pipeline}
 */
proto.hashicorp.waypoint.ListPipelinesResponse.prototype.addPipelines = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.Pipeline, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListPipelinesResponse} returns this
 */
proto.hashicorp.waypoint.ListPipelinesResponse.prototype.clearPipelinesList = function() {
  return this.setPipelinesList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListPipelineRunsRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListPipelineRunsRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListPipelineRunsRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListPipelineRunsRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    pipeline: (f = msg.getPipeline()) && proto.hashicorp.waypoint.Ref.Pipeline.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListPipelineRunsRequest}
 */
proto.hashicorp.waypoint.ListPipelineRunsRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListPipelineRunsRequest;
  return proto.hashicorp.waypoint.ListPipelineRunsRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListPipelineRunsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListPipelineRunsRequest}
 */
proto.hashicorp.waypoint.ListPipelineRunsRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Pipeline;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Pipeline.deserializeBinaryFromReader);
      msg.setPipeline(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListPipelineRunsRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListPipelineRunsRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListPipelineRunsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListPipelineRunsRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPipeline();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Pipeline.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Pipeline pipeline = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Pipeline}
 */
proto.hashicorp.waypoint.ListPipelineRunsRequest.prototype.getPipeline = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Pipeline} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Pipeline, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Pipeline|undefined} value
 * @return {!proto.hashicorp.waypoint.ListPipelineRunsRequest} returns this
*/
proto.hashicorp.waypoint.ListPipelineRunsRequest.prototype.setPipeline = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ListPipelineRunsRequest} returns this
 */
proto.hashicorp.waypoint.ListPipelineRunsRequest.prototype.clearPipeline = function() {
  return this.setPipeline(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ListPipelineRunsRequest.prototype.hasPipeline = function() {
  return jspb.Message.getField(this, 1) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.hashicorp.waypoint.ListPipelineRunsResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ListPipelineRunsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ListPipelineRunsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ListPipelineRunsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListPipelineRunsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    pipelineRunsList: jspb.Message.toObjectList(msg.getPipelineRunsList(),
    proto.hashicorp.waypoint.PipelineRun.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ListPipelineRunsResponse}
 */
proto.hashicorp.waypoint.ListPipelineRunsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ListPipelineRunsResponse;
  return proto.hashicorp.waypoint.ListPipelineRunsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ListPipelineRunsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ListPipelineRunsResponse}
 */
proto.hashicorp.waypoint.ListPipelineRunsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.PipelineRun;
      reader.readMessage(value,proto.hashicorp.waypoint.PipelineRun.deserializeBinaryFromReader);
      msg.addPipelineRuns(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ListPipelineRunsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ListPipelineRunsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ListPipelineRunsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ListPipelineRunsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPipelineRunsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.hashicorp.waypoint.PipelineRun.serializeBinaryToWriter
    );
  }
};


/**
 * repeated PipelineRun pipeline_runs = 1;
 * @return {!Array<!proto.hashicorp.waypoint.PipelineRun>}
 */
proto.hashicorp.waypoint.ListPipelineRunsResponse.prototype.getPipelineRunsList = function() {
  return /** @type{!Array<!proto.hashicorp.waypoint.PipelineRun>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.hashicorp.waypoint.PipelineRun, 1));
};


/**
 * @param {!Array<!proto.hashicorp.waypoint.PipelineRun>} value
 * @return {!proto.hashicorp.waypoint.ListPipelineRunsResponse} returns this
*/
proto.hashicorp.waypoint.ListPipelineRunsResponse.prototype.setPipelineRunsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.hashicorp.waypoint.PipelineRun=} opt_value
 * @param {number=} opt_index
 * @return {!proto.hashicorp.waypoint.PipelineRun}
 */
proto.hashicorp.waypoint.ListPipelineRunsResponse.prototype.addPipelineRuns = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.hashicorp.waypoint.PipelineRun, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.hashicorp.waypoint.ListPipelineRunsResponse} returns this
 */
proto.hashicorp.waypoint.ListPipelineRunsResponse.prototype.clearPipelineRunsList = function() {
  return this.setPipelineRunsList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetPipelineRunRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetPipelineRunRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetPipelineRunRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetPipelineRunRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    pipeline: (f = msg.getPipeline()) && proto.hashicorp.waypoint.Ref.Pipeline.toObject(includeInstance, f),
    sequence: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetPipelineRunRequest}
 */
proto.hashicorp.waypoint.GetPipelineRunRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetPipelineRunRequest;
  return proto.hashicorp.waypoint.GetPipelineRunRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetPipelineRunRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetPipelineRunRequest}
 */
proto.hashicorp.waypoint.GetPipelineRunRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Pipeline;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Pipeline.deserializeBinaryFromReader);
      msg.setPipeline(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSequence(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetPipelineRunRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetPipelineRunRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetPipelineRunRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetPipelineRunRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPipeline();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Pipeline.serializeBinaryToWriter
    );
  }
  f = message.getSequence();
  if (f !== 0) {
    writer.writeUint64(
      2,
      f
    );
  }
};


/**
 * optional Ref.Pipeline pipeline = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Pipeline}
 */
proto.hashicorp.waypoint.GetPipelineRunRequest.prototype.getPipeline = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Pipeline} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Pipeline, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Pipeline|undefined} value
 * @return {!proto.hashicorp.waypoint.GetPipelineRunRequest} returns this
*/
proto.hashicorp.waypoint.GetPipelineRunRequest.prototype.setPipeline = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetPipelineRunRequest} returns this
 */
proto.hashicorp.waypoint.GetPipelineRunRequest.prototype.clearPipeline = function() {
  return this.setPipeline(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetPipelineRunRequest.prototype.hasPipeline = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional uint64 sequence = 2;
 * @return {number}
 */
proto.hashicorp.waypoint.GetPipelineRunRequest.prototype.getSequence = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.GetPipelineRunRequest} returns this
 */
proto.hashicorp.waypoint.GetPipelineRunRequest.prototype.setSequence = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GetPipelineRunResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GetPipelineRunResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GetPipelineRunResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetPipelineRunResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    pipelineRun: (f = msg.getPipelineRun()) && proto.hashicorp.waypoint.PipelineRun.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GetPipelineRunResponse}
 */
proto.hashicorp.waypoint.GetPipelineRunResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GetPipelineRunResponse;
  return proto.hashicorp.waypoint.GetPipelineRunResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GetPipelineRunResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GetPipelineRunResponse}
 */
proto.hashicorp.waypoint.GetPipelineRunResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.PipelineRun;
      reader.readMessage(value,proto.hashicorp.waypoint.PipelineRun.deserializeBinaryFromReader);
      msg.setPipelineRun(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GetPipelineRunResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GetPipelineRunResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GetPipelineRunResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GetPipelineRunResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPipelineRun();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.PipelineRun.serializeBinaryToWriter
    );
  }
};


/**
 * optional PipelineRun pipeline_run = 1;
 * @return {?proto.hashicorp.waypoint.PipelineRun}
 */
proto.hashicorp.waypoint.GetPipelineRunResponse.prototype.getPipelineRun = function() {
  return /** @type{?proto.hashicorp.waypoint.PipelineRun} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.PipelineRun, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.PipelineRun|undefined} value
 * @return {!proto.hashicorp.waypoint.GetPipelineRunResponse} returns this
*/
proto.hashicorp.waypoint.GetPipelineRunResponse.prototype.setPipelineRun = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.GetPipelineRunResponse} returns this
 */
proto.hashicorp.waypoint.GetPipelineRunResponse.prototype.clearPipelineRun = function() {
  return this.setPipelineRun(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.GetPipelineRunResponse.prototype.hasPipelineRun = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ConfigSyncPipelineRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ConfigSyncPipelineRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ConfigSyncPipelineRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigSyncPipelineRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    project: (f = msg.getProject()) && proto.hashicorp.waypoint.Ref.Project.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ConfigSyncPipelineRequest}
 */
proto.hashicorp.waypoint.ConfigSyncPipelineRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ConfigSyncPipelineRequest;
  return proto.hashicorp.waypoint.ConfigSyncPipelineRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ConfigSyncPipelineRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ConfigSyncPipelineRequest}
 */
proto.hashicorp.waypoint.ConfigSyncPipelineRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Ref.Project;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.Project.deserializeBinaryFromReader);
      msg.setProject(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ConfigSyncPipelineRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ConfigSyncPipelineRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ConfigSyncPipelineRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigSyncPipelineRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProject();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Ref.Project.serializeBinaryToWriter
    );
  }
};


/**
 * optional Ref.Project project = 1;
 * @return {?proto.hashicorp.waypoint.Ref.Project}
 */
proto.hashicorp.waypoint.ConfigSyncPipelineRequest.prototype.getProject = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.Project} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.Project, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.Project|undefined} value
 * @return {!proto.hashicorp.waypoint.ConfigSyncPipelineRequest} returns this
*/
proto.hashicorp.waypoint.ConfigSyncPipelineRequest.prototype.setProject = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.ConfigSyncPipelineRequest} returns this
 */
proto.hashicorp.waypoint.ConfigSyncPipelineRequest.prototype.clearProject = function() {
  return this.setProject(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.ConfigSyncPipelineRequest.prototype.hasProject = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ConfigSyncPipelineResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ConfigSyncPipelineResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ConfigSyncPipelineResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigSyncPipelineResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    syncedPipelinesMap: (f = msg.getSyncedPipelinesMap()) ? f.toObject(includeInstance, proto.hashicorp.waypoint.Ref.Pipeline.toObject) : []
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ConfigSyncPipelineResponse}
 */
proto.hashicorp.waypoint.ConfigSyncPipelineResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ConfigSyncPipelineResponse;
  return proto.hashicorp.waypoint.ConfigSyncPipelineResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ConfigSyncPipelineResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ConfigSyncPipelineResponse}
 */
proto.hashicorp.waypoint.ConfigSyncPipelineResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = msg.getSyncedPipelinesMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.hashicorp.waypoint.Ref.Pipeline.deserializeBinaryFromReader, "", new proto.hashicorp.waypoint.Ref.Pipeline());
         });
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ConfigSyncPipelineResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ConfigSyncPipelineResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ConfigSyncPipelineResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConfigSyncPipelineResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSyncedPipelinesMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.hashicorp.waypoint.Ref.Pipeline.serializeBinaryToWriter);
  }
};


/**
 * map<string, Ref.Pipeline> synced_pipelines = 1;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,!proto.hashicorp.waypoint.Ref.Pipeline>}
 */
proto.hashicorp.waypoint.ConfigSyncPipelineResponse.prototype.getSyncedPipelinesMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,!proto.hashicorp.waypoint.Ref.Pipeline>} */ (
      jspb.Message.getMapField(this, 1, opt_noLazyCreate,
      proto.hashicorp.waypoint.Ref.Pipeline));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.ConfigSyncPipelineResponse} returns this
 */
proto.hashicorp.waypoint.ConfigSyncPipelineResponse.prototype.clearSyncedPipelinesMap = function() {
  this.getSyncedPipelinesMap().clear();
  return this;};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.TokenTransport.oneofGroups_ = [[12]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.TokenTransport.ExternalCredsCase = {
  EXTERNAL_CREDS_NOT_SET: 0,
  OAUTH_CREDS: 12
};

/**
 * @return {proto.hashicorp.waypoint.TokenTransport.ExternalCredsCase}
 */
proto.hashicorp.waypoint.TokenTransport.prototype.getExternalCredsCase = function() {
  return /** @type {proto.hashicorp.waypoint.TokenTransport.ExternalCredsCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.TokenTransport.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.TokenTransport.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.TokenTransport.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.TokenTransport} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.TokenTransport.toObject = function(includeInstance, msg) {
  var f, obj = {
    body: msg.getBody_asB64(),
    signature: msg.getSignature_asB64(),
    keyId: jspb.Message.getFieldWithDefault(msg, 3, ""),
    metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [],
    oauthCreds: (f = msg.getOauthCreds()) && proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.TokenTransport}
 */
proto.hashicorp.waypoint.TokenTransport.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.TokenTransport;
  return proto.hashicorp.waypoint.TokenTransport.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.TokenTransport} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.TokenTransport}
 */
proto.hashicorp.waypoint.TokenTransport.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setBody(value);
      break;
    case 2:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setSignature(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setKeyId(value);
      break;
    case 4:
      var value = msg.getMetadataMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    case 12:
      var value = new proto.hashicorp.waypoint.TokenTransport.OAuthCredentials;
      reader.readMessage(value,proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.deserializeBinaryFromReader);
      msg.setOauthCreds(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.TokenTransport.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.TokenTransport.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.TokenTransport} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.TokenTransport.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getBody_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      1,
      f
    );
  }
  f = message.getSignature_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      2,
      f
    );
  }
  f = message.getKeyId();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getMetadataMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
  f = message.getOauthCreds();
  if (f != null) {
    writer.writeMessage(
      12,
      f,
      proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.TokenTransport.OAuthCredentials} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.toObject = function(includeInstance, msg) {
  var f, obj = {
    url: jspb.Message.getFieldWithDefault(msg, 1, ""),
    clientId: jspb.Message.getFieldWithDefault(msg, 2, ""),
    clientSecret: jspb.Message.getFieldWithDefault(msg, 3, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.TokenTransport.OAuthCredentials}
 */
proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.TokenTransport.OAuthCredentials;
  return proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.TokenTransport.OAuthCredentials} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.TokenTransport.OAuthCredentials}
 */
proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setUrl(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setClientId(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setClientSecret(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.TokenTransport.OAuthCredentials} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getUrl();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getClientId();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getClientSecret();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
};


/**
 * optional string url = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.prototype.getUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.TokenTransport.OAuthCredentials} returns this
 */
proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.prototype.setUrl = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string client_id = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.prototype.getClientId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.TokenTransport.OAuthCredentials} returns this
 */
proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.prototype.setClientId = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string client_secret = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.prototype.getClientSecret = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.TokenTransport.OAuthCredentials} returns this
 */
proto.hashicorp.waypoint.TokenTransport.OAuthCredentials.prototype.setClientSecret = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional bytes body = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.TokenTransport.prototype.getBody = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * optional bytes body = 1;
 * This is a type-conversion wrapper around `getBody()`
 * @return {string}
 */
proto.hashicorp.waypoint.TokenTransport.prototype.getBody_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getBody()));
};


/**
 * optional bytes body = 1;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getBody()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.TokenTransport.prototype.getBody_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getBody()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.TokenTransport} returns this
 */
proto.hashicorp.waypoint.TokenTransport.prototype.setBody = function(value) {
  return jspb.Message.setProto3BytesField(this, 1, value);
};


/**
 * optional bytes signature = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.TokenTransport.prototype.getSignature = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * optional bytes signature = 2;
 * This is a type-conversion wrapper around `getSignature()`
 * @return {string}
 */
proto.hashicorp.waypoint.TokenTransport.prototype.getSignature_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getSignature()));
};


/**
 * optional bytes signature = 2;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getSignature()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.TokenTransport.prototype.getSignature_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getSignature()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.TokenTransport} returns this
 */
proto.hashicorp.waypoint.TokenTransport.prototype.setSignature = function(value) {
  return jspb.Message.setProto3BytesField(this, 2, value);
};


/**
 * optional string key_id = 3;
 * @return {string}
 */
proto.hashicorp.waypoint.TokenTransport.prototype.getKeyId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.TokenTransport} returns this
 */
proto.hashicorp.waypoint.TokenTransport.prototype.setKeyId = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * map<string, string> metadata = 4;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.TokenTransport.prototype.getMetadataMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 4, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.TokenTransport} returns this
 */
proto.hashicorp.waypoint.TokenTransport.prototype.clearMetadataMap = function() {
  this.getMetadataMap().clear();
  return this;};


/**
 * optional OAuthCredentials oauth_creds = 12;
 * @return {?proto.hashicorp.waypoint.TokenTransport.OAuthCredentials}
 */
proto.hashicorp.waypoint.TokenTransport.prototype.getOauthCreds = function() {
  return /** @type{?proto.hashicorp.waypoint.TokenTransport.OAuthCredentials} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.TokenTransport.OAuthCredentials, 12));
};


/**
 * @param {?proto.hashicorp.waypoint.TokenTransport.OAuthCredentials|undefined} value
 * @return {!proto.hashicorp.waypoint.TokenTransport} returns this
*/
proto.hashicorp.waypoint.TokenTransport.prototype.setOauthCreds = function(value) {
  return jspb.Message.setOneofWrapperField(this, 12, proto.hashicorp.waypoint.TokenTransport.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.TokenTransport} returns this
 */
proto.hashicorp.waypoint.TokenTransport.prototype.clearOauthCreds = function() {
  return this.setOauthCreds(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.TokenTransport.prototype.hasOauthCreds = function() {
  return jspb.Message.getField(this, 12) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Token.oneofGroups_ = [[8,11,9,10]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Token.KindCase = {
  KIND_NOT_SET: 0,
  LOGIN: 8,
  RUNNER: 11,
  INVITE: 9,
  TRIGGER: 10
};

/**
 * @return {proto.hashicorp.waypoint.Token.KindCase}
 */
proto.hashicorp.waypoint.Token.prototype.getKindCase = function() {
  return /** @type {proto.hashicorp.waypoint.Token.KindCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Token.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Token.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Token.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Token} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Token.toObject = function(includeInstance, msg) {
  var f, obj = {
    accessorId: msg.getAccessorId_asB64(),
    validUntil: (f = msg.getValidUntil()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    issuedTime: (f = msg.getIssuedTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
    login: (f = msg.getLogin()) && proto.hashicorp.waypoint.Token.Login.toObject(includeInstance, f),
    runner: (f = msg.getRunner()) && proto.hashicorp.waypoint.Token.Runner.toObject(includeInstance, f),
    invite: (f = msg.getInvite()) && proto.hashicorp.waypoint.Token.Invite.toObject(includeInstance, f),
    trigger: (f = msg.getTrigger()) && proto.hashicorp.waypoint.Token.Trigger.toObject(includeInstance, f),
    unusedUser: jspb.Message.getFieldWithDefault(msg, 1, ""),
    unusedLogin: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
    unusedInvite: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
    unusedEntrypoint: (f = msg.getUnusedEntrypoint()) && proto.hashicorp.waypoint.Token.Entrypoint.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Token}
 */
proto.hashicorp.waypoint.Token.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Token;
  return proto.hashicorp.waypoint.Token.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Token} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Token}
 */
proto.hashicorp.waypoint.Token.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 2:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setAccessorId(value);
      break;
    case 3:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setValidUntil(value);
      break;
    case 7:
      var value = new google_protobuf_timestamp_pb.Timestamp;
      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
      msg.setIssuedTime(value);
      break;
    case 8:
      var value = new proto.hashicorp.waypoint.Token.Login;
      reader.readMessage(value,proto.hashicorp.waypoint.Token.Login.deserializeBinaryFromReader);
      msg.setLogin(value);
      break;
    case 11:
      var value = new proto.hashicorp.waypoint.Token.Runner;
      reader.readMessage(value,proto.hashicorp.waypoint.Token.Runner.deserializeBinaryFromReader);
      msg.setRunner(value);
      break;
    case 9:
      var value = new proto.hashicorp.waypoint.Token.Invite;
      reader.readMessage(value,proto.hashicorp.waypoint.Token.Invite.deserializeBinaryFromReader);
      msg.setInvite(value);
      break;
    case 10:
      var value = new proto.hashicorp.waypoint.Token.Trigger;
      reader.readMessage(value,proto.hashicorp.waypoint.Token.Trigger.deserializeBinaryFromReader);
      msg.setTrigger(value);
      break;
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setUnusedUser(value);
      break;
    case 4:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setUnusedLogin(value);
      break;
    case 5:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setUnusedInvite(value);
      break;
    case 6:
      var value = new proto.hashicorp.waypoint.Token.Entrypoint;
      reader.readMessage(value,proto.hashicorp.waypoint.Token.Entrypoint.deserializeBinaryFromReader);
      msg.setUnusedEntrypoint(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Token.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Token.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Token} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Token.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAccessorId_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      2,
      f
    );
  }
  f = message.getValidUntil();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getIssuedTime();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
    );
  }
  f = message.getLogin();
  if (f != null) {
    writer.writeMessage(
      8,
      f,
      proto.hashicorp.waypoint.Token.Login.serializeBinaryToWriter
    );
  }
  f = message.getRunner();
  if (f != null) {
    writer.writeMessage(
      11,
      f,
      proto.hashicorp.waypoint.Token.Runner.serializeBinaryToWriter
    );
  }
  f = message.getInvite();
  if (f != null) {
    writer.writeMessage(
      9,
      f,
      proto.hashicorp.waypoint.Token.Invite.serializeBinaryToWriter
    );
  }
  f = message.getTrigger();
  if (f != null) {
    writer.writeMessage(
      10,
      f,
      proto.hashicorp.waypoint.Token.Trigger.serializeBinaryToWriter
    );
  }
  f = message.getUnusedUser();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getUnusedLogin();
  if (f) {
    writer.writeBool(
      4,
      f
    );
  }
  f = message.getUnusedInvite();
  if (f) {
    writer.writeBool(
      5,
      f
    );
  }
  f = message.getUnusedEntrypoint();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      proto.hashicorp.waypoint.Token.Entrypoint.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Token.Login.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Token.Login.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Token.Login} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Token.Login.toObject = function(includeInstance, msg) {
  var f, obj = {
    userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    entrypoint: (f = msg.getEntrypoint()) && proto.hashicorp.waypoint.Token.Entrypoint.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Token.Login}
 */
proto.hashicorp.waypoint.Token.Login.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Token.Login;
  return proto.hashicorp.waypoint.Token.Login.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Token.Login} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Token.Login}
 */
proto.hashicorp.waypoint.Token.Login.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setUserId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Token.Entrypoint;
      reader.readMessage(value,proto.hashicorp.waypoint.Token.Entrypoint.deserializeBinaryFromReader);
      msg.setEntrypoint(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Token.Login.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Token.Login.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Token.Login} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Token.Login.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getUserId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getEntrypoint();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Token.Entrypoint.serializeBinaryToWriter
    );
  }
};


/**
 * optional string user_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Token.Login.prototype.getUserId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Token.Login} returns this
 */
proto.hashicorp.waypoint.Token.Login.prototype.setUserId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional Entrypoint entrypoint = 2;
 * @return {?proto.hashicorp.waypoint.Token.Entrypoint}
 */
proto.hashicorp.waypoint.Token.Login.prototype.getEntrypoint = function() {
  return /** @type{?proto.hashicorp.waypoint.Token.Entrypoint} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Token.Entrypoint, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Token.Entrypoint|undefined} value
 * @return {!proto.hashicorp.waypoint.Token.Login} returns this
*/
proto.hashicorp.waypoint.Token.Login.prototype.setEntrypoint = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Token.Login} returns this
 */
proto.hashicorp.waypoint.Token.Login.prototype.clearEntrypoint = function() {
  return this.setEntrypoint(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Token.Login.prototype.hasEntrypoint = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Token.Runner.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Token.Runner.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Token.Runner} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Token.Runner.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    labelHash: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Token.Runner}
 */
proto.hashicorp.waypoint.Token.Runner.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Token.Runner;
  return proto.hashicorp.waypoint.Token.Runner.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Token.Runner} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Token.Runner}
 */
proto.hashicorp.waypoint.Token.Runner.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setLabelHash(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Token.Runner.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Token.Runner.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Token.Runner} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Token.Runner.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getLabelHash();
  if (f !== 0) {
    writer.writeUint64(
      2,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Token.Runner.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Token.Runner} returns this
 */
proto.hashicorp.waypoint.Token.Runner.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional uint64 label_hash = 2;
 * @return {number}
 */
proto.hashicorp.waypoint.Token.Runner.prototype.getLabelHash = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.hashicorp.waypoint.Token.Runner} returns this
 */
proto.hashicorp.waypoint.Token.Runner.prototype.setLabelHash = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Token.Invite.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Token.Invite.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Token.Invite} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Token.Invite.toObject = function(includeInstance, msg) {
  var f, obj = {
    fromUserId: jspb.Message.getFieldWithDefault(msg, 1, ""),
    login: (f = msg.getLogin()) && proto.hashicorp.waypoint.Token.Login.toObject(includeInstance, f),
    signup: (f = msg.getSignup()) && proto.hashicorp.waypoint.Token.Invite.Signup.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Token.Invite}
 */
proto.hashicorp.waypoint.Token.Invite.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Token.Invite;
  return proto.hashicorp.waypoint.Token.Invite.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Token.Invite} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Token.Invite}
 */
proto.hashicorp.waypoint.Token.Invite.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setFromUserId(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Token.Login;
      reader.readMessage(value,proto.hashicorp.waypoint.Token.Login.deserializeBinaryFromReader);
      msg.setLogin(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Token.Invite.Signup;
      reader.readMessage(value,proto.hashicorp.waypoint.Token.Invite.Signup.deserializeBinaryFromReader);
      msg.setSignup(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Token.Invite.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Token.Invite.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Token.Invite} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Token.Invite.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFromUserId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getLogin();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Token.Login.serializeBinaryToWriter
    );
  }
  f = message.getSignup();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Token.Invite.Signup.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Token.Invite.Signup.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Token.Invite.Signup.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Token.Invite.Signup} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Token.Invite.Signup.toObject = function(includeInstance, msg) {
  var f, obj = {
    initialUsername: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Token.Invite.Signup}
 */
proto.hashicorp.waypoint.Token.Invite.Signup.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Token.Invite.Signup;
  return proto.hashicorp.waypoint.Token.Invite.Signup.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Token.Invite.Signup} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Token.Invite.Signup}
 */
proto.hashicorp.waypoint.Token.Invite.Signup.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setInitialUsername(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Token.Invite.Signup.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Token.Invite.Signup.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Token.Invite.Signup} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Token.Invite.Signup.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getInitialUsername();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string initial_username = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Token.Invite.Signup.prototype.getInitialUsername = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Token.Invite.Signup} returns this
 */
proto.hashicorp.waypoint.Token.Invite.Signup.prototype.setInitialUsername = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string from_user_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Token.Invite.prototype.getFromUserId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Token.Invite} returns this
 */
proto.hashicorp.waypoint.Token.Invite.prototype.setFromUserId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional Login login = 2;
 * @return {?proto.hashicorp.waypoint.Token.Login}
 */
proto.hashicorp.waypoint.Token.Invite.prototype.getLogin = function() {
  return /** @type{?proto.hashicorp.waypoint.Token.Login} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Token.Login, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Token.Login|undefined} value
 * @return {!proto.hashicorp.waypoint.Token.Invite} returns this
*/
proto.hashicorp.waypoint.Token.Invite.prototype.setLogin = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Token.Invite} returns this
 */
proto.hashicorp.waypoint.Token.Invite.prototype.clearLogin = function() {
  return this.setLogin(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Token.Invite.prototype.hasLogin = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Signup signup = 3;
 * @return {?proto.hashicorp.waypoint.Token.Invite.Signup}
 */
proto.hashicorp.waypoint.Token.Invite.prototype.getSignup = function() {
  return /** @type{?proto.hashicorp.waypoint.Token.Invite.Signup} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Token.Invite.Signup, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Token.Invite.Signup|undefined} value
 * @return {!proto.hashicorp.waypoint.Token.Invite} returns this
*/
proto.hashicorp.waypoint.Token.Invite.prototype.setSignup = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Token.Invite} returns this
 */
proto.hashicorp.waypoint.Token.Invite.prototype.clearSignup = function() {
  return this.setSignup(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Token.Invite.prototype.hasSignup = function() {
  return jspb.Message.getField(this, 3) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Token.Entrypoint.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Token.Entrypoint.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Token.Entrypoint} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Token.Entrypoint.toObject = function(includeInstance, msg) {
  var f, obj = {
    deploymentId: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Token.Entrypoint}
 */
proto.hashicorp.waypoint.Token.Entrypoint.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Token.Entrypoint;
  return proto.hashicorp.waypoint.Token.Entrypoint.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Token.Entrypoint} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Token.Entrypoint}
 */
proto.hashicorp.waypoint.Token.Entrypoint.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setDeploymentId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Token.Entrypoint.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Token.Entrypoint.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Token.Entrypoint} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Token.Entrypoint.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDeploymentId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string deployment_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Token.Entrypoint.prototype.getDeploymentId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Token.Entrypoint} returns this
 */
proto.hashicorp.waypoint.Token.Entrypoint.prototype.setDeploymentId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Token.Trigger.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Token.Trigger.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Token.Trigger} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Token.Trigger.toObject = function(includeInstance, msg) {
  var f, obj = {
    fromUserId: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Token.Trigger}
 */
proto.hashicorp.waypoint.Token.Trigger.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Token.Trigger;
  return proto.hashicorp.waypoint.Token.Trigger.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Token.Trigger} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Token.Trigger}
 */
proto.hashicorp.waypoint.Token.Trigger.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setFromUserId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Token.Trigger.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Token.Trigger.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Token.Trigger} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Token.Trigger.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFromUserId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string from_user_id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Token.Trigger.prototype.getFromUserId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Token.Trigger} returns this
 */
proto.hashicorp.waypoint.Token.Trigger.prototype.setFromUserId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional bytes accessor_id = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.Token.prototype.getAccessorId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * optional bytes accessor_id = 2;
 * This is a type-conversion wrapper around `getAccessorId()`
 * @return {string}
 */
proto.hashicorp.waypoint.Token.prototype.getAccessorId_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getAccessorId()));
};


/**
 * optional bytes accessor_id = 2;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getAccessorId()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Token.prototype.getAccessorId_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getAccessorId()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.Token} returns this
 */
proto.hashicorp.waypoint.Token.prototype.setAccessorId = function(value) {
  return jspb.Message.setProto3BytesField(this, 2, value);
};


/**
 * optional google.protobuf.Timestamp valid_until = 3;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Token.prototype.getValidUntil = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Token} returns this
*/
proto.hashicorp.waypoint.Token.prototype.setValidUntil = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Token} returns this
 */
proto.hashicorp.waypoint.Token.prototype.clearValidUntil = function() {
  return this.setValidUntil(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Token.prototype.hasValidUntil = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional google.protobuf.Timestamp issued_time = 7;
 * @return {?proto.google.protobuf.Timestamp}
 */
proto.hashicorp.waypoint.Token.prototype.getIssuedTime = function() {
  return /** @type{?proto.google.protobuf.Timestamp} */ (
    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
};


/**
 * @param {?proto.google.protobuf.Timestamp|undefined} value
 * @return {!proto.hashicorp.waypoint.Token} returns this
*/
proto.hashicorp.waypoint.Token.prototype.setIssuedTime = function(value) {
  return jspb.Message.setWrapperField(this, 7, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Token} returns this
 */
proto.hashicorp.waypoint.Token.prototype.clearIssuedTime = function() {
  return this.setIssuedTime(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Token.prototype.hasIssuedTime = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional Login login = 8;
 * @return {?proto.hashicorp.waypoint.Token.Login}
 */
proto.hashicorp.waypoint.Token.prototype.getLogin = function() {
  return /** @type{?proto.hashicorp.waypoint.Token.Login} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Token.Login, 8));
};


/**
 * @param {?proto.hashicorp.waypoint.Token.Login|undefined} value
 * @return {!proto.hashicorp.waypoint.Token} returns this
*/
proto.hashicorp.waypoint.Token.prototype.setLogin = function(value) {
  return jspb.Message.setOneofWrapperField(this, 8, proto.hashicorp.waypoint.Token.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Token} returns this
 */
proto.hashicorp.waypoint.Token.prototype.clearLogin = function() {
  return this.setLogin(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Token.prototype.hasLogin = function() {
  return jspb.Message.getField(this, 8) != null;
};


/**
 * optional Runner runner = 11;
 * @return {?proto.hashicorp.waypoint.Token.Runner}
 */
proto.hashicorp.waypoint.Token.prototype.getRunner = function() {
  return /** @type{?proto.hashicorp.waypoint.Token.Runner} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Token.Runner, 11));
};


/**
 * @param {?proto.hashicorp.waypoint.Token.Runner|undefined} value
 * @return {!proto.hashicorp.waypoint.Token} returns this
*/
proto.hashicorp.waypoint.Token.prototype.setRunner = function(value) {
  return jspb.Message.setOneofWrapperField(this, 11, proto.hashicorp.waypoint.Token.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Token} returns this
 */
proto.hashicorp.waypoint.Token.prototype.clearRunner = function() {
  return this.setRunner(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Token.prototype.hasRunner = function() {
  return jspb.Message.getField(this, 11) != null;
};


/**
 * optional Invite invite = 9;
 * @return {?proto.hashicorp.waypoint.Token.Invite}
 */
proto.hashicorp.waypoint.Token.prototype.getInvite = function() {
  return /** @type{?proto.hashicorp.waypoint.Token.Invite} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Token.Invite, 9));
};


/**
 * @param {?proto.hashicorp.waypoint.Token.Invite|undefined} value
 * @return {!proto.hashicorp.waypoint.Token} returns this
*/
proto.hashicorp.waypoint.Token.prototype.setInvite = function(value) {
  return jspb.Message.setOneofWrapperField(this, 9, proto.hashicorp.waypoint.Token.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Token} returns this
 */
proto.hashicorp.waypoint.Token.prototype.clearInvite = function() {
  return this.setInvite(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Token.prototype.hasInvite = function() {
  return jspb.Message.getField(this, 9) != null;
};


/**
 * optional Trigger trigger = 10;
 * @return {?proto.hashicorp.waypoint.Token.Trigger}
 */
proto.hashicorp.waypoint.Token.prototype.getTrigger = function() {
  return /** @type{?proto.hashicorp.waypoint.Token.Trigger} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Token.Trigger, 10));
};


/**
 * @param {?proto.hashicorp.waypoint.Token.Trigger|undefined} value
 * @return {!proto.hashicorp.waypoint.Token} returns this
*/
proto.hashicorp.waypoint.Token.prototype.setTrigger = function(value) {
  return jspb.Message.setOneofWrapperField(this, 10, proto.hashicorp.waypoint.Token.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Token} returns this
 */
proto.hashicorp.waypoint.Token.prototype.clearTrigger = function() {
  return this.setTrigger(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Token.prototype.hasTrigger = function() {
  return jspb.Message.getField(this, 10) != null;
};


/**
 * optional string unused_user = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Token.prototype.getUnusedUser = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Token} returns this
 */
proto.hashicorp.waypoint.Token.prototype.setUnusedUser = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional bool unused_login = 4;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Token.prototype.getUnusedLogin = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Token} returns this
 */
proto.hashicorp.waypoint.Token.prototype.setUnusedLogin = function(value) {
  return jspb.Message.setProto3BooleanField(this, 4, value);
};


/**
 * optional bool unused_invite = 5;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Token.prototype.getUnusedInvite = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Token} returns this
 */
proto.hashicorp.waypoint.Token.prototype.setUnusedInvite = function(value) {
  return jspb.Message.setProto3BooleanField(this, 5, value);
};


/**
 * optional Entrypoint unused_entrypoint = 6;
 * @return {?proto.hashicorp.waypoint.Token.Entrypoint}
 */
proto.hashicorp.waypoint.Token.prototype.getUnusedEntrypoint = function() {
  return /** @type{?proto.hashicorp.waypoint.Token.Entrypoint} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Token.Entrypoint, 6));
};


/**
 * @param {?proto.hashicorp.waypoint.Token.Entrypoint|undefined} value
 * @return {!proto.hashicorp.waypoint.Token} returns this
*/
proto.hashicorp.waypoint.Token.prototype.setUnusedEntrypoint = function(value) {
  return jspb.Message.setWrapperField(this, 6, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Token} returns this
 */
proto.hashicorp.waypoint.Token.prototype.clearUnusedEntrypoint = function() {
  return this.setUnusedEntrypoint(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Token.prototype.hasUnusedEntrypoint = function() {
  return jspb.Message.getField(this, 6) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.HMACKey.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.HMACKey.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.HMACKey} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.HMACKey.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    key: msg.getKey_asB64()
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.HMACKey}
 */
proto.hashicorp.waypoint.HMACKey.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.HMACKey;
  return proto.hashicorp.waypoint.HMACKey.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.HMACKey} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.HMACKey}
 */
proto.hashicorp.waypoint.HMACKey.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setKey(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.HMACKey.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.HMACKey.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.HMACKey} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.HMACKey.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getKey_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      2,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.HMACKey.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.HMACKey} returns this
 */
proto.hashicorp.waypoint.HMACKey.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional bytes key = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.HMACKey.prototype.getKey = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * optional bytes key = 2;
 * This is a type-conversion wrapper around `getKey()`
 * @return {string}
 */
proto.hashicorp.waypoint.HMACKey.prototype.getKey_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getKey()));
};


/**
 * optional bytes key = 2;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getKey()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.HMACKey.prototype.getKey_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getKey()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.HMACKey} returns this
 */
proto.hashicorp.waypoint.HMACKey.prototype.setKey = function(value) {
  return jspb.Message.setProto3BytesField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.DecodeTokenRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.DecodeTokenRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.DecodeTokenRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DecodeTokenRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    token: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.DecodeTokenRequest}
 */
proto.hashicorp.waypoint.DecodeTokenRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.DecodeTokenRequest;
  return proto.hashicorp.waypoint.DecodeTokenRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.DecodeTokenRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.DecodeTokenRequest}
 */
proto.hashicorp.waypoint.DecodeTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setToken(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.DecodeTokenRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.DecodeTokenRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.DecodeTokenRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DecodeTokenRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getToken();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string token = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.DecodeTokenRequest.prototype.getToken = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.DecodeTokenRequest} returns this
 */
proto.hashicorp.waypoint.DecodeTokenRequest.prototype.setToken = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.DecodeTokenResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.DecodeTokenResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.DecodeTokenResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DecodeTokenResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    token: (f = msg.getToken()) && proto.hashicorp.waypoint.Token.toObject(includeInstance, f),
    transport: (f = msg.getTransport()) && proto.hashicorp.waypoint.TokenTransport.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.DecodeTokenResponse}
 */
proto.hashicorp.waypoint.DecodeTokenResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.DecodeTokenResponse;
  return proto.hashicorp.waypoint.DecodeTokenResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.DecodeTokenResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.DecodeTokenResponse}
 */
proto.hashicorp.waypoint.DecodeTokenResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.Token;
      reader.readMessage(value,proto.hashicorp.waypoint.Token.deserializeBinaryFromReader);
      msg.setToken(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.TokenTransport;
      reader.readMessage(value,proto.hashicorp.waypoint.TokenTransport.deserializeBinaryFromReader);
      msg.setTransport(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.DecodeTokenResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.DecodeTokenResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.DecodeTokenResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.DecodeTokenResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getToken();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.Token.serializeBinaryToWriter
    );
  }
  f = message.getTransport();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.TokenTransport.serializeBinaryToWriter
    );
  }
};


/**
 * optional Token token = 1;
 * @return {?proto.hashicorp.waypoint.Token}
 */
proto.hashicorp.waypoint.DecodeTokenResponse.prototype.getToken = function() {
  return /** @type{?proto.hashicorp.waypoint.Token} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Token, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.Token|undefined} value
 * @return {!proto.hashicorp.waypoint.DecodeTokenResponse} returns this
*/
proto.hashicorp.waypoint.DecodeTokenResponse.prototype.setToken = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.DecodeTokenResponse} returns this
 */
proto.hashicorp.waypoint.DecodeTokenResponse.prototype.clearToken = function() {
  return this.setToken(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.DecodeTokenResponse.prototype.hasToken = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional TokenTransport transport = 2;
 * @return {?proto.hashicorp.waypoint.TokenTransport}
 */
proto.hashicorp.waypoint.DecodeTokenResponse.prototype.getTransport = function() {
  return /** @type{?proto.hashicorp.waypoint.TokenTransport} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.TokenTransport, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.TokenTransport|undefined} value
 * @return {!proto.hashicorp.waypoint.DecodeTokenResponse} returns this
*/
proto.hashicorp.waypoint.DecodeTokenResponse.prototype.setTransport = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.DecodeTokenResponse} returns this
 */
proto.hashicorp.waypoint.DecodeTokenResponse.prototype.clearTransport = function() {
  return this.setTransport(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.DecodeTokenResponse.prototype.hasTransport = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.LoginTokenRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.LoginTokenRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.LoginTokenRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.LoginTokenRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    duration: jspb.Message.getFieldWithDefault(msg, 1, ""),
    user: (f = msg.getUser()) && proto.hashicorp.waypoint.Ref.User.toObject(includeInstance, f),
    trigger: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.LoginTokenRequest}
 */
proto.hashicorp.waypoint.LoginTokenRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.LoginTokenRequest;
  return proto.hashicorp.waypoint.LoginTokenRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.LoginTokenRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.LoginTokenRequest}
 */
proto.hashicorp.waypoint.LoginTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setDuration(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Ref.User;
      reader.readMessage(value,proto.hashicorp.waypoint.Ref.User.deserializeBinaryFromReader);
      msg.setUser(value);
      break;
    case 3:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setTrigger(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.LoginTokenRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.LoginTokenRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.LoginTokenRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.LoginTokenRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDuration();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getUser();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Ref.User.serializeBinaryToWriter
    );
  }
  f = message.getTrigger();
  if (f) {
    writer.writeBool(
      3,
      f
    );
  }
};


/**
 * optional string duration = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.LoginTokenRequest.prototype.getDuration = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.LoginTokenRequest} returns this
 */
proto.hashicorp.waypoint.LoginTokenRequest.prototype.setDuration = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional Ref.User user = 2;
 * @return {?proto.hashicorp.waypoint.Ref.User}
 */
proto.hashicorp.waypoint.LoginTokenRequest.prototype.getUser = function() {
  return /** @type{?proto.hashicorp.waypoint.Ref.User} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Ref.User, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Ref.User|undefined} value
 * @return {!proto.hashicorp.waypoint.LoginTokenRequest} returns this
*/
proto.hashicorp.waypoint.LoginTokenRequest.prototype.setUser = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.LoginTokenRequest} returns this
 */
proto.hashicorp.waypoint.LoginTokenRequest.prototype.clearUser = function() {
  return this.setUser(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.LoginTokenRequest.prototype.hasUser = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional bool trigger = 3;
 * @return {boolean}
 */
proto.hashicorp.waypoint.LoginTokenRequest.prototype.getTrigger = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.LoginTokenRequest} returns this
 */
proto.hashicorp.waypoint.LoginTokenRequest.prototype.setTrigger = function(value) {
  return jspb.Message.setProto3BooleanField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.GenerateRunnerTokenRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.GenerateRunnerTokenRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.GenerateRunnerTokenRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GenerateRunnerTokenRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    duration: jspb.Message.getFieldWithDefault(msg, 1, ""),
    id: jspb.Message.getFieldWithDefault(msg, 2, ""),
    labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.GenerateRunnerTokenRequest}
 */
proto.hashicorp.waypoint.GenerateRunnerTokenRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.GenerateRunnerTokenRequest;
  return proto.hashicorp.waypoint.GenerateRunnerTokenRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.GenerateRunnerTokenRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.GenerateRunnerTokenRequest}
 */
proto.hashicorp.waypoint.GenerateRunnerTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setDuration(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 3:
      var value = msg.getLabelsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.GenerateRunnerTokenRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.GenerateRunnerTokenRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.GenerateRunnerTokenRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.GenerateRunnerTokenRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDuration();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getLabelsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
};


/**
 * optional string duration = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.GenerateRunnerTokenRequest.prototype.getDuration = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GenerateRunnerTokenRequest} returns this
 */
proto.hashicorp.waypoint.GenerateRunnerTokenRequest.prototype.setDuration = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string id = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.GenerateRunnerTokenRequest.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.GenerateRunnerTokenRequest} returns this
 */
proto.hashicorp.waypoint.GenerateRunnerTokenRequest.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * map<string, string> labels = 3;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.hashicorp.waypoint.GenerateRunnerTokenRequest.prototype.getLabelsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 3, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.GenerateRunnerTokenRequest} returns this
 */
proto.hashicorp.waypoint.GenerateRunnerTokenRequest.prototype.clearLabelsMap = function() {
  this.getLabelsMap().clear();
  return this;};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.InviteTokenRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.InviteTokenRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.InviteTokenRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.InviteTokenRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    duration: jspb.Message.getFieldWithDefault(msg, 1, ""),
    login: (f = msg.getLogin()) && proto.hashicorp.waypoint.Token.Login.toObject(includeInstance, f),
    signup: (f = msg.getSignup()) && proto.hashicorp.waypoint.Token.Invite.Signup.toObject(includeInstance, f),
    unusedEntrypoint: (f = msg.getUnusedEntrypoint()) && proto.hashicorp.waypoint.Token.Entrypoint.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.InviteTokenRequest}
 */
proto.hashicorp.waypoint.InviteTokenRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.InviteTokenRequest;
  return proto.hashicorp.waypoint.InviteTokenRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.InviteTokenRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.InviteTokenRequest}
 */
proto.hashicorp.waypoint.InviteTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setDuration(value);
      break;
    case 4:
      var value = new proto.hashicorp.waypoint.Token.Login;
      reader.readMessage(value,proto.hashicorp.waypoint.Token.Login.deserializeBinaryFromReader);
      msg.setLogin(value);
      break;
    case 3:
      var value = new proto.hashicorp.waypoint.Token.Invite.Signup;
      reader.readMessage(value,proto.hashicorp.waypoint.Token.Invite.Signup.deserializeBinaryFromReader);
      msg.setSignup(value);
      break;
    case 2:
      var value = new proto.hashicorp.waypoint.Token.Entrypoint;
      reader.readMessage(value,proto.hashicorp.waypoint.Token.Entrypoint.deserializeBinaryFromReader);
      msg.setUnusedEntrypoint(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.InviteTokenRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.InviteTokenRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.InviteTokenRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.InviteTokenRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDuration();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getLogin();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.hashicorp.waypoint.Token.Login.serializeBinaryToWriter
    );
  }
  f = message.getSignup();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.hashicorp.waypoint.Token.Invite.Signup.serializeBinaryToWriter
    );
  }
  f = message.getUnusedEntrypoint();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.hashicorp.waypoint.Token.Entrypoint.serializeBinaryToWriter
    );
  }
};


/**
 * optional string duration = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.InviteTokenRequest.prototype.getDuration = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.InviteTokenRequest} returns this
 */
proto.hashicorp.waypoint.InviteTokenRequest.prototype.setDuration = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional Token.Login login = 4;
 * @return {?proto.hashicorp.waypoint.Token.Login}
 */
proto.hashicorp.waypoint.InviteTokenRequest.prototype.getLogin = function() {
  return /** @type{?proto.hashicorp.waypoint.Token.Login} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Token.Login, 4));
};


/**
 * @param {?proto.hashicorp.waypoint.Token.Login|undefined} value
 * @return {!proto.hashicorp.waypoint.InviteTokenRequest} returns this
*/
proto.hashicorp.waypoint.InviteTokenRequest.prototype.setLogin = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.InviteTokenRequest} returns this
 */
proto.hashicorp.waypoint.InviteTokenRequest.prototype.clearLogin = function() {
  return this.setLogin(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.InviteTokenRequest.prototype.hasLogin = function() {
  return jspb.Message.getField(this, 4) != null;
};


/**
 * optional Token.Invite.Signup signup = 3;
 * @return {?proto.hashicorp.waypoint.Token.Invite.Signup}
 */
proto.hashicorp.waypoint.InviteTokenRequest.prototype.getSignup = function() {
  return /** @type{?proto.hashicorp.waypoint.Token.Invite.Signup} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Token.Invite.Signup, 3));
};


/**
 * @param {?proto.hashicorp.waypoint.Token.Invite.Signup|undefined} value
 * @return {!proto.hashicorp.waypoint.InviteTokenRequest} returns this
*/
proto.hashicorp.waypoint.InviteTokenRequest.prototype.setSignup = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.InviteTokenRequest} returns this
 */
proto.hashicorp.waypoint.InviteTokenRequest.prototype.clearSignup = function() {
  return this.setSignup(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.InviteTokenRequest.prototype.hasSignup = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional Token.Entrypoint unused_entrypoint = 2;
 * @return {?proto.hashicorp.waypoint.Token.Entrypoint}
 */
proto.hashicorp.waypoint.InviteTokenRequest.prototype.getUnusedEntrypoint = function() {
  return /** @type{?proto.hashicorp.waypoint.Token.Entrypoint} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.Token.Entrypoint, 2));
};


/**
 * @param {?proto.hashicorp.waypoint.Token.Entrypoint|undefined} value
 * @return {!proto.hashicorp.waypoint.InviteTokenRequest} returns this
*/
proto.hashicorp.waypoint.InviteTokenRequest.prototype.setUnusedEntrypoint = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.InviteTokenRequest} returns this
 */
proto.hashicorp.waypoint.InviteTokenRequest.prototype.clearUnusedEntrypoint = function() {
  return this.setUnusedEntrypoint(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.InviteTokenRequest.prototype.hasUnusedEntrypoint = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.NewTokenResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.NewTokenResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.NewTokenResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.NewTokenResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    token: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.NewTokenResponse}
 */
proto.hashicorp.waypoint.NewTokenResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.NewTokenResponse;
  return proto.hashicorp.waypoint.NewTokenResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.NewTokenResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.NewTokenResponse}
 */
proto.hashicorp.waypoint.NewTokenResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setToken(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.NewTokenResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.NewTokenResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.NewTokenResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.NewTokenResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getToken();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string token = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.NewTokenResponse.prototype.getToken = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.NewTokenResponse} returns this
 */
proto.hashicorp.waypoint.NewTokenResponse.prototype.setToken = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.ConvertInviteTokenRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.ConvertInviteTokenRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.ConvertInviteTokenRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConvertInviteTokenRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    token: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.ConvertInviteTokenRequest}
 */
proto.hashicorp.waypoint.ConvertInviteTokenRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.ConvertInviteTokenRequest;
  return proto.hashicorp.waypoint.ConvertInviteTokenRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.ConvertInviteTokenRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.ConvertInviteTokenRequest}
 */
proto.hashicorp.waypoint.ConvertInviteTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setToken(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.ConvertInviteTokenRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.ConvertInviteTokenRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.ConvertInviteTokenRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.ConvertInviteTokenRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getToken();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string token = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.ConvertInviteTokenRequest.prototype.getToken = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.ConvertInviteTokenRequest} returns this
 */
proto.hashicorp.waypoint.ConvertInviteTokenRequest.prototype.setToken = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.EventCase = {
  EVENT_NOT_SET: 0,
  OPEN: 1,
  CHUNK: 2
};

/**
 * @return {proto.hashicorp.waypoint.CreateSnapshotResponse.EventCase}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.prototype.getEventCase = function() {
  return /** @type {proto.hashicorp.waypoint.CreateSnapshotResponse.EventCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.CreateSnapshotResponse.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.CreateSnapshotResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.CreateSnapshotResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    open: (f = msg.getOpen()) && proto.hashicorp.waypoint.CreateSnapshotResponse.Open.toObject(includeInstance, f),
    chunk: msg.getChunk_asB64()
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.CreateSnapshotResponse}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.CreateSnapshotResponse;
  return proto.hashicorp.waypoint.CreateSnapshotResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.CreateSnapshotResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.CreateSnapshotResponse}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.CreateSnapshotResponse.Open;
      reader.readMessage(value,proto.hashicorp.waypoint.CreateSnapshotResponse.Open.deserializeBinaryFromReader);
      msg.setOpen(value);
      break;
    case 2:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setChunk(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.CreateSnapshotResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.CreateSnapshotResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getOpen();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.CreateSnapshotResponse.Open.serializeBinaryToWriter
    );
  }
  f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
  if (f != null) {
    writer.writeBytes(
      2,
      f
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.Open.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.CreateSnapshotResponse.Open.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.CreateSnapshotResponse.Open} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.Open.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.CreateSnapshotResponse.Open}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.Open.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.CreateSnapshotResponse.Open;
  return proto.hashicorp.waypoint.CreateSnapshotResponse.Open.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.CreateSnapshotResponse.Open} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.CreateSnapshotResponse.Open}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.Open.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.Open.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.CreateSnapshotResponse.Open.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.CreateSnapshotResponse.Open} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.Open.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};


/**
 * optional Open open = 1;
 * @return {?proto.hashicorp.waypoint.CreateSnapshotResponse.Open}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.prototype.getOpen = function() {
  return /** @type{?proto.hashicorp.waypoint.CreateSnapshotResponse.Open} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.CreateSnapshotResponse.Open, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.CreateSnapshotResponse.Open|undefined} value
 * @return {!proto.hashicorp.waypoint.CreateSnapshotResponse} returns this
*/
proto.hashicorp.waypoint.CreateSnapshotResponse.prototype.setOpen = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.CreateSnapshotResponse.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.CreateSnapshotResponse} returns this
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.prototype.clearOpen = function() {
  return this.setOpen(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.prototype.hasOpen = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional bytes chunk = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.prototype.getChunk = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * optional bytes chunk = 2;
 * This is a type-conversion wrapper around `getChunk()`
 * @return {string}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.prototype.getChunk_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getChunk()));
};


/**
 * optional bytes chunk = 2;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getChunk()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.prototype.getChunk_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getChunk()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.CreateSnapshotResponse} returns this
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.prototype.setChunk = function(value) {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.CreateSnapshotResponse.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.CreateSnapshotResponse} returns this
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.prototype.clearChunk = function() {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.CreateSnapshotResponse.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.CreateSnapshotResponse.prototype.hasChunk = function() {
  return jspb.Message.getField(this, 2) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.EventCase = {
  EVENT_NOT_SET: 0,
  OPEN: 1,
  CHUNK: 2
};

/**
 * @return {proto.hashicorp.waypoint.RestoreSnapshotRequest.EventCase}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.prototype.getEventCase = function() {
  return /** @type {proto.hashicorp.waypoint.RestoreSnapshotRequest.EventCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.RestoreSnapshotRequest.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RestoreSnapshotRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RestoreSnapshotRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    open: (f = msg.getOpen()) && proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.toObject(includeInstance, f),
    chunk: msg.getChunk_asB64()
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RestoreSnapshotRequest}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RestoreSnapshotRequest;
  return proto.hashicorp.waypoint.RestoreSnapshotRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RestoreSnapshotRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RestoreSnapshotRequest}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.RestoreSnapshotRequest.Open;
      reader.readMessage(value,proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.deserializeBinaryFromReader);
      msg.setOpen(value);
      break;
    case 2:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setChunk(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RestoreSnapshotRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RestoreSnapshotRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getOpen();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.serializeBinaryToWriter
    );
  }
  f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
  if (f != null) {
    writer.writeBytes(
      2,
      f
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.RestoreSnapshotRequest.Open} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.toObject = function(includeInstance, msg) {
  var f, obj = {
    exit: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.RestoreSnapshotRequest.Open}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.RestoreSnapshotRequest.Open;
  return proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.RestoreSnapshotRequest.Open} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.RestoreSnapshotRequest.Open}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setExit(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.RestoreSnapshotRequest.Open} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getExit();
  if (f) {
    writer.writeBool(
      1,
      f
    );
  }
};


/**
 * optional bool exit = 1;
 * @return {boolean}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.prototype.getExit = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.RestoreSnapshotRequest.Open} returns this
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.Open.prototype.setExit = function(value) {
  return jspb.Message.setProto3BooleanField(this, 1, value);
};


/**
 * optional Open open = 1;
 * @return {?proto.hashicorp.waypoint.RestoreSnapshotRequest.Open}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.prototype.getOpen = function() {
  return /** @type{?proto.hashicorp.waypoint.RestoreSnapshotRequest.Open} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.RestoreSnapshotRequest.Open, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.RestoreSnapshotRequest.Open|undefined} value
 * @return {!proto.hashicorp.waypoint.RestoreSnapshotRequest} returns this
*/
proto.hashicorp.waypoint.RestoreSnapshotRequest.prototype.setOpen = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.hashicorp.waypoint.RestoreSnapshotRequest.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.RestoreSnapshotRequest} returns this
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.prototype.clearOpen = function() {
  return this.setOpen(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.prototype.hasOpen = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional bytes chunk = 2;
 * @return {string}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.prototype.getChunk = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * optional bytes chunk = 2;
 * This is a type-conversion wrapper around `getChunk()`
 * @return {string}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.prototype.getChunk_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getChunk()));
};


/**
 * optional bytes chunk = 2;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getChunk()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.prototype.getChunk_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getChunk()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.RestoreSnapshotRequest} returns this
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.prototype.setChunk = function(value) {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.RestoreSnapshotRequest.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.RestoreSnapshotRequest} returns this
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.prototype.clearChunk = function() {
  return jspb.Message.setOneofField(this, 2, proto.hashicorp.waypoint.RestoreSnapshotRequest.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.RestoreSnapshotRequest.prototype.hasChunk = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Snapshot.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Snapshot.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Snapshot} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Snapshot.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Snapshot}
 */
proto.hashicorp.waypoint.Snapshot.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Snapshot;
  return proto.hashicorp.waypoint.Snapshot.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Snapshot} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Snapshot}
 */
proto.hashicorp.waypoint.Snapshot.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Snapshot.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Snapshot.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Snapshot} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Snapshot.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Snapshot.Header.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Snapshot.Header.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Snapshot.Header} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Snapshot.Header.toObject = function(includeInstance, msg) {
  var f, obj = {
    version: (f = msg.getVersion()) && proto.hashicorp.waypoint.VersionInfo.toObject(includeInstance, f),
    format: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Snapshot.Header}
 */
proto.hashicorp.waypoint.Snapshot.Header.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Snapshot.Header;
  return proto.hashicorp.waypoint.Snapshot.Header.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Snapshot.Header} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Snapshot.Header}
 */
proto.hashicorp.waypoint.Snapshot.Header.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.hashicorp.waypoint.VersionInfo;
      reader.readMessage(value,proto.hashicorp.waypoint.VersionInfo.deserializeBinaryFromReader);
      msg.setVersion(value);
      break;
    case 2:
      var value = /** @type {!proto.hashicorp.waypoint.Snapshot.Header.Format} */ (reader.readEnum());
      msg.setFormat(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Snapshot.Header.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Snapshot.Header.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Snapshot.Header} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Snapshot.Header.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getVersion();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.hashicorp.waypoint.VersionInfo.serializeBinaryToWriter
    );
  }
  f = message.getFormat();
  if (f !== 0.0) {
    writer.writeEnum(
      2,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Snapshot.Header.Format = {
  UNKNOWN: 0,
  BOLT: 1
};

/**
 * optional VersionInfo version = 1;
 * @return {?proto.hashicorp.waypoint.VersionInfo}
 */
proto.hashicorp.waypoint.Snapshot.Header.prototype.getVersion = function() {
  return /** @type{?proto.hashicorp.waypoint.VersionInfo} */ (
    jspb.Message.getWrapperField(this, proto.hashicorp.waypoint.VersionInfo, 1));
};


/**
 * @param {?proto.hashicorp.waypoint.VersionInfo|undefined} value
 * @return {!proto.hashicorp.waypoint.Snapshot.Header} returns this
*/
proto.hashicorp.waypoint.Snapshot.Header.prototype.setVersion = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.hashicorp.waypoint.Snapshot.Header} returns this
 */
proto.hashicorp.waypoint.Snapshot.Header.prototype.clearVersion = function() {
  return this.setVersion(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Snapshot.Header.prototype.hasVersion = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Format format = 2;
 * @return {!proto.hashicorp.waypoint.Snapshot.Header.Format}
 */
proto.hashicorp.waypoint.Snapshot.Header.prototype.getFormat = function() {
  return /** @type {!proto.hashicorp.waypoint.Snapshot.Header.Format} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Snapshot.Header.Format} value
 * @return {!proto.hashicorp.waypoint.Snapshot.Header} returns this
 */
proto.hashicorp.waypoint.Snapshot.Header.prototype.setFormat = function(value) {
  return jspb.Message.setProto3EnumField(this, 2, value);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.hashicorp.waypoint.Snapshot.Trailer.oneofGroups_ = [[1]];

/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Snapshot.Trailer.ChecksumCase = {
  CHECKSUM_NOT_SET: 0,
  SHA256: 1
};

/**
 * @return {proto.hashicorp.waypoint.Snapshot.Trailer.ChecksumCase}
 */
proto.hashicorp.waypoint.Snapshot.Trailer.prototype.getChecksumCase = function() {
  return /** @type {proto.hashicorp.waypoint.Snapshot.Trailer.ChecksumCase} */(jspb.Message.computeOneofCase(this, proto.hashicorp.waypoint.Snapshot.Trailer.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Snapshot.Trailer.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Snapshot.Trailer.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Snapshot.Trailer} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Snapshot.Trailer.toObject = function(includeInstance, msg) {
  var f, obj = {
    sha256: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Snapshot.Trailer}
 */
proto.hashicorp.waypoint.Snapshot.Trailer.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Snapshot.Trailer;
  return proto.hashicorp.waypoint.Snapshot.Trailer.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Snapshot.Trailer} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Snapshot.Trailer}
 */
proto.hashicorp.waypoint.Snapshot.Trailer.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setSha256(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Snapshot.Trailer.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Snapshot.Trailer.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Snapshot.Trailer} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Snapshot.Trailer.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = /** @type {string} */ (jspb.Message.getField(message, 1));
  if (f != null) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string sha256 = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Snapshot.Trailer.prototype.getSha256 = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Snapshot.Trailer} returns this
 */
proto.hashicorp.waypoint.Snapshot.Trailer.prototype.setSha256 = function(value) {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.Snapshot.Trailer.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.hashicorp.waypoint.Snapshot.Trailer} returns this
 */
proto.hashicorp.waypoint.Snapshot.Trailer.prototype.clearSha256 = function() {
  return jspb.Message.setOneofField(this, 1, proto.hashicorp.waypoint.Snapshot.Trailer.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.hashicorp.waypoint.Snapshot.Trailer.prototype.hasSha256 = function() {
  return jspb.Message.getField(this, 1) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Snapshot.BoltChunk.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Snapshot.BoltChunk.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Snapshot.BoltChunk} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Snapshot.BoltChunk.toObject = function(includeInstance, msg) {
  var f, obj = {
    bucket: jspb.Message.getFieldWithDefault(msg, 1, ""),
    itemsMap: (f = msg.getItemsMap()) ? f.toObject(includeInstance, undefined) : [],
    pb_final: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Snapshot.BoltChunk}
 */
proto.hashicorp.waypoint.Snapshot.BoltChunk.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Snapshot.BoltChunk;
  return proto.hashicorp.waypoint.Snapshot.BoltChunk.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Snapshot.BoltChunk} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Snapshot.BoltChunk}
 */
proto.hashicorp.waypoint.Snapshot.BoltChunk.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setBucket(value);
      break;
    case 2:
      var value = msg.getItemsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readBytes, null, "", "");
         });
      break;
    case 3:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setFinal(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Snapshot.BoltChunk.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Snapshot.BoltChunk.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Snapshot.BoltChunk} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Snapshot.BoltChunk.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getBucket();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getItemsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBytes);
  }
  f = message.getFinal();
  if (f) {
    writer.writeBool(
      3,
      f
    );
  }
};


/**
 * optional string bucket = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Snapshot.BoltChunk.prototype.getBucket = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.Snapshot.BoltChunk} returns this
 */
proto.hashicorp.waypoint.Snapshot.BoltChunk.prototype.setBucket = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * map<string, bytes> items = 2;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,!(string|Uint8Array)>}
 */
proto.hashicorp.waypoint.Snapshot.BoltChunk.prototype.getItemsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,!(string|Uint8Array)>} */ (
      jspb.Message.getMapField(this, 2, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.hashicorp.waypoint.Snapshot.BoltChunk} returns this
 */
proto.hashicorp.waypoint.Snapshot.BoltChunk.prototype.clearItemsMap = function() {
  this.getItemsMap().clear();
  return this;};


/**
 * optional bool final = 3;
 * @return {boolean}
 */
proto.hashicorp.waypoint.Snapshot.BoltChunk.prototype.getFinal = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
 * @param {boolean} value
 * @return {!proto.hashicorp.waypoint.Snapshot.BoltChunk} returns this
 */
proto.hashicorp.waypoint.Snapshot.BoltChunk.prototype.setFinal = function(value) {
  return jspb.Message.setProto3BooleanField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.Hcl.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.Hcl.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.Hcl} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Hcl.toObject = function(includeInstance, msg) {
  var f, obj = {
    contents: msg.getContents_asB64(),
    format: jspb.Message.getFieldWithDefault(msg, 2, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.Hcl}
 */
proto.hashicorp.waypoint.Hcl.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.Hcl;
  return proto.hashicorp.waypoint.Hcl.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.Hcl} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.Hcl}
 */
proto.hashicorp.waypoint.Hcl.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setContents(value);
      break;
    case 2:
      var value = /** @type {!proto.hashicorp.waypoint.Hcl.Format} */ (reader.readEnum());
      msg.setFormat(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Hcl.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.Hcl.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.Hcl} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.Hcl.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getContents_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      1,
      f
    );
  }
  f = message.getFormat();
  if (f !== 0.0) {
    writer.writeEnum(
      2,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.Hcl.Format = {
  HCL: 0,
  JSON: 1
};

/**
 * optional bytes contents = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.Hcl.prototype.getContents = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * optional bytes contents = 1;
 * This is a type-conversion wrapper around `getContents()`
 * @return {string}
 */
proto.hashicorp.waypoint.Hcl.prototype.getContents_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getContents()));
};


/**
 * optional bytes contents = 1;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getContents()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.Hcl.prototype.getContents_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getContents()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.Hcl} returns this
 */
proto.hashicorp.waypoint.Hcl.prototype.setContents = function(value) {
  return jspb.Message.setProto3BytesField(this, 1, value);
};


/**
 * optional Format format = 2;
 * @return {!proto.hashicorp.waypoint.Hcl.Format}
 */
proto.hashicorp.waypoint.Hcl.prototype.getFormat = function() {
  return /** @type {!proto.hashicorp.waypoint.Hcl.Format} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {!proto.hashicorp.waypoint.Hcl.Format} value
 * @return {!proto.hashicorp.waypoint.Hcl} returns this
 */
proto.hashicorp.waypoint.Hcl.prototype.setFormat = function(value) {
  return jspb.Message.setProto3EnumField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.WaypointHclFmtRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.WaypointHclFmtRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.WaypointHclFmtRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.WaypointHclFmtRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    waypointHcl: msg.getWaypointHcl_asB64()
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.WaypointHclFmtRequest}
 */
proto.hashicorp.waypoint.WaypointHclFmtRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.WaypointHclFmtRequest;
  return proto.hashicorp.waypoint.WaypointHclFmtRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.WaypointHclFmtRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.WaypointHclFmtRequest}
 */
proto.hashicorp.waypoint.WaypointHclFmtRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setWaypointHcl(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.WaypointHclFmtRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.WaypointHclFmtRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.WaypointHclFmtRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.WaypointHclFmtRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getWaypointHcl_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      1,
      f
    );
  }
};


/**
 * optional bytes waypoint_hcl = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.WaypointHclFmtRequest.prototype.getWaypointHcl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * optional bytes waypoint_hcl = 1;
 * This is a type-conversion wrapper around `getWaypointHcl()`
 * @return {string}
 */
proto.hashicorp.waypoint.WaypointHclFmtRequest.prototype.getWaypointHcl_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getWaypointHcl()));
};


/**
 * optional bytes waypoint_hcl = 1;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getWaypointHcl()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.WaypointHclFmtRequest.prototype.getWaypointHcl_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getWaypointHcl()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.WaypointHclFmtRequest} returns this
 */
proto.hashicorp.waypoint.WaypointHclFmtRequest.prototype.setWaypointHcl = function(value) {
  return jspb.Message.setProto3BytesField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.WaypointHclFmtResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.WaypointHclFmtResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.WaypointHclFmtResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.WaypointHclFmtResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    waypointHcl: msg.getWaypointHcl_asB64()
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.WaypointHclFmtResponse}
 */
proto.hashicorp.waypoint.WaypointHclFmtResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.WaypointHclFmtResponse;
  return proto.hashicorp.waypoint.WaypointHclFmtResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.WaypointHclFmtResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.WaypointHclFmtResponse}
 */
proto.hashicorp.waypoint.WaypointHclFmtResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setWaypointHcl(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.WaypointHclFmtResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.WaypointHclFmtResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.WaypointHclFmtResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.WaypointHclFmtResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getWaypointHcl_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      1,
      f
    );
  }
};


/**
 * optional bytes waypoint_hcl = 1;
 * @return {string}
 */
proto.hashicorp.waypoint.WaypointHclFmtResponse.prototype.getWaypointHcl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * optional bytes waypoint_hcl = 1;
 * This is a type-conversion wrapper around `getWaypointHcl()`
 * @return {string}
 */
proto.hashicorp.waypoint.WaypointHclFmtResponse.prototype.getWaypointHcl_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getWaypointHcl()));
};


/**
 * optional bytes waypoint_hcl = 1;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getWaypointHcl()`
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.WaypointHclFmtResponse.prototype.getWaypointHcl_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getWaypointHcl()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.hashicorp.waypoint.WaypointHclFmtResponse} returns this
 */
proto.hashicorp.waypoint.WaypointHclFmtResponse.prototype.setWaypointHcl = function(value) {
  return jspb.Message.setProto3BytesField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.hashicorp.waypoint.InlineKeepalive.prototype.toObject = function(opt_includeInstance) {
  return proto.hashicorp.waypoint.InlineKeepalive.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.hashicorp.waypoint.InlineKeepalive} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.InlineKeepalive.toObject = function(includeInstance, msg) {
  var f, obj = {
    signature: jspb.Message.getFieldWithDefault(msg, 100000000, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.hashicorp.waypoint.InlineKeepalive}
 */
proto.hashicorp.waypoint.InlineKeepalive.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.hashicorp.waypoint.InlineKeepalive;
  return proto.hashicorp.waypoint.InlineKeepalive.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.hashicorp.waypoint.InlineKeepalive} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.hashicorp.waypoint.InlineKeepalive}
 */
proto.hashicorp.waypoint.InlineKeepalive.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 100000000:
      var value = /** @type {string} */ (reader.readString());
      msg.setSignature(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.hashicorp.waypoint.InlineKeepalive.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.hashicorp.waypoint.InlineKeepalive.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.hashicorp.waypoint.InlineKeepalive} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.hashicorp.waypoint.InlineKeepalive.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSignature();
  if (f.length > 0) {
    writer.writeString(
      100000000,
      f
    );
  }
};


/**
 * optional string signature = 100000000;
 * @return {string}
 */
proto.hashicorp.waypoint.InlineKeepalive.prototype.getSignature = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 100000000, ""));
};


/**
 * @param {string} value
 * @return {!proto.hashicorp.waypoint.InlineKeepalive} returns this
 */
proto.hashicorp.waypoint.InlineKeepalive.prototype.setSignature = function(value) {
  return jspb.Message.setProto3StringField(this, 100000000, value);
};


/**
 * @enum {number}
 */
proto.hashicorp.waypoint.ResourceCategoryDisplayHint = {
  UNKNOWN: 0,
  OTHER: 1,
  INSTANCE: 2,
  INSTANCE_MANAGER: 3,
  ROUTER: 4,
  POLICY: 5,
  CONFIG: 6,
  FUNCTION: 7,
  STORAGE: 8
};

goog.object.extend(exports, proto.hashicorp.waypoint);
