@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getTypeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_);
}
if (!getDisplayNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, displayName_);
}
if (!getDescriptionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_);
}
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5);
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, name_);
}
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetUserLabels(), UserLabelsDefaultEntryHolder.defaultEntry, 8);
if (verificationStatus_
!= com.google.monitoring.v3.NotificationChannel.VerificationStatus
.VERIFICATION_STATUS_UNSPECIFIED.getNumber()) {
output.writeEnum(9, verificationStatus_);
}
if (enabled_ != null) {
output.writeMessage(11, getEnabled());
}
unknownFields.writeTo(output);
}