com.google.firestore.bundle.BundleMetadataOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-firestore-bundle-v1 Show documentation
Show all versions of proto-google-cloud-firestore-bundle-v1 Show documentation
PROTO library for proto-google-cloud-firestore-bundle-v1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/firestore/bundle/bundle.proto
// Protobuf Java Version: 3.25.3
package com.google.firestore.bundle;
public interface BundleMetadataOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.firestore.bundle.BundleMetadata)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The ID of the bundle.
*
*
* string id = 1;
*
* @return The id.
*/
java.lang.String getId();
/**
*
*
*
* The ID of the bundle.
*
*
* string id = 1;
*
* @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
/**
*
*
*
* Time at which the documents snapshot is taken for this bundle.
*
*
* .google.protobuf.Timestamp create_time = 2;
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Time at which the documents snapshot is taken for this bundle.
*
*
* .google.protobuf.Timestamp create_time = 2;
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Time at which the documents snapshot is taken for this bundle.
*
*
* .google.protobuf.Timestamp create_time = 2;
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* The schema version of the bundle.
*
*
* uint32 version = 3;
*
* @return The version.
*/
int getVersion();
/**
*
*
*
* The number of documents in the bundle.
*
*
* uint32 total_documents = 4;
*
* @return The totalDocuments.
*/
int getTotalDocuments();
/**
*
*
*
* The size of the bundle in bytes, excluding this `BundleMetadata`.
*
*
* uint64 total_bytes = 5;
*
* @return The totalBytes.
*/
long getTotalBytes();
}