public static final class ExportEntitiesRequest.Builder extends GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder> implements ExportEntitiesRequestOrBuilder
The request for
google.datastore.admin.v1.DatastoreAdmin.ExportEntities.
Protobuf type google.datastore.admin.v1.ExportEntitiesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportEntitiesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExportEntitiesRequest build()
buildPartial()
public ExportEntitiesRequest buildPartial()
clear()
public ExportEntitiesRequest.Builder clear()
Overrides
clearEntityFilter()
public ExportEntitiesRequest.Builder clearEntityFilter()
Description of what data from the project is included in the export.
.google.datastore.admin.v1.EntityFilter entity_filter = 3;
clearField(Descriptors.FieldDescriptor field)
public ExportEntitiesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLabels()
public ExportEntitiesRequest.Builder clearLabels()
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportEntitiesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOutputUrlPrefix()
public ExportEntitiesRequest.Builder clearOutputUrlPrefix()
Required. Location for the export metadata and data files.
The full resource URL of the external storage location. Currently, only
Google Cloud Storage is supported. So output_url_prefix should be of the
form: gs://BUCKET_NAME[/NAMESPACE_PATH]
, where BUCKET_NAME
is the
name of the Cloud Storage bucket and NAMESPACE_PATH
is an optional Cloud
Storage namespace path (this is not a Cloud Datastore namespace). For more
information about Cloud Storage namespace paths, see
Object name
considerations.
The resulting files will be nested deeper than the specified URL prefix.
The final output URL will be provided in the
google.datastore.admin.v1.ExportEntitiesResponse.output_url field. That
value should be used for subsequent ImportEntities operations.
By nesting the data files deeper, the same Cloud Storage bucket can be used
in multiple ExportEntities operations without conflict.
string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED];
clearProjectId()
public ExportEntitiesRequest.Builder clearProjectId()
Required. Project ID against which to make the request.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public ExportEntitiesRequest.Builder clone()
Overrides
containsLabels(String key)
public boolean containsLabels(String key)
Client-assigned labels.
map<string, string> labels = 2;
Parameter |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public ExportEntitiesRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEntityFilter()
public EntityFilter getEntityFilter()
Description of what data from the project is included in the export.
.google.datastore.admin.v1.EntityFilter entity_filter = 3;
getEntityFilterBuilder()
public EntityFilter.Builder getEntityFilterBuilder()
Description of what data from the project is included in the export.
.google.datastore.admin.v1.EntityFilter entity_filter = 3;
getEntityFilterOrBuilder()
public EntityFilterOrBuilder getEntityFilterOrBuilder()
Description of what data from the project is included in the export.
.google.datastore.admin.v1.EntityFilter entity_filter = 3;
getLabels()
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Client-assigned labels.
map<string, string> labels = 2;
Returns |
---|
Type | Description |
int | |
getLabelsMap()
public Map<String,String> getLabelsMap()
Client-assigned labels.
map<string, string> labels = 2;
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Client-assigned labels.
map<string, string> labels = 2;
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Client-assigned labels.
map<string, string> labels = 2;
Parameter |
---|
Name | Description |
key | String
|
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
getOutputUrlPrefix()
public String getOutputUrlPrefix()
Required. Location for the export metadata and data files.
The full resource URL of the external storage location. Currently, only
Google Cloud Storage is supported. So output_url_prefix should be of the
form: gs://BUCKET_NAME[/NAMESPACE_PATH]
, where BUCKET_NAME
is the
name of the Cloud Storage bucket and NAMESPACE_PATH
is an optional Cloud
Storage namespace path (this is not a Cloud Datastore namespace). For more
information about Cloud Storage namespace paths, see
Object name
considerations.
The resulting files will be nested deeper than the specified URL prefix.
The final output URL will be provided in the
google.datastore.admin.v1.ExportEntitiesResponse.output_url field. That
value should be used for subsequent ImportEntities operations.
By nesting the data files deeper, the same Cloud Storage bucket can be used
in multiple ExportEntities operations without conflict.
string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The outputUrlPrefix.
|
getOutputUrlPrefixBytes()
public ByteString getOutputUrlPrefixBytes()
Required. Location for the export metadata and data files.
The full resource URL of the external storage location. Currently, only
Google Cloud Storage is supported. So output_url_prefix should be of the
form: gs://BUCKET_NAME[/NAMESPACE_PATH]
, where BUCKET_NAME
is the
name of the Cloud Storage bucket and NAMESPACE_PATH
is an optional Cloud
Storage namespace path (this is not a Cloud Datastore namespace). For more
information about Cloud Storage namespace paths, see
Object name
considerations.
The resulting files will be nested deeper than the specified URL prefix.
The final output URL will be provided in the
google.datastore.admin.v1.ExportEntitiesResponse.output_url field. That
value should be used for subsequent ImportEntities operations.
By nesting the data files deeper, the same Cloud Storage bucket can be used
in multiple ExportEntities operations without conflict.
string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for outputUrlPrefix.
|
getProjectId()
public String getProjectId()
Required. Project ID against which to make the request.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The projectId.
|
getProjectIdBytes()
public ByteString getProjectIdBytes()
Required. Project ID against which to make the request.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for projectId.
|
hasEntityFilter()
public boolean hasEntityFilter()
Description of what data from the project is included in the export.
.google.datastore.admin.v1.EntityFilter entity_filter = 3;
Returns |
---|
Type | Description |
boolean | Whether the entityFilter field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEntityFilter(EntityFilter value)
public ExportEntitiesRequest.Builder mergeEntityFilter(EntityFilter value)
Description of what data from the project is included in the export.
.google.datastore.admin.v1.EntityFilter entity_filter = 3;
mergeFrom(ExportEntitiesRequest other)
public ExportEntitiesRequest.Builder mergeFrom(ExportEntitiesRequest other)
public ExportEntitiesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExportEntitiesRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportEntitiesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllLabels(Map<String,String> values)
public ExportEntitiesRequest.Builder putAllLabels(Map<String,String> values)
Client-assigned labels.
map<string, string> labels = 2;
putLabels(String key, String value)
public ExportEntitiesRequest.Builder putLabels(String key, String value)
Client-assigned labels.
map<string, string> labels = 2;
removeLabels(String key)
public ExportEntitiesRequest.Builder removeLabels(String key)
Client-assigned labels.
map<string, string> labels = 2;
Parameter |
---|
Name | Description |
key | String
|
setEntityFilter(EntityFilter value)
public ExportEntitiesRequest.Builder setEntityFilter(EntityFilter value)
Description of what data from the project is included in the export.
.google.datastore.admin.v1.EntityFilter entity_filter = 3;
setEntityFilter(EntityFilter.Builder builderForValue)
public ExportEntitiesRequest.Builder setEntityFilter(EntityFilter.Builder builderForValue)
Description of what data from the project is included in the export.
.google.datastore.admin.v1.EntityFilter entity_filter = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public ExportEntitiesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOutputUrlPrefix(String value)
public ExportEntitiesRequest.Builder setOutputUrlPrefix(String value)
Required. Location for the export metadata and data files.
The full resource URL of the external storage location. Currently, only
Google Cloud Storage is supported. So output_url_prefix should be of the
form: gs://BUCKET_NAME[/NAMESPACE_PATH]
, where BUCKET_NAME
is the
name of the Cloud Storage bucket and NAMESPACE_PATH
is an optional Cloud
Storage namespace path (this is not a Cloud Datastore namespace). For more
information about Cloud Storage namespace paths, see
Object name
considerations.
The resulting files will be nested deeper than the specified URL prefix.
The final output URL will be provided in the
google.datastore.admin.v1.ExportEntitiesResponse.output_url field. That
value should be used for subsequent ImportEntities operations.
By nesting the data files deeper, the same Cloud Storage bucket can be used
in multiple ExportEntities operations without conflict.
string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The outputUrlPrefix to set.
|
setOutputUrlPrefixBytes(ByteString value)
public ExportEntitiesRequest.Builder setOutputUrlPrefixBytes(ByteString value)
Required. Location for the export metadata and data files.
The full resource URL of the external storage location. Currently, only
Google Cloud Storage is supported. So output_url_prefix should be of the
form: gs://BUCKET_NAME[/NAMESPACE_PATH]
, where BUCKET_NAME
is the
name of the Cloud Storage bucket and NAMESPACE_PATH
is an optional Cloud
Storage namespace path (this is not a Cloud Datastore namespace). For more
information about Cloud Storage namespace paths, see
Object name
considerations.
The resulting files will be nested deeper than the specified URL prefix.
The final output URL will be provided in the
google.datastore.admin.v1.ExportEntitiesResponse.output_url field. That
value should be used for subsequent ImportEntities operations.
By nesting the data files deeper, the same Cloud Storage bucket can be used
in multiple ExportEntities operations without conflict.
string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for outputUrlPrefix to set.
|
setProjectId(String value)
public ExportEntitiesRequest.Builder setProjectId(String value)
Required. Project ID against which to make the request.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The projectId to set.
|
setProjectIdBytes(ByteString value)
public ExportEntitiesRequest.Builder setProjectIdBytes(ByteString value)
Required. Project ID against which to make the request.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for projectId to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportEntitiesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportEntitiesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides