Interface ProtoSchemaOrBuilder (2.36.0)

public interface ProtoSchemaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getProtoDescriptor()

public abstract DescriptorProtos.DescriptorProto getProtoDescriptor()

Descriptor for input message. The descriptor has to be self contained, including all the nested types, excepted for proto buffer well known types (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf).

.google.protobuf.DescriptorProto proto_descriptor = 1;

Returns
TypeDescription
DescriptorProto

The protoDescriptor.

getProtoDescriptorOrBuilder()

public abstract DescriptorProtos.DescriptorProtoOrBuilder getProtoDescriptorOrBuilder()

Descriptor for input message. The descriptor has to be self contained, including all the nested types, excepted for proto buffer well known types (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf).

.google.protobuf.DescriptorProto proto_descriptor = 1;

Returns
TypeDescription
DescriptorProtoOrBuilder

hasProtoDescriptor()

public abstract boolean hasProtoDescriptor()

Descriptor for input message. The descriptor has to be self contained, including all the nested types, excepted for proto buffer well known types (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf).

.google.protobuf.DescriptorProto proto_descriptor = 1;

Returns
TypeDescription
boolean

Whether the protoDescriptor field is set.