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 /** Interface for a test factory for messages. */ 11 public interface ExperimentalMessageFactory<T extends MessageLite> { 12 /** Creates a new random message instance. */ newMessage()13 T newMessage(); 14 15 /** Gets the underlying data provider. */ dataProvider()16 ExperimentalTestDataProvider dataProvider(); 17 } 18