Interface ProtoSchemaOrBuilder (3.6.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
Type Description
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
Type Description
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
Type Description
boolean

Whether the protoDescriptor field is set.