public final class ExportEntitiesRequest extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
ExportEntitiesRequest.Builder
The request for
[google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities].
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
ENTITY_FILTER_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
OUTPUT_URL_PREFIX_FIELD_NUMBER |
static int |
PROJECT_ID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsLabels(String key)
Client-assigned labels.
|
boolean |
equals(Object obj) |
static ExportEntitiesRequest |
getDefaultInstance() |
ExportEntitiesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
EntityFilter |
getEntityFilter()
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.
|
String |
getOutputUrlPrefix()
Required.
|
com.google.protobuf.ByteString |
getOutputUrlPrefixBytes()
Required.
|
com.google.protobuf.Parser<ExportEntitiesRequest> |
getParserForType() |
String |
getProjectId()
Required.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Required.
|
int |
getSerializedSize() |
boolean |
hasEntityFilter()
Description of what data from the project is included in the export.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ExportEntitiesRequest.Builder |
newBuilder() |
static ExportEntitiesRequest.Builder |
newBuilder(ExportEntitiesRequest prototype) |
ExportEntitiesRequest.Builder |
newBuilderForType() |
protected ExportEntitiesRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ExportEntitiesRequest |
parseDelimitedFrom(InputStream input) |
static ExportEntitiesRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportEntitiesRequest |
parseFrom(byte[] data) |
static ExportEntitiesRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportEntitiesRequest |
parseFrom(ByteBuffer data) |
static ExportEntitiesRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportEntitiesRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ExportEntitiesRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportEntitiesRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ExportEntitiesRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportEntitiesRequest |
parseFrom(InputStream input) |
static ExportEntitiesRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ExportEntitiesRequest> |
parser() |
ExportEntitiesRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int PROJECT_ID_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int ENTITY_FILTER_FIELD_NUMBER
public static final int OUTPUT_URL_PREFIX_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 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 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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ExportEntitiesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ExportEntitiesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ExportEntitiesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ExportEntitiesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ExportEntitiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ExportEntitiesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ExportEntitiesRequest parseFrom(InputStream input) throws IOException
IOException
public static ExportEntitiesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ExportEntitiesRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ExportEntitiesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ExportEntitiesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ExportEntitiesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ExportEntitiesRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ExportEntitiesRequest.Builder newBuilder()
public static ExportEntitiesRequest.Builder newBuilder(ExportEntitiesRequest prototype)
public ExportEntitiesRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ExportEntitiesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static ExportEntitiesRequest getDefaultInstance()
public static com.google.protobuf.Parser<ExportEntitiesRequest> parser()
public com.google.protobuf.Parser<ExportEntitiesRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ExportEntitiesRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023 Google LLC. All rights reserved.