Package com.google.datastore.admin.v1
Interface ImportEntitiesRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportEntitiesRequest,ImportEntitiesRequest.Builder
public interface ImportEntitiesRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Client-assigned labels.Optionally specify which kinds/namespaces are to be imported.Optionally specify which kinds/namespaces are to be imported.Required.com.google.protobuf.ByteStringRequired.Deprecated.intClient-assigned labels.Client-assigned labels.getLabelsOrDefault(String key, String defaultValue) Client-assigned labels.getLabelsOrThrow(String key) Client-assigned labels.Required.com.google.protobuf.ByteStringRequired.booleanOptionally specify which kinds/namespaces are to be imported.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getProjectId
String getProjectId()Required. Project ID against which to make the request.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()Required. Project ID against which to make the request.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for projectId.
-
getLabelsCount
int getLabelsCount()Client-assigned labels.
map<string, string> labels = 2; -
containsLabels
Client-assigned labels.
map<string, string> labels = 2; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Client-assigned labels.
map<string, string> labels = 2; -
getLabelsOrDefault
Client-assigned labels.
map<string, string> labels = 2; -
getLabelsOrThrow
Client-assigned labels.
map<string, string> labels = 2; -
getInputUrl
String getInputUrl()Required. The full resource URL of the external storage location. Currently, only Google Cloud Storage is supported. So input_url should be of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where `BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is an optional Cloud Storage namespace path (this is not a Cloud Datastore namespace), and `OVERALL_EXPORT_METADATA_FILE` is the metadata file written by the ExportEntities operation. For more information about Cloud Storage namespace paths, see [Object name considerations](https://cloud.google.com/storage/docs/naming#object-considerations). For more information, see [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url].
string input_url = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The inputUrl.
-
getInputUrlBytes
com.google.protobuf.ByteString getInputUrlBytes()Required. The full resource URL of the external storage location. Currently, only Google Cloud Storage is supported. So input_url should be of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where `BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is an optional Cloud Storage namespace path (this is not a Cloud Datastore namespace), and `OVERALL_EXPORT_METADATA_FILE` is the metadata file written by the ExportEntities operation. For more information about Cloud Storage namespace paths, see [Object name considerations](https://cloud.google.com/storage/docs/naming#object-considerations). For more information, see [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url].
string input_url = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for inputUrl.
-
hasEntityFilter
boolean hasEntityFilter()Optionally specify which kinds/namespaces are to be imported. If provided, the list must be a subset of the EntityFilter used in creating the export, otherwise a FAILED_PRECONDITION error will be returned. If no filter is specified then all entities from the export are imported.
.google.datastore.admin.v1.EntityFilter entity_filter = 4;- Returns:
- Whether the entityFilter field is set.
-
getEntityFilter
EntityFilter getEntityFilter()Optionally specify which kinds/namespaces are to be imported. If provided, the list must be a subset of the EntityFilter used in creating the export, otherwise a FAILED_PRECONDITION error will be returned. If no filter is specified then all entities from the export are imported.
.google.datastore.admin.v1.EntityFilter entity_filter = 4;- Returns:
- The entityFilter.
-
getEntityFilterOrBuilder
EntityFilterOrBuilder getEntityFilterOrBuilder()Optionally specify which kinds/namespaces are to be imported. If provided, the list must be a subset of the EntityFilter used in creating the export, otherwise a FAILED_PRECONDITION error will be returned. If no filter is specified then all entities from the export are imported.
.google.datastore.admin.v1.EntityFilter entity_filter = 4;
-