1 // Protocol Buffers - Google's data interchange format 2 // Copyright 2008 Google Inc. All rights reserved. 3 // 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file or at 6 // https://developers.google.com/open-source/licenses/bsd 7 8 package com.google.protobuf; 9 10 /** A MessageInfo object describes a proto message type. */ 11 @CheckReturnValue 12 interface MessageInfo { 13 /** Gets syntax for this type. */ getSyntax()14 ProtoSyntax getSyntax(); 15 16 /** Whether this type is MessageSet. */ isMessageSetWireFormat()17 boolean isMessageSetWireFormat(); 18 19 /** Gets the default instance of this type. */ getDefaultInstance()20 MessageLite getDefaultInstance(); 21 } 22