public static final class ExportDocumentsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExportDocumentsRequest.Builder> implements ExportDocumentsRequestOrBuilder
The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].Protobuf type
google.firestore.admin.v1.ExportDocumentsRequest
Modifier and Type | Method and Description |
---|---|
ExportDocumentsRequest.Builder |
addAllCollectionIds(Iterable<String> values)
Which collection ids to export.
|
ExportDocumentsRequest.Builder |
addCollectionIds(String value)
Which collection ids to export.
|
ExportDocumentsRequest.Builder |
addCollectionIdsBytes(com.google.protobuf.ByteString value)
Which collection ids to export.
|
ExportDocumentsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExportDocumentsRequest |
build() |
ExportDocumentsRequest |
buildPartial() |
ExportDocumentsRequest.Builder |
clear() |
ExportDocumentsRequest.Builder |
clearCollectionIds()
Which collection ids to export.
|
ExportDocumentsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExportDocumentsRequest.Builder |
clearName()
Required.
|
ExportDocumentsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExportDocumentsRequest.Builder |
clearOutputUriPrefix()
The output URI.
|
ExportDocumentsRequest.Builder |
clone() |
String |
getCollectionIds(int index)
Which collection ids to export.
|
com.google.protobuf.ByteString |
getCollectionIdsBytes(int index)
Which collection ids to export.
|
int |
getCollectionIdsCount()
Which collection ids to export.
|
com.google.protobuf.ProtocolStringList |
getCollectionIdsList()
Which collection ids to export.
|
ExportDocumentsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
String |
getOutputUriPrefix()
The output URI.
|
com.google.protobuf.ByteString |
getOutputUriPrefixBytes()
The output URI.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExportDocumentsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExportDocumentsRequest.Builder |
mergeFrom(ExportDocumentsRequest other) |
ExportDocumentsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExportDocumentsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExportDocumentsRequest.Builder |
setCollectionIds(int index,
String value)
Which collection ids to export.
|
ExportDocumentsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExportDocumentsRequest.Builder |
setName(String value)
Required.
|
ExportDocumentsRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
ExportDocumentsRequest.Builder |
setOutputUriPrefix(String value)
The output URI.
|
ExportDocumentsRequest.Builder |
setOutputUriPrefixBytes(com.google.protobuf.ByteString value)
The output URI.
|
ExportDocumentsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExportDocumentsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportDocumentsRequest.Builder>
public ExportDocumentsRequest.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<ExportDocumentsRequest.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<ExportDocumentsRequest.Builder>
public ExportDocumentsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ExportDocumentsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ExportDocumentsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ExportDocumentsRequest.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<ExportDocumentsRequest.Builder>
public ExportDocumentsRequest.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<ExportDocumentsRequest.Builder>
public ExportDocumentsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportDocumentsRequest.Builder>
public ExportDocumentsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportDocumentsRequest.Builder>
public ExportDocumentsRequest.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<ExportDocumentsRequest.Builder>
public ExportDocumentsRequest.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<ExportDocumentsRequest.Builder>
public ExportDocumentsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ExportDocumentsRequest.Builder>
public ExportDocumentsRequest.Builder mergeFrom(ExportDocumentsRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportDocumentsRequest.Builder>
public ExportDocumentsRequest.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<ExportDocumentsRequest.Builder>
IOException
public String getName()
Required. Database to export. Should be of the form: `projects/{project_id}/databases/{database_id}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName
in interface ExportDocumentsRequestOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Required. Database to export. Should be of the form: `projects/{project_id}/databases/{database_id}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes
in interface ExportDocumentsRequestOrBuilder
public ExportDocumentsRequest.Builder setName(String value)
Required. Database to export. Should be of the form: `projects/{project_id}/databases/{database_id}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The name to set.public ExportDocumentsRequest.Builder clearName()
Required. Database to export. Should be of the form: `projects/{project_id}/databases/{database_id}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ExportDocumentsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. Database to export. Should be of the form: `projects/{project_id}/databases/{database_id}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The bytes for name to set.public com.google.protobuf.ProtocolStringList getCollectionIdsList()
Which collection ids to export. Unspecified means all collections.
repeated string collection_ids = 2;
getCollectionIdsList
in interface ExportDocumentsRequestOrBuilder
public int getCollectionIdsCount()
Which collection ids to export. Unspecified means all collections.
repeated string collection_ids = 2;
getCollectionIdsCount
in interface ExportDocumentsRequestOrBuilder
public String getCollectionIds(int index)
Which collection ids to export. Unspecified means all collections.
repeated string collection_ids = 2;
getCollectionIds
in interface ExportDocumentsRequestOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getCollectionIdsBytes(int index)
Which collection ids to export. Unspecified means all collections.
repeated string collection_ids = 2;
getCollectionIdsBytes
in interface ExportDocumentsRequestOrBuilder
index
- The index of the value to return.public ExportDocumentsRequest.Builder setCollectionIds(int index, String value)
Which collection ids to export. Unspecified means all collections.
repeated string collection_ids = 2;
index
- The index to set the value at.value
- The collectionIds to set.public ExportDocumentsRequest.Builder addCollectionIds(String value)
Which collection ids to export. Unspecified means all collections.
repeated string collection_ids = 2;
value
- The collectionIds to add.public ExportDocumentsRequest.Builder addAllCollectionIds(Iterable<String> values)
Which collection ids to export. Unspecified means all collections.
repeated string collection_ids = 2;
values
- The collectionIds to add.public ExportDocumentsRequest.Builder clearCollectionIds()
Which collection ids to export. Unspecified means all collections.
repeated string collection_ids = 2;
public ExportDocumentsRequest.Builder addCollectionIdsBytes(com.google.protobuf.ByteString value)
Which collection ids to export. Unspecified means all collections.
repeated string collection_ids = 2;
value
- The bytes of the collectionIds to add.public String getOutputUriPrefix()
The output URI. Currently only supports Google Cloud Storage URIs of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional Google Cloud Storage namespace path. When choosing a name, be sure to consider Google Cloud Storage naming guidelines: https://cloud.google.com/storage/docs/naming. If the URI is a bucket (without a namespace path), a prefix will be generated based on the start time.
string output_uri_prefix = 3;
getOutputUriPrefix
in interface ExportDocumentsRequestOrBuilder
public com.google.protobuf.ByteString getOutputUriPrefixBytes()
The output URI. Currently only supports Google Cloud Storage URIs of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional Google Cloud Storage namespace path. When choosing a name, be sure to consider Google Cloud Storage naming guidelines: https://cloud.google.com/storage/docs/naming. If the URI is a bucket (without a namespace path), a prefix will be generated based on the start time.
string output_uri_prefix = 3;
getOutputUriPrefixBytes
in interface ExportDocumentsRequestOrBuilder
public ExportDocumentsRequest.Builder setOutputUriPrefix(String value)
The output URI. Currently only supports Google Cloud Storage URIs of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional Google Cloud Storage namespace path. When choosing a name, be sure to consider Google Cloud Storage naming guidelines: https://cloud.google.com/storage/docs/naming. If the URI is a bucket (without a namespace path), a prefix will be generated based on the start time.
string output_uri_prefix = 3;
value
- The outputUriPrefix to set.public ExportDocumentsRequest.Builder clearOutputUriPrefix()
The output URI. Currently only supports Google Cloud Storage URIs of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional Google Cloud Storage namespace path. When choosing a name, be sure to consider Google Cloud Storage naming guidelines: https://cloud.google.com/storage/docs/naming. If the URI is a bucket (without a namespace path), a prefix will be generated based on the start time.
string output_uri_prefix = 3;
public ExportDocumentsRequest.Builder setOutputUriPrefixBytes(com.google.protobuf.ByteString value)
The output URI. Currently only supports Google Cloud Storage URIs of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional Google Cloud Storage namespace path. When choosing a name, be sure to consider Google Cloud Storage naming guidelines: https://cloud.google.com/storage/docs/naming. If the URI is a bucket (without a namespace path), a prefix will be generated based on the start time.
string output_uri_prefix = 3;
value
- The bytes for outputUriPrefix to set.public final ExportDocumentsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportDocumentsRequest.Builder>
public final ExportDocumentsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ExportDocumentsRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.