/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). * </pre> * * <code>string version = 3;</code> */ public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; onChanged(); return this; }
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). * </pre> * * <code>string resource_type = 4;</code> */ public Builder setResourceTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceType_ = value; onChanged(); return this; }
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). * </pre> * * <code>string service = 2;</code> */ public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); service_ = value; onChanged(); return this; }
public Builder mergeFrom( com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter other) { if (other == com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter .getDefaultInstance()) return this; if (!other.getService().isEmpty()) { service_ = other.service_; onChanged(); } if (!other.getVersion().isEmpty()) { version_ = other.version_; onChanged(); } if (!other.getResourceType().isEmpty()) { resourceType_ = other.resourceType_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). * </pre> * * <code>string resource_type = 4;</code> */ public Builder setResourceTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceType_ = value; onChanged(); return this; }
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). * </pre> * * <code>string version = 3;</code> */ public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; onChanged(); return this; }
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). * </pre> * * <code>string version = 3;</code> */ public Builder setVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } version_ = value; onChanged(); return this; } /**
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). * </pre> * * <code>string service = 2;</code> */ public Builder setService(java.lang.String value) { if (value == null) { throw new NullPointerException(); } service_ = value; onChanged(); return this; } /**
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). * </pre> * * <code>string service = 2;</code> */ public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); service_ = value; onChanged(); return this; }
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). * </pre> * * <code>string version = 3;</code> */ public Builder clearVersion() { version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /**
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). * </pre> * * <code>string resource_type = 4;</code> */ public Builder clearResourceType() { resourceType_ = getDefaultInstance().getResourceType(); onChanged(); return this; } /**
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). * </pre> * * <code>string service = 2;</code> */ public Builder clearService() { service_ = getDefaultInstance().getService(); onChanged(); return this; } /**
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). * </pre> * * <code>string resource_type = 4;</code> */ public Builder setResourceType(java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceType_ = value; onChanged(); return this; } /**
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). * </pre> * * <code>string version = 3;</code> */ public Builder setVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } version_ = value; onChanged(); return this; } /**
public Builder mergeFrom( com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter other) { if (other == com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter .getDefaultInstance()) return this; if (!other.getService().isEmpty()) { service_ = other.service_; onChanged(); } if (!other.getVersion().isEmpty()) { version_ = other.version_; onChanged(); } if (!other.getResourceType().isEmpty()) { resourceType_ = other.resourceType_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). * </pre> * * <code>string resource_type = 4;</code> */ public Builder setResourceType(java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceType_ = value; onChanged(); return this; } /**
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). * </pre> * * <code>string service = 2;</code> */ public Builder setService(java.lang.String value) { if (value == null) { throw new NullPointerException(); } service_ = value; onChanged(); return this; } /**
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). * </pre> * * <code>string resource_type = 4;</code> */ public Builder clearResourceType() { resourceType_ = getDefaultInstance().getResourceType(); onChanged(); return this; } /**
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). * </pre> * * <code>string version = 3;</code> */ public Builder clearVersion() { version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /**
/** * * * <pre> * [Optional] The exact value to match against * [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). * </pre> * * <code>string service = 2;</code> */ public Builder clearService() { service_ = getDefaultInstance().getService(); onChanged(); return this; } /**