BuilderMessage (String builderId, String messageType, String messageText) { BuilderMessage.BuildEvent.CustomBuilderMessage builderMessage = BuilderMessage.BuildEvent.CustomBuilderMessage.newBuilder() .setBuilderId(builderId) .setMessageType(messageType) .setMessageText(messageText) .build(); return createBuildEvent(BuilderMessage.BuildEvent.Type.CUSTOM_BUILDER_MESSAGE, null, null, null, builderMessage); }