Class: Google::Cloud::Bigtable::Admin::V2::ProtoSchema
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::Admin::V2::ProtoSchema
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/bigtable/admin/v2/table.rb
Overview
Represents a protobuf schema.
Instance Attribute Summary collapse
-
#proto_descriptors ⇒ ::String
Required.
Instance Attribute Details
#proto_descriptors ⇒ ::String
Returns 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.
664 665 666 667 |
# File 'proto_docs/google/bigtable/admin/v2/table.rb', line 664 class ProtoSchema include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |