public static final class ExportEntitiesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder> implements ExportEntitiesRequestOrBuilder
The request for [google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities].Protobuf type
google.datastore.admin.v1.ExportEntitiesRequest
Modifier and Type | Method and Description |
---|---|
ExportEntitiesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExportEntitiesRequest |
build() |
ExportEntitiesRequest |
buildPartial() |
ExportEntitiesRequest.Builder |
clear() |
ExportEntitiesRequest.Builder |
clearEntityFilter()
Description of what data from the project is included in the export.
|
ExportEntitiesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExportEntitiesRequest.Builder |
clearLabels() |
ExportEntitiesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExportEntitiesRequest.Builder |
clearOutputUrlPrefix()
Required.
|
ExportEntitiesRequest.Builder |
clearProjectId()
Required.
|
ExportEntitiesRequest.Builder |
clone() |
boolean |
containsLabels(String key)
Client-assigned labels.
|
ExportEntitiesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
EntityFilter |
getEntityFilter()
Description of what data from the project is included in the export.
|
EntityFilter.Builder |
getEntityFilterBuilder()
Description of what data from the project is included in the export.
|
EntityFilterOrBuilder |
getEntityFilterOrBuilder()
Description of what data from the project is included in the export.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Client-assigned labels.
|
Map<String,String> |
getLabelsMap()
Client-assigned labels.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Client-assigned labels.
|
String |
getLabelsOrThrow(String key)
Client-assigned labels.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getOutputUrlPrefix()
Required.
|
com.google.protobuf.ByteString |
getOutputUrlPrefixBytes()
Required.
|
String |
getProjectId()
Required.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Required.
|
boolean |
hasEntityFilter()
Description of what data from the project is included in the export.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
ExportEntitiesRequest.Builder |
mergeEntityFilter(EntityFilter value)
Description of what data from the project is included in the export.
|
ExportEntitiesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExportEntitiesRequest.Builder |
mergeFrom(ExportEntitiesRequest other) |
ExportEntitiesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExportEntitiesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExportEntitiesRequest.Builder |
putAllLabels(Map<String,String> values)
Client-assigned labels.
|
ExportEntitiesRequest.Builder |
putLabels(String key,
String value)
Client-assigned labels.
|
ExportEntitiesRequest.Builder |
removeLabels(String key)
Client-assigned labels.
|
ExportEntitiesRequest.Builder |
setEntityFilter(EntityFilter.Builder builderForValue)
Description of what data from the project is included in the export.
|
ExportEntitiesRequest.Builder |
setEntityFilter(EntityFilter value)
Description of what data from the project is included in the export.
|
ExportEntitiesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExportEntitiesRequest.Builder |
setOutputUrlPrefix(String value)
Required.
|
ExportEntitiesRequest.Builder |
setOutputUrlPrefixBytes(com.google.protobuf.ByteString value)
Required.
|
ExportEntitiesRequest.Builder |
setProjectId(String value)
Required.
|
ExportEntitiesRequest.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
Required.
|
ExportEntitiesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExportEntitiesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder>
public ExportEntitiesRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder>
public ExportEntitiesRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ExportEntitiesRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ExportEntitiesRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ExportEntitiesRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder>
public ExportEntitiesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder>
public ExportEntitiesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder>
public ExportEntitiesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder>
public ExportEntitiesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder>
public ExportEntitiesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder>
public ExportEntitiesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ExportEntitiesRequest.Builder>
public ExportEntitiesRequest.Builder mergeFrom(ExportEntitiesRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder>
public ExportEntitiesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ExportEntitiesRequest.Builder>
IOException
public String getProjectId()
Required. Project ID against which to make the request.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
getProjectId
in interface ExportEntitiesRequestOrBuilder
public com.google.protobuf.ByteString getProjectIdBytes()
Required. Project ID against which to make the request.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
getProjectIdBytes
in interface ExportEntitiesRequestOrBuilder
public ExportEntitiesRequest.Builder setProjectId(String value)
Required. Project ID against which to make the request.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The projectId to set.public ExportEntitiesRequest.Builder clearProjectId()
Required. Project ID against which to make the request.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
public ExportEntitiesRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
Required. Project ID against which to make the request.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for projectId to set.public int getLabelsCount()
ExportEntitiesRequestOrBuilder
Client-assigned labels.
map<string, string> labels = 2;
getLabelsCount
in interface ExportEntitiesRequestOrBuilder
public boolean containsLabels(String key)
Client-assigned labels.
map<string, string> labels = 2;
containsLabels
in interface ExportEntitiesRequestOrBuilder
@Deprecated public Map<String,String> getLabels()
getLabelsMap()
instead.getLabels
in interface ExportEntitiesRequestOrBuilder
public Map<String,String> getLabelsMap()
Client-assigned labels.
map<string, string> labels = 2;
getLabelsMap
in interface ExportEntitiesRequestOrBuilder
public String getLabelsOrDefault(String key, String defaultValue)
Client-assigned labels.
map<string, string> labels = 2;
getLabelsOrDefault
in interface ExportEntitiesRequestOrBuilder
public String getLabelsOrThrow(String key)
Client-assigned labels.
map<string, string> labels = 2;
getLabelsOrThrow
in interface ExportEntitiesRequestOrBuilder
public ExportEntitiesRequest.Builder clearLabels()
public ExportEntitiesRequest.Builder removeLabels(String key)
Client-assigned labels.
map<string, string> labels = 2;
@Deprecated public Map<String,String> getMutableLabels()
public ExportEntitiesRequest.Builder putLabels(String key, String value)
Client-assigned labels.
map<string, string> labels = 2;
public ExportEntitiesRequest.Builder putAllLabels(Map<String,String> values)
Client-assigned labels.
map<string, string> labels = 2;
public boolean hasEntityFilter()
Description of what data from the project is included in the export.
.google.datastore.admin.v1.EntityFilter entity_filter = 3;
hasEntityFilter
in interface ExportEntitiesRequestOrBuilder
public EntityFilter getEntityFilter()
Description of what data from the project is included in the export.
.google.datastore.admin.v1.EntityFilter entity_filter = 3;
getEntityFilter
in interface ExportEntitiesRequestOrBuilder
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;
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;
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;
public ExportEntitiesRequest.Builder clearEntityFilter()
Description of what data from the project is included in the export.
.google.datastore.admin.v1.EntityFilter entity_filter = 3;
public EntityFilter.Builder getEntityFilterBuilder()
Description of what data from the project is included in the export.
.google.datastore.admin.v1.EntityFilter entity_filter = 3;
public EntityFilterOrBuilder getEntityFilterOrBuilder()
Description of what data from the project is included in the export.
.google.datastore.admin.v1.EntityFilter entity_filter = 3;
getEntityFilterOrBuilder
in interface ExportEntitiesRequestOrBuilder
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](https://cloud.google.com/storage/docs/naming#object-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][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];
getOutputUrlPrefix
in interface ExportEntitiesRequestOrBuilder
public com.google.protobuf.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](https://cloud.google.com/storage/docs/naming#object-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][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];
getOutputUrlPrefixBytes
in interface ExportEntitiesRequestOrBuilder
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](https://cloud.google.com/storage/docs/naming#object-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][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];
value
- The outputUrlPrefix to set.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](https://cloud.google.com/storage/docs/naming#object-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][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];
public ExportEntitiesRequest.Builder setOutputUrlPrefixBytes(com.google.protobuf.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](https://cloud.google.com/storage/docs/naming#object-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][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];
value
- The bytes for outputUrlPrefix to set.public final ExportEntitiesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder>
public final ExportEntitiesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntitiesRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.