/** * * * <pre> * Optional. The `bucket_options` are required when the logs-based metric is * using a DISTRIBUTION value type and it describes the bucket boundaries * used to create a histogram of the extracted values. * </pre> * * <code>.google.api.Distribution.BucketOptions bucket_options = 8;</code> */ public com.google.api.Distribution.BucketOptions getBucketOptions() { if (bucketOptionsBuilder_ == null) { return bucketOptions_ == null ? com.google.api.Distribution.BucketOptions.getDefaultInstance() : bucketOptions_; } else { return bucketOptionsBuilder_.getMessage(); } } /**
/** * * * <pre> * Optional. The `bucket_options` are required when the logs-based metric is * using a DISTRIBUTION value type and it describes the bucket boundaries * used to create a histogram of the extracted values. * </pre> * * <code>.google.api.Distribution.BucketOptions bucket_options = 8;</code> */ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuilder() { if (bucketOptionsBuilder_ != null) { return bucketOptionsBuilder_.getMessageOrBuilder(); } else { return bucketOptions_ == null ? com.google.api.Distribution.BucketOptions.getDefaultInstance() : bucketOptions_; } } /**
public Builder mergeFrom(com.google.api.Distribution.BucketOptions other) { if (other == com.google.api.Distribution.BucketOptions.getDefaultInstance()) return this; switch (other.getOptionsCase()) { case LINEAR_BUCKETS: { mergeLinearBuckets(other.getLinearBuckets()); break; } case EXPONENTIAL_BUCKETS: { mergeExponentialBuckets(other.getExponentialBuckets()); break; } case EXPLICIT_BUCKETS: { mergeExplicitBuckets(other.getExplicitBuckets()); break; } case OPTIONS_NOT_SET: { break; } } onChanged(); return this; }
/** * <pre> * Defines the histogram bucket boundaries. * </pre> * * <code>.google.api.Distribution.BucketOptions bucket_options = 6;</code> */ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuilder() { if (bucketOptionsBuilder_ != null) { return bucketOptionsBuilder_.getMessageOrBuilder(); } else { return bucketOptions_ == null ? com.google.api.Distribution.BucketOptions.getDefaultInstance() : bucketOptions_; } } /**
/** * <pre> * Defines the histogram bucket boundaries. * </pre> * * <code>.google.api.Distribution.BucketOptions bucket_options = 6;</code> */ public com.google.api.Distribution.BucketOptions getBucketOptions() { if (bucketOptionsBuilder_ == null) { return bucketOptions_ == null ? com.google.api.Distribution.BucketOptions.getDefaultInstance() : bucketOptions_; } else { return bucketOptionsBuilder_.getMessage(); } } /**
public com.google.api.Distribution.BucketOptions getDefaultInstanceForType() { return com.google.api.Distribution.BucketOptions.getDefaultInstance(); }
/** * <pre> * Defines the histogram bucket boundaries. * </pre> * * <code>.google.api.Distribution.BucketOptions bucket_options = 6;</code> */ public com.google.api.Distribution.BucketOptions getBucketOptions() { return bucketOptions_ == null ? com.google.api.Distribution.BucketOptions.getDefaultInstance() : bucketOptions_; } /**
/** * * * <pre> * Optional. The `bucket_options` are required when the logs-based metric is * using a DISTRIBUTION value type and it describes the bucket boundaries * used to create a histogram of the extracted values. * </pre> * * <code>.google.api.Distribution.BucketOptions bucket_options = 8;</code> */ public com.google.api.Distribution.BucketOptions getBucketOptions() { return bucketOptions_ == null ? com.google.api.Distribution.BucketOptions.getDefaultInstance() : bucketOptions_; } /**