Reference documentation and code samples for the Cloud Bigtable Admin V2 API class Google::Cloud::Bigtable::Admin::V2::ProtoSchema.
Represents a protobuf schema.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#proto_descriptors
def proto_descriptors() -> ::String
Returns
-
(::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.
#proto_descriptors=
def proto_descriptors=(value) -> ::String
Parameter
-
value (::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.
Returns
-
(::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.