Reference documentation and code samples for the Cloud Bigtable V2 Client class ProtoSchema.
Represents a protobuf schema.
Generated from protobuf message google.bigtable.admin.v2.ProtoSchema
Namespace
Google \ Cloud \ Bigtable \ Admin \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ proto_descriptors
string
Required. Contains a protobuf-serialized google.protobuf.FileDescriptorSet
, which could include multiple proto files. To generate it, install
and run protoc
with --include_imports
and --descriptor_set_out
. For example, to generate for moon/shot/app.proto, run $protoc --proto_path=/app_path --proto_path=/lib_path \ --include_imports \ --descriptor_set_out=descriptors.pb \ moon/shot/app.proto
For more details, see protobuffer self description
.
getProtoDescriptors
Required. Contains a protobuf-serialized google.protobuf.FileDescriptorSet , which could include multiple proto files.
To generate it, install
and
run protoc
with --include_imports
and --descriptor_set_out
. For example, to generate
for moon/shot/app.proto, run
$protoc --proto_path=/app_path --proto_path=/lib_path \
--include_imports \
--descriptor_set_out=descriptors.pb \
moon/shot/app.proto
For more details, see protobuffer self description .
string
setProtoDescriptors
Required. Contains a protobuf-serialized google.protobuf.FileDescriptorSet , which could include multiple proto files.
To generate it, install
and
run protoc
with --include_imports
and --descriptor_set_out
. For example, to generate
for moon/shot/app.proto, run
$protoc --proto_path=/app_path --proto_path=/lib_path \
--include_imports \
--descriptor_set_out=descriptors.pb \
moon/shot/app.proto
For more details, see protobuffer self description .
var
string
$this