Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/config_change.proto
package nl.topicus.jdbc.shaded.com.google.api;
/**
*
* Output generated from semantically comparing two versions of a service
* configuration.
* Includes detailed information about a field that have changed with
* applicable advice about potential consequences for the change, such as
* backwards-incompatibility.
*
*
* Protobuf type {@code google.api.ConfigChange}
*/
public final class ConfigChange extends
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.api.ConfigChange)
ConfigChangeOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigChange.newBuilder() to construct.
private ConfigChange(nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ConfigChange() {
element_ = "";
oldValue_ = "";
newValue_ = "";
changeType_ = 0;
advices_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConfigChange(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
element_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
oldValue_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
newValue_ = s;
break;
}
case 32: {
int rawValue = input.readEnum();
changeType_ = rawValue;
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
advices_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
advices_.add(
input.readMessage(nl.topicus.jdbc.shaded.com.google.api.Advice.parser(), extensionRegistry));
break;
}
}
}
} catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
advices_ = java.util.Collections.unmodifiableList(advices_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return nl.topicus.jdbc.shaded.com.google.api.ConfigChangeProto.internal_static_google_api_ConfigChange_descriptor;
}
protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return nl.topicus.jdbc.shaded.com.google.api.ConfigChangeProto.internal_static_google_api_ConfigChange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
nl.topicus.jdbc.shaded.com.google.api.ConfigChange.class, nl.topicus.jdbc.shaded.com.google.api.ConfigChange.Builder.class);
}
private int bitField0_;
public static final int ELEMENT_FIELD_NUMBER = 1;
private volatile java.lang.Object element_;
/**
*
* Object hierarchy path to the change, with levels separated by a '.'
* character. For repeated fields, an applicable unique identifier field is
* used for the index (usually selector, name, or id). For maps, the term
* 'key' is used. If the field has no unique identifier, the numeric index
* is used.
* Examples:
* - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction
* - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
* - logging.producer_destinations[0]
*
* Object hierarchy path to the change, with levels separated by a '.'
* character. For repeated fields, an applicable unique identifier field is
* used for the index (usually selector, name, or id). For maps, the term
* 'key' is used. If the field has no unique identifier, the numeric index
* is used.
* Examples:
* - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction
* - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
* - logging.producer_destinations[0]
*
*
* string element = 1;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.ByteString
getElementBytes() {
java.lang.Object ref = element_;
if (ref instanceof java.lang.String) {
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString b =
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
element_ = b;
return b;
} else {
return (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int OLD_VALUE_FIELD_NUMBER = 2;
private volatile java.lang.Object oldValue_;
/**
*
* Value of the changed object in the old Service configuration,
* in JSON format. This field will not be populated if ChangeType == ADDED.
*
* Collection of advice provided for this change, useful for determining the
* possible impact of this change.
*
*
* repeated .google.api.Advice advices = 5;
*/
public nl.topicus.jdbc.shaded.com.google.api.AdviceOrBuilder getAdvicesOrBuilder(
int index) {
return advices_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getElementBytes().isEmpty()) {
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, element_);
}
if (!getOldValueBytes().isEmpty()) {
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, oldValue_);
}
if (!getNewValueBytes().isEmpty()) {
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, newValue_);
}
if (changeType_ != nl.topicus.jdbc.shaded.com.google.api.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) {
output.writeEnum(4, changeType_);
}
for (int i = 0; i < advices_.size(); i++) {
output.writeMessage(5, advices_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getElementBytes().isEmpty()) {
size += nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, element_);
}
if (!getOldValueBytes().isEmpty()) {
size += nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, oldValue_);
}
if (!getNewValueBytes().isEmpty()) {
size += nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(3, newValue_);
}
if (changeType_ != nl.topicus.jdbc.shaded.com.google.api.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) {
size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream
.computeEnumSize(4, changeType_);
}
for (int i = 0; i < advices_.size(); i++) {
size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(5, advices_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof nl.topicus.jdbc.shaded.com.google.api.ConfigChange)) {
return super.equals(obj);
}
nl.topicus.jdbc.shaded.com.google.api.ConfigChange other = (nl.topicus.jdbc.shaded.com.google.api.ConfigChange) obj;
boolean result = true;
result = result && getElement()
.equals(other.getElement());
result = result && getOldValue()
.equals(other.getOldValue());
result = result && getNewValue()
.equals(other.getNewValue());
result = result && changeType_ == other.changeType_;
result = result && getAdvicesList()
.equals(other.getAdvicesList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ELEMENT_FIELD_NUMBER;
hash = (53 * hash) + getElement().hashCode();
hash = (37 * hash) + OLD_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getOldValue().hashCode();
hash = (37 * hash) + NEW_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getNewValue().hashCode();
hash = (37 * hash) + CHANGE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + changeType_;
if (getAdvicesCount() > 0) {
hash = (37 * hash) + ADVICES_FIELD_NUMBER;
hash = (53 * hash) + getAdvicesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static nl.topicus.jdbc.shaded.com.google.api.ConfigChange parseFrom(
java.nio.ByteBuffer data)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static nl.topicus.jdbc.shaded.com.google.api.ConfigChange parseFrom(
java.nio.ByteBuffer data,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static nl.topicus.jdbc.shaded.com.google.api.ConfigChange parseFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static nl.topicus.jdbc.shaded.com.google.api.ConfigChange parseFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static nl.topicus.jdbc.shaded.com.google.api.ConfigChange parseFrom(byte[] data)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static nl.topicus.jdbc.shaded.com.google.api.ConfigChange parseFrom(
byte[] data,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static nl.topicus.jdbc.shaded.com.google.api.ConfigChange parseFrom(java.io.InputStream input)
throws java.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static nl.topicus.jdbc.shaded.com.google.api.ConfigChange parseFrom(
java.io.InputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static nl.topicus.jdbc.shaded.com.google.api.ConfigChange parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static nl.topicus.jdbc.shaded.com.google.api.ConfigChange parseDelimitedFrom(
java.io.InputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static nl.topicus.jdbc.shaded.com.google.api.ConfigChange parseFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static nl.topicus.jdbc.shaded.com.google.api.ConfigChange parseFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(nl.topicus.jdbc.shaded.com.google.api.ConfigChange prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Output generated from semantically comparing two versions of a service
* configuration.
* Includes detailed information about a field that have changed with
* applicable advice about potential consequences for the change, such as
* backwards-incompatibility.
*
*
* Protobuf type {@code google.api.ConfigChange}
*/
public static final class Builder extends
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.api.ConfigChange)
nl.topicus.jdbc.shaded.com.google.api.ConfigChangeOrBuilder {
public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return nl.topicus.jdbc.shaded.com.google.api.ConfigChangeProto.internal_static_google_api_ConfigChange_descriptor;
}
protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return nl.topicus.jdbc.shaded.com.google.api.ConfigChangeProto.internal_static_google_api_ConfigChange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
nl.topicus.jdbc.shaded.com.google.api.ConfigChange.class, nl.topicus.jdbc.shaded.com.google.api.ConfigChange.Builder.class);
}
// Construct using nl.topicus.jdbc.shaded.com.google.api.ConfigChange.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getAdvicesFieldBuilder();
}
}
public Builder clear() {
super.clear();
element_ = "";
oldValue_ = "";
newValue_ = "";
changeType_ = 0;
if (advicesBuilder_ == null) {
advices_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
advicesBuilder_.clear();
}
return this;
}
public nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return nl.topicus.jdbc.shaded.com.google.api.ConfigChangeProto.internal_static_google_api_ConfigChange_descriptor;
}
public nl.topicus.jdbc.shaded.com.google.api.ConfigChange getDefaultInstanceForType() {
return nl.topicus.jdbc.shaded.com.google.api.ConfigChange.getDefaultInstance();
}
public nl.topicus.jdbc.shaded.com.google.api.ConfigChange build() {
nl.topicus.jdbc.shaded.com.google.api.ConfigChange result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public nl.topicus.jdbc.shaded.com.google.api.ConfigChange buildPartial() {
nl.topicus.jdbc.shaded.com.google.api.ConfigChange result = new nl.topicus.jdbc.shaded.com.google.api.ConfigChange(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.element_ = element_;
result.oldValue_ = oldValue_;
result.newValue_ = newValue_;
result.changeType_ = changeType_;
if (advicesBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
advices_ = java.util.Collections.unmodifiableList(advices_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.advices_ = advices_;
} else {
result.advices_ = advicesBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.protobuf.Message other) {
if (other instanceof nl.topicus.jdbc.shaded.com.google.api.ConfigChange) {
return mergeFrom((nl.topicus.jdbc.shaded.com.google.api.ConfigChange)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.api.ConfigChange other) {
if (other == nl.topicus.jdbc.shaded.com.google.api.ConfigChange.getDefaultInstance()) return this;
if (!other.getElement().isEmpty()) {
element_ = other.element_;
onChanged();
}
if (!other.getOldValue().isEmpty()) {
oldValue_ = other.oldValue_;
onChanged();
}
if (!other.getNewValue().isEmpty()) {
newValue_ = other.newValue_;
onChanged();
}
if (other.changeType_ != 0) {
setChangeTypeValue(other.getChangeTypeValue());
}
if (advicesBuilder_ == null) {
if (!other.advices_.isEmpty()) {
if (advices_.isEmpty()) {
advices_ = other.advices_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureAdvicesIsMutable();
advices_.addAll(other.advices_);
}
onChanged();
}
} else {
if (!other.advices_.isEmpty()) {
if (advicesBuilder_.isEmpty()) {
advicesBuilder_.dispose();
advicesBuilder_ = null;
advices_ = other.advices_;
bitField0_ = (bitField0_ & ~0x00000010);
advicesBuilder_ =
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAdvicesFieldBuilder() : null;
} else {
advicesBuilder_.addAllMessages(other.advices_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
nl.topicus.jdbc.shaded.com.google.api.ConfigChange parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (nl.topicus.jdbc.shaded.com.google.api.ConfigChange) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object element_ = "";
/**
*
* Object hierarchy path to the change, with levels separated by a '.'
* character. For repeated fields, an applicable unique identifier field is
* used for the index (usually selector, name, or id). For maps, the term
* 'key' is used. If the field has no unique identifier, the numeric index
* is used.
* Examples:
* - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction
* - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
* - logging.producer_destinations[0]
*
* Object hierarchy path to the change, with levels separated by a '.'
* character. For repeated fields, an applicable unique identifier field is
* used for the index (usually selector, name, or id). For maps, the term
* 'key' is used. If the field has no unique identifier, the numeric index
* is used.
* Examples:
* - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction
* - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
* - logging.producer_destinations[0]
*
* Object hierarchy path to the change, with levels separated by a '.'
* character. For repeated fields, an applicable unique identifier field is
* used for the index (usually selector, name, or id). For maps, the term
* 'key' is used. If the field has no unique identifier, the numeric index
* is used.
* Examples:
* - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction
* - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
* - logging.producer_destinations[0]
*
*
* string element = 1;
*/
public Builder setElement(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
element_ = value;
onChanged();
return this;
}
/**
*
* Object hierarchy path to the change, with levels separated by a '.'
* character. For repeated fields, an applicable unique identifier field is
* used for the index (usually selector, name, or id). For maps, the term
* 'key' is used. If the field has no unique identifier, the numeric index
* is used.
* Examples:
* - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction
* - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
* - logging.producer_destinations[0]
*
*
* string element = 1;
*/
public Builder clearElement() {
element_ = getDefaultInstance().getElement();
onChanged();
return this;
}
/**
*
* Object hierarchy path to the change, with levels separated by a '.'
* character. For repeated fields, an applicable unique identifier field is
* used for the index (usually selector, name, or id). For maps, the term
* 'key' is used. If the field has no unique identifier, the numeric index
* is used.
* Examples:
* - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction
* - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
* - logging.producer_destinations[0]
*
*
* string element = 1;
*/
public Builder setElementBytes(
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
element_ = value;
onChanged();
return this;
}
private java.lang.Object oldValue_ = "";
/**
*
* Value of the changed object in the old Service configuration,
* in JSON format. This field will not be populated if ChangeType == ADDED.
*