public static Declaration withDeclService(net.morimekta.providence.model.ServiceType._Builder value) {
        return withDeclService(value == null ? null : value.build());
    }
public static Declaration withDeclService ( net . morimekta . providence . model . ServiceType . _Builder value ) { return withDeclService ( value == null ? null : value . build ( ) ) ; }
@param value The union value
@return The created union.