Google Cloud Bigtable Administration v2 API - Class ProtoSchema (3.27.0)

public sealed class ProtoSchema : IMessage<ProtoSchema>, IEquatable<ProtoSchema>, IDeepCloneable<ProtoSchema>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Bigtable Administration v2 API class ProtoSchema.

Represents a protobuf schema.

Inheritance

object > ProtoSchema

Namespace

Google.Cloud.Bigtable.Admin.V2

Assembly

Google.Cloud.Bigtable.Admin.V2.dll

Constructors

ProtoSchema()

public ProtoSchema()

ProtoSchema(ProtoSchema)

public ProtoSchema(ProtoSchema other)
Parameter
Name Description
other ProtoSchema

Properties

ProtoDescriptors

public ByteString ProtoDescriptors { get; set; }

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.

Property Value
Type Description
ByteString