@java.lang.Override public com.google.logging.v2.LogExclusion getDefaultInstanceForType() { return com.google.logging.v2.LogExclusion.getDefaultInstance(); }
/** * * * <pre> * Required. The new exclusion, whose `name` parameter is an exclusion name * that is not already used in the parent resource. * </pre> * * <code>.google.logging.v2.LogExclusion exclusion = 2;</code> */ public com.google.logging.v2.LogExclusion getExclusion() { return exclusion_ == null ? com.google.logging.v2.LogExclusion.getDefaultInstance() : exclusion_; } /**
/** * * * <pre> * Required. New values for the existing exclusion. Only the fields specified * in `update_mask` are relevant. * </pre> * * <code>.google.logging.v2.LogExclusion exclusion = 2;</code> */ public com.google.logging.v2.LogExclusion getExclusion() { return exclusion_ == null ? com.google.logging.v2.LogExclusion.getDefaultInstance() : exclusion_; } /**
/** * * * <pre> * Required. The new exclusion, whose `name` parameter is an exclusion name * that is not already used in the parent resource. * </pre> * * <code>.google.logging.v2.LogExclusion exclusion = 2;</code> */ public com.google.logging.v2.LogExclusion getExclusion() { if (exclusionBuilder_ == null) { return exclusion_ == null ? com.google.logging.v2.LogExclusion.getDefaultInstance() : exclusion_; } else { return exclusionBuilder_.getMessage(); } } /**
/** * * * <pre> * Required. New values for the existing exclusion. Only the fields specified * in `update_mask` are relevant. * </pre> * * <code>.google.logging.v2.LogExclusion exclusion = 2;</code> */ public com.google.logging.v2.LogExclusion getExclusion() { if (exclusionBuilder_ == null) { return exclusion_ == null ? com.google.logging.v2.LogExclusion.getDefaultInstance() : exclusion_; } else { return exclusionBuilder_.getMessage(); } } /**
/** * * * <pre> * Required. The new exclusion, whose `name` parameter is an exclusion name * that is not already used in the parent resource. * </pre> * * <code>.google.logging.v2.LogExclusion exclusion = 2;</code> */ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { if (exclusionBuilder_ != null) { return exclusionBuilder_.getMessageOrBuilder(); } else { return exclusion_ == null ? com.google.logging.v2.LogExclusion.getDefaultInstance() : exclusion_; } } /**
/** * * * <pre> * Required. New values for the existing exclusion. Only the fields specified * in `update_mask` are relevant. * </pre> * * <code>.google.logging.v2.LogExclusion exclusion = 2;</code> */ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { if (exclusionBuilder_ != null) { return exclusionBuilder_.getMessageOrBuilder(); } else { return exclusion_ == null ? com.google.logging.v2.LogExclusion.getDefaultInstance() : exclusion_; } } /**
/** * * * <pre> * A list of exclusions. * </pre> * * <code>repeated .google.logging.v2.LogExclusion exclusions = 1;</code> */ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder() { return getExclusionsFieldBuilder() .addBuilder(com.google.logging.v2.LogExclusion.getDefaultInstance()); } /**
/** * * * <pre> * A list of exclusions. * </pre> * * <code>repeated .google.logging.v2.LogExclusion exclusions = 1;</code> */ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder(int index) { return getExclusionsFieldBuilder() .addBuilder(index, com.google.logging.v2.LogExclusion.getDefaultInstance()); } /**
/** * * * <pre> * Optional. A description of this exclusion. * </pre> * * <code>string description = 2;</code> */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /**
/** * * * <pre> * Required. A client-assigned identifier, such as * `"load-balancer-exclusion"`. Identifiers are limited to 100 characters and * can include only letters, digits, underscores, hyphens, and periods. * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * * * <pre> * Required. * An [advanced logs filter](/logging/docs/view/advanced_filters) * that matches the log entries to be excluded. By using the * [sample function](/logging/docs/view/advanced_filters#sample), * you can exclude less than 100% of the matching log entries. * For example, the following filter matches 99% of low-severity log * entries from load balancers: * `"resource.type=http_load_balancer severity<ERROR sample(insertId, 0.99)"` * </pre> * * <code>string filter = 3;</code> */ public Builder clearFilter() { filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.logging.v2.LogExclusion other) { if (other == com.google.logging.v2.LogExclusion.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } if (!other.getFilter().isEmpty()) { filter_ = other.filter_; onChanged(); } if (other.getDisabled() != false) { setDisabled(other.getDisabled()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
.setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.logging.v2.LogExclusion.getDefaultInstance())) .setSchemaDescriptor( new ConfigServiceV2MethodDescriptorSupplier("CreateExclusion"))
.setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.logging.v2.LogExclusion.getDefaultInstance())) .setSchemaDescriptor( new ConfigServiceV2MethodDescriptorSupplier("UpdateExclusion"))
.setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.logging.v2.LogExclusion.getDefaultInstance())) .setSchemaDescriptor( new ConfigServiceV2MethodDescriptorSupplier("GetExclusion"))
.setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.logging.v2.LogExclusion.getDefaultInstance())) .setSchemaDescriptor( new ConfigServiceV2MethodDescriptorSupplier("GetExclusion"))
.setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.logging.v2.LogExclusion.getDefaultInstance())) .setSchemaDescriptor( new ConfigServiceV2MethodDescriptorSupplier("CreateExclusion"))
.setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.logging.v2.LogExclusion.getDefaultInstance())) .setSchemaDescriptor( new ConfigServiceV2MethodDescriptorSupplier("UpdateExclusion"))