Variables
FileFormat_name, FileFormat_value
var (
FileFormat_name = map[int32]string{
0: "FILE_FORMAT_UNSPECIFIED",
1: "FILE_FORMAT_GEOJSON",
2: "FILE_FORMAT_KML",
3: "FILE_FORMAT_CSV",
4: "FILE_FORMAT_PROTO",
5: "FILE_FORMAT_KMZ",
}
FileFormat_value = map[string]int32{
"FILE_FORMAT_UNSPECIFIED": 0,
"FILE_FORMAT_GEOJSON": 1,
"FILE_FORMAT_KML": 2,
"FILE_FORMAT_CSV": 3,
"FILE_FORMAT_PROTO": 4,
"FILE_FORMAT_KMZ": 5,
}
)
Enum value maps for FileFormat.
Usage_name, Usage_value
var (
Usage_name = map[int32]string{
0: "USAGE_UNSPECIFIED",
1: "USAGE_DATA_DRIVEN_STYLING",
2: "USAGE_AREA_AFFORDANCES",
3: "USAGE_ASSISTED_DRIVING",
}
Usage_value = map[string]int32{
"USAGE_UNSPECIFIED": 0,
"USAGE_DATA_DRIVEN_STYLING": 1,
"USAGE_AREA_AFFORDANCES": 2,
"USAGE_ASSISTED_DRIVING": 3,
}
)
Enum value maps for Usage.
State_name, State_value
var (
State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "STATE_IMPORTING",
2: "STATE_IMPORT_SUCCEEDED",
3: "STATE_IMPORT_FAILED",
}
State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"STATE_IMPORTING": 1,
"STATE_IMPORT_SUCCEEDED": 2,
"STATE_IMPORT_FAILED": 3,
}
)
Enum value maps for State.
File_google_maps_mapsplatformdatasets_v1alpha_data_source_proto
var File_google_maps_mapsplatformdatasets_v1alpha_data_source_proto protoreflect.FileDescriptor
File_google_maps_mapsplatformdatasets_v1alpha_dataset_proto
var File_google_maps_mapsplatformdatasets_v1alpha_dataset_proto protoreflect.FileDescriptor
File_google_maps_mapsplatformdatasets_v1alpha_maps_platform_datasets_alpha_service_proto
var File_google_maps_mapsplatformdatasets_v1alpha_maps_platform_datasets_alpha_service_proto protoreflect.FileDescriptor
File_google_maps_mapsplatformdatasets_v1alpha_maps_platform_datasets_proto
var File_google_maps_mapsplatformdatasets_v1alpha_maps_platform_datasets_proto protoreflect.FileDescriptor
Functions
func RegisterMapsPlatformDatasetsV1AlphaServer
func RegisterMapsPlatformDatasetsV1AlphaServer(s *grpc.Server, srv MapsPlatformDatasetsV1AlphaServer)
CreateDatasetRequest
type CreateDatasetRequest struct {
// Required. Parent project that will own the dataset.
// Format: projects/{$project_number}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The dataset version to create.
Dataset *Dataset `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"`
// contains filtered or unexported fields
}
Request to create a maps dataset.
func (*CreateDatasetRequest) Descriptor
func (*CreateDatasetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDatasetRequest.ProtoReflect.Descriptor instead.
func (*CreateDatasetRequest) GetDataset
func (x *CreateDatasetRequest) GetDataset() *Dataset
func (*CreateDatasetRequest) GetParent
func (x *CreateDatasetRequest) GetParent() string
func (*CreateDatasetRequest) ProtoMessage
func (*CreateDatasetRequest) ProtoMessage()
func (*CreateDatasetRequest) ProtoReflect
func (x *CreateDatasetRequest) ProtoReflect() protoreflect.Message
func (*CreateDatasetRequest) Reset
func (x *CreateDatasetRequest) Reset()
func (*CreateDatasetRequest) String
func (x *CreateDatasetRequest) String() string
Dataset
type Dataset struct {
// Resource name,
// projects/{project}/datasets/{dataset_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Human readable name, shown in the console UI. Set by customer.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// A description of this dataset; set by the customer.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// The version of the dataset.
VersionId string `protobuf:"bytes,4,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
// Specified use case(s) for this dataset.
Usage []Usage `protobuf:"varint,5,rep,packed,name=usage,proto3,enum=google.maps.mapsplatformdatasets.v1alpha.Usage" json:"usage,omitempty"`
// Details about the source of the data for the dataset.
//
// Types that are assignable to DataSource:
//
// *Dataset_LocalFileSource
// *Dataset_GcsSource
DataSource isDataset_DataSource `protobuf_oneof:"data_source"`
// The status of the import of the latest dataset version.
Status State `protobuf:"varint,12,opt,name=status,proto3,enum=google.maps.mapsplatformdatasets.v1alpha.State" json:"status,omitempty"`
// Output only. Time when the dataset was first created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the dataset metadata was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. Time when this version of dataset was created. (It happened when importing
// data to the dataset)
VersionCreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=version_create_time,json=versionCreateTime,proto3" json:"version_create_time,omitempty"`
// Output only. The description for this version of dataset. It is provided when importing
// data to the dataset.
VersionDescription string `protobuf:"bytes,11,opt,name=version_description,json=versionDescription,proto3" json:"version_description,omitempty"`
// contains filtered or unexported fields
}
A representation of a maps platform dataset.
func (*Dataset) Descriptor
Deprecated: Use Dataset.ProtoReflect.Descriptor instead.
func (*Dataset) GetCreateTime
func (x *Dataset) GetCreateTime() *timestamppb.Timestamp
func (*Dataset) GetDataSource
func (m *Dataset) GetDataSource() isDataset_DataSource
func (*Dataset) GetDescription
func (*Dataset) GetDisplayName
func (*Dataset) GetGcsSource
func (*Dataset) GetLocalFileSource
func (x *Dataset) GetLocalFileSource() *LocalFileSource
func (*Dataset) GetName
func (*Dataset) GetStatus
func (*Dataset) GetUpdateTime
func (x *Dataset) GetUpdateTime() *timestamppb.Timestamp
func (*Dataset) GetUsage
func (*Dataset) GetVersionCreateTime
func (x *Dataset) GetVersionCreateTime() *timestamppb.Timestamp
func (*Dataset) GetVersionDescription
func (*Dataset) GetVersionId
func (*Dataset) ProtoMessage
func (*Dataset) ProtoMessage()
func (*Dataset) ProtoReflect
func (x *Dataset) ProtoReflect() protoreflect.Message
func (*Dataset) Reset
func (x *Dataset) Reset()
func (*Dataset) String
Dataset_GcsSource
type Dataset_GcsSource struct {
// A Google Cloud Storage file source for the dataset for a single upload.
GcsSource *GcsSource `protobuf:"bytes,7,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}
Dataset_LocalFileSource
type Dataset_LocalFileSource struct {
// A local file source for the dataset for a single upload.
LocalFileSource *LocalFileSource `protobuf:"bytes,6,opt,name=local_file_source,json=localFileSource,proto3,oneof"`
}
DeleteDatasetRequest
type DeleteDatasetRequest struct {
// Required. Format: projects/${project}/datasets/{dataset_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// If set to true, any dataset version for this dataset will also be deleted.
// (Otherwise, the request will only work if the dataset has no versions.)
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
Request to delete a dataset.
The dataset to be deleted.
func (*DeleteDatasetRequest) Descriptor
func (*DeleteDatasetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDatasetRequest.ProtoReflect.Descriptor instead.
func (*DeleteDatasetRequest) GetForce
func (x *DeleteDatasetRequest) GetForce() bool
func (*DeleteDatasetRequest) GetName
func (x *DeleteDatasetRequest) GetName() string
func (*DeleteDatasetRequest) ProtoMessage
func (*DeleteDatasetRequest) ProtoMessage()
func (*DeleteDatasetRequest) ProtoReflect
func (x *DeleteDatasetRequest) ProtoReflect() protoreflect.Message
func (*DeleteDatasetRequest) Reset
func (x *DeleteDatasetRequest) Reset()
func (*DeleteDatasetRequest) String
func (x *DeleteDatasetRequest) String() string
DeleteDatasetVersionRequest
type DeleteDatasetVersionRequest struct {
// Required. Format: projects/${project}/datasets/{dataset_id}@{version-id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request to delete a version of a dataset.
func (*DeleteDatasetVersionRequest) Descriptor
func (*DeleteDatasetVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDatasetVersionRequest.ProtoReflect.Descriptor instead.
func (*DeleteDatasetVersionRequest) GetName
func (x *DeleteDatasetVersionRequest) GetName() string
func (*DeleteDatasetVersionRequest) ProtoMessage
func (*DeleteDatasetVersionRequest) ProtoMessage()
func (*DeleteDatasetVersionRequest) ProtoReflect
func (x *DeleteDatasetVersionRequest) ProtoReflect() protoreflect.Message
func (*DeleteDatasetVersionRequest) Reset
func (x *DeleteDatasetVersionRequest) Reset()
func (*DeleteDatasetVersionRequest) String
func (x *DeleteDatasetVersionRequest) String() string
FileFormat
type FileFormat int32
The format of the file being uploaded.
FileFormat_FILE_FORMAT_UNSPECIFIED, FileFormat_FILE_FORMAT_GEOJSON, FileFormat_FILE_FORMAT_KML, FileFormat_FILE_FORMAT_CSV, FileFormat_FILE_FORMAT_PROTO, FileFormat_FILE_FORMAT_KMZ
const (
// Unspecified file format.
FileFormat_FILE_FORMAT_UNSPECIFIED FileFormat = 0
// GeoJson file.
FileFormat_FILE_FORMAT_GEOJSON FileFormat = 1
// KML file.
FileFormat_FILE_FORMAT_KML FileFormat = 2
// CSV file.
FileFormat_FILE_FORMAT_CSV FileFormat = 3
// Protobuf file.
FileFormat_FILE_FORMAT_PROTO FileFormat = 4
// KMZ file.
FileFormat_FILE_FORMAT_KMZ FileFormat = 5
)
func (FileFormat) Descriptor
func (FileFormat) Descriptor() protoreflect.EnumDescriptor
func (FileFormat) Enum
func (x FileFormat) Enum() *FileFormat
func (FileFormat) EnumDescriptor
func (FileFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use FileFormat.Descriptor instead.
func (FileFormat) Number
func (x FileFormat) Number() protoreflect.EnumNumber
func (FileFormat) String
func (x FileFormat) String() string
func (FileFormat) Type
func (FileFormat) Type() protoreflect.EnumType
GcsSource
type GcsSource struct {
InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"`
FileFormat FileFormat "" /* 149 byte string literal not displayed */
}
The details about the data source when it is in Google Cloud Storage.
func (*GcsSource) Descriptor
Deprecated: Use GcsSource.ProtoReflect.Descriptor instead.
func (*GcsSource) GetFileFormat
func (x *GcsSource) GetFileFormat() FileFormat
func (*GcsSource) GetInputUri
func (*GcsSource) ProtoMessage
func (*GcsSource) ProtoMessage()
func (*GcsSource) ProtoReflect
func (x *GcsSource) ProtoReflect() protoreflect.Message
func (*GcsSource) Reset
func (x *GcsSource) Reset()
func (*GcsSource) String
GetDatasetRequest
type GetDatasetRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
PublishedUsage Usage "" /* 156 byte string literal not displayed */
}
Request to get the specified dataset.
func (*GetDatasetRequest) Descriptor
func (*GetDatasetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDatasetRequest.ProtoReflect.Descriptor instead.
func (*GetDatasetRequest) GetName
func (x *GetDatasetRequest) GetName() string
func (*GetDatasetRequest) GetPublishedUsage
func (x *GetDatasetRequest) GetPublishedUsage() Usage
func (*GetDatasetRequest) ProtoMessage
func (*GetDatasetRequest) ProtoMessage()
func (*GetDatasetRequest) ProtoReflect
func (x *GetDatasetRequest) ProtoReflect() protoreflect.Message
func (*GetDatasetRequest) Reset
func (x *GetDatasetRequest) Reset()
func (*GetDatasetRequest) String
func (x *GetDatasetRequest) String() string
ListDatasetVersionsRequest
type ListDatasetVersionsRequest struct {
// Required. The name of the dataset to list all the versions for.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The maximum number of versions to return per page.
// If unspecified (or zero), at most 1000 versions will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page token, received from a previous GetDatasetVersions call.
// Provide this to retrieve the subsequent page.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request to list of all versions of the dataset.
func (*ListDatasetVersionsRequest) Descriptor
func (*ListDatasetVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDatasetVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListDatasetVersionsRequest) GetName
func (x *ListDatasetVersionsRequest) GetName() string
func (*ListDatasetVersionsRequest) GetPageSize
func (x *ListDatasetVersionsRequest) GetPageSize() int32
func (*ListDatasetVersionsRequest) GetPageToken
func (x *ListDatasetVersionsRequest) GetPageToken() string
func (*ListDatasetVersionsRequest) ProtoMessage
func (*ListDatasetVersionsRequest) ProtoMessage()
func (*ListDatasetVersionsRequest) ProtoReflect
func (x *ListDatasetVersionsRequest) ProtoReflect() protoreflect.Message
func (*ListDatasetVersionsRequest) Reset
func (x *ListDatasetVersionsRequest) Reset()
func (*ListDatasetVersionsRequest) String
func (x *ListDatasetVersionsRequest) String() string
ListDatasetVersionsResponse
type ListDatasetVersionsResponse struct {
// All the versions of the dataset.
Datasets []*Dataset `protobuf:"bytes,1,rep,name=datasets,proto3" json:"datasets,omitempty"`
// A token that can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response with list of all versions of the dataset.
func (*ListDatasetVersionsResponse) Descriptor
func (*ListDatasetVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDatasetVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListDatasetVersionsResponse) GetDatasets
func (x *ListDatasetVersionsResponse) GetDatasets() []*Dataset
func (*ListDatasetVersionsResponse) GetNextPageToken
func (x *ListDatasetVersionsResponse) GetNextPageToken() string
func (*ListDatasetVersionsResponse) ProtoMessage
func (*ListDatasetVersionsResponse) ProtoMessage()
func (*ListDatasetVersionsResponse) ProtoReflect
func (x *ListDatasetVersionsResponse) ProtoReflect() protoreflect.Message
func (*ListDatasetVersionsResponse) Reset
func (x *ListDatasetVersionsResponse) Reset()
func (*ListDatasetVersionsResponse) String
func (x *ListDatasetVersionsResponse) String() string
ListDatasetsRequest
type ListDatasetsRequest struct {
// Required. The name of the project to list all the datasets for.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of versions to return per page.
// If unspecified (or zero), at most 1000 datasets will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page token, received from a previous GetDatasetVersions call.
// Provide this to retrieve the subsequent page.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request to list datasets for the project.
func (*ListDatasetsRequest) Descriptor
func (*ListDatasetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDatasetsRequest.ProtoReflect.Descriptor instead.
func (*ListDatasetsRequest) GetPageSize
func (x *ListDatasetsRequest) GetPageSize() int32
func (*ListDatasetsRequest) GetPageToken
func (x *ListDatasetsRequest) GetPageToken() string
func (*ListDatasetsRequest) GetParent
func (x *ListDatasetsRequest) GetParent() string
func (*ListDatasetsRequest) ProtoMessage
func (*ListDatasetsRequest) ProtoMessage()
func (*ListDatasetsRequest) ProtoReflect
func (x *ListDatasetsRequest) ProtoReflect() protoreflect.Message
func (*ListDatasetsRequest) Reset
func (x *ListDatasetsRequest) Reset()
func (*ListDatasetsRequest) String
func (x *ListDatasetsRequest) String() string
ListDatasetsResponse
type ListDatasetsResponse struct {
// All the datasets for the project.
Datasets []*Dataset `protobuf:"bytes,1,rep,name=datasets,proto3" json:"datasets,omitempty"`
// A token that can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response to list datasets for the project.
func (*ListDatasetsResponse) Descriptor
func (*ListDatasetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDatasetsResponse.ProtoReflect.Descriptor instead.
func (*ListDatasetsResponse) GetDatasets
func (x *ListDatasetsResponse) GetDatasets() []*Dataset
func (*ListDatasetsResponse) GetNextPageToken
func (x *ListDatasetsResponse) GetNextPageToken() string
func (*ListDatasetsResponse) ProtoMessage
func (*ListDatasetsResponse) ProtoMessage()
func (*ListDatasetsResponse) ProtoReflect
func (x *ListDatasetsResponse) ProtoReflect() protoreflect.Message
func (*ListDatasetsResponse) Reset
func (x *ListDatasetsResponse) Reset()
func (*ListDatasetsResponse) String
func (x *ListDatasetsResponse) String() string
LocalFileSource
type LocalFileSource struct {
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
FileFormat FileFormat "" /* 149 byte string literal not displayed */
}
The details about the data source when it is a local file.
func (*LocalFileSource) Descriptor
func (*LocalFileSource) Descriptor() ([]byte, []int)
Deprecated: Use LocalFileSource.ProtoReflect.Descriptor instead.
func (*LocalFileSource) GetFileFormat
func (x *LocalFileSource) GetFileFormat() FileFormat
func (*LocalFileSource) GetFilename
func (x *LocalFileSource) GetFilename() string
func (*LocalFileSource) ProtoMessage
func (*LocalFileSource) ProtoMessage()
func (*LocalFileSource) ProtoReflect
func (x *LocalFileSource) ProtoReflect() protoreflect.Message
func (*LocalFileSource) Reset
func (x *LocalFileSource) Reset()
func (*LocalFileSource) String
func (x *LocalFileSource) String() string
MapsPlatformDatasetsV1AlphaClient
type MapsPlatformDatasetsV1AlphaClient interface {
// Create a new dataset for the specified project.
CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error)
// Update the metadata for the dataset. To update the data use: UploadDataset.
UpdateDatasetMetadata(ctx context.Context, in *UpdateDatasetMetadataRequest, opts ...grpc.CallOption) (*Dataset, error)
// Get the published or latest version of the dataset.
GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error)
// List all the versions of a dataset.
ListDatasetVersions(ctx context.Context, in *ListDatasetVersionsRequest, opts ...grpc.CallOption) (*ListDatasetVersionsResponse, error)
// List all the datasets for the specified project.
ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error)
// Delete the specified dataset and optionally all its corresponding
// versions.
DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Delete a specific version of the dataset.
DeleteDatasetVersion(ctx context.Context, in *DeleteDatasetVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
MapsPlatformDatasetsV1AlphaClient is the client API for MapsPlatformDatasetsV1Alpha service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMapsPlatformDatasetsV1AlphaClient
func NewMapsPlatformDatasetsV1AlphaClient(cc grpc.ClientConnInterface) MapsPlatformDatasetsV1AlphaClient
MapsPlatformDatasetsV1AlphaServer
type MapsPlatformDatasetsV1AlphaServer interface {
// Create a new dataset for the specified project.
CreateDataset(context.Context, *CreateDatasetRequest) (*Dataset, error)
// Update the metadata for the dataset. To update the data use: UploadDataset.
UpdateDatasetMetadata(context.Context, *UpdateDatasetMetadataRequest) (*Dataset, error)
// Get the published or latest version of the dataset.
GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error)
// List all the versions of a dataset.
ListDatasetVersions(context.Context, *ListDatasetVersionsRequest) (*ListDatasetVersionsResponse, error)
// List all the datasets for the specified project.
ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error)
// Delete the specified dataset and optionally all its corresponding
// versions.
DeleteDataset(context.Context, *DeleteDatasetRequest) (*emptypb.Empty, error)
// Delete a specific version of the dataset.
DeleteDatasetVersion(context.Context, *DeleteDatasetVersionRequest) (*emptypb.Empty, error)
}
MapsPlatformDatasetsV1AlphaServer is the server API for MapsPlatformDatasetsV1Alpha service.
State
type State int32
State specifies the status of the import of the latest dataset version.
State_STATE_UNSPECIFIED, State_STATE_IMPORTING, State_STATE_IMPORT_SUCCEEDED, State_STATE_IMPORT_FAILED
const (
// The state of this dataset is not set.
State_STATE_UNSPECIFIED State = 0
// The dataset version is getting imported.
State_STATE_IMPORTING State = 1
// The dataset version succeeded in getting imported.
State_STATE_IMPORT_SUCCEEDED State = 2
// The dataset version failed to get imported.
State_STATE_IMPORT_FAILED State = 3
)
func (State) Descriptor
func (State) Descriptor() protoreflect.EnumDescriptor
func (State) Enum
func (State) EnumDescriptor
Deprecated: Use State.Descriptor instead.
func (State) Number
func (x State) Number() protoreflect.EnumNumber
func (State) String
func (State) Type
func (State) Type() protoreflect.EnumType
UnimplementedMapsPlatformDatasetsV1AlphaServer
type UnimplementedMapsPlatformDatasetsV1AlphaServer struct {
}
UnimplementedMapsPlatformDatasetsV1AlphaServer can be embedded to have forward compatible implementations.
func (*UnimplementedMapsPlatformDatasetsV1AlphaServer) CreateDataset
func (*UnimplementedMapsPlatformDatasetsV1AlphaServer) CreateDataset(context.Context, *CreateDatasetRequest) (*Dataset, error)
func (*UnimplementedMapsPlatformDatasetsV1AlphaServer) DeleteDataset
func (*UnimplementedMapsPlatformDatasetsV1AlphaServer) DeleteDataset(context.Context, *DeleteDatasetRequest) (*emptypb.Empty, error)
func (*UnimplementedMapsPlatformDatasetsV1AlphaServer) DeleteDatasetVersion
func (*UnimplementedMapsPlatformDatasetsV1AlphaServer) DeleteDatasetVersion(context.Context, *DeleteDatasetVersionRequest) (*emptypb.Empty, error)
func (*UnimplementedMapsPlatformDatasetsV1AlphaServer) GetDataset
func (*UnimplementedMapsPlatformDatasetsV1AlphaServer) GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error)
func (*UnimplementedMapsPlatformDatasetsV1AlphaServer) ListDatasetVersions
func (*UnimplementedMapsPlatformDatasetsV1AlphaServer) ListDatasetVersions(context.Context, *ListDatasetVersionsRequest) (*ListDatasetVersionsResponse, error)
func (*UnimplementedMapsPlatformDatasetsV1AlphaServer) ListDatasets
func (*UnimplementedMapsPlatformDatasetsV1AlphaServer) ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error)
func (*UnimplementedMapsPlatformDatasetsV1AlphaServer) UpdateDatasetMetadata
func (*UnimplementedMapsPlatformDatasetsV1AlphaServer) UpdateDatasetMetadata(context.Context, *UpdateDatasetMetadataRequest) (*Dataset, error)
UpdateDatasetMetadataRequest
type UpdateDatasetMetadataRequest struct {
// Required. The dataset to update. The dataset's name is used to identify the dataset
// to be updated. The name has the format:
// projects/{project}/datasets/{dataset_id}
Dataset *Dataset `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
// The list of fields to be updated. Support the value "*" for full
// replacement.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request to update the metadata fields of the dataset.
func (*UpdateDatasetMetadataRequest) Descriptor
func (*UpdateDatasetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDatasetMetadataRequest.ProtoReflect.Descriptor instead.
func (*UpdateDatasetMetadataRequest) GetDataset
func (x *UpdateDatasetMetadataRequest) GetDataset() *Dataset
func (*UpdateDatasetMetadataRequest) GetUpdateMask
func (x *UpdateDatasetMetadataRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDatasetMetadataRequest) ProtoMessage
func (*UpdateDatasetMetadataRequest) ProtoMessage()
func (*UpdateDatasetMetadataRequest) ProtoReflect
func (x *UpdateDatasetMetadataRequest) ProtoReflect() protoreflect.Message
func (*UpdateDatasetMetadataRequest) Reset
func (x *UpdateDatasetMetadataRequest) Reset()
func (*UpdateDatasetMetadataRequest) String
func (x *UpdateDatasetMetadataRequest) String() string
Usage
type Usage int32
Usage specifies where the data is intended to be used to inform how to process the data.
Usage_USAGE_UNSPECIFIED, Usage_USAGE_DATA_DRIVEN_STYLING, Usage_USAGE_AREA_AFFORDANCES, Usage_USAGE_ASSISTED_DRIVING
const (
// The usage of this dataset is not set.
Usage_USAGE_UNSPECIFIED Usage = 0
// This dataset will be used for data driven styling.
Usage_USAGE_DATA_DRIVEN_STYLING Usage = 1
// This dataset will be used for area affordances in routing.
Usage_USAGE_AREA_AFFORDANCES Usage = 2
// This dataset will be used for assisted driving in routing.
Usage_USAGE_ASSISTED_DRIVING Usage = 3
)
func (Usage) Descriptor
func (Usage) Descriptor() protoreflect.EnumDescriptor
func (Usage) Enum
func (Usage) EnumDescriptor
Deprecated: Use Usage.Descriptor instead.
func (Usage) Number
func (x Usage) Number() protoreflect.EnumNumber
func (Usage) String
func (Usage) Type
func (Usage) Type() protoreflect.EnumType