/** * * * <pre> * A distribution value. * </pre> * * <code>.google.api.Distribution distribution_value = 5;</code> */ public com.google.api.Distribution getDistributionValue() { if (valueCase_ == 5) { return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } /**
/** * * * <pre> * A distribution value. * </pre> * * <code>.google.api.Distribution distribution_value = 5;</code> */ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { if (valueCase_ == 5) { return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); }
/** * * * <pre> * A distribution value. * </pre> * * <code>.google.api.Distribution distribution_value = 5;</code> */ public com.google.api.Distribution getDistributionValue() { if (distributionValueBuilder_ == null) { if (valueCase_ == 5) { return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } else { if (valueCase_ == 5) { return distributionValueBuilder_.getMessage(); } return com.google.api.Distribution.getDefaultInstance(); } } /**
/** * * * <pre> * A distribution value. * </pre> * * <code>.google.api.Distribution distribution_value = 5;</code> */ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { if ((valueCase_ == 5) && (distributionValueBuilder_ != null)) { return distributionValueBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 5) { return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } } /**
if (distributionValueBuilder_ == null) { if (!(valueCase_ == 5)) { value_ = com.google.api.Distribution.getDefaultInstance();
/** * * * <pre> * A distribution value. * </pre> * * <code>.google.api.Distribution distribution_value = 5;</code> */ public Builder mergeDistributionValue(com.google.api.Distribution value) { if (distributionValueBuilder_ == null) { if (valueCase_ == 5 && value_ != com.google.api.Distribution.getDefaultInstance()) { value_ = com.google.api.Distribution.newBuilder((com.google.api.Distribution) value_) .mergeFrom(value) .buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 5) { distributionValueBuilder_.mergeFrom(value); } distributionValueBuilder_.setMessage(value); } valueCase_ = 5; return this; } /**
/** * <pre> * A distribution value. * </pre> * * <code>optional .google.api.Distribution distribution_value = 5;</code> */ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { if (valueCase_ == 5) { return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); }
public com.google.api.Distribution getDefaultInstanceForType() { return com.google.api.Distribution.getDefaultInstance(); }
/** * <pre> * A distribution value. * </pre> * * <code>optional .google.api.Distribution distribution_value = 5;</code> */ public com.google.api.Distribution getDistributionValue() { if (valueCase_ == 5) { return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } /**
/** * <pre> * A distribution value. * </pre> * * <code>optional .google.api.Distribution distribution_value = 5;</code> */ public com.google.api.Distribution getDistributionValue() { if (distributionValueBuilder_ == null) { if (valueCase_ == 5) { return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } else { if (valueCase_ == 5) { return distributionValueBuilder_.getMessage(); } return com.google.api.Distribution.getDefaultInstance(); } } /**
/** * <pre> * A distribution value. * </pre> * * <code>optional .google.api.Distribution distribution_value = 5;</code> */ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { if ((valueCase_ == 5) && (distributionValueBuilder_ != null)) { return distributionValueBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 5) { return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } } /**
/** * <pre> * A distribution value. * </pre> * * <code>optional .google.api.Distribution distribution_value = 5;</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder> getDistributionValueFieldBuilder() { if (distributionValueBuilder_ == null) { if (!(valueCase_ == 5)) { value_ = com.google.api.Distribution.getDefaultInstance(); } distributionValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder>( (com.google.api.Distribution) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 5; onChanged();; return distributionValueBuilder_; } public final Builder setUnknownFields(
/** * <pre> * A distribution value. * </pre> * * <code>optional .google.api.Distribution distribution_value = 5;</code> */ public Builder mergeDistributionValue(com.google.api.Distribution value) { if (distributionValueBuilder_ == null) { if (valueCase_ == 5 && value_ != com.google.api.Distribution.getDefaultInstance()) { value_ = com.google.api.Distribution.newBuilder((com.google.api.Distribution) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 5) { distributionValueBuilder_.mergeFrom(value); } distributionValueBuilder_.setMessage(value); } valueCase_ = 5; return this; } /**
public Builder mergeFrom(com.google.api.Distribution other) { if (other == com.google.api.Distribution.getDefaultInstance()) return this; if (other.getCount() != 0L) { setCount(other.getCount()); } if (other.getMean() != 0D) { setMean(other.getMean()); } if (other.getSumOfSquaredDeviation() != 0D) { setSumOfSquaredDeviation(other.getSumOfSquaredDeviation()); } if (other.hasRange()) { mergeRange(other.getRange()); } if (other.hasBucketOptions()) { mergeBucketOptions(other.getBucketOptions()); } if (!other.bucketCounts_.isEmpty()) { if (bucketCounts_.isEmpty()) { bucketCounts_ = other.bucketCounts_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureBucketCountsIsMutable(); bucketCounts_.addAll(other.bucketCounts_); } onChanged(); } onChanged(); return this; }