How to use the google-protobuf/google/protobuf/wrappers_pb.js.BoolValue function in google-protobuf

To help you get started, we’ve selected a few google-protobuf examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / resources / customer_pb.js View on Github external
var value = new google_protobuf_wrappers_pb.StringValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
      msg.setFinalUrlSuffix(value);
      break;
    case 8:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setAutoTaggingEnabled(value);
      break;
    case 9:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setHasPartnersBadge(value);
      break;
    case 12:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setManager(value);
      break;
    case 13:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setTestAccount(value);
      break;
    case 10:
      var value = new proto.google.ads.googleads.v1.resources.CallReportingSetting;
      reader.readMessage(value,proto.google.ads.googleads.v1.resources.CallReportingSetting.deserializeBinaryFromReader);
      msg.setCallReportingSetting(value);
      break;
    case 14:
      var value = new proto.google.ads.googleads.v1.resources.ConversionTrackingSetting;
      reader.readMessage(value,proto.google.ads.googleads.v1.resources.ConversionTrackingSetting.deserializeBinaryFromReader);
github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / common / segments_pb.js View on Github external
case 52:
      var value = new google_protobuf_wrappers_pb.StringValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
      msg.setConversionAction(value);
      break;
    case 53:
      var value = /** @type {!proto.google.ads.googleads.v1.enums.ConversionActionCategoryEnum.ConversionActionCategory} */ (reader.readEnum());
      msg.setConversionActionCategory(value);
      break;
    case 54:
      var value = new google_protobuf_wrappers_pb.StringValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
      msg.setConversionActionName(value);
      break;
    case 27:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setConversionAdjustment(value);
      break;
    case 2:
      var value = /** @type {!proto.google.ads.googleads.v1.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType} */ (reader.readEnum());
      msg.setConversionAttributionEventType(value);
      break;
    case 50:
      var value = /** @type {!proto.google.ads.googleads.v1.enums.ConversionLagBucketEnum.ConversionLagBucket} */ (reader.readEnum());
      msg.setConversionLagBucket(value);
      break;
    case 51:
      var value = /** @type {!proto.google.ads.googleads.v1.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket} */ (reader.readEnum());
      msg.setConversionOrAdjustmentLagBucket(value);
      break;
    case 4:
github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / resources / customer_client_pb.js View on Github external
if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setResourceName(value);
      break;
    case 3:
      var value = new google_protobuf_wrappers_pb.StringValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
      msg.setClientCustomer(value);
      break;
    case 4:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setHidden(value);
      break;
    case 5:
      var value = new google_protobuf_wrappers_pb.Int64Value;
      reader.readMessage(value,google_protobuf_wrappers_pb.Int64Value.deserializeBinaryFromReader);
      msg.setLevel(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};
github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / resources / customer_pb.js View on Github external
proto.google.ads.googleads.v1.resources.CallReportingSetting.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setCallReportingEnabled(value);
      break;
    case 2:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setCallConversionReportingEnabled(value);
      break;
    case 9:
      var value = new google_protobuf_wrappers_pb.StringValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
      msg.setCallConversionAction(value);
      break;
    default:
      reader.skipField();
      break;
github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / common / bidding_pb.js View on Github external
var value = new google_protobuf_wrappers_pb.Int64Value;
      reader.readMessage(value,google_protobuf_wrappers_pb.Int64Value.deserializeBinaryFromReader);
      msg.setCpcBidCeilingMicros(value);
      break;
    case 3:
      var value = new google_protobuf_wrappers_pb.DoubleValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.DoubleValue.deserializeBinaryFromReader);
      msg.setBidModifier(value);
      break;
    case 4:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setOnlyRaiseCpcBids(value);
      break;
    case 5:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setRaiseCpcBidWhenBudgetConstrained(value);
      break;
    case 6:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setRaiseCpcBidWhenQualityScoreIsLow(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};
github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / common / real_time_bidding_setting_pb.js View on Github external
proto.google.ads.googleads.v1.common.RealTimeBiddingSetting.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setOptIn(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};
github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / common / bidding_pb.js View on Github external
proto.google.ads.googleads.v1.common.ManualCpc.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setEnhancedCpcEnabled(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};
github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / resources / campaign_budget_pb.js View on Github external
case 7:
      var value = /** @type {!proto.google.ads.googleads.v1.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod} */ (reader.readEnum());
      msg.setDeliveryMethod(value);
      break;
    case 8:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setExplicitlyShared(value);
      break;
    case 9:
      var value = new google_protobuf_wrappers_pb.Int64Value;
      reader.readMessage(value,google_protobuf_wrappers_pb.Int64Value.deserializeBinaryFromReader);
      msg.setReferenceCount(value);
      break;
    case 11:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setHasRecommendedBudget(value);
      break;
    case 12:
      var value = new google_protobuf_wrappers_pb.Int64Value;
      reader.readMessage(value,google_protobuf_wrappers_pb.Int64Value.deserializeBinaryFromReader);
      msg.setRecommendedBudgetAmountMicros(value);
      break;
    case 13:
      var value = /** @type {!proto.google.ads.googleads.v1.enums.BudgetPeriodEnum.BudgetPeriod} */ (reader.readEnum());
      msg.setPeriod(value);
      break;
    case 14:
      var value = new google_protobuf_wrappers_pb.Int64Value;
      reader.readMessage(value,google_protobuf_wrappers_pb.Int64Value.deserializeBinaryFromReader);
      msg.setRecommendedBudgetEstimatedChangeWeeklyClicks(value);
github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / common / targeting_setting_pb.js View on Github external
proto.google.ads.googleads.v1.common.TargetRestriction.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!proto.google.ads.googleads.v1.enums.TargetingDimensionEnum.TargetingDimension} */ (reader.readEnum());
      msg.setTargetingDimension(value);
      break;
    case 2:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setBidOnly(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};
github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / resources / ad_group_criterion_pb.js View on Github external
case 4:
      var value = new proto.google.ads.googleads.v1.resources.AdGroupCriterion.QualityInfo;
      reader.readMessage(value,proto.google.ads.googleads.v1.resources.AdGroupCriterion.QualityInfo.deserializeBinaryFromReader);
      msg.setQualityInfo(value);
      break;
    case 5:
      var value = new google_protobuf_wrappers_pb.StringValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
      msg.setAdGroup(value);
      break;
    case 25:
      var value = /** @type {!proto.google.ads.googleads.v1.enums.CriterionTypeEnum.CriterionType} */ (reader.readEnum());
      msg.setType(value);
      break;
    case 31:
      var value = new google_protobuf_wrappers_pb.BoolValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
      msg.setNegative(value);
      break;
    case 52:
      var value = /** @type {!proto.google.ads.googleads.v1.enums.CriterionSystemServingStatusEnum.CriterionSystemServingStatus} */ (reader.readEnum());
      msg.setSystemServingStatus(value);
      break;
    case 53:
      var value = /** @type {!proto.google.ads.googleads.v1.enums.AdGroupCriterionApprovalStatusEnum.AdGroupCriterionApprovalStatus} */ (reader.readEnum());
      msg.setApprovalStatus(value);
      break;
    case 44:
      var value = new google_protobuf_wrappers_pb.DoubleValue;
      reader.readMessage(value,google_protobuf_wrappers_pb.DoubleValue.deserializeBinaryFromReader);
      msg.setBidModifier(value);
      break;

google-protobuf

Protocol Buffers for JavaScript

BSD-3-Clause
Latest version published 2 months ago

Package Health Score

89 / 100
Full package analysis