| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/cloud/dataproc/v1/clusters.proto |
| |
| package dataproc // import "google.golang.org/genproto/googleapis/cloud/dataproc/v1" |
| |
| import proto "github.com/golang/protobuf/proto" |
| import fmt "fmt" |
| import math "math" |
| import duration "github.com/golang/protobuf/ptypes/duration" |
| import timestamp "github.com/golang/protobuf/ptypes/timestamp" |
| import _ "google.golang.org/genproto/googleapis/api/annotations" |
| import longrunning "google.golang.org/genproto/googleapis/longrunning" |
| import field_mask "google.golang.org/genproto/protobuf/field_mask" |
| |
| import ( |
| context "golang.org/x/net/context" |
| grpc "google.golang.org/grpc" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package |
| |
| // The cluster state. |
| type ClusterStatus_State int32 |
| |
| const ( |
| // The cluster state is unknown. |
| ClusterStatus_UNKNOWN ClusterStatus_State = 0 |
| // The cluster is being created and set up. It is not ready for use. |
| ClusterStatus_CREATING ClusterStatus_State = 1 |
| // The cluster is currently running and healthy. It is ready for use. |
| ClusterStatus_RUNNING ClusterStatus_State = 2 |
| // The cluster encountered an error. It is not ready for use. |
| ClusterStatus_ERROR ClusterStatus_State = 3 |
| // The cluster is being deleted. It cannot be used. |
| ClusterStatus_DELETING ClusterStatus_State = 4 |
| // The cluster is being updated. It continues to accept and process jobs. |
| ClusterStatus_UPDATING ClusterStatus_State = 5 |
| ) |
| |
| var ClusterStatus_State_name = map[int32]string{ |
| 0: "UNKNOWN", |
| 1: "CREATING", |
| 2: "RUNNING", |
| 3: "ERROR", |
| 4: "DELETING", |
| 5: "UPDATING", |
| } |
| var ClusterStatus_State_value = map[string]int32{ |
| "UNKNOWN": 0, |
| "CREATING": 1, |
| "RUNNING": 2, |
| "ERROR": 3, |
| "DELETING": 4, |
| "UPDATING": 5, |
| } |
| |
| func (x ClusterStatus_State) String() string { |
| return proto.EnumName(ClusterStatus_State_name, int32(x)) |
| } |
| func (ClusterStatus_State) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{8, 0} |
| } |
| |
| type ClusterStatus_Substate int32 |
| |
| const ( |
| ClusterStatus_UNSPECIFIED ClusterStatus_Substate = 0 |
| // The cluster is known to be in an unhealthy state |
| // (for example, critical daemons are not running or HDFS capacity is |
| // exhausted). |
| // |
| // Applies to RUNNING state. |
| ClusterStatus_UNHEALTHY ClusterStatus_Substate = 1 |
| // The agent-reported status is out of date (may occur if |
| // Cloud Dataproc loses communication with Agent). |
| // |
| // Applies to RUNNING state. |
| ClusterStatus_STALE_STATUS ClusterStatus_Substate = 2 |
| ) |
| |
| var ClusterStatus_Substate_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNHEALTHY", |
| 2: "STALE_STATUS", |
| } |
| var ClusterStatus_Substate_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNHEALTHY": 1, |
| "STALE_STATUS": 2, |
| } |
| |
| func (x ClusterStatus_Substate) String() string { |
| return proto.EnumName(ClusterStatus_Substate_name, int32(x)) |
| } |
| func (ClusterStatus_Substate) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{8, 1} |
| } |
| |
| // Describes the identifying information, config, and status of |
| // a cluster of Google Compute Engine instances. |
| type Cluster struct { |
| // Required. The Google Cloud Platform project ID that the cluster belongs to. |
| ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| // Required. The cluster name. Cluster names within a project must be |
| // unique. Names of deleted clusters can be reused. |
| ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` |
| // Required. The cluster config. Note that Cloud Dataproc may set |
| // default values, and values may change when clusters are updated. |
| Config *ClusterConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` |
| // Optional. The labels to associate with this cluster. |
| // Label **keys** must contain 1 to 63 characters, and must conform to |
| // [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). |
| // Label **values** may be empty, but, if present, must contain 1 to 63 |
| // characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). |
| // No more than 32 labels can be associated with a cluster. |
| Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| // Output-only. Cluster status. |
| Status *ClusterStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` |
| // Output-only. The previous cluster status. |
| StatusHistory []*ClusterStatus `protobuf:"bytes,7,rep,name=status_history,json=statusHistory,proto3" json:"status_history,omitempty"` |
| // Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc |
| // generates this value when it creates the cluster. |
| ClusterUuid string `protobuf:"bytes,6,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"` |
| // Contains cluster daemon metrics such as HDFS and YARN stats. |
| // |
| // **Beta Feature**: This report is available for testing purposes only. It may |
| // be changed before final release. |
| Metrics *ClusterMetrics `protobuf:"bytes,9,opt,name=metrics,proto3" json:"metrics,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Cluster) Reset() { *m = Cluster{} } |
| func (m *Cluster) String() string { return proto.CompactTextString(m) } |
| func (*Cluster) ProtoMessage() {} |
| func (*Cluster) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{0} |
| } |
| func (m *Cluster) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Cluster.Unmarshal(m, b) |
| } |
| func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) |
| } |
| func (dst *Cluster) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Cluster.Merge(dst, src) |
| } |
| func (m *Cluster) XXX_Size() int { |
| return xxx_messageInfo_Cluster.Size(m) |
| } |
| func (m *Cluster) XXX_DiscardUnknown() { |
| xxx_messageInfo_Cluster.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Cluster proto.InternalMessageInfo |
| |
| func (m *Cluster) GetProjectId() string { |
| if m != nil { |
| return m.ProjectId |
| } |
| return "" |
| } |
| |
| func (m *Cluster) GetClusterName() string { |
| if m != nil { |
| return m.ClusterName |
| } |
| return "" |
| } |
| |
| func (m *Cluster) GetConfig() *ClusterConfig { |
| if m != nil { |
| return m.Config |
| } |
| return nil |
| } |
| |
| func (m *Cluster) GetLabels() map[string]string { |
| if m != nil { |
| return m.Labels |
| } |
| return nil |
| } |
| |
| func (m *Cluster) GetStatus() *ClusterStatus { |
| if m != nil { |
| return m.Status |
| } |
| return nil |
| } |
| |
| func (m *Cluster) GetStatusHistory() []*ClusterStatus { |
| if m != nil { |
| return m.StatusHistory |
| } |
| return nil |
| } |
| |
| func (m *Cluster) GetClusterUuid() string { |
| if m != nil { |
| return m.ClusterUuid |
| } |
| return "" |
| } |
| |
| func (m *Cluster) GetMetrics() *ClusterMetrics { |
| if m != nil { |
| return m.Metrics |
| } |
| return nil |
| } |
| |
| // The cluster config. |
| type ClusterConfig struct { |
| // Optional. A Google Cloud Storage staging bucket used for sharing generated |
| // SSH keys and config. If you do not specify a staging bucket, Cloud |
| // Dataproc will determine an appropriate Cloud Storage location (US, |
| // ASIA, or EU) for your cluster's staging bucket according to the Google |
| // Compute Engine zone where your cluster is deployed, and then it will create |
| // and manage this project-level, per-location bucket for you. |
| ConfigBucket string `protobuf:"bytes,1,opt,name=config_bucket,json=configBucket,proto3" json:"config_bucket,omitempty"` |
| // Required. The shared Google Compute Engine config settings for |
| // all instances in a cluster. |
| GceClusterConfig *GceClusterConfig `protobuf:"bytes,8,opt,name=gce_cluster_config,json=gceClusterConfig,proto3" json:"gce_cluster_config,omitempty"` |
| // Optional. The Google Compute Engine config settings for |
| // the master instance in a cluster. |
| MasterConfig *InstanceGroupConfig `protobuf:"bytes,9,opt,name=master_config,json=masterConfig,proto3" json:"master_config,omitempty"` |
| // Optional. The Google Compute Engine config settings for |
| // worker instances in a cluster. |
| WorkerConfig *InstanceGroupConfig `protobuf:"bytes,10,opt,name=worker_config,json=workerConfig,proto3" json:"worker_config,omitempty"` |
| // Optional. The Google Compute Engine config settings for |
| // additional worker instances in a cluster. |
| SecondaryWorkerConfig *InstanceGroupConfig `protobuf:"bytes,12,opt,name=secondary_worker_config,json=secondaryWorkerConfig,proto3" json:"secondary_worker_config,omitempty"` |
| // Optional. The config settings for software inside the cluster. |
| SoftwareConfig *SoftwareConfig `protobuf:"bytes,13,opt,name=software_config,json=softwareConfig,proto3" json:"software_config,omitempty"` |
| // Optional. Commands to execute on each node after config is |
| // completed. By default, executables are run on master and all worker nodes. |
| // You can test a node's `role` metadata to run an executable on |
| // a master or worker node, as shown below using `curl` (you can also use `wget`): |
| // |
| // ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) |
| // if [[ "${ROLE}" == 'Master' ]]; then |
| // ... master specific actions ... |
| // else |
| // ... worker specific actions ... |
| // fi |
| InitializationActions []*NodeInitializationAction `protobuf:"bytes,11,rep,name=initialization_actions,json=initializationActions,proto3" json:"initialization_actions,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ClusterConfig) Reset() { *m = ClusterConfig{} } |
| func (m *ClusterConfig) String() string { return proto.CompactTextString(m) } |
| func (*ClusterConfig) ProtoMessage() {} |
| func (*ClusterConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{1} |
| } |
| func (m *ClusterConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ClusterConfig.Unmarshal(m, b) |
| } |
| func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ClusterConfig.Marshal(b, m, deterministic) |
| } |
| func (dst *ClusterConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ClusterConfig.Merge(dst, src) |
| } |
| func (m *ClusterConfig) XXX_Size() int { |
| return xxx_messageInfo_ClusterConfig.Size(m) |
| } |
| func (m *ClusterConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_ClusterConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ClusterConfig proto.InternalMessageInfo |
| |
| func (m *ClusterConfig) GetConfigBucket() string { |
| if m != nil { |
| return m.ConfigBucket |
| } |
| return "" |
| } |
| |
| func (m *ClusterConfig) GetGceClusterConfig() *GceClusterConfig { |
| if m != nil { |
| return m.GceClusterConfig |
| } |
| return nil |
| } |
| |
| func (m *ClusterConfig) GetMasterConfig() *InstanceGroupConfig { |
| if m != nil { |
| return m.MasterConfig |
| } |
| return nil |
| } |
| |
| func (m *ClusterConfig) GetWorkerConfig() *InstanceGroupConfig { |
| if m != nil { |
| return m.WorkerConfig |
| } |
| return nil |
| } |
| |
| func (m *ClusterConfig) GetSecondaryWorkerConfig() *InstanceGroupConfig { |
| if m != nil { |
| return m.SecondaryWorkerConfig |
| } |
| return nil |
| } |
| |
| func (m *ClusterConfig) GetSoftwareConfig() *SoftwareConfig { |
| if m != nil { |
| return m.SoftwareConfig |
| } |
| return nil |
| } |
| |
| func (m *ClusterConfig) GetInitializationActions() []*NodeInitializationAction { |
| if m != nil { |
| return m.InitializationActions |
| } |
| return nil |
| } |
| |
| // Common config settings for resources of Google Compute Engine cluster |
| // instances, applicable to all instances in the cluster. |
| type GceClusterConfig struct { |
| // Optional. The zone where the Google Compute Engine cluster will be located. |
| // On a create request, it is required in the "global" region. If omitted |
| // in a non-global Cloud Dataproc region, the service will pick a zone in the |
| // corresponding Compute Engine region. On a get request, zone will |
| // always be present. |
| // |
| // A full URL, partial URI, or short name are valid. Examples: |
| // |
| // * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` |
| // * `projects/[project_id]/zones/[zone]` |
| // * `us-central1-f` |
| ZoneUri string `protobuf:"bytes,1,opt,name=zone_uri,json=zoneUri,proto3" json:"zone_uri,omitempty"` |
| // Optional. The Google Compute Engine network to be used for machine |
| // communications. Cannot be specified with subnetwork_uri. If neither |
| // `network_uri` nor `subnetwork_uri` is specified, the "default" network of |
| // the project is used, if it exists. Cannot be a "Custom Subnet Network" (see |
| // [Using Subnetworks](/compute/docs/subnetworks) for more information). |
| // |
| // A full URL, partial URI, or short name are valid. Examples: |
| // |
| // * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default` |
| // * `projects/[project_id]/regions/global/default` |
| // * `default` |
| NetworkUri string `protobuf:"bytes,2,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"` |
| // Optional. The Google Compute Engine subnetwork to be used for machine |
| // communications. Cannot be specified with network_uri. |
| // |
| // A full URL, partial URI, or short name are valid. Examples: |
| // |
| // * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0` |
| // * `projects/[project_id]/regions/us-east1/sub0` |
| // * `sub0` |
| SubnetworkUri string `protobuf:"bytes,6,opt,name=subnetwork_uri,json=subnetworkUri,proto3" json:"subnetwork_uri,omitempty"` |
| // Optional. If true, all instances in the cluster will only have internal IP |
| // addresses. By default, clusters are not restricted to internal IP addresses, |
| // and will have ephemeral external IP addresses assigned to each instance. |
| // This `internal_ip_only` restriction can only be enabled for subnetwork |
| // enabled networks, and all off-cluster dependencies must be configured to be |
| // accessible without external IP addresses. |
| InternalIpOnly bool `protobuf:"varint,7,opt,name=internal_ip_only,json=internalIpOnly,proto3" json:"internal_ip_only,omitempty"` |
| // Optional. The service account of the instances. Defaults to the default |
| // Google Compute Engine service account. Custom service accounts need |
| // permissions equivalent to the folloing IAM roles: |
| // |
| // * roles/logging.logWriter |
| // * roles/storage.objectAdmin |
| // |
| // (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts |
| // for more information). |
| // Example: `[account_id]@[project_id].iam.gserviceaccount.com` |
| ServiceAccount string `protobuf:"bytes,8,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` |
| // Optional. The URIs of service account scopes to be included in Google |
| // Compute Engine instances. The following base set of scopes is always |
| // included: |
| // |
| // * https://www.googleapis.com/auth/cloud.useraccounts.readonly |
| // * https://www.googleapis.com/auth/devstorage.read_write |
| // * https://www.googleapis.com/auth/logging.write |
| // |
| // If no scopes are specified, the following defaults are also provided: |
| // |
| // * https://www.googleapis.com/auth/bigquery |
| // * https://www.googleapis.com/auth/bigtable.admin.table |
| // * https://www.googleapis.com/auth/bigtable.data |
| // * https://www.googleapis.com/auth/devstorage.full_control |
| ServiceAccountScopes []string `protobuf:"bytes,3,rep,name=service_account_scopes,json=serviceAccountScopes,proto3" json:"service_account_scopes,omitempty"` |
| // The Google Compute Engine tags to add to all instances (see |
| // [Tagging instances](/compute/docs/label-or-tag-resources#tags)). |
| Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` |
| // The Google Compute Engine metadata entries to add to all instances (see |
| // [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)). |
| Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GceClusterConfig) Reset() { *m = GceClusterConfig{} } |
| func (m *GceClusterConfig) String() string { return proto.CompactTextString(m) } |
| func (*GceClusterConfig) ProtoMessage() {} |
| func (*GceClusterConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{2} |
| } |
| func (m *GceClusterConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GceClusterConfig.Unmarshal(m, b) |
| } |
| func (m *GceClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GceClusterConfig.Marshal(b, m, deterministic) |
| } |
| func (dst *GceClusterConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GceClusterConfig.Merge(dst, src) |
| } |
| func (m *GceClusterConfig) XXX_Size() int { |
| return xxx_messageInfo_GceClusterConfig.Size(m) |
| } |
| func (m *GceClusterConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_GceClusterConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GceClusterConfig proto.InternalMessageInfo |
| |
| func (m *GceClusterConfig) GetZoneUri() string { |
| if m != nil { |
| return m.ZoneUri |
| } |
| return "" |
| } |
| |
| func (m *GceClusterConfig) GetNetworkUri() string { |
| if m != nil { |
| return m.NetworkUri |
| } |
| return "" |
| } |
| |
| func (m *GceClusterConfig) GetSubnetworkUri() string { |
| if m != nil { |
| return m.SubnetworkUri |
| } |
| return "" |
| } |
| |
| func (m *GceClusterConfig) GetInternalIpOnly() bool { |
| if m != nil { |
| return m.InternalIpOnly |
| } |
| return false |
| } |
| |
| func (m *GceClusterConfig) GetServiceAccount() string { |
| if m != nil { |
| return m.ServiceAccount |
| } |
| return "" |
| } |
| |
| func (m *GceClusterConfig) GetServiceAccountScopes() []string { |
| if m != nil { |
| return m.ServiceAccountScopes |
| } |
| return nil |
| } |
| |
| func (m *GceClusterConfig) GetTags() []string { |
| if m != nil { |
| return m.Tags |
| } |
| return nil |
| } |
| |
| func (m *GceClusterConfig) GetMetadata() map[string]string { |
| if m != nil { |
| return m.Metadata |
| } |
| return nil |
| } |
| |
| // Optional. The config settings for Google Compute Engine resources in |
| // an instance group, such as a master or worker group. |
| type InstanceGroupConfig struct { |
| // Optional. The number of VM instances in the instance group. |
| // For master instance groups, must be set to 1. |
| NumInstances int32 `protobuf:"varint,1,opt,name=num_instances,json=numInstances,proto3" json:"num_instances,omitempty"` |
| // Optional. The list of instance names. Cloud Dataproc derives the names from |
| // `cluster_name`, `num_instances`, and the instance group if not set by user |
| // (recommended practice is to let Cloud Dataproc derive the name). |
| InstanceNames []string `protobuf:"bytes,2,rep,name=instance_names,json=instanceNames,proto3" json:"instance_names,omitempty"` |
| // Output-only. The Google Compute Engine image resource used for cluster |
| // instances. Inferred from `SoftwareConfig.image_version`. |
| ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` |
| // Optional. The Google Compute Engine machine type used for cluster instances. |
| // |
| // A full URL, partial URI, or short name are valid. Examples: |
| // |
| // * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2` |
| // * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2` |
| // * `n1-standard-2` |
| MachineTypeUri string `protobuf:"bytes,4,opt,name=machine_type_uri,json=machineTypeUri,proto3" json:"machine_type_uri,omitempty"` |
| // Optional. Disk option config settings. |
| DiskConfig *DiskConfig `protobuf:"bytes,5,opt,name=disk_config,json=diskConfig,proto3" json:"disk_config,omitempty"` |
| // Optional. Specifies that this instance group contains preemptible instances. |
| IsPreemptible bool `protobuf:"varint,6,opt,name=is_preemptible,json=isPreemptible,proto3" json:"is_preemptible,omitempty"` |
| // Output-only. The config for Google Compute Engine Instance Group |
| // Manager that manages this group. |
| // This is only used for preemptible instance groups. |
| ManagedGroupConfig *ManagedGroupConfig `protobuf:"bytes,7,opt,name=managed_group_config,json=managedGroupConfig,proto3" json:"managed_group_config,omitempty"` |
| // Optional. The Google Compute Engine accelerator configuration for these |
| // instances. |
| // |
| // **Beta Feature**: This feature is still under development. It may be |
| // changed before final release. |
| Accelerators []*AcceleratorConfig `protobuf:"bytes,8,rep,name=accelerators,proto3" json:"accelerators,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *InstanceGroupConfig) Reset() { *m = InstanceGroupConfig{} } |
| func (m *InstanceGroupConfig) String() string { return proto.CompactTextString(m) } |
| func (*InstanceGroupConfig) ProtoMessage() {} |
| func (*InstanceGroupConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{3} |
| } |
| func (m *InstanceGroupConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_InstanceGroupConfig.Unmarshal(m, b) |
| } |
| func (m *InstanceGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_InstanceGroupConfig.Marshal(b, m, deterministic) |
| } |
| func (dst *InstanceGroupConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_InstanceGroupConfig.Merge(dst, src) |
| } |
| func (m *InstanceGroupConfig) XXX_Size() int { |
| return xxx_messageInfo_InstanceGroupConfig.Size(m) |
| } |
| func (m *InstanceGroupConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_InstanceGroupConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_InstanceGroupConfig proto.InternalMessageInfo |
| |
| func (m *InstanceGroupConfig) GetNumInstances() int32 { |
| if m != nil { |
| return m.NumInstances |
| } |
| return 0 |
| } |
| |
| func (m *InstanceGroupConfig) GetInstanceNames() []string { |
| if m != nil { |
| return m.InstanceNames |
| } |
| return nil |
| } |
| |
| func (m *InstanceGroupConfig) GetImageUri() string { |
| if m != nil { |
| return m.ImageUri |
| } |
| return "" |
| } |
| |
| func (m *InstanceGroupConfig) GetMachineTypeUri() string { |
| if m != nil { |
| return m.MachineTypeUri |
| } |
| return "" |
| } |
| |
| func (m *InstanceGroupConfig) GetDiskConfig() *DiskConfig { |
| if m != nil { |
| return m.DiskConfig |
| } |
| return nil |
| } |
| |
| func (m *InstanceGroupConfig) GetIsPreemptible() bool { |
| if m != nil { |
| return m.IsPreemptible |
| } |
| return false |
| } |
| |
| func (m *InstanceGroupConfig) GetManagedGroupConfig() *ManagedGroupConfig { |
| if m != nil { |
| return m.ManagedGroupConfig |
| } |
| return nil |
| } |
| |
| func (m *InstanceGroupConfig) GetAccelerators() []*AcceleratorConfig { |
| if m != nil { |
| return m.Accelerators |
| } |
| return nil |
| } |
| |
| // Specifies the resources used to actively manage an instance group. |
| type ManagedGroupConfig struct { |
| // Output-only. The name of the Instance Template used for the Managed |
| // Instance Group. |
| InstanceTemplateName string `protobuf:"bytes,1,opt,name=instance_template_name,json=instanceTemplateName,proto3" json:"instance_template_name,omitempty"` |
| // Output-only. The name of the Instance Group Manager for this group. |
| InstanceGroupManagerName string `protobuf:"bytes,2,opt,name=instance_group_manager_name,json=instanceGroupManagerName,proto3" json:"instance_group_manager_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ManagedGroupConfig) Reset() { *m = ManagedGroupConfig{} } |
| func (m *ManagedGroupConfig) String() string { return proto.CompactTextString(m) } |
| func (*ManagedGroupConfig) ProtoMessage() {} |
| func (*ManagedGroupConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{4} |
| } |
| func (m *ManagedGroupConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ManagedGroupConfig.Unmarshal(m, b) |
| } |
| func (m *ManagedGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ManagedGroupConfig.Marshal(b, m, deterministic) |
| } |
| func (dst *ManagedGroupConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ManagedGroupConfig.Merge(dst, src) |
| } |
| func (m *ManagedGroupConfig) XXX_Size() int { |
| return xxx_messageInfo_ManagedGroupConfig.Size(m) |
| } |
| func (m *ManagedGroupConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_ManagedGroupConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ManagedGroupConfig proto.InternalMessageInfo |
| |
| func (m *ManagedGroupConfig) GetInstanceTemplateName() string { |
| if m != nil { |
| return m.InstanceTemplateName |
| } |
| return "" |
| } |
| |
| func (m *ManagedGroupConfig) GetInstanceGroupManagerName() string { |
| if m != nil { |
| return m.InstanceGroupManagerName |
| } |
| return "" |
| } |
| |
| // Specifies the type and number of accelerator cards attached to the instances |
| // of an instance group (see [GPUs on Compute Engine](/compute/docs/gpus/)). |
| type AcceleratorConfig struct { |
| // Full URL, partial URI, or short name of the accelerator type resource to |
| // expose to this instance. See [Google Compute Engine AcceleratorTypes]( |
| // /compute/docs/reference/beta/acceleratorTypes) |
| // |
| // Examples |
| // * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80` |
| // * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80` |
| // * `nvidia-tesla-k80` |
| AcceleratorTypeUri string `protobuf:"bytes,1,opt,name=accelerator_type_uri,json=acceleratorTypeUri,proto3" json:"accelerator_type_uri,omitempty"` |
| // The number of the accelerator cards of this type exposed to this instance. |
| AcceleratorCount int32 `protobuf:"varint,2,opt,name=accelerator_count,json=acceleratorCount,proto3" json:"accelerator_count,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *AcceleratorConfig) Reset() { *m = AcceleratorConfig{} } |
| func (m *AcceleratorConfig) String() string { return proto.CompactTextString(m) } |
| func (*AcceleratorConfig) ProtoMessage() {} |
| func (*AcceleratorConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{5} |
| } |
| func (m *AcceleratorConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_AcceleratorConfig.Unmarshal(m, b) |
| } |
| func (m *AcceleratorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_AcceleratorConfig.Marshal(b, m, deterministic) |
| } |
| func (dst *AcceleratorConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_AcceleratorConfig.Merge(dst, src) |
| } |
| func (m *AcceleratorConfig) XXX_Size() int { |
| return xxx_messageInfo_AcceleratorConfig.Size(m) |
| } |
| func (m *AcceleratorConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_AcceleratorConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_AcceleratorConfig proto.InternalMessageInfo |
| |
| func (m *AcceleratorConfig) GetAcceleratorTypeUri() string { |
| if m != nil { |
| return m.AcceleratorTypeUri |
| } |
| return "" |
| } |
| |
| func (m *AcceleratorConfig) GetAcceleratorCount() int32 { |
| if m != nil { |
| return m.AcceleratorCount |
| } |
| return 0 |
| } |
| |
| // Specifies the config of disk options for a group of VM instances. |
| type DiskConfig struct { |
| // Optional. Size in GB of the boot disk (default is 500GB). |
| BootDiskSizeGb int32 `protobuf:"varint,1,opt,name=boot_disk_size_gb,json=bootDiskSizeGb,proto3" json:"boot_disk_size_gb,omitempty"` |
| // Optional. Number of attached SSDs, from 0 to 4 (default is 0). |
| // If SSDs are not attached, the boot disk is used to store runtime logs and |
| // [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. |
| // If one or more SSDs are attached, this runtime bulk |
| // data is spread across them, and the boot disk contains only basic |
| // config and installed binaries. |
| NumLocalSsds int32 `protobuf:"varint,2,opt,name=num_local_ssds,json=numLocalSsds,proto3" json:"num_local_ssds,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DiskConfig) Reset() { *m = DiskConfig{} } |
| func (m *DiskConfig) String() string { return proto.CompactTextString(m) } |
| func (*DiskConfig) ProtoMessage() {} |
| func (*DiskConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{6} |
| } |
| func (m *DiskConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DiskConfig.Unmarshal(m, b) |
| } |
| func (m *DiskConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DiskConfig.Marshal(b, m, deterministic) |
| } |
| func (dst *DiskConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DiskConfig.Merge(dst, src) |
| } |
| func (m *DiskConfig) XXX_Size() int { |
| return xxx_messageInfo_DiskConfig.Size(m) |
| } |
| func (m *DiskConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_DiskConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DiskConfig proto.InternalMessageInfo |
| |
| func (m *DiskConfig) GetBootDiskSizeGb() int32 { |
| if m != nil { |
| return m.BootDiskSizeGb |
| } |
| return 0 |
| } |
| |
| func (m *DiskConfig) GetNumLocalSsds() int32 { |
| if m != nil { |
| return m.NumLocalSsds |
| } |
| return 0 |
| } |
| |
| // Specifies an executable to run on a fully configured node and a |
| // timeout period for executable completion. |
| type NodeInitializationAction struct { |
| // Required. Google Cloud Storage URI of executable file. |
| ExecutableFile string `protobuf:"bytes,1,opt,name=executable_file,json=executableFile,proto3" json:"executable_file,omitempty"` |
| // Optional. Amount of time executable has to complete. Default is |
| // 10 minutes. Cluster creation fails with an explanatory error message (the |
| // name of the executable that caused the error and the exceeded timeout |
| // period) if the executable is not completed at end of the timeout period. |
| ExecutionTimeout *duration.Duration `protobuf:"bytes,2,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *NodeInitializationAction) Reset() { *m = NodeInitializationAction{} } |
| func (m *NodeInitializationAction) String() string { return proto.CompactTextString(m) } |
| func (*NodeInitializationAction) ProtoMessage() {} |
| func (*NodeInitializationAction) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{7} |
| } |
| func (m *NodeInitializationAction) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_NodeInitializationAction.Unmarshal(m, b) |
| } |
| func (m *NodeInitializationAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_NodeInitializationAction.Marshal(b, m, deterministic) |
| } |
| func (dst *NodeInitializationAction) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_NodeInitializationAction.Merge(dst, src) |
| } |
| func (m *NodeInitializationAction) XXX_Size() int { |
| return xxx_messageInfo_NodeInitializationAction.Size(m) |
| } |
| func (m *NodeInitializationAction) XXX_DiscardUnknown() { |
| xxx_messageInfo_NodeInitializationAction.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_NodeInitializationAction proto.InternalMessageInfo |
| |
| func (m *NodeInitializationAction) GetExecutableFile() string { |
| if m != nil { |
| return m.ExecutableFile |
| } |
| return "" |
| } |
| |
| func (m *NodeInitializationAction) GetExecutionTimeout() *duration.Duration { |
| if m != nil { |
| return m.ExecutionTimeout |
| } |
| return nil |
| } |
| |
| // The status of a cluster and its instances. |
| type ClusterStatus struct { |
| // Output-only. The cluster's state. |
| State ClusterStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dataproc.v1.ClusterStatus_State" json:"state,omitempty"` |
| // Output-only. Optional details of cluster's state. |
| Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"` |
| // Output-only. Time when this state was entered. |
| StateStartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=state_start_time,json=stateStartTime,proto3" json:"state_start_time,omitempty"` |
| // Output-only. Additional state information that includes |
| // status reported by the agent. |
| Substate ClusterStatus_Substate `protobuf:"varint,4,opt,name=substate,proto3,enum=google.cloud.dataproc.v1.ClusterStatus_Substate" json:"substate,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ClusterStatus) Reset() { *m = ClusterStatus{} } |
| func (m *ClusterStatus) String() string { return proto.CompactTextString(m) } |
| func (*ClusterStatus) ProtoMessage() {} |
| func (*ClusterStatus) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{8} |
| } |
| func (m *ClusterStatus) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ClusterStatus.Unmarshal(m, b) |
| } |
| func (m *ClusterStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ClusterStatus.Marshal(b, m, deterministic) |
| } |
| func (dst *ClusterStatus) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ClusterStatus.Merge(dst, src) |
| } |
| func (m *ClusterStatus) XXX_Size() int { |
| return xxx_messageInfo_ClusterStatus.Size(m) |
| } |
| func (m *ClusterStatus) XXX_DiscardUnknown() { |
| xxx_messageInfo_ClusterStatus.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ClusterStatus proto.InternalMessageInfo |
| |
| func (m *ClusterStatus) GetState() ClusterStatus_State { |
| if m != nil { |
| return m.State |
| } |
| return ClusterStatus_UNKNOWN |
| } |
| |
| func (m *ClusterStatus) GetDetail() string { |
| if m != nil { |
| return m.Detail |
| } |
| return "" |
| } |
| |
| func (m *ClusterStatus) GetStateStartTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.StateStartTime |
| } |
| return nil |
| } |
| |
| func (m *ClusterStatus) GetSubstate() ClusterStatus_Substate { |
| if m != nil { |
| return m.Substate |
| } |
| return ClusterStatus_UNSPECIFIED |
| } |
| |
| // Specifies the selection and config of software inside the cluster. |
| type SoftwareConfig struct { |
| // Optional. The version of software inside the cluster. It must match the |
| // regular expression `[0-9]+\.[0-9]+`. If unspecified, it defaults to the |
| // latest version (see [Cloud Dataproc Versioning](/dataproc/versioning)). |
| ImageVersion string `protobuf:"bytes,1,opt,name=image_version,json=imageVersion,proto3" json:"image_version,omitempty"` |
| // Optional. The properties to set on daemon config files. |
| // |
| // Property keys are specified in `prefix:property` format, such as |
| // `core:fs.defaultFS`. The following are supported prefixes |
| // and their mappings: |
| // |
| // * capacity-scheduler: `capacity-scheduler.xml` |
| // * core: `core-site.xml` |
| // * distcp: `distcp-default.xml` |
| // * hdfs: `hdfs-site.xml` |
| // * hive: `hive-site.xml` |
| // * mapred: `mapred-site.xml` |
| // * pig: `pig.properties` |
| // * spark: `spark-defaults.conf` |
| // * yarn: `yarn-site.xml` |
| // |
| // For more information, see |
| // [Cluster properties](/dataproc/docs/concepts/cluster-properties). |
| Properties map[string]string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SoftwareConfig) Reset() { *m = SoftwareConfig{} } |
| func (m *SoftwareConfig) String() string { return proto.CompactTextString(m) } |
| func (*SoftwareConfig) ProtoMessage() {} |
| func (*SoftwareConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{9} |
| } |
| func (m *SoftwareConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SoftwareConfig.Unmarshal(m, b) |
| } |
| func (m *SoftwareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SoftwareConfig.Marshal(b, m, deterministic) |
| } |
| func (dst *SoftwareConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SoftwareConfig.Merge(dst, src) |
| } |
| func (m *SoftwareConfig) XXX_Size() int { |
| return xxx_messageInfo_SoftwareConfig.Size(m) |
| } |
| func (m *SoftwareConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_SoftwareConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SoftwareConfig proto.InternalMessageInfo |
| |
| func (m *SoftwareConfig) GetImageVersion() string { |
| if m != nil { |
| return m.ImageVersion |
| } |
| return "" |
| } |
| |
| func (m *SoftwareConfig) GetProperties() map[string]string { |
| if m != nil { |
| return m.Properties |
| } |
| return nil |
| } |
| |
| // Contains cluster daemon metrics, such as HDFS and YARN stats. |
| // |
| // **Beta Feature**: This report is available for testing purposes only. It may |
| // be changed before final release. |
| type ClusterMetrics struct { |
| // The HDFS metrics. |
| HdfsMetrics map[string]int64 `protobuf:"bytes,1,rep,name=hdfs_metrics,json=hdfsMetrics,proto3" json:"hdfs_metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` |
| // The YARN metrics. |
| YarnMetrics map[string]int64 `protobuf:"bytes,2,rep,name=yarn_metrics,json=yarnMetrics,proto3" json:"yarn_metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ClusterMetrics) Reset() { *m = ClusterMetrics{} } |
| func (m *ClusterMetrics) String() string { return proto.CompactTextString(m) } |
| func (*ClusterMetrics) ProtoMessage() {} |
| func (*ClusterMetrics) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{10} |
| } |
| func (m *ClusterMetrics) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ClusterMetrics.Unmarshal(m, b) |
| } |
| func (m *ClusterMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ClusterMetrics.Marshal(b, m, deterministic) |
| } |
| func (dst *ClusterMetrics) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ClusterMetrics.Merge(dst, src) |
| } |
| func (m *ClusterMetrics) XXX_Size() int { |
| return xxx_messageInfo_ClusterMetrics.Size(m) |
| } |
| func (m *ClusterMetrics) XXX_DiscardUnknown() { |
| xxx_messageInfo_ClusterMetrics.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ClusterMetrics proto.InternalMessageInfo |
| |
| func (m *ClusterMetrics) GetHdfsMetrics() map[string]int64 { |
| if m != nil { |
| return m.HdfsMetrics |
| } |
| return nil |
| } |
| |
| func (m *ClusterMetrics) GetYarnMetrics() map[string]int64 { |
| if m != nil { |
| return m.YarnMetrics |
| } |
| return nil |
| } |
| |
| // A request to create a cluster. |
| type CreateClusterRequest struct { |
| // Required. The ID of the Google Cloud Platform project that the cluster |
| // belongs to. |
| ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| // Required. The Cloud Dataproc region in which to handle the request. |
| Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` |
| // Required. The cluster to create. |
| Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} } |
| func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) } |
| func (*CreateClusterRequest) ProtoMessage() {} |
| func (*CreateClusterRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{11} |
| } |
| func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) |
| } |
| func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *CreateClusterRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CreateClusterRequest.Merge(dst, src) |
| } |
| func (m *CreateClusterRequest) XXX_Size() int { |
| return xxx_messageInfo_CreateClusterRequest.Size(m) |
| } |
| func (m *CreateClusterRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_CreateClusterRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CreateClusterRequest proto.InternalMessageInfo |
| |
| func (m *CreateClusterRequest) GetProjectId() string { |
| if m != nil { |
| return m.ProjectId |
| } |
| return "" |
| } |
| |
| func (m *CreateClusterRequest) GetRegion() string { |
| if m != nil { |
| return m.Region |
| } |
| return "" |
| } |
| |
| func (m *CreateClusterRequest) GetCluster() *Cluster { |
| if m != nil { |
| return m.Cluster |
| } |
| return nil |
| } |
| |
| // A request to update a cluster. |
| type UpdateClusterRequest struct { |
| // Required. The ID of the Google Cloud Platform project the |
| // cluster belongs to. |
| ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| // Required. The Cloud Dataproc region in which to handle the request. |
| Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"` |
| // Required. The cluster name. |
| ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` |
| // Required. The changes to the cluster. |
| Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"` |
| // Required. Specifies the path, relative to `Cluster`, of |
| // the field to update. For example, to change the number of workers |
| // in a cluster to 5, the `update_mask` parameter would be |
| // specified as `config.worker_config.num_instances`, |
| // and the `PATCH` request body would specify the new value, as follows: |
| // |
| // { |
| // "config":{ |
| // "workerConfig":{ |
| // "numInstances":"5" |
| // } |
| // } |
| // } |
| // Similarly, to change the number of preemptible workers in a cluster to 5, |
| // the `update_mask` parameter would be |
| // `config.secondary_worker_config.num_instances`, and the `PATCH` request |
| // body would be set as follows: |
| // |
| // { |
| // "config":{ |
| // "secondaryWorkerConfig":{ |
| // "numInstances":"5" |
| // } |
| // } |
| // } |
| // <strong>Note:</strong> Currently, only the following fields can be updated: |
| // |
| // <table> |
| // <tbody> |
| // <tr> |
| // <td><strong>Mask</strong></td> |
| // <td><strong>Purpose</strong></td> |
| // </tr> |
| // <tr> |
| // <td><strong><em>labels</em></strong></td> |
| // <td>Update labels</td> |
| // </tr> |
| // <tr> |
| // <td><strong><em>config.worker_config.num_instances</em></strong></td> |
| // <td>Resize primary worker group</td> |
| // </tr> |
| // <tr> |
| // <td><strong><em>config.secondary_worker_config.num_instances</em></strong></td> |
| // <td>Resize secondary worker group</td> |
| // </tr> |
| // </tbody> |
| // </table> |
| UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } |
| func (m *UpdateClusterRequest) String() string { return proto.CompactTextString(m) } |
| func (*UpdateClusterRequest) ProtoMessage() {} |
| func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{12} |
| } |
| func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) |
| } |
| func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *UpdateClusterRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_UpdateClusterRequest.Merge(dst, src) |
| } |
| func (m *UpdateClusterRequest) XXX_Size() int { |
| return xxx_messageInfo_UpdateClusterRequest.Size(m) |
| } |
| func (m *UpdateClusterRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_UpdateClusterRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_UpdateClusterRequest proto.InternalMessageInfo |
| |
| func (m *UpdateClusterRequest) GetProjectId() string { |
| if m != nil { |
| return m.ProjectId |
| } |
| return "" |
| } |
| |
| func (m *UpdateClusterRequest) GetRegion() string { |
| if m != nil { |
| return m.Region |
| } |
| return "" |
| } |
| |
| func (m *UpdateClusterRequest) GetClusterName() string { |
| if m != nil { |
| return m.ClusterName |
| } |
| return "" |
| } |
| |
| func (m *UpdateClusterRequest) GetCluster() *Cluster { |
| if m != nil { |
| return m.Cluster |
| } |
| return nil |
| } |
| |
| func (m *UpdateClusterRequest) GetUpdateMask() *field_mask.FieldMask { |
| if m != nil { |
| return m.UpdateMask |
| } |
| return nil |
| } |
| |
| // A request to delete a cluster. |
| type DeleteClusterRequest struct { |
| // Required. The ID of the Google Cloud Platform project that the cluster |
| // belongs to. |
| ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| // Required. The Cloud Dataproc region in which to handle the request. |
| Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` |
| // Required. The cluster name. |
| ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } |
| func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } |
| func (*DeleteClusterRequest) ProtoMessage() {} |
| func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{13} |
| } |
| func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) |
| } |
| func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *DeleteClusterRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DeleteClusterRequest.Merge(dst, src) |
| } |
| func (m *DeleteClusterRequest) XXX_Size() int { |
| return xxx_messageInfo_DeleteClusterRequest.Size(m) |
| } |
| func (m *DeleteClusterRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_DeleteClusterRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo |
| |
| func (m *DeleteClusterRequest) GetProjectId() string { |
| if m != nil { |
| return m.ProjectId |
| } |
| return "" |
| } |
| |
| func (m *DeleteClusterRequest) GetRegion() string { |
| if m != nil { |
| return m.Region |
| } |
| return "" |
| } |
| |
| func (m *DeleteClusterRequest) GetClusterName() string { |
| if m != nil { |
| return m.ClusterName |
| } |
| return "" |
| } |
| |
| // Request to get the resource representation for a cluster in a project. |
| type GetClusterRequest struct { |
| // Required. The ID of the Google Cloud Platform project that the cluster |
| // belongs to. |
| ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| // Required. The Cloud Dataproc region in which to handle the request. |
| Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` |
| // Required. The cluster name. |
| ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } |
| func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetClusterRequest) ProtoMessage() {} |
| func (*GetClusterRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{14} |
| } |
| func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) |
| } |
| func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *GetClusterRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetClusterRequest.Merge(dst, src) |
| } |
| func (m *GetClusterRequest) XXX_Size() int { |
| return xxx_messageInfo_GetClusterRequest.Size(m) |
| } |
| func (m *GetClusterRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetClusterRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo |
| |
| func (m *GetClusterRequest) GetProjectId() string { |
| if m != nil { |
| return m.ProjectId |
| } |
| return "" |
| } |
| |
| func (m *GetClusterRequest) GetRegion() string { |
| if m != nil { |
| return m.Region |
| } |
| return "" |
| } |
| |
| func (m *GetClusterRequest) GetClusterName() string { |
| if m != nil { |
| return m.ClusterName |
| } |
| return "" |
| } |
| |
| // A request to list the clusters in a project. |
| type ListClustersRequest struct { |
| // Required. The ID of the Google Cloud Platform project that the cluster |
| // belongs to. |
| ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| // Required. The Cloud Dataproc region in which to handle the request. |
| Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` |
| // Optional. A filter constraining the clusters to list. Filters are |
| // case-sensitive and have the following syntax: |
| // |
| // field = value [AND [field = value]] ... |
| // |
| // where **field** is one of `status.state`, `clusterName`, or `labels.[KEY]`, |
| // and `[KEY]` is a label key. **value** can be `*` to match all values. |
| // `status.state` can be one of the following: `ACTIVE`, `INACTIVE`, |
| // `CREATING`, `RUNNING`, `ERROR`, `DELETING`, or `UPDATING`. `ACTIVE` |
| // contains the `CREATING`, `UPDATING`, and `RUNNING` states. `INACTIVE` |
| // contains the `DELETING` and `ERROR` states. |
| // `clusterName` is the name of the cluster provided at creation time. |
| // Only the logical `AND` operator is supported; space-separated items are |
| // treated as having an implicit `AND` operator. |
| // |
| // Example filter: |
| // |
| // status.state = ACTIVE AND clusterName = mycluster |
| // AND labels.env = staging AND labels.starred = * |
| Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` |
| // Optional. The standard List page size. |
| PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| // Optional. The standard List page token. |
| PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } |
| func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } |
| func (*ListClustersRequest) ProtoMessage() {} |
| func (*ListClustersRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{15} |
| } |
| func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) |
| } |
| func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *ListClustersRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListClustersRequest.Merge(dst, src) |
| } |
| func (m *ListClustersRequest) XXX_Size() int { |
| return xxx_messageInfo_ListClustersRequest.Size(m) |
| } |
| func (m *ListClustersRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListClustersRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo |
| |
| func (m *ListClustersRequest) GetProjectId() string { |
| if m != nil { |
| return m.ProjectId |
| } |
| return "" |
| } |
| |
| func (m *ListClustersRequest) GetRegion() string { |
| if m != nil { |
| return m.Region |
| } |
| return "" |
| } |
| |
| func (m *ListClustersRequest) GetFilter() string { |
| if m != nil { |
| return m.Filter |
| } |
| return "" |
| } |
| |
| func (m *ListClustersRequest) GetPageSize() int32 { |
| if m != nil { |
| return m.PageSize |
| } |
| return 0 |
| } |
| |
| func (m *ListClustersRequest) GetPageToken() string { |
| if m != nil { |
| return m.PageToken |
| } |
| return "" |
| } |
| |
| // The list of all clusters in a project. |
| type ListClustersResponse struct { |
| // Output-only. The clusters in the project. |
| Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` |
| // Output-only. This token is included in the response if there are more |
| // results to fetch. To fetch additional results, provide this value as the |
| // `page_token` in a subsequent `ListClustersRequest`. |
| NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } |
| func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) } |
| func (*ListClustersResponse) ProtoMessage() {} |
| func (*ListClustersResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{16} |
| } |
| func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b) |
| } |
| func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListClustersResponse.Marshal(b, m, deterministic) |
| } |
| func (dst *ListClustersResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListClustersResponse.Merge(dst, src) |
| } |
| func (m *ListClustersResponse) XXX_Size() int { |
| return xxx_messageInfo_ListClustersResponse.Size(m) |
| } |
| func (m *ListClustersResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListClustersResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListClustersResponse proto.InternalMessageInfo |
| |
| func (m *ListClustersResponse) GetClusters() []*Cluster { |
| if m != nil { |
| return m.Clusters |
| } |
| return nil |
| } |
| |
| func (m *ListClustersResponse) GetNextPageToken() string { |
| if m != nil { |
| return m.NextPageToken |
| } |
| return "" |
| } |
| |
| // A request to collect cluster diagnostic information. |
| type DiagnoseClusterRequest struct { |
| // Required. The ID of the Google Cloud Platform project that the cluster |
| // belongs to. |
| ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| // Required. The Cloud Dataproc region in which to handle the request. |
| Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` |
| // Required. The cluster name. |
| ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DiagnoseClusterRequest) Reset() { *m = DiagnoseClusterRequest{} } |
| func (m *DiagnoseClusterRequest) String() string { return proto.CompactTextString(m) } |
| func (*DiagnoseClusterRequest) ProtoMessage() {} |
| func (*DiagnoseClusterRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{17} |
| } |
| func (m *DiagnoseClusterRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DiagnoseClusterRequest.Unmarshal(m, b) |
| } |
| func (m *DiagnoseClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DiagnoseClusterRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *DiagnoseClusterRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DiagnoseClusterRequest.Merge(dst, src) |
| } |
| func (m *DiagnoseClusterRequest) XXX_Size() int { |
| return xxx_messageInfo_DiagnoseClusterRequest.Size(m) |
| } |
| func (m *DiagnoseClusterRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_DiagnoseClusterRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DiagnoseClusterRequest proto.InternalMessageInfo |
| |
| func (m *DiagnoseClusterRequest) GetProjectId() string { |
| if m != nil { |
| return m.ProjectId |
| } |
| return "" |
| } |
| |
| func (m *DiagnoseClusterRequest) GetRegion() string { |
| if m != nil { |
| return m.Region |
| } |
| return "" |
| } |
| |
| func (m *DiagnoseClusterRequest) GetClusterName() string { |
| if m != nil { |
| return m.ClusterName |
| } |
| return "" |
| } |
| |
| // The location of diagnostic output. |
| type DiagnoseClusterResults struct { |
| // Output-only. The Google Cloud Storage URI of the diagnostic output. |
| // The output report is a plain text file with a summary of collected |
| // diagnostics. |
| OutputUri string `protobuf:"bytes,1,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DiagnoseClusterResults) Reset() { *m = DiagnoseClusterResults{} } |
| func (m *DiagnoseClusterResults) String() string { return proto.CompactTextString(m) } |
| func (*DiagnoseClusterResults) ProtoMessage() {} |
| func (*DiagnoseClusterResults) Descriptor() ([]byte, []int) { |
| return fileDescriptor_clusters_beb75bdb730324e4, []int{18} |
| } |
| func (m *DiagnoseClusterResults) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DiagnoseClusterResults.Unmarshal(m, b) |
| } |
| func (m *DiagnoseClusterResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DiagnoseClusterResults.Marshal(b, m, deterministic) |
| } |
| func (dst *DiagnoseClusterResults) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DiagnoseClusterResults.Merge(dst, src) |
| } |
| func (m *DiagnoseClusterResults) XXX_Size() int { |
| return xxx_messageInfo_DiagnoseClusterResults.Size(m) |
| } |
| func (m *DiagnoseClusterResults) XXX_DiscardUnknown() { |
| xxx_messageInfo_DiagnoseClusterResults.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DiagnoseClusterResults proto.InternalMessageInfo |
| |
| func (m *DiagnoseClusterResults) GetOutputUri() string { |
| if m != nil { |
| return m.OutputUri |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterType((*Cluster)(nil), "google.cloud.dataproc.v1.Cluster") |
| proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.Cluster.LabelsEntry") |
| proto.RegisterType((*ClusterConfig)(nil), "google.cloud.dataproc.v1.ClusterConfig") |
| proto.RegisterType((*GceClusterConfig)(nil), "google.cloud.dataproc.v1.GceClusterConfig") |
| proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.GceClusterConfig.MetadataEntry") |
| proto.RegisterType((*InstanceGroupConfig)(nil), "google.cloud.dataproc.v1.InstanceGroupConfig") |
| proto.RegisterType((*ManagedGroupConfig)(nil), "google.cloud.dataproc.v1.ManagedGroupConfig") |
| proto.RegisterType((*AcceleratorConfig)(nil), "google.cloud.dataproc.v1.AcceleratorConfig") |
| proto.RegisterType((*DiskConfig)(nil), "google.cloud.dataproc.v1.DiskConfig") |
| proto.RegisterType((*NodeInitializationAction)(nil), "google.cloud.dataproc.v1.NodeInitializationAction") |
| proto.RegisterType((*ClusterStatus)(nil), "google.cloud.dataproc.v1.ClusterStatus") |
| proto.RegisterType((*SoftwareConfig)(nil), "google.cloud.dataproc.v1.SoftwareConfig") |
| proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.SoftwareConfig.PropertiesEntry") |
| proto.RegisterType((*ClusterMetrics)(nil), "google.cloud.dataproc.v1.ClusterMetrics") |
| proto.RegisterMapType((map[string]int64)(nil), "google.cloud.dataproc.v1.ClusterMetrics.HdfsMetricsEntry") |
| proto.RegisterMapType((map[string]int64)(nil), "google.cloud.dataproc.v1.ClusterMetrics.YarnMetricsEntry") |
| proto.RegisterType((*CreateClusterRequest)(nil), "google.cloud.dataproc.v1.CreateClusterRequest") |
| proto.RegisterType((*UpdateClusterRequest)(nil), "google.cloud.dataproc.v1.UpdateClusterRequest") |
| proto.RegisterType((*DeleteClusterRequest)(nil), "google.cloud.dataproc.v1.DeleteClusterRequest") |
| proto.RegisterType((*GetClusterRequest)(nil), "google.cloud.dataproc.v1.GetClusterRequest") |
| proto.RegisterType((*ListClustersRequest)(nil), "google.cloud.dataproc.v1.ListClustersRequest") |
| proto.RegisterType((*ListClustersResponse)(nil), "google.cloud.dataproc.v1.ListClustersResponse") |
| proto.RegisterType((*DiagnoseClusterRequest)(nil), "google.cloud.dataproc.v1.DiagnoseClusterRequest") |
| proto.RegisterType((*DiagnoseClusterResults)(nil), "google.cloud.dataproc.v1.DiagnoseClusterResults") |
| proto.RegisterEnum("google.cloud.dataproc.v1.ClusterStatus_State", ClusterStatus_State_name, ClusterStatus_State_value) |
| proto.RegisterEnum("google.cloud.dataproc.v1.ClusterStatus_Substate", ClusterStatus_Substate_name, ClusterStatus_Substate_value) |
| } |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ context.Context |
| var _ grpc.ClientConn |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the grpc package it is being compiled against. |
| const _ = grpc.SupportPackageIsVersion4 |
| |
| // ClusterControllerClient is the client API for ClusterController service. |
| // |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| type ClusterControllerClient interface { |
| // Creates a cluster in a project. |
| CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| // Updates a cluster in a project. |
| UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| // Deletes a cluster in a project. |
| DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| // Gets the resource representation for a cluster in a project. |
| GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) |
| // Lists all regions/{region}/clusters in a project. |
| ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) |
| // Gets cluster diagnostic information. |
| // After the operation completes, the Operation.response field |
| // contains `DiagnoseClusterOutputLocation`. |
| DiagnoseCluster(ctx context.Context, in *DiagnoseClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| } |
| |
| type clusterControllerClient struct { |
| cc *grpc.ClientConn |
| } |
| |
| func NewClusterControllerClient(cc *grpc.ClientConn) ClusterControllerClient { |
| return &clusterControllerClient{cc} |
| } |
| |
| func (c *clusterControllerClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| out := new(longrunning.Operation) |
| err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/CreateCluster", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *clusterControllerClient) UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| out := new(longrunning.Operation) |
| err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/UpdateCluster", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *clusterControllerClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| out := new(longrunning.Operation) |
| err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/DeleteCluster", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *clusterControllerClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) { |
| out := new(Cluster) |
| err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/GetCluster", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *clusterControllerClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) { |
| out := new(ListClustersResponse) |
| err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/ListClusters", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *clusterControllerClient) DiagnoseCluster(ctx context.Context, in *DiagnoseClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| out := new(longrunning.Operation) |
| err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/DiagnoseCluster", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // ClusterControllerServer is the server API for ClusterController service. |
| type ClusterControllerServer interface { |
| // Creates a cluster in a project. |
| CreateCluster(context.Context, *CreateClusterRequest) (*longrunning.Operation, error) |
| // Updates a cluster in a project. |
| UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunning.Operation, error) |
| // Deletes a cluster in a project. |
| DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunning.Operation, error) |
| // Gets the resource representation for a cluster in a project. |
| GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) |
| // Lists all regions/{region}/clusters in a project. |
| ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) |
| // Gets cluster diagnostic information. |
| // After the operation completes, the Operation.response field |
| // contains `DiagnoseClusterOutputLocation`. |
| DiagnoseCluster(context.Context, *DiagnoseClusterRequest) (*longrunning.Operation, error) |
| } |
| |
| func RegisterClusterControllerServer(s *grpc.Server, srv ClusterControllerServer) { |
| s.RegisterService(&_ClusterController_serviceDesc, srv) |
| } |
| |
| func _ClusterController_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(CreateClusterRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ClusterControllerServer).CreateCluster(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.cloud.dataproc.v1.ClusterController/CreateCluster", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ClusterControllerServer).CreateCluster(ctx, req.(*CreateClusterRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ClusterController_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(UpdateClusterRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ClusterControllerServer).UpdateCluster(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.cloud.dataproc.v1.ClusterController/UpdateCluster", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ClusterControllerServer).UpdateCluster(ctx, req.(*UpdateClusterRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ClusterController_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(DeleteClusterRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ClusterControllerServer).DeleteCluster(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.cloud.dataproc.v1.ClusterController/DeleteCluster", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ClusterControllerServer).DeleteCluster(ctx, req.(*DeleteClusterRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ClusterController_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetClusterRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ClusterControllerServer).GetCluster(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.cloud.dataproc.v1.ClusterController/GetCluster", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ClusterControllerServer).GetCluster(ctx, req.(*GetClusterRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ClusterController_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(ListClustersRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ClusterControllerServer).ListClusters(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.cloud.dataproc.v1.ClusterController/ListClusters", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ClusterControllerServer).ListClusters(ctx, req.(*ListClustersRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ClusterController_DiagnoseCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(DiagnoseClusterRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ClusterControllerServer).DiagnoseCluster(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.cloud.dataproc.v1.ClusterController/DiagnoseCluster", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ClusterControllerServer).DiagnoseCluster(ctx, req.(*DiagnoseClusterRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _ClusterController_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "google.cloud.dataproc.v1.ClusterController", |
| HandlerType: (*ClusterControllerServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "CreateCluster", |
| Handler: _ClusterController_CreateCluster_Handler, |
| }, |
| { |
| MethodName: "UpdateCluster", |
| Handler: _ClusterController_UpdateCluster_Handler, |
| }, |
| { |
| MethodName: "DeleteCluster", |
| Handler: _ClusterController_DeleteCluster_Handler, |
| }, |
| { |
| MethodName: "GetCluster", |
| Handler: _ClusterController_GetCluster_Handler, |
| }, |
| { |
| MethodName: "ListClusters", |
| Handler: _ClusterController_ListClusters_Handler, |
| }, |
| { |
| MethodName: "DiagnoseCluster", |
| Handler: _ClusterController_DiagnoseCluster_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: "google/cloud/dataproc/v1/clusters.proto", |
| } |
| |
| func init() { |
| proto.RegisterFile("google/cloud/dataproc/v1/clusters.proto", fileDescriptor_clusters_beb75bdb730324e4) |
| } |
| |
| var fileDescriptor_clusters_beb75bdb730324e4 = []byte{ |
| // 1944 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x73, 0x23, 0x47, |
| 0x15, 0xcf, 0x58, 0xfe, 0x90, 0x9f, 0x3e, 0x2c, 0x77, 0x1c, 0xa3, 0x28, 0x09, 0x71, 0x26, 0x81, |
| 0x75, 0x36, 0x20, 0xed, 0x3a, 0x50, 0x24, 0x6b, 0x12, 0xb0, 0x2d, 0xad, 0xd7, 0xc4, 0x96, 0xcd, |
| 0x48, 0xda, 0x24, 0x14, 0x30, 0xd5, 0x9a, 0x69, 0x6b, 0x1b, 0x8f, 0x66, 0x26, 0xd3, 0x3d, 0x4e, |
| 0xbc, 0x5b, 0x7b, 0xe1, 0x40, 0x15, 0x70, 0xa4, 0x8a, 0x33, 0x07, 0xa8, 0xa2, 0x72,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, 0x94, 0x54, 0x56, 0xec, 0x7e, 0xec, 0x9c, 0x10, 0xae, 0xed, 0x14, 0x95, 0x70, 0x5b, |
| 0xca, 0xd0, 0x27, 0x80, 0x06, 0x0e, 0xb1, 0x93, 0xcd, 0xe9, 0xec, 0xe7, 0xe5, 0x06, 0x6e, 0x5f, |
| 0xbd, 0x81, 0x5d, 0x87, 0x64, 0x0b, 0xa0, 0x32, 0x38, 0x27, 0x41, 0x16, 0x94, 0x86, 0x38, 0x6d, |
| 0x54, 0x45, 0xe5, 0x9a, 0x8a, 0xd8, 0xf3, 0x19, 0xc7, 0xbe, 0x43, 0x76, 0xa3, 0x20, 0x0e, 0xb5, |
| 0xdd, 0xa2, 0xb2, 0x31, 0xb6, 0xf9, 0x79, 0x10, 0x9d, 0x8c, 0x6d, 0xc2, 0x33, 0xd9, 0x54, 0x36, |
| 0xb4, 0x4d, 0x02, 0x5f, 0x63, 0xc4, 0x09, 0x7c, 0x17, 0x47, 0x67, 0x76, 0xd6, 0x7a, 0xf1, 0x59, |
| 0xac, 0xbf, 0x34, 0xb2, 0xf6, 0x71, 0xda, 0xcd, 0x8f, 0x61, 0x89, 0x05, 0xc7, 0xfc, 0x73, 0x1c, |
| 0x91, 0xc4, 0x7c, 0x69, 0x52, 0x99, 0x74, 0xb4, 0x82, 0xb6, 0x5c, 0x66, 0x99, 0x77, 0x44, 0x61, |
| 0x95, 0xfa, 0x94, 0x53, 0xec, 0xd1, 0xc7, 0xb2, 0xad, 0xd8, 0xd8, 0x91, 0xed, 0xa7, 0x5a, 0x90, |
| 0xc5, 0xbe, 0x71, 0xb5, 0xe5, 0x76, 0xe0, 0x92, 0xbd, 0x8c, 0xee, 0x96, 0x54, 0xb5, 0x5e, 0xa2, |
| 0x97, 0x48, 0x99, 0xf9, 0xa7, 0x1c, 0x54, 0xce, 0xe7, 0x1c, 0xbd, 0x0c, 0xf9, 0xc7, 0x81, 0x4f, |
| 0xec, 0x38, 0xa2, 0xba, 0xb6, 0x16, 0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